/* octetIP — site styles. Palette matches the desktop app. */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #0b1220;
  --bg-2:      #0d1526;
  --panel:     #111827;
  --panel-2:   #1f2937;
  --border:    #22314d;
  --border-2:  #2c3e63;
  --text:      #e5eefc;
  --muted:     #94a3b8;
  --faint:     #64748b;
  --accent:    #3b82f6;
  --accent-2:  #60a5fa;
  --online:    #10b981;
  --warn:      #f59e0b;
  --danger:    #ef4444;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius:    10px;
  --radius-lg: 14px;
  --maxw:      1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--text); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; display: block; }
.brand .name {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  color: var(--text); letter-spacing: -0.01em;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--panel-2); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 480px at 70% -10%, rgba(59,130,246,0.12), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-2);
  border: 1px solid var(--border-2); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--online);
  box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent-2); }
.hero .lead {
  font-size: 18px; color: var(--muted); max-width: 30em; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 16px; font-size: 13.5px; color: var(--faint);
  font-family: var(--font-mono);
}

/* ── Discovery panel (signature) ────────────────────── */
.scanner {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.scanner-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.scanner-bar .lights { display: flex; gap: 6px; }
.scanner-bar .lights span { width: 11px; height: 11px; border-radius: 50%; background: var(--panel-2); }
.scanner-bar .title {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
  margin-left: 6px;
}
.scanner-bar .status {
  margin-left: auto; font-family: var(--font-mono); font-size: 12px;
  color: var(--online); display: flex; align-items: center; gap: 6px;
}
.scanner-bar .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); }
.scanner-head, .scanner-row {
  display: grid; grid-template-columns: 1.5fr 1.1fr 1.3fr 0.9fr;
  gap: 12px; padding: 10px 16px; align-items: center;
}
.scanner-head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--faint);
  border-bottom: 1px solid var(--border);
}
.scanner-body { min-height: 232px; }
.scanner-row {
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
  border-bottom: 1px solid rgba(34,49,77,.5);
  opacity: 0; transform: translateY(6px);
  animation: rowin .4s ease forwards;
}
@keyframes rowin { to { opacity: 1; transform: none; } }
.scanner-row .mac { color: var(--muted); }
.scanner-row .ip  { color: var(--accent-2); }
.scanner-row .vendor { color: var(--text); }
.tag {
  font-family: var(--font-mono); font-size: 11px; padding: 2px 8px;
  border-radius: 6px; border: 1px solid var(--border-2); color: var(--muted);
  justify-self: start;
}
.tag.online { color: var(--online); border-color: rgba(16,185,129,.4); }

/* ── Sections ───────────────────────────────────────── */
section { padding: 80px 0; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12;
  letter-spacing: -0.015em; color: var(--text); margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* workflow: discover / configure / commission */
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative;
}
.step .num {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-2);
  letter-spacing: .1em;
}
.step .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(59,130,246,.1); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  margin: 16px 0 18px; font-size: 22px;
}
.step h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  color: var(--text); margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 15px; }

/* protocols / vendors */
.bands { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.band {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.band h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 16px; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 8px; padding: 7px 12px;
}

/* pricing teaser */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--accent); }
.tier .badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--accent-2);
  background: rgba(59,130,246,.12); border: 1px solid var(--border-2);
  border-radius: 100px; padding: 3px 12px; margin-bottom: 16px;
}
.tier h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.tier .price { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--text); }
.tier .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier .machines { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.tier ul { list-style: none; margin-bottom: 24px; flex: 1; }
.tier li { font-size: 15px; color: var(--muted); padding: 7px 0 7px 26px; position: relative; }
.tier li::before {
  content: "\2713"; position: absolute; left: 0; color: var(--online); font-weight: 700;
}

/* download CTA */
.cta-band {
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(59,130,246,.14), transparent 60%),
    var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 56px; text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 17px; max-width: 32em; margin: 0 auto 28px; }
.cta-band .hero-cta { justify-content: center; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  color: var(--faint); font-size: 14px;
}
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .links { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); }

/* ── Auth / account shared ──────────────────────────── */
.auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
}
.auth-card h1 { font-family: var(--font-display); font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: var(--radius); color: var(--text); font-size: 15px;
  font-family: var(--font-body); padding: 11px 13px; outline: none;
}
.field input:focus { border-color: var(--accent); }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-msg { font-size: 14px; margin: 14px 0 0; min-height: 20px; }
.auth-msg.err { color: var(--danger); }
.auth-msg.ok { color: var(--online); }
.auth-alt { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .workflow, .tiers { grid-template-columns: 1fr; }
  .bands { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .nav .nav-hide { display: none; }
  .cta-band { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
