/* ============================================================
   Trinity Sky — Sovereign AI Marketing Website
   Complete Stylesheet · Dark-Mode-First · E8 Neural Palette
   ============================================================ */

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

/* ------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   ------------------------------------------------------------ */
:root {
  /* Colors — E8 Neural Dark Palette */
  --void: #050508;
  --deep-space: #0A0E17;
  --panel: #141B2D;
  --border: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-strong: #3D4F6F;
  --text-primary: #E8EDF5;
  --text-secondary: #A8B4C8;
  --text-muted: #64748B;
  --primary: #C9A227;
  --primary-hover: #E4BC3A;
  --primary-foreground: #0A0E17;
  --neural-violet: #8B7CF6;
  --neural-cyan: #38BDF8;
  --neural-magenta: #E879F9;
  --neural-indigo: #6366F1;
  --neural-teal: #22D3EE;
  --success: #34D399;

  /* Spacing — 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 112px;
  --space-14: 128px;
  --space-15: 144px;
  --space-16: 160px;
  --space-17: 176px;
  --space-18: 192px;
  --space-19: 208px;
  --space-20: 224px;
  --space-21: 240px;
  --space-22: 256px;
  --space-23: 272px;
  --space-24: 288px;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Motion */
  --duration-fast: 200ms;
  --duration-normal: 333ms;
  --duration-slow: 500ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  line-height: 1.2;
}

::selection {
  background: rgba(139, 124, 246, 0.35);
  color: var(--text-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) var(--void);
}

/* ------------------------------------------------------------
   3. Container
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ------------------------------------------------------------
   4. Navigation — .site-header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.site-header__logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CSS triangle logo mark — replaces emoji */
.logo-mark {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--neural-violet), var(--neural-cyan));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  flex-shrink: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
}

.site-header__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-header__links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
  white-space: nowrap;
}

.site-header__links a:hover {
  color: var(--text-primary);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
  white-space: nowrap;
  margin-left: 32px;
}

.site-header__cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
#mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

#mobile-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px auto;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-normal) var(--ease-out-expo);
}

#mobile-nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

#mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

#mobile-nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* Mobile nav dropdown */
#mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 8, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

#mobile-nav.is-open {
  display: block;
}

#mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  min-height: 44px;
  line-height: 20px;
}

#mobile-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

#mobile-nav .site-header__cta {
  margin: 12px 24px 8px;
  width: calc(100% - 48px);
  text-align: center;
}

@media (max-width: 768px) {
  .site-header__nav,
  .site-header__cta {
    display: none;
  }

  #mobile-nav-toggle {
    display: flex;
  }
}

/* ------------------------------------------------------------
   5. Hero — .hero
   ------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero parallax image overlay — dark tint for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 80% 70% at 50% 45%,
    rgba(5, 5, 8, 0.2) 0%,
    rgba(5, 5, 8, 0.55) 55%,
    rgba(5, 5, 8, 0.85) 100%
  );
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
  padding: 140px 24px 80px;
  margin-left: auto;
  margin-right: auto;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: var(--neural-cyan);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

h1.hero__headline {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 0%, var(--neural-violet) 60%, var(--neural-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(139, 124, 246, 0.3));
}

.hero__subheadline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 44px;
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(5, 5, 8, 0.8);
}

.hero__stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--neural-cyan);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero__stat-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero__stat-tag--validated {
  background: var(--success);
  color: #052E16;
}

.hero__stat-tag--target {
  background: var(--primary);
  color: var(--primary-foreground);
}

.hero__cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

@media (max-width: 640px) {
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero__content {
    padding-top: 96px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out-expo);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out-expo);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--neural-cyan);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--duration-fast) ease;
}

.btn-link:hover {
  text-decoration: underline;
}

/* Mobile touch targets */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    padding: 12px 24px;
  }
}

/* ------------------------------------------------------------
   7. Stats Marquee — .stats-bar
   ------------------------------------------------------------ */
.stats-bar {
  background: var(--deep-space);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.stats-bar__track {
  display: flex;
  animation: marquee 30s linear infinite;
}

.stats-bar__track:hover {
  animation-play-state: paused;
}

.stats-bar__list {
  display: flex;
  gap: 64px;
  padding: 20px 0;
  flex-shrink: 0;
}

.stats-bar__item {
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.stats-bar__value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--neural-cyan);
  line-height: 1.2;
}

.stats-bar__label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stats-bar__compare {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .stats-bar {
    padding: 32px 16px;
  }

  .stats-bar__track {
    animation: none;
    display: block;
  }

  .stats-bar__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
  }

  .stats-bar__item {
    min-width: 0;
  }
}

/* ------------------------------------------------------------
   8. Sections (generic)
   ------------------------------------------------------------ */
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  color: var(--neural-violet);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-headline {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.12;
  text-shadow: 0 4px 24px rgba(5, 5, 8, 0.7), 0 1px 3px rgba(5, 5, 8, 0.9);
}

.section-subheadline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin-bottom: 52px;
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(5, 5, 8, 0.7);
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }
}

/* ------------------------------------------------------------
   9. Value Propositions — .value-props
   ------------------------------------------------------------ */
.value-props {
  background: var(--void);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .value-props {
    padding: 64px 0;
  }
}

.value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.value-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(139, 124, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.value-card__headline {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-card__body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.value-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.value-card__stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--neural-cyan);
}

.value-card__stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.value-card__link {
  color: var(--neural-cyan);
  font-size: 14px;
  text-decoration: none;
  margin-top: 16px;
  display: inline-block;
  transition: color var(--duration-fast) ease;
}

.value-card__link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .value-props__grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   10. How It Works — .how-it-works
   ------------------------------------------------------------ */
.how-it-works {
  background: var(--deep-space);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 64px 0;
  }
}

.pipeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.pipeline-step {
  text-align: center;
  padding: 32px 16px;
  position: relative;
}

.pipeline-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--neural-cyan);
  color: var(--neural-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}

.pipeline-step__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pipeline-step__description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pipeline-step__time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  margin-top: 12px;
}

/* Connector lines between steps */
.pipeline-step__connector {
  display: none;
}

@media (min-width: 1025px) {
  .pipeline-step__connector {
    display: block;
    position: absolute;
    top: 52px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: linear-gradient(90deg, var(--neural-violet), var(--neural-cyan));
    z-index: 1;
  }

  .pipeline-step:last-child .pipeline-step__connector {
    display: none;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .pipeline__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pipeline__steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pipeline-step {
    padding: 24px 16px;
    position: relative;
  }

  .pipeline-step__connector {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--neural-violet), var(--neural-cyan));
    transform: translateX(-50%);
  }

  .pipeline-step:last-child .pipeline-step__connector {
    display: none;
  }
}

/* ------------------------------------------------------------
   11. Comparison Table — .comparison
   ------------------------------------------------------------ */
.comparison {
  background: var(--void);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .comparison {
    padding: 64px 0;
  }
}

.comparison__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

table.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.comparison-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border-strong);
  color: var(--text-primary);
  position: sticky;
  top: 0;
  background: var(--void);
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table__trinity-col {
  background: rgba(139, 124, 246, 0.06);
  font-weight: 500;
  color: var(--text-primary);
}

.check-icon {
  color: var(--success);
  font-weight: 700;
}

.x-icon {
  color: #EF4444;
  font-weight: 700;
}

.partial-icon {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .comparison-table td:first-child,
  .comparison-table th:first-child {
    position: sticky;
    left: 0;
    background: var(--void);
    z-index: 2;
    min-width: 140px;
  }

  .comparison-table tr:hover td:first-child {
    background: var(--void);
  }
}

/* ------------------------------------------------------------
   12. FAQ Accordion — .faq
   ------------------------------------------------------------ */
.faq {
  background: var(--deep-space);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .faq {
    padding: 64px 0;
  }
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:last-child {
  border-bottom: none;
}

button.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  gap: 16px;
  min-height: 44px;
  transition: color var(--duration-fast) ease;
}

button.faq__question:hover {
  color: var(--neural-cyan);
}

.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-out-expo);
  color: var(--text-muted);
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out-expo);
}

.faq__answer-inner {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   13. CTA Band — .cta-band
   ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(180deg, var(--void), var(--deep-space));
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-band {
    padding: 64px 0;
  }
}

.cta-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.cta-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.cta-card--primary {
  border-top: 2px solid var(--primary);
  position: relative;
}

@media (min-width: 1025px) {
  .cta-card--primary {
    top: -8px;
  }
}

.cta-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  color: var(--neural-violet);
  font-weight: 500;
  margin-bottom: 12px;
}

.cta-card__headline {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cta-card__body {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cta-card__bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.cta-card__bullets li {
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cta-card__bullets li::before {
  content: '→';
  color: var(--neural-cyan);
  flex-shrink: 0;
  font-weight: 500;
}

.cta-card__button {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .cta-card--primary {
    top: 0;
    order: -1;
  }
}

/* ------------------------------------------------------------
   14. Pre-Footer CTA — .cta-closing
   ------------------------------------------------------------ */
.cta-closing {
  background: linear-gradient(180deg, var(--deep-space) 0%, var(--void) 30%, var(--void) 70%, var(--deep-space) 100%);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .cta-closing {
    padding: 64px 0;
  }
}

.cta-closing__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-closing__headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-closing__body {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-closing__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-closing__support {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-closing__support a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.cta-closing__support a:hover {
  color: var(--text-primary);
}

/* ------------------------------------------------------------
   15. Footer — .site-footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--deep-space);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.site-footer__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 300px;
}

.site-footer__links h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.site-footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.site-footer__links a:hover {
  color: var(--text-primary);
}

.site-footer__legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__legal-links {
  display: flex;
  gap: 24px;
}

.site-footer__legal-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.site-footer__legal-links a:hover {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 48px 0 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__legal {
    flex-direction: column;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   16. Animations
   ------------------------------------------------------------ */

/* Scroll reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero blur reveal */
@keyframes heroReveal {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.hero__eyebrow {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.15s both;
}

.hero__headline {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.3s both;
}

.hero__subheadline {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.5s both;
}

.hero__stats {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.7s both;
}

.hero__cta-group {
  animation: heroReveal 0.8s var(--ease-out-expo) 0.9s both;
}

.hero__trust-line {
  animation: heroReveal 0.8s var(--ease-out-expo) 1.05s both;
}

/* Neural pulse for accents */
@keyframes neuralPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.neural-pulse {
  animation: neuralPulse 3s ease-in-out infinite;
}

/* Stagger delays for value cards */
.value-card:nth-child(1) {
  transition-delay: 0.1s;
}

.value-card:nth-child(2) {
  transition-delay: 0.2s;
}

.value-card:nth-child(3) {
  transition-delay: 0.3s;
}

/* Stagger for pipeline steps */
.pipeline-step:nth-child(1) {
  transition-delay: 0.1s;
}

.pipeline-step:nth-child(2) {
  transition-delay: 0.2s;
}

.pipeline-step:nth-child(3) {
  transition-delay: 0.3s;
}

.pipeline-step:nth-child(4) {
  transition-delay: 0.4s;
}

/* Stagger for CTA cards */
.cta-card:nth-child(1) {
  transition-delay: 0.1s;
}

.cta-card:nth-child(2) {
  transition-delay: 0.2s;
}

.cta-card:nth-child(3) {
  transition-delay: 0.3s;
}

/* Fade-in-up utility */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s var(--ease-out-expo) both;
}

/* ------------------------------------------------------------
   17. Reduced Motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .stats-bar__track {
    animation: none;
  }

  .hero__eyebrow,
  .hero__headline,
  .hero__subheadline,
  .hero__stats,
  .hero__cta-group,
  .hero__trust-line {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   18. Responsive — Tablet (max-width: 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .value-props__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band__grid .cta-card:last-child {
    grid-column: 1 / -1;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-header__links {
    gap: 20px;
  }
}

/* ------------------------------------------------------------
   19. Responsive — Mobile (max-width: 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .value-props__grid {
    grid-template-columns: 1fr;
  }

  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta-group .btn-primary,
  .hero__cta-group .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  .section-subheadline {
    margin-bottom: 32px;
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}

/* ------------------------------------------------------------
   20. Utility Classes
   ------------------------------------------------------------ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

/* Focus visible styles for accessibility */
:focus-visible {
  outline: 2px solid var(--neural-cyan);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--neural-cyan);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   21. Parallax Divider Bands (between sections)
   ============================================================ */

/* The divider itself — a full-width cinematic image strip */
.parallax-divider {
  position: relative;
  height: 40vh;
  min-height: 280px;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-divider--tall {
  height: 55vh;
  min-height: 360px;
  max-height: 650px;
}

/* The parallax-scrolling image container */
.parallax-divider__img {
  position: absolute;
  inset: -30% 0;
  z-index: 0;
  will-change: transform;
}

.parallax-divider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  filter: saturate(1.4) brightness(0.85);
}

/* Edge gradients that blend the image into the dark sections above/below */
.parallax-divider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, 
      rgba(5, 5, 8, 0.7) 0%,
      rgba(5, 5, 8, 0.15) 20%,
      rgba(5, 5, 8, 0.05) 50%,
      rgba(5, 5, 8, 0.15) 80%,
      rgba(5, 5, 8, 0.7) 100%
    );
}

/* Caption text centered over the image */
.parallax-divider__caption {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 2px 20px rgba(5, 5, 8, 0.9), 0 0 40px rgba(139, 124, 246, 0.15);
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  background: rgba(5, 5, 8, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero background — keeps the original inside-section approach */
.parallax-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  filter: saturate(1.4) brightness(0.85);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .parallax-divider__img,
  .parallax-bg {
    inset: 0;
    transform: none !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .parallax-divider {
    height: 30vh;
    min-height: 200px;
    max-height: 320px;
  }

  .parallax-divider--tall {
    height: 35vh;
    min-height: 240px;
    max-height: 400px;
  }

  .parallax-divider__img {
    inset: 0;
  }

  .parallax-divider__img img {
    opacity: 0.45;
  }

  .parallax-divider__caption {
    font-size: 9px;
    letter-spacing: 0.25em;
    padding: 6px 14px;
  }

  .parallax-bg {
    inset: 0;
  }

  .parallax-bg img {
    opacity: 0.3;
    filter: blur(2px) saturate(1.2);
  }
}

/* ============================================================
   22. Enhanced Component Polish
   ============================================================ */

.value-card {
  background: rgba(20, 27, 45, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-card:hover {
  background: rgba(20, 27, 45, 0.92);
  border-color: rgba(139, 124, 246, 0.3);
}

.cta-card {
  background: rgba(20, 27, 45, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-card--primary {
  border-top: 2px solid var(--primary);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.08);
}

.comparison__wrapper {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.faq__list {
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 8px 24px;
  border: 1px solid var(--border);
}

.hero__stat-value {
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
}

.stats-bar__value {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.pipeline-step__number {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.value-card__stat-value {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.cta-closing .section-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  filter: drop-shadow(0 4px 20px rgba(139, 124, 246, 0.2));
}

.hero__trust-line {
  text-shadow: 0 2px 12px rgba(5, 5, 8, 0.8);
}

.section-eyebrow {
  text-shadow: 0 0 16px rgba(139, 124, 246, 0.3);
}

