/* ==========================================================================
   Reframer — "Darkroom" Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts import
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=General+Sans:wght@400;500;600;700&display=swap');

/* --------------------------------------------------------------------------
   1. Reset & Custom Properties
   -------------------------------------------------------------------------- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Deepened palette */
  --bg-void: #06080d;
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2236;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-card-hover: rgba(26, 34, 54, 0.8);

  /* Text */
  --text-primary: #f0f2f5;
  --text-secondary: #8892a4;
  --text-muted: #566074;
  --text-dim: #3a4459;

  /* Accents — blue (precision) + amber (warmth/nostalgia) */
  --accent-blue: #4f8ff7;
  --accent-purple: #8b5cf6;
  --accent-amber: #f0a830;
  --accent-amber-dim: rgba(240, 168, 48, 0.15);
  --gradient-accent: linear-gradient(135deg, #4f8ff7, #8b5cf6);
  --gradient-warm: linear-gradient(135deg, #f0a830, #e87d2f);
  --gradient-card-highlight: linear-gradient(135deg, rgba(79, 143, 247, 0.12), rgba(139, 92, 246, 0.12));
  --glow-blue: 0 0 40px rgba(79, 143, 247, 0.15);
  --glow-amber: 0 0 40px rgba(240, 168, 48, 0.12);

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-subtle: rgba(255, 255, 255, 0.03);

  /* Spacing & shape */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --max-width: 1120px;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }


/* --------------------------------------------------------------------------
   2. Background atmosphere — grain + ambient glow
   -------------------------------------------------------------------------- */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79, 143, 247, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(240, 168, 48, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 60%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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


/* --------------------------------------------------------------------------
   3. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 8, 13, 0.7);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.4s ease;
}

.nav.scrolled {
  background: rgba(6, 8, 13, 0.92);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  transition: color 0.3s;
}

.nav-logo:hover {
  color: var(--accent-amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav-cta {
  background: var(--gradient-accent);
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  color: white !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(79, 143, 247, 0.2);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(79, 143, 247, 0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
  border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}


/* --------------------------------------------------------------------------
   4. Shared section styles
   -------------------------------------------------------------------------- */

.section {
  padding: 100px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section-bordered {
  border-top: 1px solid var(--border-color);
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-amber);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}


/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 160px 28px 80px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

/* Ambient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79, 143, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-amber);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 30%, #8892a4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  animation-delay: 0.7s;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span:not(:last-child)::after {
  content: '';
  width: 3px;
  height: 3px;
  background: var(--text-dim);
  border-radius: 50%;
  margin-left: 16px;
}


/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-accent);
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: white;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(79, 143, 247, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 100% { left: -100%; opacity: 0; }
  50% { left: 100%; opacity: 1; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79, 143, 247, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   7. Before/After Slider
   -------------------------------------------------------------------------- */

.before-after {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 28px 100px;
}

.before-after-container {
  position: relative;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: col-resize;
  user-select: none;
  border: 1px solid var(--border-color);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(79, 143, 247, 0.06),
    inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.before-after-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.before-after-layer img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.before-after-degraded {
  filter: grayscale(0.3) contrast(0.8) brightness(0.85) sepia(0.2);
}

.before-after-before { clip-path: inset(0 50% 0 0); }

.before-after-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.before-after-handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  background: rgba(6, 8, 13, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.before-after-handle::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M5 3L1 8l4 5M11 3l4 5-4 5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.8;
}

.before-after-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  background: rgba(6, 8, 13, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.before-after-label--before { left: 16px; color: var(--text-muted); }
.before-after-label--after {
  right: 16px;
  color: var(--accent-amber);
  background: rgba(240, 168, 48, 0.12);
  border-color: rgba(240, 168, 48, 0.15);
}

.before-after-hint {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   8. Steps (How It Works)
   -------------------------------------------------------------------------- */

.steps {
  display: flex;
  gap: 24px;
  max-width: 740px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.step:hover {
  background: var(--bg-card-hover);
  border-color: rgba(79, 143, 247, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(79, 143, 247, 0.08);
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-amber-dim);
  border: 1px solid rgba(240, 168, 48, 0.2);
  color: var(--accent-amber);
}

.step-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Connector arrows between steps */
.steps .step:not(:last-child)::after {
  content: '\203A';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-dim);
  z-index: 2;
  line-height: 1;
}


/* --------------------------------------------------------------------------
   9. Feature Cards (Why Reframer)
   -------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-accent);
  opacity: 0.4;
  transition: opacity 0.4s;
}

.feature-card:hover {
  background: rgba(26, 34, 54, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 40px rgba(79, 143, 247, 0.12);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-amber-dim);
  border: 1px solid rgba(240, 168, 48, 0.15);
  color: var(--accent-amber);
  font-size: 18px;
  box-shadow: 0 0 20px rgba(240, 168, 48, 0.1);
}

.feature-card-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   10. Pricing
   -------------------------------------------------------------------------- */

.pricing-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card--highlight {
  background: var(--gradient-card-highlight);
  border-color: rgba(79, 143, 247, 0.3);
  box-shadow: var(--glow-blue);
}

.pricing-card--highlight:hover {
  border-color: rgba(79, 143, 247, 0.5);
  box-shadow: 0 0 60px rgba(79, 143, 247, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: var(--gradient-warm);
  color: var(--bg-void);
  white-space: nowrap;
}

.pricing-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}


/* --------------------------------------------------------------------------
   11. Final CTA
   -------------------------------------------------------------------------- */

.final-cta {
  text-align: center;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(240, 168, 48, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.final-cta .section-title { margin-bottom: 14px; }

.final-cta-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
}


/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border-color);
  padding: 32px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  transition: color 0.3s;
}

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


/* --------------------------------------------------------------------------
   13. Legal Pages (Privacy, Terms)
   -------------------------------------------------------------------------- */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 140px 28px 100px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 56px;
  letter-spacing: 0.3px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-top: 48px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.legal p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 15px;
}

.legal ul {
  color: var(--text-secondary);
  margin-bottom: 18px;
  padding-left: 20px;
  line-height: 1.9;
  font-size: 15px;
}

.legal li {
  margin-bottom: 4px;
}

.legal li::marker {
  color: var(--accent-amber);
}

.legal a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(79, 143, 247, 0.3);
  transition: text-decoration-color 0.3s;
}

.legal a:hover {
  text-decoration-color: var(--accent-blue);
  color: var(--text-primary);
}

.legal strong {
  color: var(--text-primary);
  font-weight: 600;
}


/* --------------------------------------------------------------------------
   14. Scroll Animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.36s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hero entrance */
.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-ctas {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.hero-eyebrow  { animation-delay: 0.1s; }
.hero-title    { animation-delay: 0.25s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-ctas     { animation-delay: 0.55s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(6, 8, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 28px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }

  .nav-hamburger span {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.3s,
                rotate 0.3s;
  }

  .hero {
    padding: 130px 20px 50px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero::before {
    width: 300px;
    height: 200px;
  }

  .hero-proof {
    gap: 16px;
    font-size: 10px;
  }

  .section {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 30px;
  }

  .steps {
    flex-direction: column;
    gap: 12px;
  }

  .steps .step:not(:last-child)::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 32px 28px;
  }

  .pricing-cards {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .before-after {
    padding: 0 12px 70px;
    max-width: 100%;
  }

  .legal {
    padding: 120px 20px 70px;
  }

  .legal h1 {
    font-size: 32px;
  }

  /* Ensure touch targets */
  .nav-links a,
  .nav-cta,
  .btn-primary,
  .btn-ghost {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-links a.active::after {
    display: none;
  }
}
