/* Agent Starbase — marketing site
   Dark ops theme: Sora display, teal + orange palette, sharp edges. */

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

:root {
  --bg:           #05070c;
  --bg-panel:     #0a0f18;
  --bg-panel2:    #0c131e;
  --bg-nav:       rgba(5, 7, 12, 0.82);
  --text:         #d6dde7;
  --muted:        #6d7a8f;
  --accent:       #00e5d0;
  --accent-glow:  rgba(0, 229, 208, 0.35);
  --orange:       #ff8a2d;
  --orange-glow:  rgba(255, 138, 45, 0.35);
  --border:       rgba(0, 229, 208, 0.18);
  --border-strong: rgba(0, 229, 208, 0.38);
  --ok:           #00e5d0;
  --warn:         #ff8a2d;
  --err:          #ff3b3b;
  --green:        #4ade80;
  --radius:       2px;
  --radius-sm:    2px;
  --radius-lg:    4px;
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.6);
  --display:      "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:         "JetBrains Mono", "SF Mono", monospace;
  --sans:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: #33edd8; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Scanlines ─────────────────────────────────────────────────────── */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 229, 208, 0.03) 0,
    rgba(0, 229, 208, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
}

/* ─── Status bar ────────────────────────────────────────────────────── */
.status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  background: #060b12;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 138, 45, 0.25);
  z-index: 100;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-bar .blink { animation: blink 1.2s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 26px;
  z-index: 50;
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-family: var(--display);
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: var(--radius);
  background: var(--bg-panel2);
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 0 0 1px rgba(0,229,208,0.4), inset 0 0 12px rgba(0,229,208,0.15);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--display);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--orange) !important;
  color: #08090c !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.15); color: #08090c !important; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--accent);
  color: #051015;
  box-shadow: 0 0 0 1px rgba(0,229,208,0.6), 0 0 20px rgba(0,229,208,0.3);
}
.btn-primary:hover {
  filter: brightness(1.1);
  color: #051015;
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--orange);
  color: #08090c;
  box-shadow: 0 0 0 1px rgba(255,138,45,0.5), 0 0 20px rgba(255,138,45,0.25);
}
.btn-accent:hover { filter: brightness(1.1); color: #08090c; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(0,229,208,0.06); border-color: var(--accent); color: var(--accent); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 25% 0%, rgba(0,229,208,0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 50%, rgba(255,138,45,0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 208, 0.08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--display);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,229,208,0.2);
}
h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 22px;
  font-family: var(--display);
  text-transform: none;
}
h1 .grad {
  color: var(--orange);
  text-shadow: 0 0 28px rgba(255, 138, 45, 0.45);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.hero-meta span::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

/* ─── Terminal mockup ──────────────────────────────────────────────── */
.terminal {
  background: #080c12;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(0,229,208,0.25), var(--shadow-lg);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12.5px;
  border: 1px solid rgba(0,229,208,0.2);
}
.terminal-bar {
  background: #0c121b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0,229,208,0.15);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.terminal-title {
  margin-left: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.terminal-body {
  padding: 20px 22px;
  color: #c1cdd8;
  min-height: 310px;
}
.term-line { margin: 3px 0; white-space: pre-wrap; }
.term-prompt { color: var(--accent); }
.term-cmd { color: #c1cdd8; }
.term-ok { color: var(--accent); }
.term-warn { color: var(--orange); }
.term-info { color: var(--accent); }
.term-dim { color: var(--muted); }
.term-err { color: var(--err); }
.cursor {
  display: inline-block;
  width: 8px; height: 13px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* ─── Logos strip ───────────────────────────────────────────────────── */
section { padding: 80px 0; }
.logos {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 24, 0.6);
}
.logos-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--display);
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--display);
}
.agent-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── Section headings ──────────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 16px; }
h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 16px;
  font-family: var(--display);
  text-transform: none;
}
.section-head p {
  font-size: 17px;
  color: var(--muted);
}

/* ─── Feature grid ──────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(0,229,208,0.12);
  border-color: var(--accent);
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(0,229,208,0.08);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.feature h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
  font-family: var(--display);
  color: var(--text);
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── Architecture split ────────────────────────────────────────────── */
.split {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.arch-stack {
  display: grid;
  gap: 12px;
}
.arch-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  transition: border-color 0.2s;
}
.arch-row:hover { border-color: var(--border-strong); }
.arch-row .arch-num {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  background: rgba(0,229,208,0.1);
  border: 1px solid var(--border);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}
.arch-row h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text);
  font-family: var(--display);
  text-transform: none;
  letter-spacing: 0;
}
.arch-row p {
  font-size: 13px;
  color: var(--muted);
}
.arch-text h2 { margin-bottom: 20px; }
.arch-text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}
.arch-text .eyebrow { margin-bottom: 16px; }

/* ─── Pricing ───────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}
.plan:hover { border-color: var(--border-strong); }
.plan.featured {
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(0,229,208,0.3), 0 0 40px rgba(0,229,208,0.1);
}
.plan-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--orange);
  color: #08090c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
  font-family: var(--display);
}
.plan-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--display);
}
.plan-price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  font-family: var(--display);
  color: var(--text);
}
.plan-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.plan-tag {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.plan-features li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--mono);
}
.plan .btn { width: 100%; justify-content: center; }

/* ─── CTA band ──────────────────────────────────────────────────────── */
.cta {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
  border-radius: var(--radius-lg);
  margin: 20px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(0,229,208,0.1), transparent 60%),
    radial-gradient(ellipse 500px 300px at 80% 100%, rgba(255,138,45,0.08), transparent 50%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta h2 { color: var(--text); font-size: 36px; }
.cta p {
  color: var(--muted);
  font-size: 18px;
  margin: 16px 0 32px;
}
.cta .btn-accent { font-size: 14px; padding: 15px 30px; }

/* ─── FAQ ───────────────────────────────────────────────────────────── */
.faq details {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
  position: relative;
  padding-right: 30px;
  font-family: var(--display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  color: var(--muted);
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.7;
}

/* ─── Footer ────────────────────────────────────────────────────────── */
footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-about { color: var(--muted); font-size: 13px; max-width: 320px; margin-top: 14px; }
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  font-family: var(--display);
}
.footer-col ul { list-style: none; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ─── Page header (non-home pages) ─────────────────────────────────── */
.page-header {
  padding: 70px 0 40px;
  text-align: center;
  position: relative;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(0,229,208,0.1), transparent);
  pointer-events: none;
}
.page-header h1 { font-size: clamp(30px, 4.5vw, 48px); }
.page-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 16px auto 0;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
}

/* ─── Announcements ────────────────────────────────────────────────── */
.announcement-shell {
  padding: 20px 0 100px;
}
.announcement-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  background:
    linear-gradient(135deg, rgba(0,229,208,0.08), transparent 42%),
    var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.announcement-kicker {
  color: var(--orange);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.announcement-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}
.announcement-card p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 560px;
}

/* ─── Code blocks ───────────────────────────────────────────────────── */
pre.code {
  background: #080c12;
  color: #c1cdd8;
  padding: 18px 20px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 13px;
  overflow-x: auto;
  margin: 16px 0;
  line-height: 1.65;
  border: 1px solid var(--border);
}
pre.code .cm { color: var(--muted); }
pre.code .kw { color: #c084fc; }
pre.code .st { color: var(--accent); }

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .status-bar { display: none; }
  .nav { top: 0; }
  .hero { padding: 50px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .arch-grid { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .announcement-card { padding: 32px 24px; }
}
