/* ════════════════════════════════════════════
   ATLAS MARKETING SITE — MASTER STYLESHEET
   Print-style typography · Magazine layout · Glossy finish
   ════════════════════════════════════════════ */

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

:root {
  --ink:       #0a0a0f;
  --ink-2:     #1a1a2e;
  --ink-3:     #2d2d44;
  --cream:     #f5f0e8;
  --cream-2:   #ede7d9;
  --gold:      #c9a84c;
  --gold-2:    #e8c97a;
  --violet:    #6c47ff;
  --violet-2:  #9b7bff;
  --violet-3:  #d4c9ff;
  --teal:      #0ed2b0;
  --white:     #ffffff;
  --mid:       #6b6b8a;
  --border:    rgba(255,255,255,0.08);
  --shadow:    0 4px 32px rgba(0,0,0,0.18);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.32);

  --ff-serif:  'Playfair Display', Georgia, serif;
  --ff-sans:   'Inter', system-ui, sans-serif;
  --ff-mono:   'DM Mono', 'Fira Code', monospace;

  --radius:    12px;
  --radius-lg: 20px;
  --max-w:     1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-sans);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── TYPOGRAPHY SCALE ─── */
h1, h2, h3, h4 { font-family: var(--ff-serif); line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
p  { line-height: 1.75; color: rgba(255,255,255,0.75); }
em { font-style: italic; color: var(--gold); }
strong { color: var(--white); font-weight: 600; }
a  { text-decoration: none; color: inherit; }

/* ─── SHARED COMPONENTS ─── */
.section-tag {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.section-tag--light { color: var(--cream); border-color: var(--cream); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--ff-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 0 32px rgba(108,71,255,0.4);
}
.btn-primary:hover { background: var(--violet-2); transform: translateY(-2px); box-shadow: 0 0 48px rgba(108,71,255,0.6); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { border-color: var(--violet-2); color: var(--white); background: rgba(108,71,255,0.08); }

.btn-nav {
  background: rgba(108,71,255,0.15);
  border: 1px solid rgba(108,71,255,0.4);
  color: var(--violet-2);
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn-nav:hover { background: var(--violet); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.4);
}
.btn-outline-light:hover { background: rgba(245,240,232,0.08); }

.btn-cta {
  background: var(--gold);
  color: var(--ink);
  font-size: 1rem;
  padding: 16px 32px;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--gold-2); transform: translateY(-2px); }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(10,10,15,0.95); }
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 700; }
.logo-mark { font-size: 1.6rem; color: var(--gold); }
.logo-text { color: var(--white); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ─── AURORA CANVAS ─── */
.aurora-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.aurora-canvas--cta { opacity: 0.6; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #1a1040 0%, var(--ink) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 120px 32px 80px;
}

.hero-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-headline {
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 32px rgba(108,71,255,0.3);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.65);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: fadeUp 0.9s 1.0s forwards;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.stat-num {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-unit { font-size: 1.4rem; font-weight: 700; color: var(--gold); margin-left: 2px; }
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.6s forwards;
}
.hero-scroll-hint span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── EDITORIAL INTRO ─── */
.editorial-intro {
  background: var(--cream);
  color: var(--ink);
  padding: 120px 32px;
}
.editorial-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 48px;
  align-items: start;
}
.editorial-label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  grid-column: 1;
  grid-row: 1;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
  margin-top: 8px;
}
.editorial-headline {
  grid-column: 2;
  grid-row: 1 / 3;
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}
.editorial-headline em { color: var(--violet); font-style: italic; }
.editorial-body {
  grid-column: 3;
  grid-row: 1 / 3;
}
.editorial-body p {
  color: var(--ink-3);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.editorial-body strong { color: var(--ink); }
.editorial-pull-quote {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--mid);
  border-top: 1px solid var(--gold);
  padding-top: 16px;
  line-height: 1.6;
}
.editorial-pull-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  margin-top: 12px;
  color: var(--gold);
}

/* ─── FEATURE SPREAD ─── */
.feature-spread {
  padding: 120px 32px;
  background: var(--ink);
}
.spread-header {
  max-width: var(--max-w);
  margin: 0 auto 64px;
}
.spread-title {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.feature-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(108,71,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(108,71,255,0.3);
}
.feature-card--large { grid-column: 1 / 3; }
.feature-card--wide { grid-column: 1 / 4; }
.feature-card--accent {
  background: linear-gradient(135deg, rgba(108,71,255,0.15) 0%, rgba(14,210,176,0.08) 100%);
  border-color: rgba(108,71,255,0.3);
}
.feature-card--accent::before {
  background: radial-gradient(ellipse at 80% 0%, rgba(14,210,176,0.12) 0%, transparent 60%);
}

.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.feature-card p { font-size: 0.95rem; }
.feature-tag {
  margin-top: 20px;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  opacity: 0.8;
}

/* ─── WORKFLOW DEMO ─── */
.workflow-demo {
  padding: 120px 32px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.workflow-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.workflow-copy h2 { margin: 12px 0 24px; font-size: clamp(2rem, 3.5vw, 3rem); }
.workflow-copy p { margin-bottom: 1rem; }

.workflow-terminal {
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(108,71,255,0.1);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green  { background: #28c840; }
.t-title  {
  margin-left: 8px;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.terminal-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }

.t-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  align-items: baseline;
}
.t-prompt {
  font-weight: 500;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.t-user   .t-prompt { color: var(--gold); }
.t-user   { color: rgba(255,255,255,0.85); }
.t-agent  .t-prompt { color: var(--violet-2); }
.t-agent  { color: rgba(255,255,255,0.75); }
.t-tool   .t-prompt { color: var(--teal); }
.t-tool   { color: rgba(14,210,176,0.8); }
.t-success .t-prompt { color: #28c840; }
.t-success { color: rgba(40,200,64,0.9); }
.t-step { color: var(--violet-2); margin-right: 4px; }

.t-animate { opacity: 0; animation: fadeUp 0.5s forwards; }

/* ─── METRICS ─── */
.metrics-section {
  padding: 120px 32px;
  background: var(--cream);
}
.metrics-inner { max-width: var(--max-w); margin: 0 auto; }
.metrics-header { margin-bottom: 64px; }
.metrics-header h2 { color: var(--ink); margin-top: 12px; }

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.chart-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.chart-card--primary { background: var(--ink); }
.chart-card--dark {
  background: linear-gradient(135deg, var(--ink-2) 0%, #1a0a3c 100%);
  border-color: rgba(108,71,255,0.2);
}
.chart-label {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.chart-card--primary .chart-label,
.chart-card--dark .chart-label { color: var(--white); }
.chart-sublabel {
  font-size: 0.78rem;
  color: var(--mid);
  margin-bottom: 20px;
  font-family: var(--ff-mono);
  letter-spacing: 0.04em;
}
.chart-card--primary .chart-sublabel,
.chart-card--dark .chart-sublabel { color: rgba(255,255,255,0.4); }

.metrics-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--cream-2);
}
.callout-num {
  font-family: var(--ff-serif);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.callout-num span {
  font-size: 1.6rem;
  color: var(--violet);
}
.callout-copy { font-size: 0.9rem; color: var(--mid); }

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 120px 32px;
  background: var(--ink);
}
.testimonials-inner { max-width: var(--max-w); margin: 0 auto; }
.testimonials-headline { margin: 12px 0 64px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.testimonial:hover { transform: translateY(-4px); border-color: rgba(108,71,255,0.3); }
.testimonial::before {
  content: '\201C';
  font-family: var(--ff-serif);
  font-size: 6rem;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 32px;
  color: var(--violet);
  opacity: 0.2;
}
.testimonial p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  position: relative;
}
.testimonial footer strong {
  display: block;
  font-weight: 600;
  color: var(--white);
}
.testimonial footer span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--ff-mono);
}
.testimonial--featured {
  background: linear-gradient(135deg, rgba(108,71,255,0.12) 0%, rgba(14,210,176,0.06) 100%);
  border-color: rgba(108,71,255,0.3);
  grid-row: 1 / 3;
}
.testimonial--dark {
  background: rgba(201,168,76,0.05);
  border-color: rgba(201,168,76,0.2);
}

/* ─── WHY ATLAS ─── */
.why-section {
  padding: 120px 32px;
  background: linear-gradient(135deg, var(--ink-2) 0%, #0f0a24 100%);
}
.why-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-copy h2 { margin: 12px 0 24px; }
.why-copy p { margin-bottom: 1.25rem; }

.why-diagram { display: flex; justify-content: center; align-items: center; }
.diagram-center { position: relative; width: 380px; height: 380px; }
.diagram-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  background: linear-gradient(135deg, var(--violet) 0%, #3a1fa0 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-serif);
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 0 60px rgba(108,71,255,0.5), 0 0 120px rgba(108,71,255,0.2);
  z-index: 2;
  animation: corePulse 4s ease-in-out infinite;
}
.diagram-core span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.2;
}

.diagram-orbit {
  position: absolute;
  inset: 0;
  animation: orbitSpin 24s linear infinite;
}
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-family: var(--ff-mono);
  color: rgba(255,255,255,0.7);
  transform-origin: 0 0;
  /* angle = i * 45deg, radius = 150px */
  transform: rotate(calc(var(--i) * 45deg)) translateX(150px) rotate(calc(var(--i) * -45deg)) translate(-50%, -50%);
  transition: background 0.3s;
  white-space: nowrap;
}
.orbit-item:hover { background: rgba(108,71,255,0.2); color: var(--white); }

/* orbit ring */
.diagram-center::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  border: 1px dashed rgba(108,71,255,0.2);
  border-radius: 50%;
  pointer-events: none;
}

/* ─── PRICING ─── */
.pricing-section {
  padding: 120px 32px;
  background: var(--cream);
}
.pricing-inner { max-width: var(--max-w); margin: 0 auto; }
.pricing-headline { color: var(--ink); margin: 12px 0 12px; }
.pricing-sub { color: var(--mid); margin-bottom: 64px; font-size: 1.05rem; }

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

.pricing-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,0.12); }
.pricing-card--featured {
  background: var(--ink);
  border-color: rgba(108,71,255,0.4);
  box-shadow: 0 8px 48px rgba(108,71,255,0.2);
  transform: scale(1.02);
}
.pricing-card--featured:hover { transform: scale(1.02) translateY(-4px); }
.pricing-card--dark {
  background: var(--ink-2);
  border-color: rgba(255,255,255,0.08);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--violet);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.pricing-card--featured .pricing-tier,
.pricing-card--dark .pricing-tier { color: rgba(255,255,255,0.4); }

.pricing-price {
  font-family: var(--ff-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--mid); }
.pricing-card--featured .pricing-price,
.pricing-card--dark .pricing-price { color: var(--white); }
.pricing-card--featured .pricing-price span,
.pricing-card--dark .pricing-price span { color: rgba(255,255,255,0.4); }

.pricing-desc { font-size: 0.9rem; color: var(--mid); margin-bottom: 28px; line-height: 1.6; }
.pricing-card--featured .pricing-desc,
.pricing-card--dark .pricing-desc { color: rgba(255,255,255,0.55); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-features li { font-size: 0.88rem; color: var(--ink-3); }
.pricing-card--featured .pricing-features li,
.pricing-card--dark .pricing-features li { color: rgba(255,255,255,0.75); }

/* ─── CTA SECTION ─── */
.cta-section {
  position: relative;
  padding: 160px 32px;
  background: radial-gradient(ellipse at 50% 40%, #1a1040 0%, var(--ink) 70%);
  text-align: center;
  overflow: hidden;
}
.cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-headline { margin: 12px 0 20px; font-size: clamp(2.4rem, 5vw, 4rem); }
.cta-sub { font-size: 1.05rem; margin-bottom: 40px; }

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 16px;
}
.cta-input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus { border-color: var(--violet-2); }

.cta-fine { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* ─── FOOTER ─── */
.footer {
  background: rgba(0,0,0,0.6);
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand .logo-mark { font-size: 1.8rem; }
.footer-brand .logo-text { font-size: 1.4rem; font-family: var(--ff-serif); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.4); margin-top: 12px; }

.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 0.75rem;
  font-family: var(--ff-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 60px rgba(108,71,255,0.5), 0 0 120px rgba(108,71,255,0.2); }
  50% { box-shadow: 0 0 80px rgba(108,71,255,0.7), 0 0 160px rgba(108,71,255,0.3); }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-label, .editorial-pull-quote { grid-column: 1; grid-row: auto; }
  .editorial-headline, .editorial-body { grid-column: 1; grid-row: auto; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--large, .feature-card--wide { grid-column: 1; }

  .workflow-inner { grid-template-columns: 1fr; gap: 48px; }
  .chart-grid { grid-template-columns: 1fr; }
  .metrics-callouts { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial--featured { grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .nav-links { display: none; }
  .cta-form { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 48px; height: 1px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .diagram-center { width: 280px; height: 280px; }
  .diagram-center::before { width: 220px; height: 220px; }
  .orbit-item { transform: rotate(calc(var(--i) * 45deg)) translateX(110px) rotate(calc(var(--i) * -45deg)) translate(-50%, -50%); }
}

/* ─── UTILITY ─── */
.br-lg { display: none; }
@media (min-width: 700px) { .br-lg { display: inline; } }
