:root {
  --primary: #a855f7;
  --primary-dark: #7c3aed;
  --secondary: #ec4899;
  --bg-dark: #040308;
  --bg-gradient: radial-gradient(circle at top, rgba(168, 85, 247, 0.18), transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.12), transparent 40%),
    #040308;
  --text-primary: #f8f8f9;
  --text-secondary: rgba(229, 229, 231, 0.78);
  --text-muted: rgba(148, 163, 184, 0.7);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(250, 250, 255, 0.2);
  --gradient-text: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-soft: 0 25px 60px -35px rgba(129, 140, 248, 0.55);
  --shadow-strong: 0 20px 60px -12px rgba(168, 85, 247, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  hyphens: auto;
}

.page-wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem);
  gap: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

/* Safe-area pour iPhone avec encoche */
@supports (padding-top: env(safe-area-inset-top)) {
  .page-wrapper {
    padding-top: max(2.5rem, env(safe-area-inset-top));
    padding-bottom: max(3.5rem, env(safe-area-inset-bottom));
  }
}

main {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  place-items: center;
}

/* Le reste de ton CSS original (je remets tout pour que ce soit 100% complet) */
.hero { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); max-width: 840px; justify-items: center; }
.hero-logo { height: clamp(150px, 24vw, 192px); width: auto; max-width: 100%; filter: drop-shadow(0 12px 35px rgba(168, 85, 247, 0.35)); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; overflow-wrap: break-word; hyphens: auto; }
.gradient-text { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--text-secondary); line-height: 1.55; max-width: 680px; overflow-wrap: break-word; hyphens: auto; }
.hero-subtitle.highlight { color: var(--text-primary); font-weight: 600; }
.hero-actions { display: grid; gap: 0.75rem; justify-items: center; width: 100%; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: var(--shadow-strong);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cta.secondary { background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.35); box-shadow: none; }
.cta-helper { color: var(--text-muted); font-size: 0.9rem; }

.beta-timeline, .features { display: grid; gap: 1.75rem; width: 100%; }
.beta-timeline h2, .features h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }

.steps, .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.step-card, .feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.2), transparent 55%);
  pointer-events: none;
}

.section-tag {
  width: fit-content;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.12);
}

.feature-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }

.cta-banner {
  width: 100%;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.28));
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 22px 60px -22px rgba(236, 72, 153, 0.4);
}

/* Mobile perfection */
@media (max-width: 640px) {
  .page-wrapper {
    padding: 2.25rem 1.25rem 3.25rem;
    gap: 2.5rem;
  }

  main {
    gap: 3rem;
  }

  .hero {
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 7.5vw, 2.6rem);
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-subtitle br {
    display: none;
  }

  .cta,
  .cta.secondary {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
  }

  .cta-helper {
    font-size: 0.85rem;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .step-card,
  .feature-card {
    padding: 1.35rem 1.15rem;
  }

  .cta-banner {
    padding: 1.75rem 1.35rem;
  }

  .cta-message {
    width: 100%;
    gap: 0.65rem;
    padding: 0.9rem 1.1rem;
  }

  .cta-message span {
    width: 100%;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    line-height: 1.3;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .urgency {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
    line-height: 1.3;
  }

  .region-note {
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .page-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .cta {
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
  }

  .cta-message span {
    font-size: 0.8rem;
  }

  .step-card,
  .feature-card {
    padding: 1.15rem 1rem;
  }
}

.page-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  width: min(1080px, 100%);
}
.footer-note { color: var(--text-muted); font-size: 0.85rem; }
.footer-note strong { font-weight: 600; color: rgba(255, 255, 255, 0.92); }