/* ============================================================
   DopaSpeak — styles.css
   Design: warm / brain-activating / musical
   Typography: Bricolage Grotesque (display) + Figtree (body)
   Palette: Cream / Coral / Teal / Amber — OKLCH-based
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Surfaces */
  --cream: #FAF6F0;
  --cream-deep: #F0EAE0;
  --dark-bg: #1C1915;
  --dark-surface: #262320;

  /* Text */
  --ink: #2A2520;
  --ink-soft: #5A524A;
  --ink-muted: #8A827A;

  /* Brand */
  --coral: #D4603A;
  --coral-deep: #B8492A;
  --coral-glow: #E8875E;
  --coral-tint: #FCEEE8;
  --teal: #2A8A7A;
  --teal-deep: #1E6B5E;
  --teal-tint: #E4F5F2;
  --amber: #D4A030;
  --amber-tint: #FDF4DC;

  /* Borders */
  --border-light: rgba(42, 37, 32, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Figtree', sans-serif;

  /* Spacing (4pt scale) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Motion */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; }

.text-coral { color: var(--coral); }
.text-teal { color: var(--teal); }

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--coral);
  z-index: 200;
  width: 0%;
  transition: none;
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }
.reveal-d5 { transition-delay: 0.30s; }
.reveal-d6 { transition-delay: 0.36s; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-4) 0;
  transition: background var(--duration-normal), padding var(--duration-normal);
}
.nav.scrolled {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light);
  padding: var(--sp-3) 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links > a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--duration-fast);
}
.nav-links > a:hover { color: var(--coral); }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}
.lang-btn:hover { border-color: var(--coral); color: var(--coral); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--sp-1);
  min-width: 155px;
  box-shadow: 0 8px 32px rgba(42, 37, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--ease-out-quart);
  z-index: 50;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown a {
  display: block;
  padding: 7px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: all var(--duration-fast);
}
.lang-dropdown a:hover,
.lang-dropdown a.active { background: var(--coral-tint); color: var(--coral); }

/* Mobile Nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-1);
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out-quart);
}
.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
    padding: 80px var(--sp-5) var(--sp-5);
    background: var(--cream);
    box-shadow: -8px 0 40px rgba(42, 37, 32, 0.1);
    transition: right 0.4s var(--ease-out-expo);
    z-index: 90;
  }
  .nav-links.open { right: 0; }
  .nav-links > a { font-size: 1.1rem; padding: var(--sp-2) 0; }
  .nav-mobile-toggle { display: flex; z-index: 100; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--duration-normal) var(--ease-out-quart);
}
.btn-primary {
  background: var(--coral);
  color: #FFFBF5;
  box-shadow: 0 2px 8px rgba(212, 96, 58, 0.25);
}
.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 96, 58, 0.3);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--ink-soft);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }

.section-dark .btn-ghost {
  color: rgba(255,255,255,0.7);
  border-color: var(--border-dark);
}
.section-dark .btn-ghost:hover {
  border-color: var(--coral-glow);
  color: var(--coral-glow);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Animated SVG wave background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 200%;
  height: 200px;
  opacity: 0.06;
}
.hero-wave path {
  fill: var(--coral);
}
.hero-wave-1 { animation: waveSlide 18s linear infinite; }
.hero-wave-2 { animation: waveSlide 24s linear infinite reverse; opacity: 0.04; bottom: 20px; }
@keyframes waveSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Warm ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbDrift 25s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--coral);
  opacity: 0.08;
  top: -10%;
  right: -5%;
}
.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--teal);
  opacity: 0.06;
  bottom: 5%;
  left: -5%;
  animation-delay: -10s;
}
.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--amber);
  opacity: 0.07;
  top: 40%;
  right: 30%;
  animation-delay: -18s;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -15px); }
  66% { transform: translate(-15px, 10px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero-text { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px 16px;
  background: var(--coral-tint);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.015em;
  margin-bottom: var(--sp-5);
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: badgePulse 2.5s infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 { margin-bottom: var(--sp-5); }
.hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin-bottom: var(--sp-7);
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
  flex-wrap: wrap;
}

/* Stats with animated counters */
.hero-stats {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mockup {
  width: 270px;
  height: 560px;
  background: var(--dark-bg);
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 30px 80px rgba(42, 37, 32, 0.25),
    0 4px 16px rgba(42, 37, 32, 0.15);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out-quart);
}
.phone-mockup:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(0.5deg);
}
/* Notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0F0D0A;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mock-header {
  display: flex;
  gap: 3px;
  padding: 40px 14px 10px;
  background: #FEFCF9;
  border-bottom: 1px solid var(--border-light);
}
.mock-tab {
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 100px;
  color: var(--ink-muted);
}
.mock-tab.active {
  background: var(--coral);
  color: #FFFBF5;
}
.mock-card {
  margin: 14px;
  padding: 16px;
  background: #FEFCF9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  flex: 1;
}
.mock-lang {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 10px;
}
.mock-original {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-light);
}
.mock-decoded {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.token {
  position: relative;
  padding: 3px 9px;
  background: var(--coral-tint);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--coral);
  cursor: default;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: all 0.4s var(--ease-out-quart);
}
.token.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.token::after {
  content: attr(data-decoded);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  padding: 2px 7px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.6rem;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
}
.token:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }
.mock-hint {
  font-size: 0.62rem;
  color: var(--ink-muted);
  text-align: center;
}
.mock-progress {
  margin: 0 14px 14px;
  height: 3px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}
.mock-progress-bar {
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
  width: 0%;
  transition: width 2s var(--ease-out-expo);
}
.mock-progress-bar.animate { width: 65%; }

/* Glow behind phone */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 96, 58, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 1; }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
    gap: var(--sp-7);
  }
  .hero-text { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-visual { justify-content: flex-start; }
  .phone-mockup {
    transform: none;
    width: 240px;
    height: 490px;
  }
  .phone-mockup:hover { transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--sp-9) 0; position: relative; }
.section-dark {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.85);
}
.section-dark h2, .section-dark h3 { color: #F5F0E8; }
.section-dark .section-header p { color: rgba(255,255,255,0.5); }

.section-header {
  text-align: left;
  margin-bottom: var(--sp-8);
  max-width: 560px;
}
.section-header p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  margin-top: var(--sp-4);
  line-height: 1.7;
}
.section-badge {
  display: inline-block;
  padding: 5px 13px;
  background: var(--coral-tint);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.section-dark .section-badge {
  background: rgba(212, 96, 58, 0.15);
  color: var(--coral-glow);
}

/* ---------- Steps Grid ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.step-card {
  padding: var(--sp-6) var(--sp-5);
  background: #FEFCF9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(42, 37, 32, 0.08);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--coral);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.step-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-tint);
  border-radius: var(--radius-sm);
  color: var(--coral);
  margin-bottom: var(--sp-4);
}
.step-card h3 { margin-bottom: var(--sp-2); }
.step-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Features Bento ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.feature-card {
  padding: var(--sp-6) var(--sp-5);
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out-quart), background 0.3s;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.feature-highlight {
  grid-column: span 2;
  background: rgba(212, 96, 58, 0.06);
  border-color: rgba(212, 96, 58, 0.12);
}
.feature-icon-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 96, 58, 0.1);
  border-radius: 10px;
  color: var(--coral-glow);
  margin-bottom: var(--sp-4);
}
.feature-card h3 { margin-bottom: var(--sp-2); }
.feature-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-highlight { grid-column: span 1; }
}

/* ---------- Comparison ---------- */
.comparison-table {
  max-width: 780px;
  background: #FEFCF9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.comp-header, .comp-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
}
.comp-header {
  background: var(--cream-deep);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comp-header > div { padding: var(--sp-4) var(--sp-5); }
.comp-header .comp-them { color: var(--ink-muted); }
.comp-header .comp-us { color: var(--coral); background: var(--coral-tint); }
.comp-row { border-bottom: 1px solid var(--border-light); }
.comp-row:last-child { border-bottom: none; }
.comp-row > div { padding: var(--sp-4) var(--sp-5); font-size: 0.9rem; }
.comp-label { font-weight: 600; color: var(--ink); }
.comp-row .comp-them { color: var(--ink-muted); }
.comp-row .comp-us { color: var(--coral); font-weight: 600; background: rgba(212, 96, 58, 0.02); }

@media (max-width: 600px) {
  .comp-header, .comp-row { grid-template-columns: 1fr; text-align: center; }
  .comp-header > div, .comp-row > div { padding: var(--sp-3) var(--sp-4); }
  .comp-label {
    background: var(--cream-deep);
    padding-top: var(--sp-4) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border-dark); }
.faq-item summary {
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F5F0E8;
  transition: color var(--duration-fast);
}
.faq-item summary:hover { color: var(--coral-glow); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform var(--duration-normal) var(--ease-out-quart);
  flex-shrink: 0;
  margin-left: var(--sp-4);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--coral-glow); }
.faq-item p {
  padding: 0 0 var(--sp-5);
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  animation: faqIn 0.3s var(--ease-out-quart);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--coral);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.cta-content {
  position: relative;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.cta-content h2 { color: #FFFBF5; margin-bottom: var(--sp-4); }
.cta-content .text-coral { color: var(--amber-tint); }
.cta-content > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.08rem;
  margin-bottom: var(--sp-6);
}
.cta-buttons {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.cta-section .btn-primary {
  background: #FFFBF5;
  color: var(--coral);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.cta-section .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.cta-section .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.cta-section .btn-ghost:hover { border-color: #FFFBF5; color: #FFFBF5; }
.cta-note { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.5);
  padding: var(--sp-8) 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}
.footer-brand .nav-logo { color: #F5F0E8; margin-bottom: var(--sp-3); }
.footer-brand p { font-size: 0.9rem; max-width: 270px; }
.footer-links { display: flex; gap: var(--sp-8); }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #F5F0E8;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 4px 0;
  color: rgba(255,255,255,0.45);
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--coral-glow); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: var(--sp-4) 0;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer-links { gap: var(--sp-7); }
}

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