/* LoveStock — Landing Page */

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

html { scroll-behavior: smooth; }
body {
  background: var(--ls-dark-bg);
  color: var(--ls-text-on-dark);
  font-family: var(--ls-font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* Brand gradient text */
.grad-text {
  background: var(--ls-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-video-stack {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-video-stack .layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 2.8s cubic-bezier(0.4,0,0.2,1);
  transform: scale(1.06);
  animation: kenburns 14s ease-in-out infinite alternate;
  filter: brightness(0.68) saturate(1.15) contrast(1.05);
}
.hero-video-stack .layer.active { opacity: 1; }

@keyframes kenburns {
  0%   { transform: scale(1.05) translate(0,0); }
  100% { transform: scale(1.14) translate(-2%, -1%); }
}

.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, transparent 0%, rgba(14,5,31,0.55) 60%, rgba(14,5,31,0.95) 100%),
    linear-gradient(180deg, rgba(14,5,31,0.30) 0%, rgba(14,5,31,0) 30%, rgba(14,5,31,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  opacity: calc(0.55 * var(--glow, 1));
}
.hero-glow.pink   { width: 620px; height: 620px; background: #FC0273; left: -120px; top: 40%; animation: float-a 10s ease-in-out infinite alternate; }
.hero-glow.violet { width: 480px; height: 480px; background: #CF02FB; right: -80px; top: 10%; animation: float-b 12s ease-in-out infinite alternate; }
.hero-glow.purple { width: 380px; height: 380px; background: #8700D6; right: 20%; bottom: -120px; animation: float-a 14s ease-in-out infinite alternate-reverse; }

@keyframes float-a {
  0% { transform: translate(0,0); } 100% { transform: translate(40px, -30px); }
}
@keyframes float-b {
  0% { transform: translate(0,0); } 100% { transform: translate(-30px, 40px); }
}

/* Film grain overlay */
.hero-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* LIVE record chip */
.live-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.12em; font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FC0273; box-shadow: 0 0 12px #FC0273;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Timestamp / film markers */
.film-marker {
  position: absolute; z-index: 3; color: rgba(255,255,255,0.7);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.film-marker .bar { display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 8px; opacity: 0.6; }

.hero-content {
  position: relative; z-index: 4;
  max-width: 1360px; margin: 0 auto;
  padding: 120px 32px 80px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; padding-top: 140px; }
}

.hero-headline {
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-headline .word-cycle {
  position: relative;
  display: inline-block;
  overflow: visible;
  vertical-align: baseline;
  min-width: 6ch;
  height: 1em;
}
.hero-headline .word-cycle .word {
  display: inline-block;
  padding-bottom: 0.12em;
  background: var(--ls-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: word-swap 13.5s cubic-bezier(0.4,0,0.2,1) infinite;
  will-change: transform, opacity;
}
.hero-headline .word-cycle .w2 { animation-delay: -9s; }
.hero-headline .word-cycle .w3 { animation-delay: -4.5s; }

@keyframes word-swap {
  0%    { transform: translateY(100%); opacity: 0; }
  5%    { transform: translateY(0);    opacity: 1; }
  28%   { transform: translateY(0);    opacity: 1; }
  33%   { transform: translateY(-100%);opacity: 0; }
  100%  { transform: translateY(-100%);opacity: 0; }
}

.hero-sub {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn { cursor: pointer; border: none; font-family: inherit; font-weight: 600; transition: all 300ms var(--ls-ease-out); text-decoration: none; }
.btn-primary {
  padding: 16px 28px; border-radius: 999px;
  background: var(--ls-brand-gradient);
  color: #fff;
  font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 40px rgba(252,2,115,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(252,2,115,0.55); }

.btn-ghost {
  padding: 16px 24px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 16px;
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); }

/* Right column — phone + model */
.hero-right {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 560px;
}

.hero-phone-wrap {
  position: relative;
  transform: rotate(-6deg);
  animation: phone-float 6s ease-in-out infinite alternate;
}
@keyframes phone-float {
  0%   { transform: rotate(-6deg) translateY(0); }
  100% { transform: rotate(-4deg) translateY(-12px); }
}

.hero-phone-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(252,2,115,0.55), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* Model hand overlay — SVG hand holding phone-ish framing */
.hero-hand {
  position: absolute;
  right: -120px; bottom: -60px;
  width: 340px; height: 480px;
  z-index: -2;
  opacity: 0.85;
  pointer-events: none;
}

/* Marquee ticker */
.ticker {
  position: relative; z-index: 4;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.ticker-track {
  display: inline-flex; gap: 48px; padding-left: 48px;
  animation: ticker-scroll 80s linear infinite;
  will-change: transform;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.ticker-heart { color: #FC0273; }

/* ——— How it works ——— */
.howto {
  position: relative;
  padding: 120px 32px 160px;
  background: linear-gradient(180deg, var(--ls-dark-bg) 0%, #140628 50%, var(--ls-dark-bg) 100%);
}
.section-kicker {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ls-brand-pink); font-weight: 600;
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  max-width: 900px; margin: 0 auto 64px;
  text-align: center;
  text-wrap: balance;
}
.section-wrap { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 80px; }

.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 900px) { .howto-steps { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  background: var(--ls-dark-card);
  border: 1px solid var(--ls-dark-border);
  border-radius: 24px;
  padding: 32px;
  min-height: 440px;
  overflow: hidden;
  transition: transform 500ms var(--ls-ease-out), border-color 300ms;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.step-card:hover { transform: translateY(-8px); border-color: rgba(252,2,115,0.35); }
.step-num {
  font-size: 96px; font-weight: 700; line-height: 1;
  letter-spacing: -0.05em;
  background: var(--ls-brand-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 12px;
}
.step-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.step-desc { font-size: 15px; line-height: 1.55; color: var(--ls-text-on-dark-muted); margin-bottom: 24px; }

.step-visual {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: #241834;
  /* Pin the visual to the bottom of the card so all three line up regardless of desc length */
  margin-top: auto;
}

/* Mini swipe cards inside step 1 */
.mini-stack { position: absolute; inset: 0; perspective: 1200px; }
.mini-card {
  position: absolute; top: 50%; left: 50%;
  width: 160px; height: 180px;
  border-radius: 14px;
  background-size: cover; background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transform-origin: 50% 100%;
}
.mini-card.c1 { animation: card-swipe-1 6s cubic-bezier(0.4,0,0.2,1) infinite; z-index: 3; }
.mini-card.c2 { animation: card-swipe-2 6s cubic-bezier(0.4,0,0.2,1) infinite; z-index: 2; }
.mini-card.c3 { animation: card-swipe-3 6s cubic-bezier(0.4,0,0.2,1) infinite; z-index: 1; }

@keyframes card-swipe-1 {
  0%  { transform: translate(-50%, -50%) rotate(-4deg); opacity: 1; }
  25% { transform: translate(calc(-50% + 120px), -50%) rotate(15deg); opacity: 0; }
  26%, 100% { transform: translate(-50%, -50%) rotate(-4deg); opacity: 0; }
}
@keyframes card-swipe-2 {
  0%, 25% { transform: translate(-50%, calc(-50% - 6px)) rotate(2deg) scale(0.97); }
  50%     { transform: translate(calc(-50% - 120px), -50%) rotate(-15deg); opacity: 0; }
  51%, 100% { opacity: 0; }
}
@keyframes card-swipe-3 {
  0%, 50% { transform: translate(-50%, calc(-50% - 12px)) rotate(-3deg) scale(0.94); opacity: 1; }
  75%     { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
  100%    { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Step 2 — match confetti */
.match-burst {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  animation: heart-pop 4s ease-in-out infinite;
}
@keyframes heart-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.confetti {
  position: absolute; width: 8px; height: 8px;
  border-radius: 2px;
  animation: confetti-fall 4s linear infinite;
}

/* Step 3 — chart */
.chart-box { position: absolute; inset: 16px; }

/* ——— Features ——— */
.features {
  padding: 140px 32px;
  background: var(--ls-dark-bg);
  position: relative;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
  background: var(--ls-dark-card);
  border: 1px solid var(--ls-dark-border);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 300ms, transform 400ms var(--ls-ease-out);
}
.feature-card:hover { border-color: rgba(252,2,115,0.35); transform: translateY(-4px); }

.feature-card.big { grid-column: span 3; grid-row: span 2; }
.feature-card.med { grid-column: span 3; grid-row: span 1; }
.feature-card.sm  { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .feature-card.big, .feature-card.med, .feature-card.sm { grid-column: span 2; grid-row: span 1; min-height: 220px; }
}

.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(252,2,115,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--ls-brand-pink);
}
.feature-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--ls-text-on-dark-muted); line-height: 1.55; }

/* ——— Swipe demo section ——— */
.demo {
  padding: 120px 32px 160px;
  background: linear-gradient(180deg, var(--ls-dark-bg) 0%, #0a0415 100%);
  position: relative;
  overflow: hidden;
}
.demo-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .demo-inner { grid-template-columns: 1fr; gap: 48px; } }

.demo-copy h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 20px;
}
.demo-copy p {
  font-size: 17px; line-height: 1.55;
  color: var(--ls-text-on-dark-muted);
  margin-bottom: 32px;
  max-width: 460px;
}
.demo-hints {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--ls-dark-border);
}
.demo-hint { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ls-text-on-dark-muted); }
.demo-hint .key {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ls-dark-card); border: 1px solid var(--ls-dark-border);
  font-weight: 700;
}

/* ——— Footer CTA ——— */
.cta-footer {
  position: relative;
  padding: 160px 32px 80px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(252,2,115,0.35), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(135,0,214,0.35), transparent 50%),
    #0a0415;
}
.cta-big {
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 0.95;
  margin-bottom: 24px;
  text-wrap: balance;
}
.cta-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 560px; margin: 0 auto 48px;
}
.store-badges { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: border-color 300ms, transform 300ms;
}
.store-badge:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.store-badge .sb-small { font-size: 10px; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.1em; display: block; line-height: 1.1; }
.store-badge .sb-big { font-size: 18px; font-weight: 600; line-height: 1.1; }

.foot-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.foot-links { display: flex; gap: 24px; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links a:hover { color: #fff; }

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--ls-ease-out), transform 800ms var(--ls-ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ——— Tweaks panel ——— */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 320px;
  background: rgba(20, 10, 40, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 20px;
  z-index: 200;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  font-size: 14px;
}
.tweaks-panel h3 { font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.tweaks-panel label { display: block; margin-bottom: 16px; }
.tweaks-panel label > span.lbl { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.tweak-seg { display: flex; gap: 4px; background: rgba(255,255,255,0.05); padding: 4px; border-radius: 10px; }
.tweak-seg button {
  flex: 1; padding: 8px 10px; border: none; border-radius: 7px; background: transparent; color: rgba(255,255,255,0.7);
  font-family: inherit; font-size: 13px; cursor: pointer; font-weight: 500;
  transition: background 200ms, color 200ms;
}
.tweak-seg button.on { background: var(--ls-brand-pink); color: #fff; }
.tweaks-panel input[type=range] { width: 100%; accent-color: var(--ls-brand-pink); }

/* Neon mode overrides */
body.mode-neon { background: #08031a; }
body.mode-neon .hero-video-stack .layer { filter: brightness(0.55) saturate(1.8) contrast(1.2) hue-rotate(-10deg); }
body.mode-neon .hero-vignette { background:
  radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(8,3,26,0.35) 50%, rgba(8,3,26,0.85) 100%);
}
body.mode-neon .btn-primary { box-shadow: 0 0 40px rgba(252,2,115,0.6), 0 0 80px rgba(207,2,251,0.4); }
body.mode-neon .hero-glow { opacity: calc(0.95 * var(--glow, 1)); }

/* ——— The Reel ——— */
.reel {
  position: relative;
  padding: 120px 32px 100px;
  background: linear-gradient(180deg, var(--ls-dark-bg) 0%, #0c0420 100%);
}
.reel .section-wrap { max-width: 1200px; }

.reel-player {
  position: relative;
  margin: 64px auto 0;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 60px 140px rgba(252,2,115,0.25),
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  isolation: isolate;
}

.reel-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #000;
  cursor: pointer;
  display: block;
}

/* Custom subtitle rendering — pure typography, matches the .reel-meta look
   (monospace, uppercase, letter-spaced, no chrome). */
.reel-subtitle {
  position: absolute;
  left: 0; right: 0;
  bottom: 76px;
  z-index: 5;
  display: flex; justify-content: center;
  padding: 0 48px;
  pointer-events: none;
}
.reel-subtitle-inner {
  max-width: 880px;
  color: #fff;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  opacity: 0.92;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 2px 14px rgba(0, 0, 0, 0.55);
  animation: reel-sub-in 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes reel-sub-in {
  0%   { opacity: 0;    transform: translateY(4px); filter: blur(2px); }
  100% { opacity: 0.92; transform: translateY(0);   filter: blur(0); }
}
.reel-scene {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1100ms cubic-bezier(0.4,0,0.2,1);
  transform: scale(1.05);
  animation: reel-kenburns 8s ease-in-out infinite alternate;
  filter: brightness(0.78) saturate(1.1) contrast(1.04);
}
.reel-scene.on { opacity: 1; }
@keyframes reel-kenburns {
  0%   { transform: scale(1.04) translate(0,0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

.reel-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, transparent 0%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
  z-index: 2;
}
.reel-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

.reel-top {
  position: absolute; top: 20px; left: 20px; right: 20px;
  z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.reel-rec {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-weight: 700;
}
.reel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #FC0273; box-shadow: 0 0 12px #FC0273;
  animation: blink 1.4s ease-in-out infinite;
}
.reel-meta { opacity: 0.75; }

.reel-caption {
  position: absolute; left: 0; right: 0; bottom: 80px;
  z-index: 5;
  display: flex; justify-content: center;
  padding: 0 32px;
  pointer-events: none;
}
.reel-caption-inner {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  max-width: 720px;
  text-wrap: balance;
  animation: cap-in 600ms cubic-bezier(0.4,0,0.2,1);
}
@keyframes cap-in {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.reel-caption-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--ls-brand-pink);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(252,2,115,0.18);
  flex-shrink: 0;
}

.reel-playbtn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 6;
  width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(252,2,115,0.92);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(252,2,115,0.6), 0 0 0 12px rgba(252,2,115,0.12);
  transition: all 250ms cubic-bezier(0.4,0,0.2,1);
  font-family: inherit;
}
.reel-playbtn:hover { box-shadow: 0 24px 70px rgba(252,2,115,0.75), 0 0 0 16px rgba(252,2,115,0.16); background: rgba(252,2,115,1); }
.reel-playbtn-icon {
  font-size: 32px;
  letter-spacing: -2px;
  margin-left: 4px;
  font-weight: 700;
}
/* When playing: fade the center button out (no scale, no hover-to-show) */
.reel-playbtn.playing { opacity: 0; pointer-events: none; }
.reel-playbtn.playing .reel-playbtn-icon { margin-left: 0; font-size: 22px; }

/* Subtitle toggle (CC) button in bottom chrome */
.reel-cc {
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  padding: 4px 9px;
  border-radius: 6px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 180ms ease;
}
.reel-cc:hover { background: rgba(255,255,255,0.12); color: #fff; }
.reel-cc.on {
  background: rgba(252,2,115,0.22);
  border-color: rgba(252,2,115,0.55);
  color: #fff;
}

.reel-bottom {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  z-index: 5;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: #fff;
}
.reel-time {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; opacity: 0.85; min-width: 36px;
}
.reel-scrub {
  flex: 1;
  position: relative;
  height: 18px;
  cursor: pointer;
  display: flex; align-items: center;
}
.reel-scrub::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}
.reel-scrub-fill {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 3px;
  background: var(--ls-brand-gradient);
  border-radius: 2px;
}
.reel-scrub-knob {
  position: absolute; top: 50%; transform: translate(-50%,-50%);
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(252,2,115,0.4);
  transition: transform 100ms;
}
.reel-scrub:hover .reel-scrub-knob { transform: translate(-50%,-50%) scale(1.2); }
.reel-scrub-mark {
  position: absolute; top: 50%; transform: translate(-50%,-50%);
  width: 1px; height: 8px;
  background: rgba(255,255,255,0.45);
}

.reel-chips {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.reel-chip {
  font-size: 12px; padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .reel { padding: 80px 20px; }
  .reel-player { margin-top: 40px; border-radius: 20px; }
  .reel-top { top: 12px; left: 12px; right: 12px; font-size: 10px; }
  .reel-rec { padding: 4px 10px; }
  .reel-meta { display: none; }
  .reel-caption { bottom: 70px; padding: 0 16px; }
  .reel-caption-inner { padding: 8px 14px; font-size: 12px; gap: 10px; }
  .reel-caption-num { font-size: 10px; padding: 3px 6px; }
  .reel-playbtn { width: 64px; height: 64px; box-shadow: 0 12px 36px rgba(252,2,115,0.6), 0 0 0 8px rgba(252,2,115,0.12); }
  .reel-playbtn-icon { font-size: 22px; }
  .reel-bottom { left: 12px; right: 12px; bottom: 12px; padding: 8px 12px; gap: 10px; }
  .reel-time { font-size: 10px; min-width: 28px; }
  .reel-chips { margin-top: 20px; gap: 8px; }
  .reel-chip { font-size: 11px; padding: 5px 10px; }
  .reel-cc { padding: 3px 7px; font-size: 10px; }
  .reel-subtitle { bottom: 56px; padding: 0 20px; }
  .reel-subtitle-inner { font-size: 10px; letter-spacing: 0.10em; line-height: 1.5; }
}
   —————————————————————————————————————————————————— */

/* Tablet / small desktop */
@media (max-width: 960px) {
  .hero-headline { font-size: clamp(44px, 10vw, 88px); }
  .hero-right { min-height: auto; }
  .hero-phone-wrap { transform: rotate(-4deg); }
  @keyframes phone-float {
    0%   { transform: rotate(-4deg) translateY(0); }
    100% { transform: rotate(-3deg) translateY(-8px); }
  }
}

/* Phone */
@media (max-width: 640px) {
  /* Header */
  header { padding: 14px 18px !important; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content {
    padding: 110px 20px 56px;
    min-height: auto;
    gap: 40px;
  }
  .hero-headline {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 0.96;
    margin-bottom: 18px;
  }
  .hero-headline .word-cycle { min-width: 4.5ch; }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { padding: 14px 20px; font-size: 15px; }

  /* Hide glows a bit — they can feel overwhelming on phones */
  .hero-glow.pink   { width: 360px; height: 360px; left: -140px; }
  .hero-glow.violet { width: 300px; height: 300px; right: -100px; }
  .hero-glow.purple { width: 240px; height: 240px; bottom: -160px; }

  /* Shrink hero phone so it doesn't overflow — PhoneFrame also auto-scales */
  .hero-right { min-height: auto; }
  .hero-phone-wrap {
    transform: rotate(-4deg);
    transform-origin: center;
  }
  @keyframes phone-float {
    0%   { transform: rotate(-4deg) translateY(0); }
    100% { transform: rotate(-3deg) translateY(-8px); }
  }

  /* Ticker — slow down + smaller */
  .ticker { padding: 14px 0; }
  .ticker-track { gap: 32px; padding-left: 32px; animation-duration: 100s; }
  .ticker-item { font-size: 12px; letter-spacing: 0.08em; }

  /* Sections */
  .howto, .features, .cta-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .howto { padding-top: 80px; padding-bottom: 100px; }
  .features { padding-top: 90px; padding-bottom: 90px; }
  .demo { padding: 80px 20px 100px; }
  .cta-footer { padding-top: 100px; padding-bottom: 60px; }

  .section-title { font-size: clamp(32px, 9vw, 52px); margin-bottom: 40px; }
  .section-head { margin-bottom: 48px; }

  /* How it works cards */
  .step-card {
    min-height: auto;
    padding: 24px;
    border-radius: 20px;
  }
  .step-num { font-size: 72px; margin-bottom: 8px; }
  .step-title { font-size: 22px; }
  .step-desc { font-size: 14px; margin-bottom: 20px; }
  .step-visual { height: 180px; }

  /* Features — single column */
  .feature-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 14px;
  }
  .feature-card.big, .feature-card.med, .feature-card.sm {
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
    padding: 24px;
  }
  .feature-card.big { min-height: 280px; }
  .feature-title { font-size: 19px; }
  .feature-desc { font-size: 14px; }
  .feature-icon { width: 42px; height: 42px; margin-bottom: 12px; }

  /* Demo */
  .demo-inner { grid-template-columns: 1fr; gap: 40px; }
  .demo-copy h2 { font-size: clamp(34px, 9vw, 52px); margin-bottom: 16px; }
  .demo-copy p { font-size: 15px; margin-bottom: 24px; }
  .demo-copy .section-kicker { font-size: 11px; }
  .demo-hints { gap: 16px; margin-top: 24px; padding-top: 24px; }
  .demo-hint { font-size: 13px; }
  .demo-hint .key { width: 32px; height: 32px; font-size: 14px; }

  /* Stats row in demo copy shrinks */
  .demo-copy .grad-text, .demo-copy h2 { line-height: 1.02; }

  /* Footer CTA */
  .cta-big { font-size: clamp(42px, 11vw, 64px); margin-bottom: 20px; }
  .cta-sub { font-size: 16px; margin-bottom: 36px; }
  .store-badges { gap: 10px; }
  .store-badge { padding: 10px 16px; gap: 10px; }
  .store-badge .sb-big { font-size: 15px; }
  .store-badge .sb-small { font-size: 9px; }
  .store-badge svg { width: 20px; height: 24px; }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 56px;
    font-size: 12px;
  }
  .foot-links { gap: 16px; flex-wrap: wrap; }

  /* Tweaks panel — bottom sheet style */
  .tweaks-panel {
    left: 12px; right: 12px; bottom: 12px;
    width: auto; max-width: none;
    padding: 16px;
    border-radius: 16px;
  }
  .tweaks-panel label { margin-bottom: 12px; }
  .tweaks-panel h3 { margin-bottom: 12px; }
}

/* Extra small phones */
@media (max-width: 380px) {
  .hero-content { padding: 100px 16px 48px; }
  .hero-headline { font-size: 40px; }
  .howto, .features, .cta-footer, .demo { padding-left: 16px; padding-right: 16px; }
}
