/* SuperbAgent AI (superbagent.ai) landing — "broadcast studio at night".
   Color encodes meaning: amber = act (CTAs, live mic), teal = measured data. */
:root {
  --ink: #0a0e14;        /* studio black, blue cast */
  --panel: #10161f;      /* raised console surface */
  --panel-2: #141c28;
  --line: #1f2937;
  --text: #e8ecf4;
  --muted: #8792a4;
  --signal: #ffb224;     /* VU amber — actions, ON AIR */
  --signal-dim: #8a6412;
  --phosphor: #43d9c0;   /* oscilloscope teal — telemetry */
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 16px/1.6 "IBM Plex Sans", -apple-system, sans-serif;
}
.mono { font-family: "IBM Plex Mono", monospace; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- shared ---------- */
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--phosphor); margin: 0 0 12px;
}
.section { max-width: 1080px; margin: 0 auto; padding: 88px 24px 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
.section-lede { color: var(--muted); max-width: 620px; margin-top: 12px; }
.btn-primary {
  background: var(--signal); color: #201400; border: 0; border-radius: 10px;
  padding: 12px 24px; font-weight: 600; font-size: 15px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(255,178,36,.25); }
.btn-ghost {
  display: inline-block; text-decoration: none; text-align: center;
  border: 1px solid var(--line); color: var(--text); border-radius: 10px;
  padding: 11px 22px; font-weight: 500; font-size: 15px; background: transparent;
}
.btn-ghost:hover { border-color: var(--muted); }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 2px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,14,20,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { text-decoration: none; font-family: "Space Grotesk", sans-serif; font-size: 17px; display: flex; align-items: center; }
.brand b { font-weight: 700; }
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  display: inline-block; margin-right: 9px;
}
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-quiet { opacity: .9; }
.nav-cta {
  background: var(--signal); color: #201400 !important; border-radius: 8px;
  padding: 8px 14px; font-weight: 600;
}
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 72px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(44px, 6.5vw, 72px); line-height: 1.02;
  font-weight: 700; letter-spacing: -0.02em; margin: 0 0 20px;
}
.lede { color: var(--muted); font-size: 17px; max-width: 460px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } }

/* ---------- the broadcast console (signature) ---------- */
.console {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.console-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.onair {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .18em;
  color: var(--muted); display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px;
}
.onair-lamp { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4a; }
.onair.live { color: var(--signal); border-color: var(--signal-dim); }
.onair.live .onair-lamp { background: var(--signal); box-shadow: 0 0 12px var(--signal); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.console-model { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; }

.console-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cfield { display: flex; flex-direction: column; gap: 5px; }
.cfield-wide { grid-column: 1 / -1; }
.cfield label {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.cfield select, .cfield input {
  background: var(--ink); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 11px; font-size: 14px; outline: none;
}
.cfield select:focus, .cfield input:focus { border-color: var(--phosphor); }
.persona-desc { color: var(--muted); font-size: 12.5px; margin: 8px 2px 0; min-height: 16px; }

.scope {
  height: 44px; margin: 12px 0; border: 1px solid var(--line); border-radius: 8px;
  background: var(--ink); overflow: hidden; display: flex; align-items: center; padding: 0 10px;
}
.scope-bars { display: flex; align-items: center; gap: 3px; width: 100%; height: 100%; }
.scope-bars i {
  flex: 1; background: var(--phosphor); opacity: .8; border-radius: 2px;
  height: 8%; transition: height .08s linear;
  min-height: 2px;
}

.console-transcript {
  height: 190px; overflow-y: auto; background: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 13.5px;
}
.console-transcript .line { margin-bottom: 8px; display: flex; gap: 8px; }
.console-transcript .who {
  flex: 0 0 60px; color: var(--muted); font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; text-transform: uppercase; padding-top: 3px;
}
.console-transcript .line.user .txt { color: var(--text); }
.console-transcript .line.assistant .txt { color: var(--phosphor); }

.console-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 12px; flex-wrap: wrap; }
.btn-start { min-width: 110px; }
.readouts { display: flex; gap: 14px; flex-wrap: wrap; }
.readout { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.readout b { color: var(--phosphor); font-weight: 500; }

/* ---------- stats band ---------- */
.stats-band {
  max-width: 1080px; margin: 0 auto; padding: 56px 24px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat b { display: block; font-size: 34px; color: var(--text); font-weight: 500; }
.stat b i { font-style: normal; font-size: 18px; color: var(--phosphor); }
.stat span { color: var(--muted); font-size: 13.5px; display: block; margin-top: 4px; max-width: 200px; }
@media (max-width: 820px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- agents ---------- */
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.agent-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.agent-card h3 { font-size: 18px; }
.agent-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.try {
  background: none; border: 0; color: var(--signal); font-weight: 600;
  font-size: 14px; text-align: left; padding: 0;
}
.try:hover { text-decoration: underline; }
@media (max-width: 980px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .agent-grid { grid-template-columns: 1fr; } }

/* ---------- channels ---------- */
.channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.channel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.channel-status {
  display: inline-block; font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px;
}
.channel-status.live { color: var(--signal); border-color: var(--signal-dim); }
.channel h3 { font-size: 19px; margin-bottom: 8px; }
.channel p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 820px) { .channel-grid { grid-template-columns: 1fr; } }

/* ---------- proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.proof-item {
  border: 1px solid var(--line); border-left: 3px solid var(--phosphor);
  border-radius: 8px; padding: 14px 16px; font-size: 13.5px;
  display: flex; flex-direction: column; gap: 4px;
}
.proof-item span { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.proof-item b { color: var(--text); font-weight: 500; }
@media (max-width: 700px) { .proof-grid { grid-template-columns: 1fr; } }

/* ---------- compare ---------- */
.table-wrap { overflow-x: auto; margin-top: 30px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare td:first-child { color: var(--muted); }
.compare .hl { color: var(--text); background: rgba(67, 217, 192, .05); }
.compare thead .hl { color: var(--phosphor); }

/* ---------- pricing ---------- */
.pricing-controls { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.toggle button {
  background: transparent; border: 0; color: var(--muted);
  padding: 9px 16px; font-size: 13.5px; font-weight: 500;
}
.toggle button.on { background: var(--panel-2); color: var(--text); }
.toggle button em { font-style: normal; color: var(--phosphor); font-size: 12px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px; position: relative;
  background: var(--panel);
}
.plan.featured { border-color: var(--signal-dim); box-shadow: 0 12px 44px rgba(255,178,36,.08); }
.plan-badge {
  position: absolute; top: -11px; left: 20px; background: var(--signal); color: #201400;
  border-radius: 999px; font-size: 11px; font-weight: 700; padding: 3px 10px;
  letter-spacing: .04em; text-transform: uppercase;
}
.plan h3 { font-size: 17px; }
.price { font-size: 30px; margin: 2px 0 0; color: var(--text); }
.price small { font-size: 13px; color: var(--muted); }
.plan-min { color: var(--phosphor); font-size: 12.5px; font-family: "IBM Plex Mono", monospace; margin: 0; }
.plan ul { margin: 6px 0 14px; padding-left: 18px; color: var(--muted); font-size: 13.5px; flex: 1; }
.plan li { margin-bottom: 6px; }
.pricing-note { color: var(--muted); font-size: 12px; margin-top: 18px; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer {
  margin-top: 96px; border-top: 1px solid var(--line);
  padding: 72px 24px 48px; text-align: center;
}
.footer h2 { font-size: clamp(30px, 5vw, 46px); }
.footer p { color: var(--muted); margin: 12px 0 26px; }
.footer-meta {
  margin-top: 56px; display: flex; justify-content: center; gap: 24px;
  color: var(--muted); font-size: 13px; flex-wrap: wrap;
}
.footer-meta a { color: var(--muted); text-decoration: none; }
.footer-meta a:hover { color: var(--text); }
