/* =========================================================
   ROOT — same token system as the pricelist site
========================================================= */
:root {
  --bg: #08080b;
  --bg-2: #0d0c12;

  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);

  --text: #f5f4f7;
  --muted: #9b99a6;
  --faint: #686672;

  --purple: #8d6bff;
  --pink: #e84fd8;
  --violet: #6f55ff;
  --green: #3ddc97;

  --card-bg-1: rgba(255,255,255,.035);
  --card-bg-2: rgba(255,255,255,.012);
  --card-glow: rgba(255,255,255,.02);
  --gridline: rgba(255,255,255,0.018);
  --blob-op: 0.16;
  --blob-op-2: 0.10;

  --radius: 20px;
  --ease: cubic-bezier(.16,.8,.24,1);

  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

:root[data-theme="light"] {
  --bg: #faf9fc;
  --bg-2: #f1eef8;

  --border: rgba(20,15,35,0.09);
  --border-hover: rgba(20,15,35,0.18);

  --text: #17141f;
  --muted: #5f5a6e;
  --faint: #8a8496;

  --card-bg-1: rgba(20,15,35,.035);
  --card-bg-2: rgba(20,15,35,.012);
  --card-glow: rgba(20,15,35,.02);
  --gridline: rgba(20,15,35,0.035);
  --blob-op: 0.09;
  --blob-op-2: 0.06;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); max-width: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  transition: background .4s ease, color .4s ease;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, .display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.025em; }
img, video { max-width: 100%; display: block; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
@media (max-width: 860px) { .wrap { width: min(700px, calc(100% - 36px)); } }
@media (max-width: 480px) { .wrap { width: calc(100% - 30px); } }

/* =========================================================
   BACKGROUND — blurred blobs + faint grid, shared everywhere
========================================================= */
.background {
  position: fixed; inset: 0; z-index: -10; overflow: hidden;
  background: radial-gradient(circle at 50% -20%, rgba(111,85,255,0.10), transparent 45%), var(--bg);
}
.blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(100px); opacity: var(--blob-op); pointer-events: none; }
.blob-1 { background: #7255ff; top: -160px; left: -120px; animation: floatOne 18s ease-in-out infinite alternate; }
.blob-2 { background: #e94fd8; top: 30%; right: -180px; animation: floatTwo 22s ease-in-out infinite alternate; }
.blob-3 { background: #4c6fff; bottom: -180px; left: 20%; animation: floatThree 25s ease-in-out infinite alternate; }
.blob-4 { background: #b344ff; top: 65%; left: -220px; width: 300px; height: 300px; opacity: var(--blob-op-2); animation: floatFour 20s ease-in-out infinite alternate; }
@keyframes floatOne { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(180px,120px) scale(1.25); } }
@keyframes floatTwo { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-160px,160px) scale(1.15); } }
@keyframes floatThree { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(100px,-150px) scale(1.2); } }
@keyframes floatFour { 0% { transform: translate(0,0); } 100% { transform: translate(180px,-80px); } }
.background::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--gridline) 1px, transparent 1px), linear-gradient(90deg, var(--gridline) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  pointer-events: none;
}

/* =========================================================
   REVEAL ON SCROLL
========================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   NAV
========================================================= */
.nav {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-color: var(--border); }
.brand { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px; }
.brand .grad { background: linear-gradient(100deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.theme-toggle {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: background .25s ease, transform .15s ease, border-color .25s ease;
}
.theme-toggle:hover { border-color: var(--border-hover); }
.theme-toggle:active { transform: scale(0.9); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }

/* =========================================================
   SHARED — eyebrow / section label (same brand marks)
========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 15px 4px rgba(141,107,255,.55); }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .eyebrow { justify-content: center; }
.section-label { display: inline-block; position: relative; padding-bottom: 18px; font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: .02em; }
.section-label::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 62px; height: 3px; border-radius: 20px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 20px rgba(141,107,255,.25);
}
.section-sub { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 480px; margin-left: auto; margin-right: auto; }

.section { padding: 110px 0; position: relative; }
@media (max-width: 860px) { .section { padding: 88px 0; } }
@media (max-width: 480px) { .section { padding: 76px 0; } }

/* =========================================================
   BUTTONS
========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px;
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), box-shadow .35s ease, background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn-primary { border-color: transparent; color: #08080b; background: linear-gradient(90deg, var(--purple), var(--pink)); box-shadow: 0 20px 50px rgba(123,75,255,.22); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(123,75,255,.32); }
.btn-ghost { background: var(--card-bg-1); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.btn-dark { border: none; background: #08080b; color: #fff; box-shadow: 0 15px 40px rgba(0,0,0,.25); }
:root[data-theme="light"] .btn-dark { background: #17141f; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(0,0,0,.3); }
.btn:active { transform: scale(0.97); }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;
  padding-top: calc(90px + env(safe-area-inset-top, 0px));
}
.hero-media { position: absolute; inset: 0; z-index: 0; background: #050208; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; pointer-events: none; }
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-media .placeholder-plate {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(141,107,255,.32), transparent 50%),
    radial-gradient(circle at 82% 28%, rgba(232,79,216,.26), transparent 50%),
    radial-gradient(circle at 50% 88%, rgba(111,85,255,.22), transparent 55%),
    #08070d;
  background-size: 200% 200%;
  animation: driftPlate 20s ease-in-out infinite;
}
@keyframes driftPlate { 0%, 100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,3,10,.5) 0%, rgba(5,3,10,.72) 55%, rgba(5,3,10,.94) 100%); }

.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 0 24px; opacity: 0; transform: translateY(30px); animation: heroReveal 1s var(--ease) forwards; animation-delay: .15s; }
@keyframes heroReveal { to { opacity: 1; transform: translateY(0); } }
.hero-content .eyebrow { color: #cdbcff; }
/* The hero is always dark (video + overlay), so keep its text/buttons light in light mode too. */
.hero .btn-ghost { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.hero .btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.nav:not(.scrolled) .brand { color: #fff; }
.hero-content h1 { color: #fff; font-size: clamp(34px, 7vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; }
.hero-content h1 .grad { background: linear-gradient(100deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-content p.sub { color: rgba(255,255,255,.78); font-size: clamp(16px, 2.3vw, 18px); line-height: 1.7; max-width: 540px; margin: 22px auto 0; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.3); border-radius: 20px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue::after { content: ""; width: 4px; height: 8px; border-radius: 3px; background: rgba(255,255,255,.7); animation: cueMove 1.8s ease-in-out infinite; }
@keyframes cueMove { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .3; } }

/* =========================================================
   PORTFOLIO / 3D CAROUSEL
========================================================= */
.carousel-stage {
  position: relative; height: min(56vw, 420px); max-height: 460px; min-height: 300px;
  width: 100%; max-width: 100vw; overflow: hidden;
  perspective: 1400px; display: flex; align-items: center; justify-content: center;
  margin-top: 6px; touch-action: pan-y; cursor: grab;
}
.carousel-stage:active { cursor: grabbing; }
.carousel-track { position: relative; width: 230px; height: 82%; transform-style: preserve-3d; will-change: transform; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.carousel-track.no-transition { transition: none; }

.carousel-item {
  position: absolute; top: 0; left: 0; width: 230px; height: 100%;
  border-radius: var(--radius); overflow: hidden; backface-visibility: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
  border: 1px solid var(--border);
  transition: filter .4s ease, border-color .4s ease;
}
.carousel-item .plate { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; }
.carousel-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.carousel-item .plate span { position: relative; z-index: 1; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%); }
.carousel-item:not(.is-active) { filter: brightness(.42) saturate(.7); }
.carousel-item.is-active { filter: brightness(1) saturate(1); }

/* viewfinder corner marks on the active clip only */
.carousel-item.is-active::before {
  content: ""; position: absolute; inset: 9px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--purple), var(--purple)) left top / 26px 2px no-repeat,
    linear-gradient(var(--purple), var(--purple)) left top / 2px 26px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right top / 26px 2px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right top / 2px 26px no-repeat,
    linear-gradient(var(--purple), var(--purple)) left bottom / 26px 2px no-repeat,
    linear-gradient(var(--purple), var(--purple)) left bottom / 2px 26px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right bottom / 26px 2px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right bottom / 2px 26px no-repeat;
  filter: drop-shadow(0 0 5px rgba(141,107,255,.5));
}

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.carousel-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--card-bg-1); color: var(--text); display: flex; align-items: center; justify-content: center; transition: border-color .25s ease, transform .2s ease; }
.carousel-arrow:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-dots { display: flex; gap: 7px; }
.carousel-dots button { width: 6px; height: 6px; border-radius: 50%; background: var(--border); border: none; transition: all .25s ease; }
.carousel-dots button.active { width: 20px; background: linear-gradient(90deg, var(--purple), var(--pink)); }

@media (min-width: 620px) { .carousel-track, .carousel-item { width: 270px; } }
/* Desktop: bigger 9:16 cards, deeper perspective, glow behind the centre clip.
   script.js spaces the ring from the real card width, so side cards never overlap. */
@media (min-width: 1024px) {
  .carousel-stage { height: min(46vw, 620px, 72vh); min-height: 420px; max-height: 640px; perspective: 1800px; }
  .carousel-track { height: 88%; }
  .carousel-track, .carousel-item { width: 300px; }
  .carousel-item.is-active { box-shadow: 0 30px 90px rgba(0,0,0,.45), 0 0 80px rgba(141,107,255,.28); border-color: rgba(141,107,255,.45); }
}
.carousel-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(760px, 90vw); height: 80%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(141,107,255,.22), rgba(232,79,216,.08) 45%, transparent 70%);
  filter: blur(10px);
}
.carousel-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 2%; width: min(520px, 70vw); height: 40px;
  transform: translateX(-50%); pointer-events: none; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(141,107,255,.35), transparent 70%);
  filter: blur(14px);
}

.carousel-item.is-active { cursor: pointer; }
.carousel-item .plate { justify-content: space-between; gap: 10px; }
.play-badge {
  position: relative; z-index: 1; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.8); transition: opacity .35s ease, transform .35s var(--ease);
}
.play-badge svg { width: 14px; height: 14px; margin-left: 2px; }
.carousel-item.is-active .play-badge { opacity: 1; transform: scale(1); }
.carousel-item.is-active:hover .play-badge { background: linear-gradient(90deg, var(--purple), var(--pink)); border-color: transparent; }

.carousel-hint i { margin-right: 6px; color: var(--purple); }
.carousel-hint { margin-top: 18px; text-align: center; color: var(--faint); font-size: 12.5px; letter-spacing: .02em; }

.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; }

/* =========================================================
   WHAT I CREATE — reuses the pricing card system
========================================================= */
.create-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .create-grid { grid-template-columns: repeat(4, 1fr); } }

.create-card {
  position: relative;
  padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--card-bg-1), var(--card-bg-2));
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform .45s var(--ease), border-color .35s ease, box-shadow .45s var(--ease);
}
.create-card:hover { transform: translateY(-8px); border-color: var(--border-hover); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.create-card .card-icon {
  width: 42px; height: 42px; border-radius: 13px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 10px 26px rgba(141,107,255,.3);
  transition: transform .45s var(--ease);
}
.create-card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.create-card h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 7px; }
.create-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.create-card.more { display: flex; align-items: center; justify-content: center; text-align: center; background: transparent; border-style: dashed; }
.create-card.more span { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--muted); font-size: 14px; }

/* =========================================================
   HOW IT WORKS — grid steps like the pricing site
========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 38px; max-width: 480px; margin: 0 auto; } }
.step-num i {
  /* Taller box than the glyph so the gradient (clipped to the text box) covers the whole icon. */
  display: inline-block; font-size: 17px; line-height: 1.5; padding: 0 2px; letter-spacing: 0;
  background: linear-gradient(135deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-num { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; margin-bottom: 16px; border-bottom: 1px solid var(--border); color: var(--purple); font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.step h3 { margin-bottom: 10px; font-size: 19px; font-weight: 600; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* =========================================================
   ABOUT + TOOLS
========================================================= */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; max-width: 520px; } }

.about-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 25% 20%, rgba(141,107,255,.55), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(232,79,216,.45), transparent 55%),
    #120e1f;
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
}
.about-visual { position: relative; }
@media (max-width: 860px) { .about-visual { max-width: 340px; width: 100%; margin: 0 auto; } }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: 1; }
.about-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(64px, 12vw, 110px);
  letter-spacing: -0.04em; color: rgba(255,255,255,.9);
}
/* same viewfinder corners as the active carousel clip */
.about-photo::after {
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--purple), var(--purple)) left top / 30px 2px no-repeat,
    linear-gradient(var(--purple), var(--purple)) left top / 2px 30px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right top / 30px 2px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right top / 2px 30px no-repeat,
    linear-gradient(var(--purple), var(--purple)) left bottom / 30px 2px no-repeat,
    linear-gradient(var(--purple), var(--purple)) left bottom / 2px 30px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right bottom / 30px 2px no-repeat,
    linear-gradient(var(--pink), var(--pink)) right bottom / 2px 30px no-repeat;
}

.about-copy h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; line-height: 1.08; margin-bottom: 20px; }
.about-copy p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.about-copy p + p { margin-top: 14px; }

.tools { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.tools-label i { margin-right: 6px; color: var(--purple); }
.tools-label { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.tools-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tools-list li {
  padding: 8px 14px; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500;
  background: var(--card-bg-1); border: 1px solid var(--border);
  transition: border-color .25s ease, color .25s ease;
}
.tools-list li:hover { border-color: var(--border-hover); }

/* =========================================================
   CLIP PLAYER (LIGHTBOX)
========================================================= */
body.lightbox-lock { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,2,8,.86); backdrop-filter: blur(14px); opacity: 0; transition: opacity .3s ease; }
.lightbox-panel {
  position: relative; display: flex; align-items: center; gap: 36px;
  max-height: 100%;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.lightbox.open .lightbox-backdrop { opacity: 1; }
.lightbox.open .lightbox-panel { opacity: 1; transform: none; }

.lightbox-media {
  position: relative; height: min(80vh, 720px); aspect-ratio: 9 / 16; max-width: calc(100vw - 40px);
  border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.lightbox-media video { width: 100%; height: 100%; object-fit: contain; }
.lightbox.landscape .lightbox-panel { flex-direction: column; gap: 24px; }
.lightbox.landscape .lightbox-media { height: auto; width: min(960px, calc(100vw - 140px), calc((100vh - 220px) * 16 / 9)); aspect-ratio: 16 / 9; }
.lightbox.landscape .lightbox-info { max-width: none; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; text-align: center; }
.lightbox.landscape .lightbox-label, .lightbox.landscape .lightbox-info p { margin-bottom: 0; }
.lightbox-sound, .lightbox-close {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px);
  transition: background .2s ease, transform .15s ease;
}
.lightbox-sound:hover, .lightbox-close:hover { background: rgba(255,255,255,.18); }
.lightbox-sound:active, .lightbox-close:active { transform: scale(.92); }
.lightbox-sound svg, .lightbox-close svg { width: 17px; height: 17px; }
.lightbox-sound { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.lightbox-sound .off { display: none; }
.lightbox-sound.muted .on { display: none; }
.lightbox-sound.muted .off { display: block; }
.lightbox-close { position: absolute; top: -8px; right: -56px; z-index: 3; }

.lightbox-info { max-width: 280px; color: #fff; }
.lightbox-label { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.lightbox-info p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.lightbox-info em { font-style: normal; color: #fff; }

@media (max-width: 760px) {
  .lightbox { padding: 0; }
  .lightbox-panel { width: 100%; height: 100%; flex-direction: column; justify-content: center; gap: 0; }
  .lightbox-media { height: auto; width: 100%; max-width: none; flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border-radius: 0; border: 0; }
  .lightbox.landscape .lightbox-media { width: 100%; aspect-ratio: auto; }
  .lightbox.landscape .lightbox-info { display: block; }
  .lightbox.landscape .lightbox-label { margin-bottom: 4px; }
  .lightbox.landscape .lightbox-info p { margin-bottom: 16px; }
  .lightbox-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
  .lightbox-info {
    max-width: none; width: 100%; text-align: center;
    padding: 20px 20px calc(22px + env(safe-area-inset-bottom, 0px));
    background: #08070d;
  }
  .lightbox-label { font-size: 20px; margin-bottom: 4px; }
  .lightbox-info p { font-size: 14px; margin-bottom: 16px; }
  .lightbox-info .btn { width: 100%; }
}

/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
  position: relative; margin: 20px auto 40px;
  width: min(1100px, calc(100% - 48px));
  padding: 96px 30px; text-align: center; border-radius: 28px; overflow: hidden;
  background: linear-gradient(110deg, #4220c7 0%, #7424d6 38%, #c62b9e 72%, #ef2874 100%);
  box-shadow: 0 35px 100px rgba(112,50,220,.2);
}
@media (max-width: 860px) { .final-cta { width: calc(100% - 36px); padding: 84px 22px; } }
@media (max-width: 480px) { .final-cta { width: calc(100% - 30px); padding: 72px 20px; border-radius: 22px; } }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 30%), radial-gradient(circle at 85% 80%, rgba(255,255,255,.12), transparent 28%); pointer-events: none; }
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { max-width: 720px; margin: 0 auto 18px; font-size: clamp(32px, 6vw, 52px); line-height: 1.06; color: #fff; }
.final-cta p { margin-bottom: 34px; color: rgba(255,255,255,.8); font-size: 16px; }

/* =========================================================
   FOOTER
========================================================= */
footer { padding: 45px 0 calc(45px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; flex-wrap: wrap; }
.footer-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; }
.footer-tag { color: var(--faint); font-size: 12.5px; margin-top: 5px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a i { width: 16px; text-align: center; font-size: 14px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--muted); font-size: 13px; transition: color .25s ease, transform .25s ease; }
/* Phones: one link per line */
@media (max-width: 860px) {
  .footer-links { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links a { font-size: 14px; }
  .footer-links a:hover { transform: translateX(3px); }
}
.footer-links a:hover { color: var(--text); transform: translateY(-2px); }
.footer-copy { width: 100%; margin-top: 5px; color: var(--faint); font-size: 12px; }
@media (max-width: 860px) { .footer-inner { flex-direction: column; align-items: flex-start; } }

/* =========================================================
   GLASS — frosted panel with a thin gradient border
========================================================= */
:root { --glass-bg: rgba(20,16,32,.55); --glass-line: rgba(255,255,255,.14); --glass-shadow: 0 18px 50px rgba(0,0,0,.35); }
:root[data-theme="light"] { --glass-bg: rgba(255,255,255,.72); --glass-line: rgba(20,15,35,.1); --glass-shadow: 0 18px 50px rgba(60,40,120,.14); }
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(141,107,255,.7), var(--glass-line) 35%, var(--glass-line) 65%, rgba(232,79,216,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* =========================================================
   GRAIN + CURSOR GLOW
========================================================= */
.background::before {
  content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] .background::before { opacity: .045; }
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: -5; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(141,107,255,.16), rgba(232,79,216,.06) 40%, transparent 68%);
  opacity: 0; transition: opacity .6s ease; will-change: transform;
}
.cursor-glow.on { opacity: 1; }
:root[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(141,107,255,.12), rgba(232,79,216,.05) 40%, transparent 68%); }

/* =========================================================
   FLOATING ELEMENTS (hero icons, fact cards, stat cards)
   .float is moved by script.js (scroll + mouse parallax);
   .float-inner / the card itself does the gentle bob.
========================================================= */
.float { position: absolute; will-change: translate; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-floats .float-inner { display: inline-flex; align-items: center; justify-content: center; animation: bob 6s ease-in-out infinite; }
.app-icon { width: 58px; height: 58px; border-radius: 18px; font-size: 24px; color: #fff; }
.tool-pill { gap: 8px; padding: 10px 16px; border-radius: 100px; font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.tool-pill i { color: #cdbcff; }
/* the hero is always dark, so keep its glass dark in light mode too */
.hero .glass { --glass-bg: rgba(20,16,32,.5); --glass-line: rgba(255,255,255,.14); --glass-shadow: 0 18px 50px rgba(0,0,0,.35); }
.f-tiktok { top: 20%; left: 8%; }
.f-insta  { top: 26%; right: 9%; }  .f-insta .float-inner { animation-delay: -1.5s; animation-duration: 7s; }
.f-yt     { bottom: 22%; left: 12%; } .f-yt .float-inner { animation-delay: -3s; }
.f-fb     { bottom: 28%; right: 14%; } .f-fb .float-inner { animation-delay: -2.2s; animation-duration: 7.5s; }
.f-kling  { top: 13%; right: 24%; }  .f-kling .float-inner { animation-delay: -4s; animation-duration: 8s; }
.f-veo    { top: 52%; left: 4%; }    .f-veo .float-inner { animation-delay: -2.6s; animation-duration: 6.5s; }
.f-eleven { bottom: 12%; right: 30%; } .f-eleven .float-inner { animation-delay: -5s; animation-duration: 7.2s; }
.f-insta .app-icon i { background: linear-gradient(45deg, #fdc468, #e1306c 45%, #a445ff); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; line-height: 1.3; padding: 0 1px; }
.f-yt .app-icon i { color: #ff3b3b; }
.f-fb .app-icon i { color: #4e8cff; }
@media (max-width: 1180px) { .f-veo, .f-eleven { display: none; } }
@media (max-width: 860px) {
  .app-icon { width: 46px; height: 46px; border-radius: 14px; font-size: 19px; }
  .f-tiktok { top: 15%; left: 6%; }
  .f-insta  { top: 17%; right: 6%; }
  .f-yt     { bottom: 10%; left: 9%; }
  .f-fb     { bottom: 12%; right: 9%; }
  .f-kling  { display: none; }
}
@media (max-width: 380px) { .f-yt, .f-fb { display: none; } }

/* fact cards around the About portrait */
.fact-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; z-index: 3; animation: bob 7s ease-in-out infinite; }
.fact-card strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; white-space: nowrap; }
.fact-card span:not(.fact-icon) { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.fact-icon { width: 36px; height: 36px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--purple), var(--pink)); }
.fc-1 { top: 9%; left: -12%; }
.fc-2 { top: 34%; right: -9%; animation-delay: -2s; animation-duration: 8s; }
.fc-3 { bottom: 26%; left: -16%; animation-delay: -4s; }
.fc-4 { bottom: 5%; right: -10%; animation-delay: -1s; animation-duration: 7.6s; }
@media (max-width: 1100px) { .fc-1 { left: -6%; } .fc-2 { right: -4%; } .fc-3 { left: -8%; } .fc-4 { right: -5%; } }
@media (max-width: 860px) {
  .fact-card { padding: 9px 12px 9px 9px; gap: 10px; }
  .fact-card strong { font-size: 13.5px; }
  .fact-icon { width: 30px; height: 30px; font-size: 12px; border-radius: 9px; }
  .fc-1 { top: 6%; left: -4%; }
  .fc-4 { bottom: 6%; right: -4%; }
  .fc-2, .fc-3 { display: none; }
}

/* =========================================================
   BUILT TO PERFORM — phone mock + example stat cards
========================================================= */
.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
@media (max-width: 860px) { .results { grid-template-columns: 1fr; gap: 56px; } }
.results-copy h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.08; margin-bottom: 18px; }
.results-copy h2 .grad { background: linear-gradient(100deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.results-copy > p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 460px; }
.results-points { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.results-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.results-points li > i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--purple); background: rgba(141,107,255,.12); margin-top: 2px; }
.results-points strong { display: block; margin-bottom: 2px; color: var(--text); font-weight: 600; }

.results-visual { position: relative; display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
/* ---------- platform showcase: swipeable phones (coverflow) ---------- */
.results-visual { --pw: min(270px, 64vw); }
.pf-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; position: relative; z-index: 6; }
.pf-tab {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted);
  background: var(--card-bg-1); border: 1px solid var(--border);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.pf-tab:hover { color: var(--text); border-color: var(--border-hover); }
.pf-tab.active { color: #08080b; border-color: transparent; background: linear-gradient(90deg, var(--purple), var(--pink)); }
.pf-stage {
  position: relative; width: 100%; height: calc(var(--pw) * 2.056 + 4px);
  perspective: 1400px; touch-action: pan-y; cursor: grab; outline: none;
}
.pf-stage:active { cursor: grabbing; }
.pf-slide {
  position: absolute; top: 0; left: 50%; width: var(--pw); margin-left: calc(var(--pw) / -2);
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .5s ease, filter .5s ease;
  will-change: transform;
}
.pf-slide:not(.is-active) { filter: brightness(.5) saturate(.8); cursor: pointer; }
.pf-slide:not(.is-active) .stat-card { opacity: 0; pointer-events: none; }
.pf-slide .stat-card { transition: opacity .4s ease; }
.pf-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; position: relative; z-index: 6; }

.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 18.5;
  padding: 9px; border-radius: 40px;
  background: linear-gradient(160deg, #2a2340, #0c0a14);
  box-shadow: 0 40px 100px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.1);
}
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 78px; height: 21px; border-radius: 20px; background: #05040a; z-index: 5; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, #8d6bff, #2c1f5c); color: #fff; font-family: 'Inter', sans-serif; }
.phone-screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 55%, rgba(0,0,0,.75)); }
.example-badge {
  position: absolute; top: 76px; left: 12px; z-index: 4;
  padding: 3px 9px; border-radius: 100px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); color: #fff;
}
.phone-rail { position: absolute; right: 9px; bottom: 92px; z-index: 2; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.phone-rail span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 19px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.phone-rail b { font-size: 10px; font-weight: 600; }
.phone-rail .rail-like i { color: #ff3b5c; }
.phone-caption { position: absolute; left: 12px; right: 58px; bottom: 16px; z-index: 2; font-size: 12px; line-height: 1.45; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.phone-caption strong { font-size: 13px; }
.phone-caption p { margin: 4px 0 7px; color: rgba(255,255,255,.92); }
.phone-sound { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; color: rgba(255,255,255,.85); }

/* TikTok */
.tt-top { position: absolute; top: 44px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 13px; color: rgba(255,255,255,.7); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.tt-top b { color: #fff; font-weight: 700; position: relative; }
.tt-top b::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -5px; height: 2px; border-radius: 2px; background: #fff; }
.tt-top i { position: absolute; right: 14px; color: #fff; font-size: 14px; }
.tt-avatar { width: 38px; height: 38px; border-radius: 50%; background: #3a3350; border: 2px solid #fff; justify-content: center; font-size: 15px !important; margin-bottom: 4px; }

/* Instagram Reels */
.rl-top { position: absolute; top: 44px; left: 14px; right: 14px; z-index: 3; display: flex; justify-content: space-between; align-items: center; font-size: 17px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.rl-top b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.rl-rail { gap: 16px; bottom: 70px; }
.rl-rail span { font-size: 20px; }
.rl-caption { right: 52px; }
.rl-user { display: flex; align-items: center; gap: 8px; }
.rl-avatar { width: 26px; height: 26px; border-radius: 50%; background: #3a3350; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; box-shadow: 0 0 0 2px #e1306c; }
.rl-follow { padding: 3px 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; font-size: 11px; font-weight: 600; }

/* YouTube (upright watch page) */
.yt-screen { background: #0f0f0f; padding-top: 38px; display: flex; flex-direction: column; }
.yt-player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #3b2a6b, #15102a); overflow: hidden; flex: none; }
.yt-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-player .example-badge { top: 8px; left: 8px; }
.yt-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.25); }
.yt-progress span { display: block; width: 38%; height: 100%; background: #ff0033; }
.yt-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; min-height: 0; overflow: hidden; }
.yt-body h4 { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.yt-meta { font-size: 10.5px; color: #aaa; margin-top: -4px; }
.yt-meta b { color: #fff; font-weight: 600; }
.yt-channel { display: flex; align-items: center; gap: 8px; }
.yt-channel div { flex: 1; min-width: 0; line-height: 1.2; }
.yt-channel strong { display: block; font-size: 12px; }
.yt-channel small { font-size: 10px; color: #aaa; }
.yt-avatar, .x-avatar { width: 28px; height: 28px; border-radius: 50%; background: #3a3350; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex: none; }
.yt-sub { padding: 6px 12px; border-radius: 100px; background: #f1f1f1; color: #0f0f0f; font-size: 11px; font-weight: 700; }
.yt-actions { display: flex; gap: 6px; overflow: hidden; }
.yt-actions span { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 100px; background: #272727; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.yt-sep { width: 1px; height: 12px; background: #555; display: inline-block; }
.yt-comments { padding: 8px 10px; border-radius: 10px; background: #272727; font-size: 11px; color: #aaa; }
.yt-comments b { color: #fff; margin-right: 4px; }
.yt-comments p { margin-top: 5px; color: #f1f1f1; display: flex; align-items: center; gap: 6px; }
.yt-dot { width: 16px; height: 16px; border-radius: 50%; background: #6f55ff; flex: none; }
.yt-next { display: flex; gap: 8px; }
.yt-thumb { width: 46%; aspect-ratio: 16 / 9; border-radius: 6px; background: #272727; flex: none; }
.yt-next div { flex: 1; display: flex; flex-direction: column; gap: 5px; padding-top: 2px; }
.yt-next i { display: block; height: 7px; border-radius: 4px; background: #272727; }
.yt-next i + i { width: 60%; }

/* X */
.x-screen { background: #000; padding-top: 38px; }
.x-top { display: flex; align-items: center; gap: 18px; padding: 8px 14px; font-size: 14px; border-bottom: 1px solid #2f3336; }
.x-top b { font-weight: 700; }
.x-post { padding: 10px 12px; display: flex; flex-direction: column; gap: 9px; }
.x-head { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.x-head div { flex: 1; line-height: 1.25; }
.x-head strong { display: block; font-size: 12.5px; }
.x-head strong i { color: #1d9bf0; font-size: 11px; }
.x-head small { color: #71767b; font-size: 11px; }
.x-head > i { color: #71767b; }
.x-avatar { width: 32px; height: 32px; }
.x-avatar.sm { width: 22px; height: 22px; font-size: 9px; }
.x-text { font-size: 12.5px; line-height: 1.45; }
.x-media { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; border: 1px solid #2f3336; overflow: hidden; background: linear-gradient(135deg, #3b2a6b, #15102a); }
.x-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-media .example-badge { top: 8px; left: 8px; }
.x-time { font-size: 10.5px; color: #71767b; }
.x-time b { color: #e7e9ea; }
.x-counts { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid #2f3336; border-bottom: 1px solid #2f3336; font-size: 10.5px; color: #71767b; }
.x-counts b { color: #e7e9ea; }
.x-actions { display: flex; justify-content: space-between; padding: 0 6px; color: #71767b; font-size: 13px; }
.x-reply { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid #2f3336; font-size: 11.5px; color: #71767b; }

/* example stat cards, positioned around the centre phone */
.stat-card { position: absolute; z-index: 7; padding: 12px 14px; min-width: 146px; animation: bob 7s ease-in-out infinite; }
.stat-label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.stat-label i { color: var(--purple); }
.stat-value { margin-top: 4px; font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-value > i { font-size: 16px; color: var(--green); margin-right: 2px; }
.sparkline { display: block; width: 140px; height: 32px; margin-top: 6px; overflow: visible; }
.stat-bar { margin-top: 10px; height: 6px; border-radius: 6px; background: var(--border); overflow: hidden; }
.stat-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--purple), var(--pink)); transition: width 1.4s var(--ease); }
.stat-bar.on span { width: var(--w); }
.sc-a { top: -3%; right: -46%; }
.sc-b { top: 44%; left: -44%; animation-delay: -2.5s; animation-duration: 8s; }
.sc-c { bottom: 9%; right: -36%; animation-delay: -4.5s; }
@media (max-width: 1100px) { .sc-a { right: -30%; } .sc-b { left: -28%; } .sc-c { right: -22%; } }
@media (max-width: 860px) {
  .results-visual { --pw: min(236px, 62vw); }
  .stat-card { padding: 9px 11px; min-width: 0; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 18px; }
  .sparkline { width: 100px; height: 24px; }
  .sc-a { top: 6%; right: -20%; }
  .sc-b { top: 44%; left: -22%; }
  .sc-c { bottom: 8%; right: -18%; }
}
.results-note { margin-top: 26px; font-size: 12px; color: var(--faint); text-align: center; max-width: 320px; }

/* =========================================================
   AI-GENERATED NOTICES
========================================================= */
.ai-note {
  position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 2;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 16px; border-radius: 100px;
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85);
}
.ai-note i { color: #cdbcff; }
@media (max-width: 420px) { .ai-note { font-size: 11px; padding: 8px 12px; } }
.hint-sep { margin: 0 4px; opacity: .6; }
.hint-ai { color: var(--muted); }
@media (max-width: 480px) { .hint-sep { display: none; } .hint-ai { display: block; margin-top: 4px; } }
.lightbox-ai { display: flex; align-items: center; gap: 8px; margin: -10px 0 20px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.lightbox-ai i { color: #cdbcff; }
@media (max-width: 760px) { .lightbox-ai { justify-content: center; margin: -6px 0 14px; } }
.footer-ai { width: 100%; display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.footer-ai i { color: var(--purple); margin-top: 3px; }
/* carousel card with no clip uploaded yet: no play button */
.carousel-item.no-clip .play-badge { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* Things that fade in via an animation must still be visible when animations are off. */
  .hero-content, .price-hero .hero-copy, .portrait, .portrait-wrap .fact-card, .reveal { opacity: 1 !important; transform: none !important; }
}
