/* ── Landing VFX-first — dark theme validé (prod) ──
   Source: landing-vfx-first-preview.html maquette, nettoyé:
   - dark only (plus de variants light/blue, plus de mockup-ribbon)
   - header top:0 (la maquette avait top:28px sous un ribbon qu'on retire)
   - + styles avatar/menu user (portés depuis l'ancien index.html, adaptés dark) */

:root {
  --violet: #7C3AED;
  --violet-dark: #4F46E5;
  --green: #D1FE17;
  --green-ink: #65A30D;
  --accent-text: #D1FE17;
  --bg: #0A0A0A;
  --bg-soft: #111111;
  --surface: #1A1A1A;
  --text: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.62);
  --border: rgba(255,255,255,0.08);
  --header-bg: rgba(10,10,10,0.72);
  --bento-bg: #000;
  --bento-gap: 6px;
  --price-bg: linear-gradient(135deg, rgba(124,58,237,0.18) 0%, rgba(209,254,23,0.08) 100%);
  --chip-bg: rgba(255,255,255,0.06);
  --footer-muted: rgba(255,255,255,0.35);
  --btn-header-bg: #D1FE17;
  --btn-header-color: #111;
  --font-body: 'Inter', system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(24px + var(--safe-bottom));
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.header-logo img { height: 64px; width: auto; display: block; }
.header-nav {
  display: none;
  gap: 22px;
  align-items: center;
}
.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.header-nav a:hover { color: var(--green); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px 7px 8px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .15s, background .15s;
}
.header-lang:hover { border-color: var(--green); background: rgba(209,254,23,0.08); color: var(--green); }
.header-lang-icon { display: flex; align-items: center; opacity: 0.85; }
.header-lang select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0 12px 0 0;
  margin: 0;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23fff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 8px 5px;
  min-width: 2.4em;
}
.header-lang select option { color: #111; background: #fff; }
@media (max-width: 420px) {
  .btn-ghost { display: none; }
}
.btn-ghost {
  font-size: 13px; font-weight: 700; color: var(--text);
  text-decoration: none; padding: 9px 14px;
  border-radius: 22px; border: 1px solid var(--border);
  white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--green); background: rgba(209,254,23,0.08); color: var(--green); }
.btn-primary {
  font-size: 13px; font-weight: 800; color: var(--btn-header-color);
  text-decoration: none; padding: 9px 16px;
  border-radius: 999px; background: var(--btn-header-bg);
  box-shadow: 0 4px 20px rgba(209,254,23,0.25);
  white-space: nowrap;
  transition: transform .15s, background .15s;
}
.btn-primary:hover { background: #B8E600; transform: translateY(-1px); }

/* ── User avatar + dropdown (porté de l'ancien index.html, adapté dark) ── */
.user-avatar {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--green); display: none; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #111;
  cursor: pointer; transition: all .15s; position: relative;
}
.home-user-menu {
  position: fixed;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 6px; min-width: 180px; display: none; z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
}
.home-user-menu.open { display: block; }
.home-menu-email { font-size: 11px; color: var(--text-secondary); padding: 6px 14px 8px; border-bottom: 1px solid var(--border); margin-bottom: 4px; word-break: break-all; }
.home-menu-item {
  display: block; width: 100%; padding: 10px 14px; border: none; border-radius: 8px;
  background: none; color: var(--text); font-family: var(--font-body); font-size: 14px;
  text-align: left; cursor: pointer;
}
.home-menu-item:hover { background: rgba(255,255,255,0.06); }
.home-menu-item.danger { color: #F87171; }

@media (min-width: 1024px) { .header-nav { display: flex; } }

/* ── S1 Hero vitrine ── */
.hero-vitrine {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
}

.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: var(--bento-gap);
  background: var(--bento-bg);
  padding: 6px;
}

.hero-tile {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 12px;
  min-height: 0;
}
.hero-tile.portrait { aspect-ratio: 9 / 14; }
.hero-tile.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.hero-tile video,
.hero-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.tile-label,
.catalog-name-wrap {
  position: absolute;
  left: 10px; bottom: 10px; z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: calc(100% - 20px);
}

.catalog-meta .catalog-name-wrap {
  position: static;
  max-width: none;
}

.fx-name {
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  text-shadow:
    0 0 12px rgba(255,255,255,0.35),
    0 2px 12px rgba(0,0,0,0.85);
}

.catalog-name-wrap .fx-name { font-size: 14px; }

.fx-epithet {
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.fx-demonoid .fx-name { color: #fde68a; text-shadow: 0 0 14px rgba(249,115,22,0.55), 0 2px 10px rgba(0,0,0,0.9); }
.fx-cosmoenergy .fx-name { color: #fdba74; text-shadow: 0 0 14px rgba(251,146,60,0.6), 0 0 22px rgba(168,85,247,0.35), 0 2px 10px rgba(0,0,0,0.9); }
.fx-darkslime .fx-name { color: var(--green); text-shadow: 0 0 16px rgba(209,254,23,0.45), 0 2px 10px rgba(0,0,0,0.9); }
.fx-aquaflow .fx-name { color: #7dd3fc; text-shadow: 0 0 14px rgba(56,189,248,0.55), 0 2px 10px rgba(0,0,0,0.9); }
.fx-fractureworld .fx-name { color: #c4b5fd; text-shadow: 0 0 14px rgba(139,92,246,0.5), 0 2px 10px rgba(0,0,0,0.9); }
.fx-auraflow .fx-name { color: #f0abfc; text-shadow: 0 0 14px rgba(217,70,239,0.45), 0 2px 10px rgba(0,0,0,0.9); }
.fx-kawai .fx-name { color: #fbcfe8; text-shadow: 0 0 14px rgba(244,114,182,0.5), 0 2px 10px rgba(0,0,0,0.9); }
.fx-chogohodo .fx-name { color: #fcd34d; text-shadow: 0 0 14px rgba(245,158,11,0.5), 0 2px 10px rgba(0,0,0,0.9); }
.fx-bkd .fx-name { color: var(--green); text-shadow: 0 0 14px rgba(209,254,23,0.35), 0 2px 10px rgba(0,0,0,0.9); }

.tile-badge {
  position: absolute;
  top: 8px; right: 8px; z-index: 2;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
}
.tile-badge.new { background: var(--green); color: #111; }

.hero-copy {
  padding: 20px 16px 0;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(28px, 7.5vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent-text);
}

.hero-copy .sub {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 8px;
}

.cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--green);
  color: #111;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(209,254,23,0.22);
  transition: transform .15s, background .15s;
}
.cta-main:hover { background: #B8E600; transform: translateY(-1px); }
.cta-main svg { width: 18px; height: 18px; }
#pricing > .cta-main { margin-top: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }

.cta-micro {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  padding-bottom: 4px;
}

/* ── S2 Catalogue ── */
.section {
  padding: 32px 16px 0;
}

.sec-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
#faq .sec-label { font-size: 15px; letter-spacing: 0.1em; }

.sec-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sec-title em {
  font-style: normal;
  color: var(--accent-text);
}

.sec-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.catalog-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 14;
  background: var(--surface);
  border: 1px solid var(--border);
}

.catalog-card video,
.catalog-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.catalog-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.75) 100%);
}

.catalog-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-name {
  display: contents;
}

/* ── S3 Back Dancers compact ── */
.ba-compact {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ba-phone {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--surface);
  border: 1px solid var(--border);
}

.ba-phone video,
.ba-phone img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.ba-tag {
  position: absolute;
  top: 8px; left: 8px; z-index: 2;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.ba-tag.after { background: var(--green); color: #111; }

.ba-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
  text-decoration: none;
}

/* ── S3.5 Viral proof ── */
.viral-marquee {
  overflow: hidden;
  margin: 0 -16px;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.viral-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding-left: 16px;
  animation: viral-marquee 76s linear infinite;
}

.viral-marquee:hover .viral-track,
.viral-marquee:focus-within .viral-track {
  animation-play-state: paused;
}

@keyframes viral-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .viral-track { animation: none; flex-wrap: nowrap; overflow-x: auto; }
  .viral-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

.viral-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 14px 0 4px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.viral-scroll::-webkit-scrollbar { display: none; }

.viral-scroll-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.viral-card {
  flex: 0 0 220px;
  width: 220px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.viral-scroll .viral-card {
  flex: 0 0 68%;
  max-width: 260px;
  width: auto;
}

.viral-thumb {
  position: relative;
  aspect-ratio: 9 / 14;
  background: #111;
  overflow: hidden;
}

.viral-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viral-thumb-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(209,254,23,0.18) 0%, transparent 45%),
    linear-gradient(160deg, #312e81 0%, #1e40af 55%, #111827 100%);
}

.viral-platform {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.viral-platform.tiktok { background: rgba(0,0,0,0.55); color: #fff; }
.viral-platform.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}

.viral-stat {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 2;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85);
}

.viral-meta {
  padding: 10px 12px 12px;
}

.viral-creator {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.viral-desc {
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.viral-aggregate {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.viral-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
}
.viral-chip strong { color: var(--accent-text); }

.viral-action {
  margin-top: 18px;
  text-align: center;
}
.viral-action .cta-main {
  width: 100%;
  justify-content: center;
}
.viral-action .cta-micro { margin-top: 8px; }

/* ── S3.7 Dancer Showcase ── */
.showcase-card {
  display: block;
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}

.showcase-card:hover {
  border-color: rgba(209, 254, 23, 0.35);
}

.showcase-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f0e8;
}

.showcase-thumb img.showcase-thumb-mobile {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.showcase-thumb img.showcase-thumb-wide {
  display: none;
}

.showcase-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--green);
  backdrop-filter: blur(8px);
}

.showcase-body {
  padding: 14px 16px 16px;
}

.showcase-name {
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.showcase-name em {
  font-style: normal;
  color: var(--accent-text);
}

.showcase-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text);
}

.showcase-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.promo-duo {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-billboard {
  padding: 0;
  margin: 0;
}

/* ── S4 Pricing ── */
.price-free {
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.22) 0%, rgba(209,254,23,0.1) 100%);
  border: 1px solid rgba(209,254,23,0.25);
}

.price-free-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  background: var(--green);
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.price-free h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.price-free p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.price-free .cta-main {
  margin-top: 14px;
  padding: 14px 18px;
  font-size: 15px;
}

.quality-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.quality-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--chip-bg);
}
.quality-pill.gold { border-color: rgba(245,158,11,0.35); color: #fcd34d; }
.quality-pill.diamond { border-color: rgba(96,165,250,0.35); color: #93c5fd; }
.quality-pill.standard { border-color: var(--border); color: var(--text-secondary); }

.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.pack-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pack-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0 2px;
}

.pack-card {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  position: relative;
}

.pack-card.featured {
  border-color: rgba(209,254,23,0.45);
  background: linear-gradient(180deg, rgba(209,254,23,0.08) 0%, var(--surface) 100%);
}

.pack-card.pc-hd {
  padding-top: 26px;
}

.pack-tag {
  position: absolute;
  top: -1px;
  right: 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0b0b;
  background: var(--green);
  padding: 1px 7px;
  border-radius: 0 0 6px 6px;
}

.pack-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.qhero {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.qres {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.qres.lo {
  color: #cfcfda;
}

.qcap {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.pack-price {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pack-price span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pack-credits {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-text);
}

.pack-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: -2px;
}

.pack-tier {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-top: auto;
}

.price-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ── Compare tables (duplicated from app credits page so prospects can compare pre-login) ── */
#pricing .cmp-h {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 32px 0 0;
  text-align: center;
}
#pricing .cd-vt-note {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 6px auto 0;
  max-width: 760px;
  text-align: center;
}
#pricing .cd-mtx-wrap, #pricing .cd-vt-wrap {
  padding: 4px 0 6px;
  margin: 16px auto 0;
  max-width: 760px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#pricing .cd-mtx-wrap::-webkit-scrollbar, #pricing .cd-vt-wrap::-webkit-scrollbar { display: none; }
#pricing .cd-mtx, #pricing .cd-vt {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
#pricing .cd-mtx th, #pricing .cd-mtx td, #pricing .cd-vt th, #pricing .cd-vt td { padding: 11px 6px; text-align: center; }
#pricing .cd-mtx th:first-child, #pricing .cd-mtx td:first-child,
#pricing .cd-vt th:first-child, #pricing .cd-vt td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
  padding-left: 2px;
}
#pricing .cd-mtx thead th, #pricing .cd-vt thead th {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-secondary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
#pricing .cd-mtx thead th.hd, #pricing .cd-vt thead th.hd { color: var(--green); background: rgba(209,254,23,0.05); }
#pricing .cd-mtx tbody tr, #pricing .cd-vt tbody tr { border-bottom: 1px solid var(--border); }
#pricing .cd-mtx tbody tr:last-child, #pricing .cd-vt tbody tr:last-child { border-bottom: none; }
#pricing .cd-mtx .grp td, #pricing .cd-vt .grp td {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-top: 14px;
  padding-bottom: 6px;
  border-bottom: none;
}
#pricing .cd-mtx .yes { color: var(--green); font-size: 16px; font-weight: 900; }
#pricing .cd-mtx .no { color: rgba(255,255,255,0.20); font-size: 16px; font-weight: 900; }
#pricing .cd-mtx td.hd, #pricing .cd-vt td.hd { background: rgba(209,254,23,0.05); }
#pricing .cd-vt .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
#pricing .cd-vt .dash { color: var(--text-secondary); }
@media (min-width: 640px) {
  #pricing .cmp-h { font-size: 22px; margin: 44px 0 0; }
  #pricing .cd-mtx, #pricing .cd-vt { font-size: 15px; }
  #pricing .cd-mtx th, #pricing .cd-mtx td, #pricing .cd-vt th, #pricing .cd-vt td { padding: 14px 8px; }
  #pricing .cd-mtx thead th, #pricing .cd-vt thead th { font-size: 15px; padding-bottom: 12px; }
  #pricing .cd-mtx .grp td, #pricing .cd-vt .grp td { font-size: 12px; padding-top: 16px; padding-bottom: 7px; }
  #pricing .cd-mtx .yes, #pricing .cd-mtx .no { font-size: 18px; }
}

/* ── S5 FAQ lite ── */
.faq-lite {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-lite details {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 14px;
}

.faq-lite summary {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-lite summary::-webkit-details-marker { display: none; }
.faq-lite summary::after { content: '+'; font-size: 18px; color: var(--green); flex-shrink: 0; }
.faq-lite details[open] summary::after { content: '\2212'; }

.faq-lite .a {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.faq-lite .a a {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 600;
}

/* ── Community ── */
.community-block {
  margin: 28px 16px 0;
  padding: 20px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.community-block p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.community-block .cta-main {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

/* ── Footer ── */
.site-footer {
  margin: 28px 16px 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  font-size: 11px;
  color: var(--footer-muted);
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  color: var(--green);
  border-color: rgba(209, 254, 23, 0.35);
}

.footer-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--green); }

/* ── Final CTA ── */
.final-cta {
  margin: 32px 16px 0;
  padding: 24px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.final-cta h2 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.final-cta h2 em {
  font-style: normal;
  color: var(--accent-text);
}

.final-cta p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.final-cta .cta-main { margin-top: 16px; width: 100%; justify-content: center; }
.final-cta .cta-micro { margin-top: 8px; }

/* ── Billboard deco ── */
.billboard-banner {
  margin: 0;
  padding: 8px 16px 28px;
}

.billboard-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.billboard-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 38%;
}

.billboard-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 16px;
  background: linear-gradient(
    180deg,
    transparent 48%,
    rgba(0, 0, 0, 0.28) 72%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.billboard-tagline {
  max-width: 92%;
  text-align: center;
  font-family: 'Bricolage Grotesque', 'Manrope', sans-serif;
  font-size: clamp(17px, 4.8vw, 22px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 3px 14px rgba(0, 0, 0, 0.75);
}

.billboard-tagline em {
  font-style: normal;
  color: var(--green);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(209, 254, 23, 0.35);
}

/* ── Tablet ≥768px ── */
@media (min-width: 768px) {
  .header { padding: 12px 32px; }
  .header-logo img { height: 52px; }

  .hero-vitrine {
    min-height: auto;
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 32px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-bento {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    border-radius: 16px;
    padding: 8px;
  }

  .hero-bento .hero-tile:nth-child(1) { grid-column: 1; grid-row: 2; }
  .hero-bento .hero-tile:nth-child(2) { grid-column: 2; grid-row: 2; }
  .hero-bento .hero-tile:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 2.2 / 1;
  }
  .hero-bento .hero-tile:nth-child(4) { grid-column: 3; grid-row: 2; }
  .hero-bento .hero-tile:nth-child(5) { grid-column: 4; grid-row: 2; }

  .hero-tile.portrait { aspect-ratio: 9 / 12; }

  .hero-copy,
  .hero-cta-row {
    text-align: center;
    max-width: 560px;
    padding-left: 0;
    padding-right: 0;
  }
  .hero-copy h1 { font-size: clamp(32px, 4.2vw, 42px); }
  .hero-cta-row .cta-main { max-width: 360px; margin: 0 auto; }

  .section {
    padding: 40px 32px 0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .section .sec-sub { margin-left: auto; margin-right: auto; }
  .ba-link { display: inline-block; }

  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: left;
  }

  .ba-compact {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }

  .viral-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 12px;
    text-align: left;
  }
  .viral-scroll .viral-card {
    flex: none;
    max-width: none;
    scroll-snap-align: unset;
  }
  .viral-aggregate { justify-content: center; }

  .promo-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
    text-align: left;
  }

  .showcase-card,
  .promo-billboard .billboard-frame {
    aspect-ratio: 16 / 9;
    min-height: unset;
    height: auto;
  }

  .showcase-card {
    margin-top: 0;
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
  }

  .showcase-thumb {
    position: absolute;
    inset: 0;
    aspect-ratio: unset;
    max-height: none;
    overflow: hidden;
  }

  .showcase-thumb img.showcase-thumb-mobile { display: none; }

  .showcase-thumb img.showcase-thumb-wide {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .showcase-badge {
    top: 8px;
    left: 8px;
    z-index: 2;
  }

  .showcase-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 8px 12px 10px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
    display: block;
  }

  .showcase-name {
    font-size: 15px;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  }
  .showcase-name em { color: var(--green); }

  .showcase-desc { display: none; }

  .showcase-link {
    font-size: 12px;
    margin-top: 4px;
    color: var(--green);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  }

  .promo-billboard .billboard-frame {
    position: relative;
    height: auto;
  }

  .promo-billboard .billboard-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    min-height: unset;
    object-fit: cover;
    object-position: center 38%;
  }

  .promo-billboard .billboard-overlay {
    background: linear-gradient(
      180deg,
      transparent 70%,
      rgba(0, 0, 0, 0.18) 88%,
      rgba(0, 0, 0, 0.42) 100%
    );
    padding: 0 12px 8px;
    align-items: flex-end;
  }

  .promo-billboard .billboard-tagline {
    font-size: clamp(13px, 1.5vw, 16px);
    max-width: 100%;
  }

  .pack-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
  .pack-card { padding: 18px 16px; min-height: 160px; }
  .pack-name { font-size: 18px; }
  .pack-price { font-size: 26px; }
  .pack-credits { font-size: 13px; }
  .pack-tier { font-size: 12px; }
  .price-free h3 { font-size: 24px; }
  .price-free p { font-size: 15px; }
  .price-note { font-size: 13px; }
  .faq-lite summary { font-size: 14px; }
  .faq-lite .a { font-size: 13px; }
  .faq-lite details { padding: 14px 16px; }
  .quality-row { justify-content: center; }
  .price-free { text-align: center; }
  .faq-lite { text-align: left; }

  .billboard-banner:not(.promo-billboard),
  .final-cta,
  .site-footer,
  .community-block {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
  .billboard-banner:not(.promo-billboard) { padding-left: 32px; padding-right: 32px; }
  .final-cta { margin-left: auto; margin-right: auto; }
  .site-footer { margin-left: auto; margin-right: auto; text-align: center; }

  .viral-action .cta-main,
  .cta-main { max-width: 360px; margin-left: auto; margin-right: auto; }
  .viral-action { text-align: center; }
}

/* ── Desktop ≥1024px ── */
@media (min-width: 1024px) {
  .header {
    padding: 14px clamp(24px, 4vw, 48px);
  }

  .section { max-width: 1120px; padding: 48px 24px 0; }
  .sec-title { font-size: 32px; }
  .sec-sub { font-size: 16px; max-width: 560px; }

  .hero-vitrine {
    max-width: 1120px;
    padding: 36px 24px 24px;
  }

  .hero-bento .hero-tile:nth-child(3) {
    aspect-ratio: 2.35 / 1;
    min-height: 340px;
  }
  .hero-tile.portrait { aspect-ratio: 9 / 13; }

  .hero-copy h1 { font-size: clamp(40px, 3.5vw, 52px); }

  .promo-duo { gap: 20px; }

  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  #pricing .sec-sub { max-width: 640px; }

  .price-free {
    padding: 28px 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .price-free-badge { font-size: 11px; padding: 5px 10px; }
  .price-free h3 { font-size: 30px; }
  .price-free p { font-size: 17px; line-height: 1.5; }
  .price-free .cta-main { font-size: 17px; padding: 16px 24px; max-width: 320px; margin-left: auto; margin-right: auto; }

  .quality-row { gap: 10px; margin-top: 28px; justify-content: center; }
  .quality-pill { font-size: 13px; padding: 8px 14px; }

  .pack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
  .pack-card {
    padding: 26px 24px;
    min-height: 200px;
    gap: 10px;
    border-radius: 18px;
  }
  .pack-tag { font-size: 11px; }
  .pack-name { font-size: 24px; }
  .pack-price { font-size: 36px; }
  .pack-credits { font-size: 16px; }
  .pack-tier { font-size: 15px; line-height: 1.45; }

  .price-note {
    font-size: 15px;
    margin-top: 24px;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  #faq .sec-sub { max-width: 640px; }

  .faq-lite {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .faq-lite details {
    margin: 0;
    padding: 20px 24px;
    border-radius: 16px;
  }
  .faq-lite summary { font-size: 18px; line-height: 1.35; }
  .faq-lite .a { font-size: 16px; line-height: 1.55; margin-top: 12px; }

  .ba-compact { max-width: 640px; }

  .final-cta {
    padding: 40px 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .final-cta h2 { font-size: 32px; }
  .final-cta p { font-size: 17px; line-height: 1.5; }
  .final-cta .cta-main { font-size: 17px; padding: 16px 28px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .final-cta .cta-micro { font-size: 14px; }

  .community-block {
    padding: 40px 48px;
    margin: 48px auto 0;
  }
  .community-block .sec-title { font-size: 28px; }
  .community-block p {
    font-size: 17px;
    line-height: 1.55;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .community-block .cta-main {
    font-size: 17px;
    padding: 16px 28px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer { padding-top: 28px; }
  .footer-copy { font-size: 13px; }
  .footer-links a { font-size: 14px; }
}