/* ═══════════════════════════════════════════════════════════
   SnapScan — design system (snapscan.fr)
   Indigo profond · gradient corail · verre · rail horizontal
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-deep: #060608;
  --bg: #0c0c12;
  --bg-raised: #12121a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --glass: rgba(18, 18, 26, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f4f4f8;
  --text-soft: #b4b4c4;
  --muted: #7a7a8e;

  --brand-a: #ff4d8d;
  --brand-b: #ff8a3d;
  --brand-c: #5eead4;
  --brand-grad: linear-gradient(125deg, var(--brand-a) 0%, var(--brand-b) 55%, #ffb347 100%);
  --brand-glow: rgba(255, 77, 141, 0.35);

  --snap: #fffc00;
  --success: #4ade80;
  --danger: #fb7185;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 48px var(--brand-glow);
  --focus-ring: 0 0 0 3px rgba(255, 77, 141, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100dvh;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

body {
  background:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(255, 77, 141, 0.15), transparent 50%),
    radial-gradient(circle at 0% 60%, rgba(94, 234, 212, 0.06), transparent 45%),
    radial-gradient(circle at 100% 70%, rgba(255, 138, 61, 0.08), transparent 40%),
    var(--bg-deep);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--brand-c);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.seo-queries {
  margin-top: 28px;
  padding: 18px 16px 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.seo-queries h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.seo-queries-lead {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}

.seo-query-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.seo-query-list div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.seo-query-list div:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.seo-query-list dt {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-c);
  margin-bottom: 4px;
}

.seo-query-list dd {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Shell ── */
.ambient {
  display: none;
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 20px 108px;
}

/* ── Header ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 12px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, var(--bg-deep) 65%, transparent);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-glow);
  transform: rotate(-3deg);
  transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
  transform: rotate(0deg) scale(1.04);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo-accent,
.logo span[data-brand] {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.journey-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.journey-nav span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-nav span.active {
  color: #fff;
  background: var(--brand-grad);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--brand-glow);
  transform: scale(1.08);
}

.step-dots {
  display: none;
}

/* ── Pages ── */
.page {
  display: none;
  flex: 1;
  animation: enterPage 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page.active {
  display: block;
}

@keyframes enterPage {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.landing-hero.revealed .reveal-item {
  opacity: 1;
  transform: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item:nth-child(n) {
  transition-delay: calc(0.04s * var(--i, 1));
}

/* ── Landing hero panel ── */
.hero-panel {
  padding: 22px 20px;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-grad);
}

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-c);
  margin-bottom: 10px;
}

.hero-h1 {
  font-size: clamp(1.55rem, 5.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.hero-h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.hero-lead .snap-word {
  color: var(--snap);
  font-weight: 700;
}

.hero-lead .tool {
  font-weight: 700;
  color: var(--text);
}

.live-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
  animation: blink 1.6s ease infinite;
}

@keyframes blink {
  50% {
    opacity: 0.45;
  }
}

.live-ticker strong {
  color: var(--success);
}

.welcome-chip,
.hook-pill,
.brand-block,
.brand-title,
.tagline,
.meo-spotlight,
.feature-card,
.badges,
.meo-phone {
  display: none;
}

/* Dashboard preview — remplace le faux téléphone */
.dash-preview {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dash-head span:last-child {
  color: var(--brand-c);
}

.dash-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-row label {
  width: 72px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.dash-track {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.dash-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-grad);
  animation: dashGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.dash-row:nth-child(1) .dash-track i {
  width: 88%;
  animation-delay: 0.1s;
}
.dash-row:nth-child(2) .dash-track i {
  width: 72%;
  animation-delay: 0.2s;
}
.dash-row:nth-child(3) .dash-track i {
  width: 94%;
  animation-delay: 0.3s;
}
.dash-row:nth-child(4) .dash-track i {
  width: 65%;
  animation-delay: 0.4s;
}

@keyframes dashGrow {
  from {
    width: 0 !important;
  }
}

.dash-row em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-soft);
  min-width: 2.5rem;
  text-align: right;
}

/* Metrics */
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  list-style: none;
}

.metric-row li {
  padding: 14px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.metric-row strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-row span {
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  display: block;
}

/* Horizontal rail */
.scroll-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin: 0 -4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scroll-rail::-webkit-scrollbar {
  display: none;
}

.rail-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  padding: 16px 14px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}

.rail-card:active {
  transform: scale(0.97);
}

.rail-card.featured {
  border-color: rgba(255, 77, 141, 0.45);
  background: linear-gradient(160deg, rgba(255, 77, 141, 0.12), var(--bg-raised));
}

.rail-card .ico {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.rail-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.rail-card p {
  font-size: 0.65rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Offer card */
.offer-card {
  padding: 20px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 77, 141, 0.1), rgba(94, 234, 212, 0.05));
  border: 1px solid rgba(255, 77, 141, 0.25);
}

.offer-card h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.offer-card p {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.offer-card strong {
  color: var(--text);
}

.cap-grid {
  display: none;
}

/* Reviews */
.reviews-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.review-chip {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.review-av {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-chip p {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.review-chip span {
  display: block;
  margin-top: 4px;
  font-size: 0.65rem;
  color: var(--muted);
}

.social-proof {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.stars {
  color: var(--brand-b);
  letter-spacing: 2px;
}

.rating-num {
  color: var(--text);
  font-weight: 800;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 22px;
  border: none;
  border-radius: 16px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s;
}

.btn-primary {
  position: relative;
  color: #fff;
  background: var(--brand-grad);
  box-shadow: 0 8px 28px var(--brand-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 16px var(--brand-glow);
}

.btn:focus-visible,
a.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), 0 8px 28px var(--brand-glow);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn-yes {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 6px 20px var(--brand-glow);
}

.btn-no {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-weight: 600;
  box-shadow: none;
}

.cta-shell {
  position: relative;
}

.cta-ring {
  display: none;
}

.btn-hero {
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 18px;
}

.btn-hero .btn-label {
  font-size: 1.05rem;
}

.btn-hero .btn-sub {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.88;
}

.disclaimer,
.fine-print {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 14px;
  font-size: 0.68rem;
  color: var(--muted);
}

.help-link {
  margin-top: 12px;
  text-align: center;
  font-size: 0.76rem;
}

.help-link a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(110%);
  z-index: 80;
  width: 100%;
  max-width: 460px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0));
  background: linear-gradient(to top, var(--bg-deep) 75%, transparent);
  backdrop-filter: blur(20px);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.btn-sticky {
  border-radius: 14px;
}

/* Quiz */
.step-intro {
  text-align: center;
  margin-bottom: 20px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.step-intro-emoji {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

.step-intro-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-intro-text {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.progress-wrap {
  margin-bottom: 8px;
}

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-track div {
  height: 100%;
  width: 0%;
  background: var(--brand-grad);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.progress-steps span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.35s ease;
}

.progress-steps span.on {
  background: var(--brand-a);
  box-shadow: 0 0 12px var(--brand-glow);
  transform: scale(1.2);
}

.quiz-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.quiz-step-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.progress-steps-labeled {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.progress-steps-labeled span {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: all 0.35s ease;
}

.progress-steps-labeled span.on {
  color: var(--brand-c);
  background: rgba(94, 234, 212, 0.08);
}

.progress-steps-labeled span.current {
  border-color: rgba(255, 77, 141, 0.45);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 77, 141, 0.15);
}

.progress-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0;
  flex-shrink: 0;
}

.progress-reward {
  font-size: 0.78rem;
  color: var(--brand-c);
  font-weight: 600;
  margin-bottom: 20px;
  min-height: 1.2em;
}

.progress-reward.flash {
  animation: pop 0.45s ease;
}

@keyframes pop {
  50% {
    transform: scale(1.02);
  }
}

.quiz-card {
  display: none;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.quiz-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand-grad);
  opacity: 0.85;
}

.quiz-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-a);
  margin-bottom: 12px;
}

.quiz-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.quiz-icon-hot {
  background: rgba(255, 77, 141, 0.12);
  box-shadow: 0 0 24px rgba(255, 77, 141, 0.15);
}

.quiz-sub {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.quiz-perks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.quiz-perks li {
  font-size: 0.78rem;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.quiz-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 0.72rem;
}

.quiz-card.show {
  display: flex;
}

.quiz-emoji {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.quiz-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
}

.quiz-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.quiz-actions {
  display: grid;
  gap: 10px;
  width: 100%;
}

.quiz-actions .btn-quiz-main {
  order: -1;
}

.quiz-actions .btn-quiz-skip {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--muted);
  font-weight: 600;
}

.quiz-actions .btn {
  font-size: 0.88rem;
  padding: 15px;
}

.btn-quiz-main {
  font-weight: 800;
}

.report-preview {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.report-preview-title {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.report-preview-hint {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.report-preview-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.report-preview-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
}

.report-preview-list .mod-text strong {
  display: block;
  font-size: 0.78rem;
}

.report-preview-list .mod-text small {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}

.report-preview-list .mod-ico {
  font-size: 1.1rem;
}

.mod-badge {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.mod-badge.mod-included {
  background: rgba(74, 222, 128, 0.15);
  color: var(--success);
}

.mod-badge.mod-excluded {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-decoration: line-through;
}

.report-preview-list .mod-included {
  border-color: rgba(74, 222, 128, 0.25);
}

.report-preview-list .mod-excluded {
  opacity: 0.55;
}

.report-preview-list .mod-always {
  border-color: rgba(94, 234, 212, 0.15);
}

.quiz-choice-explainer {
  margin-bottom: 18px;
  display: grid;
  gap: 10px;
}

.quiz-if-yes,
.quiz-if-no {
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 0;
}

.quiz-if-yes {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: var(--text-soft);
}

.quiz-if-no {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  color: var(--muted);
}

.label-yes,
.label-no {
  display: block;
  font-weight: 800;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.label-yes {
  color: var(--success);
}

.label-no {
  color: var(--muted);
}

.scan-recap {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 77, 141, 0.08);
  border: 1px solid rgba(255, 77, 141, 0.2);
}

.scan-recap-title {
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--brand-a);
}

.scan-recap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scan-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cap-card.cap-off {
  opacity: 0.4;
  filter: grayscale(0.6);
}

/* Scan live — vue principale pendant le chargement */
.scan-live {
  padding: 18px 16px;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.scan-live-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.scan-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-a);
  flex-shrink: 0;
  animation: scanPulse 1.4s ease infinite;
}

@keyframes scanPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 77, 141, 0);
    transform: scale(1.08);
  }
}

.scan-live-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.scan-live-target {
  font-size: 0.92rem;
  font-weight: 600;
}

.scan-live-target strong {
  color: var(--brand-c);
}

.scan-live-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.scan-live-msg {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 16px;
  min-height: 2.6em;
}

.scan-msg-flash {
  animation: scanMsgIn 0.35s ease;
}

@keyframes scanMsgIn {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scan-checklist {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.scan-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
  transition: color 0.3s, background 0.3s;
}

.scan-checklist .chk-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  position: relative;
}

.scan-checklist li.is-active {
  color: var(--text);
  background: rgba(255, 77, 141, 0.08);
}

.scan-checklist li.is-active .chk-icon {
  border-color: var(--brand-a);
  animation: chkSpin 0.9s linear infinite;
  border-top-color: transparent;
}

@keyframes chkSpin {
  to {
    transform: rotate(360deg);
  }
}

.scan-checklist li.is-done {
  color: var(--success);
}

.scan-checklist li.is-done .chk-icon {
  border-color: var(--success);
  background: rgba(74, 222, 128, 0.2);
}

.scan-checklist li.is-done .chk-icon::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--success);
}

.scan-progress-user {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scan-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.scan-progress-bar div {
  height: 100%;
  width: 0%;
  background: var(--brand-grad);
  transition: width 0.35s ease;
}

.scan-progress-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-c);
}

.console-tech {
  margin-bottom: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.console-tech summary {
  cursor: pointer;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  list-style: none;
}

.console-tech summary::-webkit-details-marker {
  display: none;
}

.console-tech[open] summary {
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}

.console-tech .console {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.console-hint-soft {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.legal-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Scan */
.page-heading {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.page-sub {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.anon-banner {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.22);
}

.anon-banner strong {
  display: block;
  font-size: 0.85rem;
  color: var(--brand-c);
}

.anon-banner p {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.scan-panel {
  padding: 18px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
}

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.field-row {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-row:focus-within {
  border-color: rgba(255, 77, 141, 0.5);
  box-shadow: var(--focus-ring);
}

.field-row.invalid {
  border-color: var(--danger);
  animation: shake 0.4s ease;
}

@keyframes shake {
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.field-prefix {
  padding: 0 14px;
  font-weight: 800;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.field-row input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  padding: 16px 14px 16px 0;
  outline: none;
}

.field-hint {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Console — panneau « studio » (pas clone terminal Mac) */
.console {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0a0a10;
  box-shadow: var(--shadow-soft);
}

.console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(255, 77, 141, 0.15), transparent);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-c);
}

.status-led {
  color: #4ade80;
  animation: ledPulse 1.2s ease infinite;
  margin-right: auto;
}

.status-led.done {
  animation: none;
  color: var(--success);
}

@keyframes ledPulse {
  50% {
    opacity: 0.35;
  }
}

.console-dots {
  display: none;
}

.console-body {
  height: min(52vh, 380px);
  overflow-y: auto;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.75;
}

.console-body .line-cmd {
  color: var(--brand-b);
  word-break: break-all;
}

.console-body .line-info {
  color: var(--text-soft);
}

.console-body .line-success {
  color: var(--success);
}

.console-body .line-warn {
  color: #fbbf24;
}

.console-body .line-data {
  color: var(--muted);
}

.console-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}

.console-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.console-bar div {
  height: 100%;
  width: 0%;
  background: var(--brand-grad);
  transition: width 0.1s linear;
}

.console-pct {
  text-align: right;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-a);
}

/* Locker OGAds */
.locker-card {
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.locker-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  margin-bottom: 12px;
}

.locker-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.locker-desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 18px;
}

.locker-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 8px;
}

.locker-meter-fill {
  height: 100%;
  width: 0%;
  background: var(--brand-grad);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.locker-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-c);
  margin-bottom: 18px;
}

.offer-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.offer-card.offer-done {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.12);
}

.offer-left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.offer-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--brand-grad);
  color: #fff;
  flex-shrink: 0;
}

.offer-card.offer-done .offer-num {
  background: var(--success);
}

.offer-left strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.offer-left p {
  font-size: 0.72rem;
  color: var(--muted);
}

.offer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.offer-actions-single {
  grid-template-columns: 1fr;
}

.price-tag-verify .amount {
  font-size: 1.35rem;
}

.btn-offer {
  text-align: center;
  padding: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 12px;
  background: var(--brand-grad);
  color: #fff;
  text-decoration: none;
}

.btn-offer-done {
  padding: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.locker-steps {
  margin: 0 0 18px;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.locker-foot {
  margin-top: 12px;
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}

#btn-locker-finish:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Results */
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.status-pill {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--brand-c);
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.3);
}

.results-for {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.results-for .user {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.result-block {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  overflow: hidden;
}

.result-block.meo {
  border-color: rgba(255, 77, 141, 0.35);
}

.result-block header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.result-block .inner {
  padding: 12px 16px;
}

.map-placeholder {
  height: 92px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1a1a24, #121218);
  filter: blur(3px);
  position: relative;
}

.map-placeholder::after {
  content: '';
  position: absolute;
  left: 55%;
  top: 45%;
  width: 12px;
  height: 12px;
  background: var(--brand-a);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--brand-glow);
  filter: none;
}

.kv {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.kv:last-child {
  border-bottom: none;
}

.kv .k {
  color: var(--muted);
}

.kv .v.blur {
  filter: blur(4px);
  user-select: none;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  filter: blur(6px);
  pointer-events: none;
  margin-bottom: 10px;
}

.thumb-grid div {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a2a36, #1a1a22);
}

.msg-list {
  filter: blur(5px);
  pointer-events: none;
}

.msg {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.msg-av {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-grad);
  flex-shrink: 0;
  opacity: 0.7;
}

.msg-name {
  font-size: 0.72rem;
  font-weight: 700;
  display: block;
}

.msg-text {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.msg-time {
  font-size: 0.65rem;
  color: var(--muted);
}

.friend-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  filter: blur(4px);
}

.friend-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.72rem;
}

.unlock-box {
  margin-top: 22px;
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--glass);
  border: 1px solid rgba(255, 77, 141, 0.3);
  backdrop-filter: blur(16px);
  position: relative;
}

.unlock-box.unlock-glow {
  animation: enterPage 0.7s ease;
}

.unlock-box h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.unlock-box h3 em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.unlock-box .sub {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}

.timer-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: rgba(255, 138, 61, 0.1);
  border: 1px solid rgba(255, 138, 61, 0.28);
}

.timer-box strong {
  color: var(--brand-b);
  font-variant-numeric: tabular-nums;
}

.checklist {
  text-align: left;
  margin-bottom: 18px;
}

.checklist h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.checklist ul {
  list-style: none;
  font-size: 0.8rem;
}

.checklist li {
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--text-soft);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-c);
  font-weight: 800;
}

.price-tag .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-tag .detail {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.guarantee {
  display: flex;
  gap: 10px;
  text-align: left;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.78rem;
}

.guarantee p {
  color: var(--text-soft);
  line-height: 1.45;
}

.btn-unlock {
  text-decoration: none;
}

.site-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.66rem;
  color: var(--muted);
  line-height: 2.1;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--brand-c);
}

.site-footer .blog-links {
  display: block;
  margin-top: 8px;
  line-height: 1.85;
}

.footer-domain {
  margin: 10px 0 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.overlay.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
}

.modal h2 {
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.modal p {
  color: var(--text-soft);
  line-height: 1.5;
}

.modal .legal-content h3 {
  font-size: 0.9rem;
  margin: 14px 0 6px;
}

.modal .legal-content p {
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(130%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  z-index: 90;
  max-width: calc(100% - 28px);
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

body.sticky-active .toast.show {
  transform: translateX(-50%) translateY(-76px);
}

.toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.toast-text {
  font-size: 0.78rem;
}

.toast-text strong {
  display: block;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}

/* Scan page mini rail */
#page-scan .cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

#page-scan .cap-card {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

#page-scan .cap-card.highlight {
  border-color: rgba(255, 77, 141, 0.35);
}

#page-scan .cap-card h3 {
  font-size: 0.75rem;
  font-weight: 800;
}

#page-scan .cap-card p {
  font-size: 0.65rem;
  color: var(--muted);
}

@media (min-width: 520px) {
  .app-shell {
    padding: 0 28px 108px;
  }
}

/* ── Guide & clarté parcours ── */
.coach-bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.22);
  animation: coachIn 0.5s ease;
}

@keyframes coachIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.coach-pill {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--brand-grad);
  color: #fff;
}

.coach-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-soft);
  font-weight: 600;
}

.how-it-works {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
}

.hiw-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  opacity: 0.45;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hiw-item.hiw-current {
  opacity: 1;
  transform: scale(1.05);
}

.hiw-item.hiw-done .hiw-num {
  background: var(--success);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}

.hiw-item.hiw-done .hiw-num::after {
  content: '✓';
  font-size: 0.65rem;
}

.hiw-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}

.hiw-current .hiw-num {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  animation: hiwPulse 2s ease infinite;
}

@keyframes hiwPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--brand-glow);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 77, 141, 0);
  }
}

.hiw-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 56px;
  text-align: center;
  line-height: 1.2;
}

.hiw-current .hiw-label {
  color: var(--text);
}

.hiw-connector {
  flex: 1;
  max-width: 24px;
  height: 2px;
  background: var(--border);
  margin-bottom: 22px;
}

.cta-first {
  position: relative;
  margin-bottom: 6px;
}

.cta-finger {
  display: block;
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 4px;
  animation: fingerBounce 1.4s ease infinite;
}

@keyframes fingerBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.btn-nudge {
  animation: btnGlow 2.5s ease infinite;
}

@keyframes btnGlow {
  0%,
  100% {
    box-shadow: 0 8px 28px var(--brand-glow);
  }
  50% {
    box-shadow: 0 10px 36px rgba(255, 77, 141, 0.55);
  }
}

.disclaimer-top {
  margin-top: 0;
  margin-bottom: 18px;
}

.page-banner {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-c);
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.2);
  animation: bannerSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-banner-success {
  color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.25);
}

@keyframes bannerSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.console-hint,
.results-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.45;
}

.field-error {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--danger);
  animation: shake 0.4s ease;
}

.field-error[hidden] {
  display: none;
}

.progress-track.dopamine-hit div {
  animation: barPop 0.35s ease;
}

@keyframes barPop {
  50% {
    filter: brightness(1.2);
  }
}

.quiz-card.celebrate {
  animation: celebrateCard 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes celebrateCard {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.02);
    box-shadow: 0 0 32px var(--brand-glow);
  }
  100% {
    transform: scale(1);
  }
}

.quiz-card.show .btn-yes {
  animation: yesInvite 2s ease infinite;
}

@keyframes yesInvite {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.unlock-arrow {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 8px;
  animation: unlockBounce 1.2s ease infinite;
}

@keyframes unlockBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

.burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  overflow: hidden;
}

.burst span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-grad);
  animation: burstFly 0.7s ease forwards;
}

@keyframes burstFly {
  to {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

.journey-nav span {
  position: relative;
}

.journey-nav span.active::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--text-soft);
  background: var(--bg-raised);
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.journey-nav span.active:hover::after,
.journey-nav span.active:focus-visible::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }

  .btn-nudge,
  .cta-finger,
  .quiz-card.show .btn-yes,
  .unlock-arrow {
    animation: none !important;
  }
}
