/* ══════════════════════════════════════════════════════
   ATLAS STARTUP SITE — MAGAZINE STYLESHEET
   Print-style typography · Glossy layout · Tasteful FX
══════════════════════════════════════════════════════ */

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

:root {
  --ink:       #0d0d0d;
  --paper:     #faf9f6;
  --cream:     #f3efe6;
  --accent:    #c8a96e;     /* warm gold */
  --accent2:   #6e9ec8;     /* sapphire */
  --glow:      #a78bfa;     /* violet */
  --dark:      #111118;
  --mid:       #1e1e2a;
  --rule:      #d4c9b4;
  --type-serif: 'Playfair Display', Georgia, serif;
  --type-sans:  'Inter', system-ui, sans-serif;
  --type-mono:  'DM Mono', 'Courier New', monospace;
  --max-w:      1200px;
  --section-pad: 120px 40px;
  --radius:     12px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--type-sans);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* ── Typography Scale ──────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--type-serif);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-headline    { font-size: clamp(3rem, 6vw, 6rem); font-weight: 900; color: #fff; }
.section-headline { font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 700; }
.section-headline.light { color: #fff; }
.section-headline.centered { text-align: center; }

.body-text {
  font-family: var(--type-sans);
  font-size: 1.05rem;
  color: #3a3830;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.body-text.light   { color: rgba(255,255,255,0.75); }
.body-text.centered { text-align: center; }

.max-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

em { font-style: italic; color: var(--accent); }
.dark-section em { color: var(--glow); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--type-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(200,169,110,0.35);
}
.btn-primary:hover {
  background: #b8955a;
  box-shadow: 0 8px 40px rgba(200,169,110,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-large { padding: 16px 36px; font-size: 1rem; }

/* ── Section Shared ────────────────────────────────── */
.section { padding: var(--section-pad); max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-family: var(--type-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before { content: ''; display: block; width: 32px; height: 1px; background: var(--accent); }
.section-label.light { color: var(--glow); }
.section-label.light::before { background: var(--glow); }

.text-link {
  font-family: var(--type-mono);
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.text-link:hover { color: #b8955a; }

/* ── WebGL Canvas (Hero) ───────────────────────────── */
#hero-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Navbar ────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(200,169,110,0.6));
}
.logo-text {
  font-family: var(--type-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  flex-shrink: 0;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ── Hero ──────────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 80px;
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-kicker {
  font-family: var(--type-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 8px 20px;
  border: 1px solid rgba(200,169,110,0.35);
  border-radius: 100px;
  display: inline-block;
  backdrop-filter: blur(4px);
}
.hero-headline {
  margin-bottom: 28px;
  text-shadow: 0 0 80px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-proof > span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.proof-logo {
  font-family: var(--type-serif);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.proof-logo:hover { color: rgba(255,255,255,0.55); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ── Pull Quote ────────────────────────────────────── */
.pull-quote-section {
  background: var(--cream);
  padding: 80px 40px;
}
.pull-quote-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.rule-line { width: 100%; height: 1px; background: var(--rule); }
.pull-quote {
  font-family: var(--type-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  text-align: center;
  line-height: 1.35;
  color: var(--ink);
}
.pull-quote-attr {
  font-family: var(--type-mono);
  font-size: 0.78rem;
  color: #8a836e;
  letter-spacing: 0.06em;
}

/* ── Magazine Grid (What It Does) ─────────────────── */
.magazine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.magazine-grid .section-label {
  grid-column: 1 / -1;
}
.magazine-left { padding-right: 40px; }
.magazine-right {}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; font-family: var(--type-sans); }
.feature-card p  { font-size: 0.85rem; color: #6b6456; line-height: 1.6; }

/* ── Story Break ───────────────────────────────────── */
.story-break {
  background: var(--ink);
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.story-break::before {
  content: 'I';
  position: absolute;
  top: -60px; right: -20px;
  font-family: var(--type-serif);
  font-size: 40vw;
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
}
.story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.story-chapter {
  font-family: var(--type-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.story-headline {
  font-family: var(--type-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 56px;
}
.story-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.story-columns p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
}
.story-columns em { color: var(--accent); }

/* ── Why It Matters — Stat Bar ────────────────────── */
.why-header { text-align: center; margin-bottom: 64px; }
.stat-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.stat-item {
  flex: 1;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--type-serif);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  transition: color 0.3s;
}
.stat-unit {
  font-family: var(--type-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(200,169,110,0.6);
  line-height: 1;
  margin-top: -8px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  max-width: 160px;
  line-height: 1.4;
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ── Charts ────────────────────────────────────────── */
.charts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.chart-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.chart-title {
  font-family: var(--type-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a836e;
  margin-bottom: 20px;
}

/* ── Architecture Diagram ──────────────────────────── */
.dark-section {
  background: var(--dark);
  padding: var(--section-pad);
}
.dark-section .section { background: transparent; }

#how {
  background: var(--dark);
  padding: var(--section-pad);
  max-width: none;
}
#how > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.arch-diagram {
  max-width: 700px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.arch-layer { width: 100%; }
.arch-layer-label {
  font-family: var(--type-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
}
.arch-layer-card {
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.arch-layer-card:hover { transform: scale(1.02); }
.arch-layer-card h3 { font-family: var(--type-sans); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.arch-layer-card p  { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.arch-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }

.arch-layer-card.surface { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); border: 1px solid rgba(110,158,200,0.3); box-shadow: 0 0 40px rgba(110,158,200,0.08); }
.arch-layer-card.tools   { background: linear-gradient(135deg, #1a2e1a 0%, #162e16 100%); border: 1px solid rgba(110,200,110,0.3); box-shadow: 0 0 40px rgba(110,200,110,0.08); }
.arch-layer-card.memory  { background: linear-gradient(135deg, #2e1a2e 0%, #2e162e 100%); border: 1px solid rgba(167,139,250,0.3); box-shadow: 0 0 40px rgba(167,139,250,0.08); }
.arch-layer-card.model   { background: linear-gradient(135deg, #2e221a 0%, #2e1a0a 100%); border: 1px solid rgba(200,169,110,0.4); box-shadow: 0 0 60px rgba(200,169,110,0.12); }

.arch-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 1.4rem;
  text-align: center;
  padding: 8px 0;
  width: 100%;
}

/* ── Manifesto ─────────────────────────────────────── */
.manifesto-section {
  position: relative;
  background: #0a0a0f;
  padding: 160px 40px;
  overflow: hidden;
}
.manifesto-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(200,169,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(110,158,200,0.06) 0%, transparent 70%);
}
.manifesto-content {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.manifesto-headline {
  font-family: var(--type-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 48px;
}
.manifesto-headline em { color: var(--accent); }
.manifesto-body {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 720px;
}
.manifesto-body em { color: var(--accent); font-style: italic; }

/* ── Testimonials ──────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); transform: translateY(-3px); }
.testimonial-card.large { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 24px 48px; align-items: start; }
.testimonial-card.large .quote-mark { grid-column: 1 / -1; }
.testimonial-card.large .testimonial-text { grid-column: 1; }
.testimonial-card.large .testimonial-stat { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--cream); border-radius: 8px; padding: 24px 36px; }
.testimonial-card.large .testimonial-author { grid-column: 1; }
.testimonial-card.highlight { background: var(--ink); border-color: transparent; }
.testimonial-card.highlight .testimonial-text { color: rgba(255,255,255,0.75); }

.quote-mark {
  font-family: var(--type-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 8px;
}
.testimonial-text {
  font-size: 0.97rem;
  color: #3a3830;
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8a6d3e);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--type-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: #8a836e; }
.big-number {
  font-family: var(--type-serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.big-label { font-size: 0.82rem; color: #6b6456; text-align: center; }

.case-study-label {
  font-family: var(--type-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.case-study-title {
  font-family: var(--type-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}
.case-study-metric {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 8px 16px;
}
.case-study-metric span {
  font-family: var(--type-serif);
  font-weight: 900;
  color: var(--accent);
  font-size: 1.4rem;
  margin-right: 6px;
}

/* ── Comparison Table ──────────────────────────────── */
.comparison-section {
  background: var(--cream);
  padding: var(--section-pad);
}
.comparison-section .section-label, .comparison-section h2 {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.comparison-section h2 { margin-bottom: 48px; }

.comparison-table-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 40px rgba(0,0,0,0.08);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
}
.comparison-table th {
  padding: 20px 24px;
  text-align: left;
  font-family: var(--type-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--rule);
}
.comparison-table th:first-child { color: var(--ink); }
.col-chatbot { color: #9ca3af; }
.col-copilot { color: #60a5fa; }
.col-atlas   { color: var(--accent); background: rgba(200,169,110,0.04); }

.comparison-table td {
  padding: 16px 24px;
  border-bottom: 1px solid #f0ebe1;
  vertical-align: middle;
}
.comparison-table td:first-child { font-weight: 500; color: #3a3830; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(200,169,110,0.03); }
.col-atlas { background: rgba(200,169,110,0.04); }

td.yes     { color: #16a34a; font-weight: 600; font-size: 0.85rem; }
td.no      { color: #dc2626; font-size: 0.85rem; }
td.partial { color: #ca8a04; font-size: 0.85rem; }

/* ── Pricing ───────────────────────────────────────── */
#pricing {
  background: var(--dark);
  padding: var(--section-pad);
  max-width: none;
}
#pricing .section-label,
#pricing h2,
#pricing p { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.pricing-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 36px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 32px 80px rgba(0,0,0,0.3); }
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(200,169,110,0.12) 0%, rgba(200,169,110,0.05) 100%);
  border-color: rgba(200,169,110,0.4);
  box-shadow: 0 0 80px rgba(200,169,110,0.12);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
}
.pricing-tier {
  font-family: var(--type-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pricing-price {
  font-family: var(--type-serif);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.pricing-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.4); }
.pricing-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-features li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

/* ── CTA Section ───────────────────────────────────── */
.cta-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0f;
}
#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 40px;
  max-width: 680px;
}
.cta-kicker {
  font-family: var(--type-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.cta-headline {
  font-family: var(--type-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-input {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--type-sans);
  outline: none;
  transition: border-color var(--transition);
  backdrop-filter: blur(8px);
}
.cta-input::placeholder { color: rgba(255,255,255,0.35); }
.cta-input:focus { border-color: var(--accent); }
.cta-fine {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 80px 40px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 0.87rem; color: rgba(255,255,255,0.35); }
.footer-cols { display: flex; gap: 64px; }
.footer-col-title {
  font-family: var(--type-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-made { color: var(--accent); opacity: 0.6; }

/* ── Toast ─────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(200,169,110,0.4);
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  z-index: 999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.toast.show { transform: translateY(0); opacity: 1; }

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

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .magazine-grid { grid-template-columns: 1fr; gap: 48px; }
  .magazine-left { padding-right: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .story-columns { grid-template-columns: 1fr; gap: 20px; }
  .charts-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card.large { grid-template-columns: 1fr; }
  .stat-bar { flex-direction: column; }
  .stat-divider { width: 100%; height: 1px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .nav-links { display: none; }
  .pricing-cards { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  :root { --section-pad: 80px 24px; }
  .hero-headline { font-size: 2.8rem; }
  .section-headline { font-size: 2rem; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table td, .comparison-table th { padding: 12px 14px; }
  .nav-cta { display: none; }
}

/* ── Glossy shimmer on feature cards ───────────────── */
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(300%) skewX(-15deg); }
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%) skewX(-15deg);
  pointer-events: none;
}
.feature-card:hover::after {
  animation: shimmer 0.7s ease forwards;
}

/* ── Subtle noise texture overlay ──────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}
