:root {
  --bg: #060815;
  --bg-soft: #0b1020;
  --bg-elevated: #11172b;
  --surface: rgba(18, 24, 44, 0.92);
  --surface-strong: #141c33;
  --surface-glass: rgba(19, 27, 50, 0.72);
  --ink: #f4f7ff;
  --muted: #a2afcc;
  --muted-strong: #c2cae2;
  --line: rgba(155, 124, 255, 0.18);
  --line-strong: rgba(111, 226, 255, 0.22);
  --brand: #8f6cff;
  --brand-2: #55d6ff;
  --brand-3: #c76bff;
  --success: #65f4bf;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(143, 108, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(85, 214, 255, 0.12), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(199, 107, 255, 0.10), transparent 22%),
    linear-gradient(180deg, #050712 0%, #090d1a 40%, #050712 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 108, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 108, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.65), transparent 85%);
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: linear-gradient(90deg, rgba(143,108,255,0.18), rgba(85,214,255,0.16));
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
}

.top-strip .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-size: 0.88rem;
}

.top-strip a { color: #dcd2ff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 8, 21, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(143,108,255,0.14), rgba(85,214,255,0.10));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 12px 30px rgba(0,0,0,0.26);
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark,
.page-title,
.section-title,
.card-title,
.metric-value,
.quote-number,
.footer-title {
  font-family: "Segoe UI", Arial, sans-serif;
}

.brand-mark {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8faff;
}

.brand-sub {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover {
  color: #f2f5ff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

.button-primary {
  color: #fdfcff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  box-shadow: 0 10px 24px rgba(143,108,255,0.22);
}

.button-secondary {
  color: #e8ecff;
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.button-ghost {
  color: #eef1ff;
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
}

main { padding-bottom: 56px; }
section { padding: 36px 0; }

.hero-grid,
.two-col,
.three-col,
.four-col,
.stats-grid,
.demo-layout,
.pricing-grid,
.contact-grid,
.footer-grid,
.logo-grid,
.process-grid,
.proof-grid,
.compare-grid,
.legal-layout {
  display: grid;
  gap: 20px;
}

.hero-grid { grid-template-columns: 1.15fr 0.85fr; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-layout { grid-template-columns: 1.06fr 0.94fr; }
.pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid { grid-template-columns: 0.85fr 1.15fr; }
.footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
.footer-grid-wide { grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; }
.logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-grid { grid-template-columns: 0.95fr 1.05fr; }
.compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legal-layout { grid-template-columns: 0.75fr 1.25fr; }

.surface,
.card,
.metric,
.page-hero,
.hero-panel,
.quote-panel,
.cta-panel,
.story-band,
.dark-band,
.demo-console,
.compare-card,
.logo-card,
.process-card,
.proof-card,
.split-callout,
.legal-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.surface,
.card,
.metric,
.page-hero,
.quote-panel,
.cta-panel,
.compare-card,
.logo-card,
.process-card,
.proof-card,
.split-callout,
.legal-card {
  background: linear-gradient(180deg, rgba(18,24,44,0.92), rgba(13,18,34,0.92));
}

.page-hero,
.hero-panel,
.quote-panel,
.card,
.surface,
.metric,
.cta-panel,
.story-band,
.dark-band,
.compare-card,
.logo-card,
.process-card,
.proof-card,
.split-callout,
.legal-card {
  padding: 28px;
}

.page-hero,
.hero-panel,
.quote-panel,
.legal-card,
.cta-panel {
  position: relative;
  overflow: hidden;
}

.page-hero::before,
.hero-panel::before,
.quote-panel::before,
.cta-panel::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: auto -90px -100px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(143,108,255,0.18), transparent 68%);
  pointer-events: none;
}

.hero-panel,
.dark-band {
  background: linear-gradient(180deg, rgba(13,18,33,0.98), rgba(9,13,25,0.98));
}

.story-band {
  background: linear-gradient(135deg, rgba(120,96,255,0.28), rgba(15,20,38,0.96));
}

.eyebrow,
.kicker,
.pill,
.signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.kicker,
.signal {
  color: #d7d1ff;
  background: rgba(143,108,255,0.10);
  border: 1px solid rgba(143,108,255,0.18);
}

.pill {
  color: #d8f6ff;
  background: rgba(85,214,255,0.10);
  border: 1px solid rgba(85,214,255,0.18);
}

.hero-title,
.page-title {
  margin: 18px 0 14px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-title { font-size: clamp(2.9rem, 6vw, 4.9rem); }
.page-title { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.section-title { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.05; margin: 0; font-weight: 700; }
.card-title, .footer-title { margin: 0 0 10px; font-size: 1.35rem; font-weight: 650; }
.hero-copy,
.page-copy,
.section-copy,
.card-copy,
.footer-copy,
.list,
.meta,
.quote-status,
.prompt-list {
  color: var(--muted);
  line-height: 1.7;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.hero-actions,
.action-row,
.badge-row,
.micro-proof,
.hero-marquee {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions,
.action-row { margin-top: 24px; }

.hero-marquee span,
.badge-row .signal {
  padding: 9px 14px;
  border-radius: 999px;
}

.metric-value,
.quote-number {
  font-size: 1.38rem;
  color: #f4f7ff;
  margin-bottom: 8px;
}

ul.feature-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(101,244,191,0.08);
  color: #baf3dd;
  border: 1px solid rgba(101,244,191,0.16);
}

.quote-strip {
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.logo-card,
.process-card,
.proof-card,
.compare-card {
  min-height: 100%;
}

.logo-card,
.proof-card,
.process-card {
  background: linear-gradient(180deg, rgba(19,27,50,0.95), rgba(13,18,34,0.95));
}

.process-card {
  position: relative;
}

.process-card::before {
  content: attr(data-step);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255,255,255,0.08);
  font-size: 2.1rem;
  font-weight: 700;
}

.demo-console {
  background: #080c17;
  color: #f2f6ff;
  min-height: 320px;
  max-height: 440px;
  overflow: auto;
  border-color: rgba(255,255,255,0.08);
}

.demo-line { margin-bottom: 12px; }
.demo-line strong { color: #b79cff; }
.demo-line span { color: #bcefff; }

label {
  display: block;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

input, textarea, select {
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  color: var(--ink);
}

textarea { min-height: 140px; resize: vertical; }
.form-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.full { grid-column: 1 / -1; }

.footer-shell { padding: 6px 0 48px; }
.footer-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(14,19,36,0.95), rgba(9,13,25,0.98));
  box-shadow: var(--shadow);
}

.footer-brand,
.watermark-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-legal {
  margin-top: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8290b4;
}

.site-watermark {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  pointer-events: none;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(9,13,25,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.watermark-icon {
  width: 18px;
  height: 18px;
  opacity: 0.92;
}

.watermark-word {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d9def2;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 760ms ease forwards;
}
.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 270ms; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.premium-hero-grid { align-items: stretch; }
.premium-panel { min-height: 100%; }
.premium-stack { display: grid; gap: 14px; }
.premium-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.premium-band {
  padding: 12px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.premium-band-head { padding: 16px 16px 8px; }
.premium-cta-panel { background: linear-gradient(135deg, rgba(121,96,255,0.18), rgba(10,13,26,0.96)); }

.legal-card h2 + p { margin-top: -2px; }
.legal-card .card-title { margin-top: 24px; }
.legal-card .card-title:first-child { margin-top: 0; }

@media (max-width: 1080px) {
  .hero-grid,
  .demo-layout,
  .three-col,
  .four-col,
  .pricing-grid,
  .contact-grid,
  .footer-grid,
  .footer-grid-wide,
  .stats-grid,
  .logo-grid,
  .process-grid,
  .proof-grid,
  .premium-proof-grid,
  .compare-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .top-strip .shell,
  .site-header-inner,
  .section-head,
  .two-col,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-hero,
  .hero-panel,
  .quote-panel,
  .card,
  .surface,
  .metric,
  .cta-panel,
  .story-band,
  .dark-band,
  .compare-card,
  .logo-card,
  .process-card,
  .proof-card,
  .split-callout,
  .legal-card,
  .footer-card {
    padding: 22px;
  }

  .site-nav { justify-content: start; }
  .brand-mark { font-size: 1.06rem; }
  .brand-badge { width: 42px; height: 42px; }
  .brand-icon { width: 30px; height: 30px; }
  .site-watermark { right: 10px; bottom: 10px; }
}
