/* Inter, self-hosted (public/fonts, cached a year): no Google Fonts round trips before first paint. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-v20-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-v20-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Vibrant & Cinematic Creator System */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --card: #ffffff;
  --text: #09090b;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --accent: #ec4899;
  --cyan: #06b6d4;
  --amber: #f59e0b;
  --ink: #0f172a;
  --on-ink: #ffffff;
  --grad: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #2563eb 100%);
  --grad-hero: linear-gradient(135deg, #6d28d9 0%, #db2777 50%, #2563eb 100%);
  --grad-btn: linear-gradient(135deg, #7c3aed 0%, #9333ea 50%, #4f46e5 100%);
  --shadow: 0 4px 20px -2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 45px -12px rgba(124, 58, 237, .16), 0 4px 16px -2px rgba(15, 23, 42, .06);
  --nav-bg: rgba(255, 255, 255, .82);
  --glass-border: rgba(15, 23, 42, .08);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07070a;
    --bg-alt: #0d0d14;
    --card: #12121a;
    --text: #f8fafc;
    --muted: #94a3b8;
    --primary: #a855f7;
    --primary-hover: #c084fc;
    --accent: #f43f5e;
    --border: #1e1e2d;
    --ink: #f8fafc;
    --on-ink: #07070a;
    --grad: linear-gradient(135deg, #ffffff 10%, #d8b4fe 45%, #c084fc 75%, #38bdf8 100%);
    --grad-hero: linear-gradient(135deg, #ffffff 15%, #e879f9 50%, #38bdf8 85%);
    --grad-btn: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #6366f1 100%);
    --shadow: 0 4px 24px -2px rgba(0, 0, 0, .5);
    --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, .8), 0 0 35px -10px rgba(168, 85, 247, .25);
    --nav-bg: rgba(7, 7, 10, .82);
    --glass-border: rgba(255, 255, 255, .1);
  }
}

:root[data-theme="dark"] {
  --bg: #07070a;
  --bg-alt: #0d0d14;
  --card: #12121a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #a855f7;
  --primary-hover: #c084fc;
  --accent: #f43f5e;
  --border: #1e1e2d;
  --ink: #f8fafc;
  --on-ink: #07070a;
  --grad: linear-gradient(135deg, #ffffff 10%, #d8b4fe 45%, #c084fc 75%, #38bdf8 100%);
  --grad-hero: linear-gradient(135deg, #ffffff 15%, #e879f9 50%, #38bdf8 85%);
  --grad-btn: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #6366f1 100%);
  --shadow: 0 4px 24px -2px rgba(0, 0, 0, .5);
  --shadow-lg: 0 25px 60px -15px rgba(0, 0, 0, .8), 0 0 35px -10px rgba(168, 85, 247, .25);
  --nav-bg: rgba(7, 7, 10, .82);
  --glass-border: rgba(255, 255, 255, .1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s, border-color .2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad-btn);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .15);
  box-shadow: 0 4px 18px -4px rgba(124, 58, 237, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px -4px rgba(124, 58, 237, .7), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-ghost {
  border-color: var(--border);
  background: var(--card);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--text);
}
.btn-light {
  background: #ffffff;
  color: #09090b;
  border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 0 35px rgba(255, 255, 255, .35), 0 10px 30px -5px rgba(0, 0, 0, .5);
}
.btn-light:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(255, 255, 255, .55), 0 15px 40px -5px rgba(0, 0, 0, .6);
}
.btn-lg { padding: 16px 34px; font-size: 17px; border-radius: 14px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  cursor: pointer; font-size: 16px; display: grid; place-items: center;
  transition: border-color .2s, transform .15s;
}
.icon-btn:hover { border-color: var(--text); transform: translateY(-1px); }

/* Language menu */
.lang-pick {
  position: relative; display: inline-grid; place-items: center;
  font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text);
}
.lang-pick select {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px;
}
.lang-pick:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (max-width: 420px) {
  .nav .nav-inner { gap: 10px; }
  .nav .nav-actions { gap: 6px; }
  .nav-actions .btn { padding-inline: 14px; }
}
@media (max-width: 380px) { .nav .nav-inner { gap: 8px; } .nav-actions .btn { padding-inline: 10px; } } /* fr "Commencer" fits at 360px */
/* Tablets: the translated nav (es/fr/de/pt) ran off the right edge. Log in and Get started both open /app/,
   and the hero has its own download link, so these two go first. */
@media (max-width: 1100px) {
  .nav .btn-ghost, .nav-links .get-app { display: none; }
}
.hero-app { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.get-app[hidden] { display: none !important; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, .1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
/* The wordmark is one SVG: the mark's M is the first letter of "Mubuz", the bubble sits over the u. */
.logo { display: flex; align-items: center; color: var(--ink); }
.logo svg { display: block; }
.nav-links { display: flex; gap: 32px; font-weight: 500; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px;
  background: var(--card); color: var(--text); font: inherit; font-size: 14px;
}
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; padding: 76px 0 0; text-align: center; overflow: hidden; }

/* Ambient volumetric stage lighting */
.blob {
  position: absolute; border-radius: 50%; opacity: .24; pointer-events: none;
  filter: blur(40px); animation: float 14s ease-in-out infinite;
}
.b1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, #7c3aed 0%, rgba(124, 58, 237, .4) 40%, transparent 70%);
  top: -260px; left: calc(15% - 150px);
}
.b2 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(14, 165, 233, .4) 45%, transparent 70%);
  top: -200px; right: calc(10% - 120px);
  animation-delay: -7s;
}
.b3 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, #ec4899 0%, rgba(236, 72, 153, .35) 45%, transparent 70%);
  bottom: -220px; left: 50%; transform: translateX(-50%);
  opacity: .18; animation-delay: -3.5s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 35px) scale(1.08); }
}

.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }

/* Trust pill */
.trust {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
  padding: 8px 18px 8px 12px; border: 1px solid var(--glass-border);
  border-radius: 999px; background: var(--card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, .08);
  font-size: 13.5px; font-weight: 550; color: var(--muted);
}
.trust::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.8); }
}
.avatars { display: flex; }
.avatars span {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--card);
  margin-inline-start: -8px; display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 11px; background: hsl(var(--h) 70% 55%);
}
.avatars span:first-child { margin-inline-start: 0; }
.trust-text { color: var(--text); font-weight: 550; }
.stars { color: #f5b301; letter-spacing: 1px; margin-inline-end: 4px; }

h1 {
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 960px;
}
.grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 20px rgba(192, 132, 252, .25));
}
.lead {
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--muted);
  max-width: 660px;
  margin: 22px 0 32px;
  line-height: 1.55;
}

/* Prompt Studio Terminal */
.idea-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(620px, 100%);
  padding: 8px 8px 8px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .04);
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.idea-box:focus-within {
  border-color: rgba(168, 85, 247, .7);
  box-shadow: 0 16px 48px -10px rgba(124, 58, 237, .35), 0 0 0 4px rgba(168, 85, 247, .18);
  transform: translateY(-1px);
}
.idea-box input {
  flex: 1; min-width: 0; border: none; outline: none; background: none;
  font: inherit; font-size: 16px; color: var(--text); font-weight: 500;
}
.idea-box input::placeholder { color: var(--muted); opacity: .75; }
.idea-icon { display: grid; place-items: center; color: var(--primary); }
.hint { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Quick prompt chips */
.chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-top: 26px; max-width: 780px;
}
.chips button {
  padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); font-size: 13.5px; font-weight: 550; cursor: pointer;
  color: var(--muted); transition: all .2s cubic-bezier(.2, .8, .2, 1);
}
.chips button:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(124, 58, 237, .25);
}

/* Phone Mockups */
.phones {
  display: flex; justify-content: center; align-items: flex-end;
  gap: 32px; margin-top: 64px; height: 420px; position: relative;
  perspective: 1000px;
  /* The phones sit up to 85px lower than this box (translateY below), so keep the idea cards clear of them. */
  margin-bottom: 84px;
}
.phones::before {
  content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 160px;
  background: radial-gradient(ellipse at bottom, rgba(124, 58, 237, .35), transparent 70%);
  pointer-events: none; z-index: 0;
}
.phone {
  position: relative; width: 220px; aspect-ratio: 9/18.5; border-radius: 36px;
  padding: 8px; background: #07070a;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, .8), 0 0 30px -10px rgba(124, 58, 237, .35);
  transform: translateY(70px);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s;
  z-index: 1;
  backface-visibility: hidden;
}
.phone:hover {
  transform: translateY(25px) scale(1.04) !important;
  box-shadow: 0 45px 95px -15px rgba(0, 0, 0, .9), 0 0 45px -5px rgba(168, 85, 247, .5);
  z-index: 4;
}
.phone.center {
  width: 250px; transform: translateY(35px); z-index: 2;
  border-color: rgba(168, 85, 247, .45);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .9), 0 0 40px -8px rgba(168, 85, 247, .5);
  animation: floatCenter 6s ease-in-out infinite alternate;
}
.phone.center:hover { transform: translateY(10px) scale(1.04) !important; }
.tilt-l {
  transform: translateY(85px) rotate(-6deg);
  animation: floatLeft 6.5s ease-in-out infinite alternate;
}
.tilt-r {
  transform: translateY(85px) rotate(6deg);
  animation: floatRight 7s ease-in-out infinite alternate;
}

@keyframes floatLeft {
  0% { transform: translateY(85px) rotate(-6deg); }
  100% { transform: translateY(68px) rotate(-5deg); }
}
@keyframes floatCenter {
  0% { transform: translateY(35px); }
  100% { transform: translateY(18px); }
}
@keyframes floatRight {
  0% { transform: translateY(85px) rotate(6deg); }
  100% { transform: translateY(68px) rotate(5deg); }
}

/* Ambient glow halo behind center phone */
/* Three video ideas under the hero phones (owner 2026-10-11, niches from facelessreels.com). */
.idea-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 880px; margin: 34px auto 0; }
.idea-picks button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: start; cursor: pointer;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); color: var(--text);
  box-shadow: var(--shadow); font: inherit; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.idea-picks button:hover, .idea-picks button:focus-visible { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.idea-picks .pick-tag { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.idea-picks b { font-size: 16px; font-weight: 700; }
.idea-picks small { color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 700px) { .idea-picks { grid-template-columns: 1fr; } }
.phone-glow {
  position: absolute; inset: -20px; border-radius: 50px;
  background: radial-gradient(circle, rgba(168, 85, 247, .45), rgba(236, 72, 153, .2) 50%, transparent 70%);
  filter: blur(24px); z-index: -1; pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  0% { opacity: .4; transform: scale(.94); }
  100% { opacity: .85; transform: scale(1.06); }
}

/* Rotating creator music vinyl disc, bottom right as on TikTok (top right it covered the badge) */
.disc {
  position: absolute; right: 12px; bottom: 26px; width: 32px; height: 32px; border-radius: 50%;
  background: #09090b; border: 2px solid rgba(255, 255, 255, .25);
  display: grid; place-items: center; z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .6);
  animation: spinDisc 3.5s linear infinite;
}
.disc i {
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border: 2px solid #fff;
}
@keyframes spinDisc { to { transform: rotate(360deg); } }

.screen {
  position: relative; height: 100%; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--a), var(--b)); color: #fff;
}
/* A real sample episode (public/app.js, scripts/showcase.js) covers the gradient; its own captions replace ours. */
.screen video.clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.screen.has-clip::before, .screen.has-clip .cap, .screen.has-clip .ui { display: none; }
/* Camera punch-hole */
.screen::after {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 11px; border-radius: 999px; background: #000; z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}
.screen::before {
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .3), transparent 45%);
  animation: pan 9s ease-in-out infinite alternate;
}
@keyframes pan { to { transform: translate(20%, 25%); } }

.cap {
  position: absolute; left: 14px; right: 14px; top: 40%;
  font-weight: 700; font-size: 20px; line-height: 1.25; text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.cap b {
  color: #facc15;
  text-shadow: 0 0 14px rgba(250, 204, 21, .55);
}
.ui {
  position: absolute; right: 12px; bottom: 32px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; font-weight: 600; text-align: right; z-index: 2;
}
.disc ~ .ui { bottom: 68px; } /* above the disc */
.ui span {
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15); padding: 5px 11px;
  border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

/* Sound wave equalizer in center phone */
.sound-wave {
  position: absolute; left: 14px; bottom: 28px; display: flex; align-items: flex-end;
  gap: 3px; height: 16px; z-index: 2;
}
.sound-wave i {
  width: 3px; border-radius: 2px; background: #38bdf8;
  animation: eqWave 1.1s ease-in-out infinite alternate;
}
.sound-wave i:nth-child(1) { height: 40%; animation-delay: .1s; }
.sound-wave i:nth-child(2) { height: 85%; animation-delay: .3s; }
.sound-wave i:nth-child(3) { height: 100%; animation-delay: .18s; }
.sound-wave i:nth-child(4) { height: 60%; animation-delay: .42s; }
.sound-wave i:nth-child(5) { height: 90%; animation-delay: .15s; }
.sound-wave i:nth-child(6) { height: 50%; animation-delay: .35s; }
@keyframes eqWave { 0% { transform: scaleY(.25); } 100% { transform: scaleY(1); } }

/* Live REC badge */
.rec {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%); /* under the camera hole (ends at 21px) */
  font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15);
  color: #f87171; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis;
  animation: recGlow 2s ease-in-out infinite; z-index: 4;
}
@keyframes recGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .5); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.progress {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  height: 4px; background: rgba(255, 255, 255, .25); border-radius: 4px; overflow: hidden; z-index: 2;
}
.progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, #38bdf8, #c084fc, #f43f5e);
  box-shadow: 0 0 10px #c084fc;
  animation: prog 6s linear infinite;
}
@keyframes prog { from { width: 0; } to { width: 100%; } }

/* Platforms bar */
.platforms {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  backdrop-filter: blur(16px);
  position: relative; z-index: 2;
}
.platforms-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; padding: 24px 0; flex-wrap: wrap; font-size: 15px;
}
.plat {
  font-weight: 700; transition: transform .2s, filter .2s; cursor: default;
}
.plat:hover { transform: translateY(-1px); }
.platforms-inner span:nth-child(2) { color: #f43f5e; text-shadow: -1px 0 #00f2fe, 1px 0 #fe0979; }
.platforms-inner span:nth-child(3) { color: #ff0033; text-shadow: 0 0 12px rgba(255, 0, 51, .4); }
.platforms-inner span:nth-child(4) {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.platforms-inner span:nth-child(5) { color: #10b981; text-shadow: 0 0 12px rgba(16, 185, 129, .35); }

/* Stats */
.stats { padding: 68px 0 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 30px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; background: var(--card); box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, .4);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, .25), 0 0 25px -5px rgba(168, 85, 247, .2);
}
.stat strong {
  display: block; font-size: clamp(38px, 4.5vw, 48px); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; font-variant-numeric: tabular-nums; line-height: 1.1; margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 14.5px; font-weight: 550; }

/* Sections */
.lazy-sections :is(.section, .cta, .footer) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  color: var(--primary); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
}
h2 {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 700;
  letter-spacing: -0.025em; text-align: center; margin: 10px 0 14px; line-height: 1.18;
}
.sub { text-align: center; color: var(--muted); margin-bottom: 34px; font-size: 17px; }

/* Gallery */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--card); cursor: pointer; font-size: 14px; font-weight: 550;
  transition: all .2s cubic-bezier(.2, .8, .2, 1);
}
.filters button:hover { border-color: var(--primary); transform: translateY(-1px); }
.filters button.on {
  background: linear-gradient(135deg, #7c3aed, #c026d3); color: #ffffff;
  border-color: transparent; box-shadow: 0 8px 22px -6px rgba(124, 58, 237, .55);
}
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(168, 85, 247, .5);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, .4), 0 0 25px -5px rgba(168, 85, 247, .3);
}
.card.hide { display: none; }
.thumb {
  aspect-ratio: 9/16; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--a), var(--b)); color: #fff;
}
.thumb .play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.thumb .play span {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center; font-size: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .35);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s, opacity .25s;
}
.card:hover .play span { transform: scale(1.12); background: rgba(255, 255, 255, .35); }
.thumb .tcap {
  position: absolute; left: 12px; right: 12px; top: 38%;
  font-weight: 700; font-size: 16px; line-height: 1.25; text-align: center;
  opacity: 0; transform: translateY(12px); transition: .3s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6); z-index: 3;
}
.card:hover .tcap { opacity: 1; transform: none; }
.card:hover .play span { opacity: 0; transform: scale(.6); }
.thumb .views {
  position: absolute; inset-inline-start: 10px; bottom: 10px;
  font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px;
}
.thumb .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #fff; }
.card:hover .bar {
  height: 4px; background: linear-gradient(90deg, #7c3aed, #ec4899, #38bdf8);
  box-shadow: 0 0 10px #ec4899; animation: prog 4s linear forwards;
}
.card-body { padding: 14px 16px; }
.card-body h4 { font-size: 15px; font-weight: 650; margin-bottom: 2px; }
.card-body p { font-size: 13px; color: var(--muted); }

/* Pricing */
.pricing { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; gap: 12px; padding: 32px 28px;
  border: 1px solid var(--border); border-radius: 22px; background: var(--card);
  box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
  position: relative;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Featured Pro card */
.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #06b6d4 100%) border-box;
  box-shadow: 0 25px 70px -15px rgba(124, 58, 237, .45), 0 0 40px -10px rgba(236, 72, 153, .3);
  transform: scale(1.03);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s;
}
.price-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 35px 85px -12px rgba(124, 58, 237, .65), 0 0 50px -5px rgba(236, 72, 153, .45);
}
.price-card.featured::before {
  content: '★ MOST POPULAR'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 5px 15px; border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .08em;
  background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff;
  box-shadow: 0 4px 16px rgba(236, 72, 153, .6);
}
.price-card.featured .btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff;
  box-shadow: 0 8px 25px -5px rgba(124, 58, 237, .6);
}

.price-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.price strong { font-size: 42px; font-weight: 750; letter-spacing: -0.03em; }
.price span { color: var(--muted); font-size: 15px; }
.price-card ul {
  list-style: none; padding: 0; margin: 10px 0 18px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.price-card li { font-size: 14.5px; display: flex; align-items: flex-start; gap: 8px; }
.price-card li::before { content: '✓'; color: var(--primary); font-weight: 750; }
.price-note { text-align: center; margin-top: 24px; font-size: 14px; }

/* Pricing breakdown (owner 2026-10-11): what the plan covers, one short line under each item. */
.price-card .tagline { font-size: 14px; margin-top: -6px; }
.price-card .per-day { font-size: 14px; font-weight: 650; color: var(--primary); margin-top: -6px; }
.price-card .breakdown { border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; background: var(--bg-alt); }
.price-card .bd-title { font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-card .breakdown ul { margin: 10px 0 0; gap: 12px; }
.price-card .breakdown li span { display: flex; flex-direction: column; gap: 2px; }
.price-card .breakdown li b { font-weight: 650; }
.price-card .breakdown li small { color: var(--muted); font-size: 13px; }
.price-card .package { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 650; border-top: 1px dashed var(--border); padding-top: 12px; }
.price-card .package strong { font-size: 20px; }
.price-card .extras, .price-card .simple { font-size: 13px; }
.price-card .simple { flex: 1; }
@media (max-width: 860px) {
  .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

/* FAQ */
.faq { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover, .faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 8px 25px -8px rgba(124, 58, 237, .2);
}
.faq-q {
  width: 100%; text-align: start; padding: 20px 24px; background: none; border: none;
  font-weight: 650; font-size: 16.5px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 14px;
}
.faq-q::after {
  content: '+'; font-size: 24px; line-height: 1; color: var(--primary); transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s cubic-bezier(.2, .8, .2, 1); }
.faq-a p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* CTA */
.cta {
  position: relative; overflow: hidden; background: #060609; color: #fff;
  padding: 108px 0; text-align: center;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(124, 58, 237, .45), transparent 70%),
    radial-gradient(50% 60% at 85% 100%, rgba(6, 182, 212, .25), transparent 60%);
}
.cta .container { position: relative; }
.cta h2 { color: #ffffff; font-size: clamp(34px, 5.2vw, 56px); font-weight: 750; }
.cta p { opacity: .9; margin-bottom: 32px; font-size: 19px; }

/* Footer */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin: 10px 0 16px; font-size: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-cols h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.footer-cols a { color: var(--muted); transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 50%;
  display: grid; place-items: center; transition: all .2s;
}
.socials a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.footer-note { display: block; margin-top: 6px; }
@media (max-width: 640px) { .footer-bottom { padding-bottom: 80px; } } /* the last lines scroll clear of the chat button (public/chat.js, bottom-right) */

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 100px);
  padding: 12px 22px; border-radius: 14px; background: var(--text); color: var(--bg);
  font-weight: 550; font-size: 14.5px; transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  z-index: 100; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.toast.show { transform: translate(-50%, 0); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .phones { gap: 20px; }
  .phone { width: 190px; }
  .phone.center { width: 220px; }
}
@media (max-width: 760px) {
  .trust { border-radius: 20px; padding: 8px 14px; gap: 6px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 22px 14px; }
  .stat strong { font-size: 32px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -16px; padding-inline: 16px; }
  .card { flex: 0 0 46%; scroll-snap-align: start; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 18px; }
  .menu-toggle { display: block; }
  .lang, .nav .btn-ghost { display: none; }
  /* All three phones on screen: the side ones tuck 18px behind the centre one. */
  .phones { height: 320px; gap: 0; }
  .phone { width: min(140px, 31vw); border-radius: 26px; padding: 6px; }
  .phone.center { width: min(170px, 40vw); }
  .tilt-l { margin-inline-end: -18px; }
  .tilt-r { margin-inline-start: -18px; }
  .screen { border-radius: 20px; }
  .cap { font-size: 13px; left: 10px; right: 10px; top: 26%; } /* clear of the like pills on a 360px screen */
  .rec { font-size: 10px; padding: 3px 9px; }
  .idea-box { flex-direction: column; border-radius: 20px; padding: 12px; }
  .idea-box input { width: 100%; padding: 6px; font-size: 15px; }
  .idea-box .btn, .idea-icon { width: 100%; }
  .idea-icon { display: none; }
  .platforms-inner { gap: 16px 28px; font-size: 14px; }
}

/* Nav dropdowns */
.nav-links { align-items: center; }
.nav-drop { position: relative; display: inline-flex; align-items: center; gap: 2px; }
/* "Free AI tools" is a real link to /tools (crawlable, clickable); the arrow next to it opens the menu. */
.nav-drop-link { font-weight: 500; }
.nav-drop-btn {
  background: none; border: 0; font: inherit; font-weight: 500;
  color: var(--muted); cursor: pointer; padding: 0; display: inline-flex;
  gap: 4px; align-items: center; transition: color .2s;
}
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--text); }
.nav-drop > .nav-drop-btn { min-width: 24px; min-height: 24px; justify-content: center; }
.drop-menu {
  display: none; position: absolute; top: calc(100% + 14px); inset-inline-start: -16px;
  min-width: 290px; padding: 10px; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .2); z-index: 60;
}
.drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-drop.open .drop-menu { display: block; }
@media (hover: hover) and (min-width: 761px) {
  .nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
}
.drop-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); transition: background .15s; }
.drop-menu a:hover, .drop-menu a:focus-visible { background: var(--bg-alt); }
.drop-menu b { display: block; font-weight: 650; font-size: 14px; }
.drop-menu small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; margin-top: 2px; }
@media (max-width: 760px) {
  .nav-links { align-items: stretch; }
  .nav-drop { display: flex; flex-wrap: wrap; align-items: center; }
  .nav-drop-link { flex: 1; }
  .nav-drop > .nav-drop-btn { width: auto; padding: 14px 18px; }
  .nav-drop .drop-menu { flex-basis: 100%; }
  .drop-menu { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0 10px 10px; min-width: 0; background: transparent; }
  .drop-menu::before { display: none; }
}

/* Free AI tool pages (src/pages/tool.html) */
.tool h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 12px; }
.tool .eyebrow { color: var(--primary); font-weight: 600; font-size: 14px; }
.tool-intro { font-size: 18px; margin-bottom: 24px; }
.tool-form { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--card, var(--bg)); }
.tool-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.tool-form textarea, .tool-form input[type=email] { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); width: 100%; }
.tool-form .tool-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.tool-check input { margin-top: 4px; }
.tool-fine { font-size: 12px; }
.tool-out { display: grid; gap: 12px; margin-top: 24px; }
.tool-card { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card, var(--bg)); }
.tool-card h3 { font-size: 16px; margin-bottom: 4px; }
.tool-card p { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 8px; }
.tool-err { color: #dc2626; }
.tool-cta { margin-top: 32px; padding: 24px; border-radius: 18px; background: var(--bg-alt); text-align: center; }
.tool-cta h2 { margin-bottom: 6px; }
.tool-cta .btn { margin-top: 12px; }
.tool-guide { margin-top: 56px; }
.tool-guide h2 { text-align: start; font-size: 22px; margin: 32px 0 10px; }
.tool-guide h3 { font-size: 17px; margin: 20px 0 4px; }
.tool-guide p, .tool-guide li { line-height: 1.65; }
.tool-guide ol, .tool-guide ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.tool-example { padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card, var(--bg)); }
.tool-example dt { font-weight: 600; font-size: 14px; }
.tool-example dd { margin: 4px 0 12px; overflow-wrap: anywhere; }
.tool-example dd:last-child { margin-bottom: 0; }
.tool-next { margin-top: 28px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tool-grid a { display: block; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card, var(--bg)); color: var(--text); }
.tool-grid a:hover, .tool-grid a:focus-visible { border-color: var(--primary); }
.tool-grid b { display: block; font-weight: 600; }
.tool-grid small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin: 18px 0 6px; }
.legal h2, .legal h3 { text-align: start; font-size: 20px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { line-height: 1.65; margin: 8px 0; }
.legal ul { padding-inline-start: 22px; }
.legal a { color: var(--primary); text-decoration: underline; }

/* Voice Lab Sampler */
.voice-sec { position: relative; overflow: hidden; }
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.voice-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.voice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 16px 36px -10px rgba(124, 58, 237, 0.18);
}
.voice-card.active, .voice-card.playing {
  border-color: var(--primary);
  box-shadow: 0 18px 40px -10px rgba(124, 58, 237, 0.28), 0 0 0 1px var(--primary);
}
.voice-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.voice-badge {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--primary);
  border: 1px solid rgba(124, 58, 237, 0.25);
}
.voice-lang {
  color: var(--muted);
  font-weight: 500;
}
.voice-main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.voice-play-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.08));
  color: var(--primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s, color .18s;
  padding-left: 2px;
}
.voice-card:hover .voice-play-btn {
  transform: scale(1.08);
  background: var(--primary);
  color: #fff;
}
.voice-card.playing .voice-play-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}
.voice-main h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.voice-main p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.voice-wave i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(124, 58, 237, 0.22);
  transition: height .2s ease, background .2s ease;
}
.voice-card.active .voice-wave i {
  background: rgba(124, 58, 237, 0.45);
}
.voice-card.playing .voice-wave i {
  background: var(--primary);
  animation: voiceWavePulse 1.1s ease-in-out infinite alternate;
}
.voice-card.playing .voice-wave i:nth-child(1) { animation-delay: .05s; }
.voice-card.playing .voice-wave i:nth-child(2) { animation-delay: .22s; }
.voice-card.playing .voice-wave i:nth-child(3) { animation-delay: .12s; }
.voice-card.playing .voice-wave i:nth-child(4) { animation-delay: .35s; }
.voice-card.playing .voice-wave i:nth-child(5) { animation-delay: .18s; }
.voice-card.playing .voice-wave i:nth-child(6) { animation-delay: .28s; }
.voice-card.playing .voice-wave i:nth-child(7) { animation-delay: .09s; }
.voice-card.playing .voice-wave i:nth-child(8) { animation-delay: .42s; }
.voice-card.playing .voice-wave i:nth-child(9) { animation-delay: .15s; }
.voice-card.playing .voice-wave i:nth-child(10) { animation-delay: .31s; }
.voice-card.playing .voice-wave i:nth-child(11) { animation-delay: .07s; }
.voice-card.playing .voice-wave i:nth-child(12) { animation-delay: .24s; }

@keyframes voiceWavePulse {
  0% { height: 4px; }
  50% { height: 22px; }
  100% { height: 8px; }
}

/* Creator Potential Calculator */
.calc-sec {
  position: relative;
  padding: 80px 0;
}
.calc-header {
  margin-bottom: 40px;
}
.calc-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
}
@media (max-width: 900px) {
  .calc-card {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 28px;
  }
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-label-row label {
  font-weight: 650;
  font-size: 15px;
  color: var(--text);
}
.calc-val-badge {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.2);
}
.calc-hint {
  font-size: 12.5px;
  color: var(--muted);
}
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--bg-alt, #e5e7eb);
  border-radius: 999px;
  outline: none;
  transition: background .2s;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.55);
  cursor: pointer;
  border: 3px solid #fff;
  transition: transform .15s ease;
}
.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.calc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.55);
  cursor: pointer;
  border: 3px solid #fff;
  transition: transform .15s ease;
}
.calc-range-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
}
/* Four channels as a 2 x 2 grid, so each pair sits on one row even on a phone. */
.calc-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.calc-plat-btn {
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Hover only where there is a mouse: on phones a tapped-off pill kept the hover border and looked half on. */
@media (hover: hover) {
  .calc-plat-btn:hover {
    border-color: rgba(124, 58, 237, 0.4);
    color: var(--text);
  }
}
.calc-plat-btn.active {
  background: rgba(124, 58, 237, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.15);
}
.calc-results {
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.05), rgba(99, 102, 241, 0.02));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.calc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 480px) {
  .calc-kpi-grid { grid-template-columns: 1fr; }
  .calc-plat-btn { padding: 9px 8px; font-size: 13px; }
}
.calc-kpi {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.calc-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.calc-kpi-val {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.calc-kpi-val.highlight {
  color: var(--primary);
}
.calc-kpi-val.glow-val {
  background: linear-gradient(135deg, #a855f7, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.calc-kpi-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
}
.calc-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.calc-cta-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 12px 28px -6px rgba(124, 58, 237, 0.45);
}
.calc-guarantee {
  font-size: 12px;
  color: var(--muted);
}


/* Free calculators and checklists (src/pages/calc/*.html, public/calc.js); scoped to .tool so the landing calculator's
   .calc-* classes are not touched. */
.tool .calc select, .tool .calc input[type=number] { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); width: 100%; }
.tool .calc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.tool .calc-stats div { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: grid; gap: 2px; }
.tool .calc-stats b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tool .calc-stats span { color: var(--muted); font-size: 13px; }
.tool .calc-limits, .tool .calc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tool .calc-limits li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; }
.tool .calc-limits li > span { flex: 1 1 140px; }
.tool .calc-limits b { font-variant-numeric: tabular-nums; }
.tool .calc-limits small { color: var(--muted); }
.tool .calc-limits li.over { border-color: #dc2626; }
.tool .calc-limits li.over b, .tool .calc-limits li.over .calc-over, .tool .calc-warn { color: #dc2626; }
.tool .calc-h { font-size: 18px; margin: 8px 0 0; text-align: start; }
.tool .calc-path { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); }
.tool .calc-path h3 { font-size: 16px; margin: 0 0 4px; }
.tool .calc-row { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.tool .calc-row span { flex: 1 1 160px; }
.tool .calc-row b { font-variant-numeric: tabular-nums; }
.tool .calc-bar { height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.tool .calc-bar i { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 99px; transition: width .2s; }
.tool .calc-state { margin: 4px 0 0; font-weight: 600; }
.tool .calc-yes, .tool .calc-ok { color: #16a34a; }
.tool .calc-ok { font-weight: 600; }
.tool .calc-no { color: var(--muted); }
.tool .calc-list li { padding-inline-start: 22px; position: relative; }
.tool .calc-list li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--primary); }
.tool .calc-note { margin: 0; }

/* Keyboard users jump past the menu; visible only when focused. */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip-link:focus { top: 12px; }
