/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0A0F1E;
  --navy-mid:    #111827;
  --navy-light:  #1E2A3B;
  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --blue-dim:    #1D4ED8;
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --text:        #111827;
  --text-muted:  #6B7280;
  --text-faint:  #9CA3AF;
  --border:      #E5E7EB;
  --border-dark: #1F2D42;
  --success:     #10B981;
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout Helpers ───────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--mid { background: var(--navy-mid); color: var(--white); }
.section--grey { background: var(--off-white); }

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__logo-mark svg {
  width: 16px;
  height: 16px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .15s;
}

.nav__links a:hover { color: var(--white); }

.nav__cta {
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  transition: background .15s !important;
}

.nav__cta:hover { background: var(--blue-dim) !important; color: var(--white) !important; }

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 144px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--blue-light);
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .15s;
  letter-spacing: -0.1px;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover { background: var(--blue-dim); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn--outline:hover { background: var(--blue); color: var(--white); }

.hero__note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ── Trust Bar ────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 28px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}

.trust-item svg {
  color: var(--blue-light);
  flex-shrink: 0;
}

/* ── Section Labels ───────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  text-align: center;
}

.section-label--light { color: var(--blue-light); }

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align: center;
}

.section-subtitle--light { color: rgba(255,255,255,.6); }

/* ── How It Works ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.step {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.step__body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Trust Claim ──────────────────────────────────────── */
.trust-claim {
  text-align: center;
}

.trust-claim .section-title { color: var(--white); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.trust-card {
  background: var(--navy-light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
}

.trust-card__icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-light);
}

.trust-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.trust-card__body {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
}

/* ── Use Cases ────────────────────────────────────────── */
.use-cases { text-align: center; }

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
  text-align: left;
}

.use-case-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.use-case-card__icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.use-case-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.use-case-card__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Developer ────────────────────────────────────────── */
.developer { text-align: center; }
.developer .section-title { color: var(--white); }

.code-block {
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: left;
  margin-top: 40px;
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Fira Code', monospace;
  font-size: 14px;
  line-height: 1.8;
  overflow-x: auto;
}

.code-block .token-comment { color: rgba(255,255,255,.50); }
.code-block .token-key { color: #93C5FD; }
.code-block .token-str { color: #86EFAC; }
.code-block .token-num { color: #FCA5A5; }
.code-block .token-kw { color: var(--blue-light); }

.developer-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.dev-stat__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.dev-stat__label {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

/* ── AI Agents ────────────────────────────────────────── */
.agent-section { border-top: 1px solid var(--border-dark); }

.agent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.agent-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.agent-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

.agent-flow__step strong { color: var(--white); }
.agent-flow__step code {
  background: rgba(37,99,235,.15);
  color: var(--blue-light);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.agent-flow__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.agent-install-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

/* Install tabs */
.install-tabs {
  margin-bottom: 24px;
}

.install-tabs__nav {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
}

.install-tab {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background .15s;
}

.install-tab:hover {
  background: rgba(255,255,255,.1);
}

.install-tab--active {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
}

.install-tab__name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  display: block;
}

.install-tab--active .install-tab__name {
  color: var(--white);
}

.install-tab__desc {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  display: block;
}

.install-tab--active .install-tab__desc {
  color: rgba(255,255,255,.55);
}

.install-tab__panel {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0 0 8px 8px;
}

.install-tab__panel--hidden {
  display: none;
}

.install-tab__panel .agent-code-block {
  border-radius: 0;
  border: none;
  margin-bottom: 0;
}

.install-tab__note {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  padding: 10px 20px 12px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.install-tab__note code {
  font-size: 11px;
  background: rgba(255,255,255,.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: rgba(255,255,255,.6);
}

.agent-code-block {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
  padding: 20px 24px;
}

.agent-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.agent-links .btn {
  font-size: 14px;
  padding: 10px 20px;
}

.agent-tool-card {
  background: var(--navy-light);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.agent-tool-card:last-child { margin-bottom: 0; }

.agent-tool-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.agent-tool-card__icon {
  width: 38px; height: 38px;
  background: rgba(37,99,235,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}

.agent-tool-card__name {
  font-family: 'SFMono-Regular', 'Cascadia Code', 'Fira Code', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.agent-tool-card__body {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.agent-tool-card__meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

.agent-tool-card__meta code {
  background: rgba(37,99,235,.12);
  color: var(--blue-light);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 11px;
}

@media (max-width: 900px) {
  .agent-grid { grid-template-columns: 1fr; }
}

/* ── Waitlist ─────────────────────────────────────────── */
.waitlist { text-align: center; }

.waitlist-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.waitlist-card__label {
  display: inline-block;
  background: rgba(37,99,235,.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(37,99,235,.15);
}

.waitlist-card__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.waitlist-card__sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 36px;
  text-align: left;
}

.benefit-list li {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.benefit-list li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
  font-family: inherit;
}

.waitlist-form input:focus { border-color: var(--blue); }
.waitlist-form input::placeholder { color: var(--text-faint); }

.waitlist-form .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.waitlist-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--success);
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
}

.waitlist-success.visible { display: flex; }

.waitlist-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 14px;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq { }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.faq-item {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.faq-item__q {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.faq-item__a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.5);
  padding: 48px 0;
  border-top: 1px solid var(--border-dark);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  transition: color .15s;
}

.footer__links a:hover { color: rgba(255,255,255,.8); }

.footer__copy {
  font-size: 13px;
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
}

/* ── Hero Split ───────────────────────────────────────── */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  text-align: left;
}

.hero__content .hero__eyebrow,
.hero__content .hero__actions {
  justify-content: flex-start;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  display: block;
  filter: drop-shadow(0 0 40px rgba(37,99,235,.35));
}

/* ── How It Works Split ───────────────────────────────── */
.how-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.how-split__visual {
  position: sticky;
  top: 96px;
}

.how-split__img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
}

.steps--vertical {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  grid-template-columns: unset;
}

/* ── Trust Claim Header Split ─────────────────────────── */
.trust-claim__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  text-align: left;
}

.trust-claim__header .section-title {
  color: var(--white);
  margin-bottom: 0;
}

.trust-claim__visual {
  display: flex;
  justify-content: center;
}

.trust-claim__img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  display: block;
  filter: drop-shadow(0 0 32px rgba(37,99,235,.4));
}

/* ── Waitlist Overlay ─────────────────────────────────── */
.waitlist__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.72);
  pointer-events: none;
}

.waitlist .container {
  position: relative;
  z-index: 1;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .hero__split { grid-template-columns: 1fr; text-align: center; }
  .hero__content .hero__eyebrow,
  .hero__content .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .how-split { grid-template-columns: 1fr; }
  .how-split__visual { display: none; }
  .trust-claim__header { grid-template-columns: 1fr; }
  .trust-claim__visual { display: none; }
  .trust-claim { text-align: center; }
}

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px;
    border-bottom: 1px solid var(--border-dark);
    gap: 4px;
  }
  .nav__links.open a { padding: 12px 16px; display: block; }
  .nav__burger { display: block; }
  .hero { padding: 120px 0 72px; }
  .section { padding: 64px 0; }
  .trust-bar__inner { gap: 24px; }
  .waitlist-card { padding: 36px 24px; }
  .waitlist-form { flex-direction: column; }
  .developer-stats { gap: 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
