/* ═══════════════════════════════════════════════════════════
   EnglishQuest — Landing Page
   Aesthetic: Editorial neo-noir, London thriller
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Couleurs — palette neo-noir London */
  --bg-deep:       #050509;
  --bg-base:       #0a0a14;
  --bg-elevated:   #14141f;
  --bg-card:       #1a1a26;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.16);

  --text-primary:  #f5f3ec;
  --text-soft:     rgba(245, 243, 236, 0.72);
  --text-muted:    rgba(245, 243, 236, 0.42);
  --text-faint:    rgba(245, 243, 236, 0.22);

  --gold:          #f0c060;
  --gold-deep:     #c9963a;
  --gold-soft:     rgba(240, 192, 96, 0.16);
  --teal:          #3ab89a;
  --teal-soft:     rgba(58, 184, 154, 0.14);
  --violet:        #a78bfa;
  --violet-soft:   rgba(167, 139, 250, 0.14);
  --crimson:       #e05c3a;

  /* Typo */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-italic:   'Instrument Serif', Georgia, serif;
  --font-body:     'DM Sans', -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;

  /* Espacements éditoriaux */
  --container:     min(1200px, calc(100vw - 32px));
  --section-pad:   clamp(60px, 10vw, 120px);
}

/* ═══ RESET ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'ss02', 'cv01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
button, input { font-family: inherit; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--font-italic); font-style: italic; font-weight: 400; }
strong { font-weight: 600; color: var(--text-primary); }

.container {
  width: var(--container);
  margin: 0 auto;
}

/* Grain global — texture cinématographique */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ═══ NAVIGATION ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(5,5,9,0.92), rgba(5,5,9,0.0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: padding 0.3s ease, background 0.3s ease;
}
.nav.nav-scrolled {
  padding: 12px 0;
  background: rgba(5,5,9,0.95);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav-logo-mark { font-size: 26px; }
.nav-logo-text em { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a:not(.nav-cta) {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.nav-links a:not(.nav-cta):hover { color: var(--text-primary); }
.nav-cta {
  background: var(--gold);
  color: var(--bg-deep) !important;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: #ffd980;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ═══ HERO ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  overflow: hidden;
  isolation: isolate;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(240, 192, 96, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(167, 139, 250, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #07060f 60%, var(--bg-deep) 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.hero-glow-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240, 192, 96, 0.12), transparent 70%);
  top: -100px; left: -100px;
  animation: drift1 20s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.10), transparent 70%);
  bottom: -150px; right: -150px;
  animation: drift2 25s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(60px, 80px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-80px, -60px); }
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
}

/* Hero left: content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.02);
  animation: fadeInUp 0.7s ease both 0.1s;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
  color: var(--text-primary);
}
.hero-title-line-1 {
  display: block;
  font-weight: 400;
  font-size: 0.6em;
  font-style: italic;
  font-family: var(--font-italic);
  color: var(--text-muted);
  margin-bottom: 8px;
  animation: fadeInUp 0.7s ease both 0.2s;
}
.hero-title-line-2 {
  display: block;
  animation: fadeInUp 0.7s ease both 0.3s;
}
.hero-title-line-3 {
  display: block;
  animation: fadeInUp 0.7s ease both 0.4s;
}
.hero-title-line-3 em {
  background: linear-gradient(135deg, var(--gold) 30%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-family: var(--font-italic);
  font-weight: 400;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: 21px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeInUp 0.7s ease both 0.5s;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  animation: fadeInUp 0.7s ease both 0.6s;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-num sup { font-size: 0.6em; color: var(--text-faint); }
.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hero-stat-sep {
  width: 1px; height: 32px;
  background: var(--line);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease both 0.7s;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(.25,.46,.45,.94);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--bg-deep);
  box-shadow: 0 8px 30px rgba(240, 192, 96, 0.28),
              0 0 0 1px rgba(240, 192, 96, 0.5) inset;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(240, 192, 96, 0.4),
              0 0 0 1px rgba(255, 220, 130, 0.7) inset;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-faint);
}
.btn-arrow { transition: transform 0.25s; display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  animation: fadeInUp 0.7s ease both 0.8s;
}
.hero-trust-icon {
  color: var(--gold);
  font-size: 16px;
}

/* Hero right: visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  animation: fadeInRight 1s ease both 0.4s;
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Holmes card — flotte au-dessus à gauche */
.holmes-card {
  position: absolute;
  top: 6%;
  left: -8%;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  animation: holmesFloat 4s ease-in-out infinite;
}
@keyframes holmesFloat {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50%      { transform: translate(0, -8px) rotate(-2deg); }
}
.holmes-portrait {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.holmes-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  background: #fff;
  border: 3px solid var(--gold);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.holmes-portrait-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  animation: ringPulse 2.5s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.08); opacity: 0; }
}
.holmes-bubble {
  position: relative;
  background: #fff;
  color: #1a1a2e;
  border-radius: 18px 18px 4px 18px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 270px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.holmes-bubble-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.holmes-bubble-text {
  color: #1a1a2e;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
}
.holmes-bubble-text em {
  color: var(--gold-deep);
  font-weight: 600;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 280px;
  z-index: 2;
  transform: rotate(2deg);
  animation: phoneEnter 1s cubic-bezier(.25,.46,.45,.94) both 0.6s;
}
@keyframes phoneEnter {
  from { opacity: 0; transform: rotate(8deg) translateY(40px); }
  to   { opacity: 1; transform: rotate(2deg) translateY(0); }
}
.phone-frame {
  position: relative;
  background: #18181f;
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #2a2a36,
    0 30px 80px rgba(0,0,0,0.6),
    0 8px 30px rgba(240, 192, 96, 0.06);
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #050509;
  border-radius: 12px;
  z-index: 4;
}
.phone-screen {
  position: relative;
  background: linear-gradient(180deg, #08081a 0%, #0a0a14 100%);
  border-radius: 28px;
  height: 540px;
  overflow: hidden;
  padding: 50px 16px 16px;
}

.phone-slide {
  position: absolute;
  inset: 50px 16px 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.phone-slide.active {
  opacity: 1;
}

/* Mockup elements — épisode in progress */
.ms-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  margin-bottom: 6px;
}
.ms-hud-back {
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 3px 7px;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.ms-hud-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.ms-hud-pts {
  background: rgba(240,192,96,.16);
  color: var(--gold);
  border-radius: 8px;
  padding: 3px 7px;
  font-weight: 700;
  font-size: 9px;
}
.ms-loc {
  background: linear-gradient(90deg, rgba(240,192,96,.1), rgba(240,192,96,.04));
  border: 1px solid rgba(240,192,96,.18);
  border-radius: 8px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.ms-narration {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  line-height: 1.45;
  color: rgba(255,255,255,.7);
}
.ms-narration strong { color: var(--gold); font-weight: 700; }
.ms-bubble {
  background: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 8px 10px;
  margin-right: 28px;
  position: relative;
}
.ms-bubble-text {
  color: #1a1a2e;
  font-size: 10px;
  line-height: 1.4;
}
.ms-bubble-text strong { color: #1a1a2e; font-weight: 700; }
.ms-bubble-actions {
  display: flex;
  gap: 4px;
  margin-top: 5px;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 5px;
}
.ms-bubble-btn {
  font-size: 8px;
  padding: 3px 6px;
  border-radius: 999px;
  font-weight: 700;
}
.ms-bubble-btn-purple {
  background: rgba(167,139,250,.12);
  color: #a78bfa;
  border: 1px solid rgba(167,139,250,.2);
}
.ms-bubble-btn-green {
  background: rgba(58,184,154,.12);
  color: #3ab89a;
  border: 1px solid rgba(58,184,154,.2);
}
.ms-avatar {
  position: absolute;
  right: 22px; top: 142px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gold-soft) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='18' cy='14' r='6' fill='%23c9963a'/><path d='M6 36 Q18 22 30 36' fill='%23c9963a'/></svg>") center/cover;
  border: 1.5px solid rgba(240,192,96,.3);
  font-size: 6px;
  text-align: center;
  padding-top: 36px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ms-vocab {
  background: rgba(240,192,96,.06);
  border: 1px solid rgba(240,192,96,.18);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 9px;
  color: rgba(255,255,255,.7);
}
.ms-vocab strong { color: var(--gold); font-size: 8px; letter-spacing: 0.1em; }
.ms-choices {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.ms-choice {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 9px;
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ms-choice-letter {
  width: 16px; height: 16px;
  background: rgba(240,192,96,.12);
  border: 1px solid rgba(240,192,96,.3);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

/* Mockup elements — series grid */
.ms-series-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
.ms-series-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 8px;
}
.ms-series-card.ms-series-active {
  border-color: rgba(240,192,96,.3);
  background: rgba(240,192,96,.06);
}
.ms-series-card.ms-series-locked { opacity: 0.4; }
.ms-series-flag { font-size: 16px; margin-bottom: 4px; }
.ms-series-name {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}
.ms-series-level {
  font-size: 8px;
  color: rgba(255,255,255,.4);
  margin-bottom: 5px;
}
.ms-series-bar {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.ms-series-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  transition: width 0.5s;
}

/* Mockup elements — feedback IA */
.ms-prompt {
  background: rgba(58,184,154,.08);
  border: 1px solid rgba(58,184,154,.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10px;
  color: var(--teal);
  line-height: 1.4;
}
.ms-prompt strong { color: var(--teal); }
.ms-write {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}
.ms-write strong { color: #ff9980; font-weight: 700; }
.ms-feedback {
  background: rgba(58,184,154,.05);
  border: 1px solid rgba(58,184,154,.18);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ms-feedback-tag {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
}
.ms-feedback-line {
  color: rgba(255,255,255,.75);
  font-size: 9px;
}
.ms-strike {
  color: rgba(224,92,58,.7);
  text-decoration: line-through;
  font-weight: 600;
}
.ms-correct {
  color: var(--teal);
  font-weight: 700;
}
.ms-feedback-note {
  color: rgba(255,255,255,.4);
  font-style: italic;
  margin-left: 4px;
  font-size: 8px;
}
.ms-feedback-score {
  margin-top: 4px;
  padding-top: 5px;
  border-top: 1px solid rgba(58,184,154,.2);
  color: var(--gold);
  font-weight: 700;
  font-size: 9px;
}

/* Phone dots */
.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
  cursor: pointer;
  transition: all 0.3s;
}
.phone-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .holmes-card {
    position: relative;
    top: auto; left: auto;
    margin: 0 auto 24px;
  }
  .phone-mockup { transform: rotate(0); margin: 0 auto; }
  .hero-visual { min-height: auto; flex-direction: column; }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll-arrow { animation: bounce 2s ease infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ═══ SECTIONS GENERALES ═══════════════════════════════════ */
section { padding: var(--section-pad) 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 700;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 800px;
}
.section-title em {
  background: linear-gradient(135deg, var(--gold) 30%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-intro {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 64px;
}

/* ═══ FOR-WHO ═════════════════════════════════════════════ */
.for-who { background: var(--bg-base); border-top: 1px solid var(--line); }
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.profile-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 38px;
  transition: all 0.3s cubic-bezier(.25,.46,.45,.94);
}
.profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.profile-card-featured {
  border-color: rgba(240, 192, 96, 0.3);
  background:
    linear-gradient(180deg, rgba(240, 192, 96, 0.04) 0%, transparent 100%),
    var(--bg-elevated);
  position: relative;
}
.profile-icon { font-size: 52px; margin-bottom: 24px; line-height: 1; }
.profile-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.profile-desc {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.profile-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-points li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}
.profile-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 1px;
  background: var(--gold);
}
.profile-badge {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(240, 192, 96, 0.1);
  border: 1px solid rgba(240, 192, 96, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ═══ FEATURES ═════════════════════════════════════════════ */
.features {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature {
  position: relative;
  padding: 60px 48px;
  background: var(--bg-base);
  transition: background 0.3s;
}
.feature:hover { background: var(--bg-elevated); }
.feature-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  font-weight: 700;
  margin-bottom: 22px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.feature-narrative .feature-num,
.feature-narrative .feature-title { color: var(--gold); }
.feature-voice .feature-num,
.feature-voice .feature-title { color: var(--violet); }
.feature-ai .feature-num,
.feature-ai .feature-title { color: var(--teal); }
.feature-social .feature-num,
.feature-social .feature-title { color: #ff9980; }

.feature-desc {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feature-meta-item {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.02em;
}

/* ═══ COMPARAISON ════════════════════════════════════════ */
.versus {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 100%);
  border-top: 1px solid var(--line);
}
.comparison {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px;
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 640px;
}
.comparison-table th, .comparison-table td {
  padding: 22px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.comparison-table thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comp-row-label {
  color: var(--text-soft);
  font-weight: 500;
}
.comp-us {
  background: rgba(240, 192, 96, 0.06);
  border-radius: 12px 12px 0 0;
  color: var(--gold);
  position: relative;
}
.comp-us-mark {
  display: inline-block;
  margin-right: 6px;
  color: var(--gold);
}
.comp-us-cell {
  background: rgba(240, 192, 96, 0.04);
  color: var(--text-primary);
  font-weight: 500;
}
.comp-us-cell strong { color: var(--gold); }
.comparison-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
  padding: 0 24px;
}

/* ═══ HOW IT WORKS ═══════════════════════════════════════ */
.how-works {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
}
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 880px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-step-arrow { display: none; }
}
.how-step {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  position: relative;
}
.how-step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.how-step-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  font-weight: 700;
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.how-step p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}
.how-step-arrow {
  display: flex;
  align-items: center;
  font-size: 36px;
  color: var(--gold);
  opacity: 0.5;
}
.how-tip {
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 14px;
  padding: 20px 26px;
  font-size: 16px;
  color: var(--text-soft);
  font-family: var(--font-italic);
  font-style: italic;
  line-height: 1.6;
}
.how-tip strong { color: var(--violet); }

/* ═══ CTA ════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(240, 192, 96, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
    var(--bg-deep);
  overflow: hidden;
}
.cta-bg-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.cta-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%),
    var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  padding: 60px 50px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(240, 192, 96, 0.06) inset;
}
@media (max-width: 600px) {
  .cta-card { padding: 40px 24px; }
}
.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(240, 192, 96, 0.1);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 26px;
}
.cta-tag-pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 1.5s infinite;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-title em {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-subtitle {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 22px;
}
@media (max-width: 540px) {
  .cta-form { flex-direction: column; }
}
.cta-input {
  flex: 1;
  padding: 16px 24px;
  background: var(--bg-deep);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 17px;
  color: var(--text-primary);
  outline: none;
  transition: border 0.2s;
}
.cta-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 192, 96, 0.1);
}
.cta-input::placeholder { color: var(--text-faint); }
.cta-btn { justify-content: center; }
.cta-form-success {
  background: rgba(58, 184, 154, 0.08);
  border: 1px solid rgba(58, 184, 154, 0.3);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 auto 22px;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 14px;
}
.cta-form-success-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--bg-deep);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.cta-perks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 540px;
  margin: 0 auto;
}
@media (max-width: 540px) { .cta-perks { grid-template-columns: 1fr; } }
.cta-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-soft);
  text-align: left;
}
.cta-perks li span {
  color: var(--gold);
  font-weight: 700;
}

/* ═══ FAQ ════════════════════════════════════════════════ */
.faq {
  background: var(--bg-base);
  border-top: 1px solid var(--line);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.faq-item {
  background: var(--bg-elevated);
  transition: background 0.2s;
}
.faq-item:hover { background: var(--bg-card); }
.faq-item summary {
  cursor: pointer;
  padding: 26px 30px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.3s;
  margin-left: 18px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content {
  padding: 0 30px 28px;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 17px;
}
.faq-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.faq-link:hover { color: var(--gold-deep); }

/* ═══ FOOTER ═════════════════════════════════════════════ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: var(--section-pad) 0 40px;
  position: relative;
}
.footer-final {
  text-align: center;
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
.footer-final-mark {
  font-size: 64px;
  margin-bottom: 26px;
  filter: grayscale(0.2);
}
.footer-final-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.footer-final-title em {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 16px;
  color: var(--text-soft);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-logo em { color: var(--gold); }
.footer-tagline {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 300px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-build {
  font-family: var(--font-mono);
}

/* ═══ ACCESSIBILITY ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile typography adjustments — keep readable but not oversized */
@media (max-width: 720px) {
  body {
    font-size: 17px;
    line-height: 1.6;
  }
  .hero-subtitle  { font-size: 18px; }
  .section-intro  { font-size: 17px; }
  .feature        { padding: 44px 28px; }
  .feature-desc   { font-size: 16px; }
  .profile-card   { padding: 28px; }
  .profile-desc   { font-size: 15px; }
  .how-step       { padding: 26px; }
  .cta-card       { padding: 44px 24px; }
  .faq-item summary { padding: 22px 22px; font-size: 19px; }
  .faq-content    { padding: 0 22px 22px; font-size: 16px; }
  .footer-col a   { font-size: 15px; }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}
