/* ========================================
   JANA BALA — Webinar Landing
   Mobile-first, Minecraft Movie soft-3D style
   ======================================== */

/* ===== Design Tokens ===== */
:root {
  /* Brand colors */
  --orange: #FF6B00;
  --orange-dark: #E85D00;
  --orange-light: #FF8A3D;
  --green: #4CAF50;
  --blue: #00BCD4;
  --yellow: #FFCA28;
  --purple: #9C27B0;

  /* Neutrals */
  --cream: #FFF8F0;
  --cream-dark: #FFEDD5;
  --warm-border: #FFE4C4;
  --ink: #1A1410;
  --ink-soft: #4A3F38;
  --muted: #8B7F76;
  --white: #FFFFFF;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 48px;
  --gap-2xl: 80px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 20, 16, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 20, 16, 0.12);
  --shadow-orange: 0 8px 24px rgba(255, 107, 0, 0.35);
  --shadow-orange-lg: 0 12px 32px rgba(255, 107, 0, 0.45);

  /* Container */
  --container: 1120px;
  --container-narrow: 720px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9B40 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chip--center {
  display: block;
  margin: 0 auto 16px;
  width: fit-content;
}

.chip--white {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.section {
  padding: var(--gap-2xl) 0;
  contain: layout style;
}

.section__title {
  font-size: clamp(28px, 6vw, 44px);
  margin-bottom: 12px;
}

.section__title--center {
  text-align: center;
}

.section__sub {
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--ink-soft);
  margin-bottom: var(--gap-lg);
  line-height: 1.5;
}

.section__sub--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 16px;
  line-height: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-align: center;
  white-space: nowrap;
  position: relative;
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 45%, var(--orange-dark) 100%);
  color: var(--white);
  box-shadow:
    var(--shadow-orange),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-orange-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--large {
  padding: 18px 32px;
  font-size: 17px;
}

.btn--full {
  width: 100%;
}

/* ===== Nav ===== */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav__logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav__cta {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  /* Use small-viewport unit so mobile browser chrome doesn't push content off-screen */
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 64px 20px 18px;
  overflow: hidden;
  isolation: isolate;
  /* Sky-tone fallback to match new image — shows before image loads */
  background: linear-gradient(180deg, #FFE4B5 0%, #FFCBA4 25%, #FFB088 50%, #C99B7A 75%, #6B7F5F 100%);
}

/* Mobile picture (new) — full-bleed, anchored slightly above bottom so the
   CTA + store badges + trust row sit on the dark fade, not on the characters */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.hero__image {
  /* Scale image up modestly and anchor to bottom — this crops sky on top
     while keeping all characters fully visible across the hero width. */
  position: absolute;
  width: 100%;
  height: 115%;
  left: 0;
  top: -15%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  display: none; /* desktop only — toggled by JS */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Top: dark for headline contrast on bright sky.
     Middle: fully transparent — let the characters breathe.
     Bottom: only the very last band gets dark, so the dark fade
     does NOT cover the characters — the CTA carries its own backdrop. */
  background: linear-gradient(
    180deg,
    rgba(20, 14, 10, 0.55) 0%,
    rgba(20, 14, 10, 0.35) 14%,
    rgba(26, 20, 16, 0.10) 26%,
    rgba(26, 20, 16, 0.0)  38%,
    rgba(26, 20, 16, 0.0)  85%,
    rgba(20, 14, 10, 0.85) 95%,
    rgba(20, 14, 10, 1.0)  100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Top block (badge + title + sub + countdown) sits at top, CTA gets pushed down */
.hero__content > .hero__badge,
.hero__content > .hero__title,
.hero__content > .hero__sub,
.hero__content > .countdown {
  flex: 0 0 auto;
}

.hero__cta-wrap {
  margin-top: auto;
  padding: 14px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Mobile: hide store badges + trust inside hero — they live elsewhere on the page anyway.
   This keeps the hero clean: image + headline + countdown + single CTA. */
@media (max-width: 767px) {
  .hero__cta-wrap .store-badges,
  .hero__cta-wrap .hero__trust { display: none; }
  .hero__cta-wrap {
    padding-bottom: 18px;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(26, 20, 16, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF3B3B;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}

.hero__title {
  font-size: clamp(28px, 7.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  /* Stronger shadow + subtle stroke so headline pops on bright sky in new mobile image */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.6),
    0 4px 24px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(0, 0, 0, 0.7);
}

.hero__title .text-gradient {
  background: linear-gradient(135deg, #FFCA28 0%, #FF8A3D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(13px, 3.3vw, 19px);
  line-height: 1.4;
  opacity: 0.97;
  margin-bottom: 16px;
  max-width: 560px;
  margin-inline: auto;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.45);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 0;
  flex-wrap: nowrap;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 6px;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-md);
  min-width: 0;
  flex: 1 1 0;
  max-width: 64px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.countdown__item span {
  font-size: clamp(18px, 5vw, 32px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown__item small {
  font-size: 10px;
  margin-top: 4px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.countdown__sep {
  font-size: 18px;
  font-weight: 800;
  opacity: 0.5;
  margin-top: -14px;
  flex: 0 0 auto;
}

@media (min-width: 640px) {
  .countdown { gap: 10px; }
  .countdown__item { padding: 12px 16px; max-width: 100px; }
  .countdown__item small { font-size: 11px; letter-spacing: 0.08em; }
  .countdown__sep { font-size: 24px; margin-top: -16px; }
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  opacity: 0.95;
}

/* ===== Store Badges (App Store + Google Play) ===== */
.store-badges {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: nowrap;
}

.store-badge {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: var(--white);
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
  white-space: nowrap;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.store-badge__icon {
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge__small {
  font-size: 10px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.store-badge__big {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Light version (footer / final-cta sections) */
.store-badges--light .store-badge {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--warm-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.store-badges--light .store-badge:hover {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.store-badges--light .store-badge__small {
  color: var(--muted);
}

/* Footer stores block */
.footer__stores {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__stores .store-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer__stores .store-badge:hover {
  background: rgba(255, 107, 0, 0.15);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer__stores .store-badge__small {
  opacity: 0.7;
}

/* Final-CTA divider */
.final-cta__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px auto 20px;
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

.final-cta__divider::before,
.final-cta__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--warm-border);
}

.final-cta__download {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* In final-cta context, badges should feel like a secondary action */
.section--final-cta .store-badges {
  margin-top: 0;
  position: relative;
  z-index: 1;
}

.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.5;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== PAIN POINTS ===== */
.section--pain {
  background: var(--cream);
}

.pain-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.pain-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--pain) 14%, transparent);
  color: var(--pain);
  border-radius: 16px;
  object-fit: contain;
}

.pain-card__icon svg {
  display: block;
}

.pain-card p {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.pain-card p strong {
  color: var(--ink);
  font-weight: 700;
}

/* ===== SOLUTION ===== */
.section--solution {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.solution {
  display: grid;
  gap: var(--gap-xl);
  grid-template-columns: 1fr;
  align-items: center;
}

.solution__text .section__title {
  margin-top: 16px;
}

.solution__list {
  list-style: none;
  margin: 24px 0;
}

.solution__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--warm-border);
}

.solution__list li:last-child {
  border-bottom: none;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  flex-shrink: 0;
}

.solution__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mock {
  position: relative;
  width: min(300px, 82vw);
  aspect-ratio: 9 / 19.5;
}

.phone-mock__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0A0807;
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 24px 72px rgba(26, 20, 16, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 0 0 2px #242020;
  overflow: hidden;
}

.phone-mock__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  background: var(--cream);
}

/* iOS Status Bar */
.phone-mock__status {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 48px;
  padding: 14px 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  z-index: 3;
  border-radius: 32px 32px 0 0;
  pointer-events: none;
}

.phone-mock__time {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.phone-mock__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-mock__icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Top greeting bar (app UI) */
.phone-mock__topbar {
  position: absolute;
  top: 58px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.phone-mock__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.phone-mock__greeting {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.phone-mock__greeting span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.1;
}

.phone-mock__greeting strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.phone-mock__coins {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #FFE082 0%, #FFCA28 100%);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #6B4300;
  flex-shrink: 0;
}

.phone-mock__coins span {
  font-size: 13px;
  line-height: 1;
}

/* XP / daily task bar */
.phone-mock__xp {
  position: absolute;
  top: 112px;
  left: 20px;
  right: 20px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.phone-mock__xp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 10px;
}

.phone-mock__xp-head > span:first-child {
  color: var(--muted);
  font-weight: 600;
}

.phone-mock__xp-val {
  color: var(--orange);
  font-weight: 800;
}

.phone-mock__xp-bar {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.phone-mock__xp-fill {
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, #FFCA28 0%, #FF6B00 100%);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.5);
  animation: xpPulse 2.5s ease-in-out infinite;
}

@keyframes xpPulse {
  0%, 100% { width: 70%; }
  50% { width: 74%; }
}

/* Bottom CTA buttons */
.phone-mock__actions {
  position: absolute;
  bottom: 34px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.phone-mock__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.phone-mock__btn--primary {
  background: linear-gradient(180deg, #FF8A3D 0%, #FF6B00 50%, #E85D00 100%);
  color: var(--white);
  box-shadow:
    0 6px 14px rgba(255, 107, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.phone-mock__btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Home indicator */
.phone-mock__home {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

/* ===== CHARACTERS ===== */
.section--characters {
  background: var(--cream);
  padding-bottom: calc(var(--gap-2xl) - 20px);
  overflow: hidden;
}

.characters-scroll {
  display: flex;
  gap: 16px;
  padding: 32px 20px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.char-card {
  flex: 0 0 240px;
  aspect-ratio: 3 / 4;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-md);
  background: var(--char-color);
  transition: transform 0.3s;
}

.char-card:hover {
  transform: translateY(-4px);
}

.char-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: blur(2px);
}

.char-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.char-card__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 70%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.char-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--white);
  z-index: 3;
}

.char-card__info h3 {
  font-size: 24px;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.char-card__info p {
  font-size: 14px;
  opacity: 0.95;
  font-weight: 500;
}

.characters-banner {
  margin-top: 40px;
  width: 100%;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.characters-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 1024px) {
  .characters-banner {
    margin-top: 60px;
  }
}

/* ===== FEATURES ===== */
.section--features {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.feature {
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: color-mix(in srgb, var(--feat) 15%, transparent);
  color: var(--feat);
  border-radius: var(--r-md);
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 6px;
  line-height: 1.25;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* ===== TESTIMONIALS ===== */
.section--testimonials {
  background: var(--cream);
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.testimonial {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial .stars {
  margin-bottom: 12px;
}

.testimonial blockquote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 500;
}

.testimonial footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-dark);
}

.testimonial footer div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial footer strong {
  font-size: 15px;
  font-weight: 700;
}

.testimonial footer span {
  font-size: 13px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 28px 20px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(156, 39, 176, 0.08) 100%);
  border-radius: var(--r-lg);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.stats__item strong {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stats__item span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== WEBINAR ===== */
.section--webinar {
  background: linear-gradient(135deg, #1A1410 0%, #2D1F15 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section--webinar::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.webinar {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.webinar__head {
  margin-bottom: 32px;
}

.webinar__head .section__title {
  color: var(--white);
  margin-top: 16px;
}

.webinar__head .section__title .text-gradient {
  background: linear-gradient(135deg, #FFCA28 0%, #FF8A3D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.webinar__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.webinar__meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  text-align: left;
}

.webinar__meta-item svg {
  color: var(--yellow);
  flex-shrink: 0;
}

.webinar__meta-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.webinar__meta-item strong {
  font-size: 17px;
  font-weight: 700;
}

.webinar__meta-item span {
  font-size: 13px;
  opacity: 0.7;
}

.checklist {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checklist li:last-child {
  border-bottom: none;
}

.check-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 14px;
}

.seats-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: 14px;
}

.seats-bar__progress {
  height: 100%;
  width: 61%;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--orange) 100%);
  border-radius: var(--r-full);
  transition: width 0.6s ease;
}

.webinar__note {
  font-size: 14px;
  opacity: 0.8;
}

/* ===== REGISTRATION FORM ===== */
.section--register {
  background: var(--cream);
  scroll-margin-top: 20px;
}

.register {
  max-width: 520px;
  margin: 0 auto;
}

.form {
  margin-top: 32px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.form__field {
  margin-bottom: 16px;
}

.form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form__field input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  background: var(--cream);
  border: 2px solid var(--warm-border);
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.form__field input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.form__field input:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

.form__field input:invalid:not(:placeholder-shown) {
  border-color: #E85D5D;
}

.form button[type="submit"] {
  margin-top: 8px;
}

.form__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.form__note svg {
  flex-shrink: 0;
  color: var(--green);
}

/* ===== FAQ ===== */
.section--faq {
  background: var(--cream);
}

.faq {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--warm-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq__item[open] {
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

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

.faq__item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--orange);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== FINAL CTA ===== */
.section--final-cta {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
  overflow: hidden;
  position: relative;
}

.final-cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.final-cta__char {
  position: absolute;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
  opacity: 0.9;
  pointer-events: none;
  animation: float 5s ease-in-out infinite;
}

.final-cta__char--1 { top: 0; left: 5%; animation-delay: 0s; }
.final-cta__char--2 { top: 10%; right: 8%; animation-delay: 1s; width: 70px; height: 70px; }
.final-cta__char--3 { bottom: 30%; left: -10px; animation-delay: 2s; width: 65px; height: 65px; }
.final-cta__char--4 { bottom: 10%; right: 2%; animation-delay: 0.5s; width: 75px; height: 75px; }
.final-cta__char--5 { top: 40%; right: -5px; animation-delay: 1.5s; width: 60px; height: 60px; }

.final-cta__title {
  font-size: clamp(28px, 7vw, 48px);
  margin-bottom: 16px;
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.final-cta__sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.final-cta .btn {
  position: relative;
  z-index: 1;
}

.final-cta__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.final-cta__note strong,
.section__sub strong {
  font-weight: 700;
  color: var(--ink);
}

[data-webinar-day-lower] {
  display: inline-block;
}

[data-webinar-day-lower]::first-letter {
  text-transform: uppercase;
}

.final-cta__char {
  opacity: 0.35;
}
@media (min-width: 768px) {
  .final-cta__char {
    opacity: 0.9;
  }
  /* On tablet+ we revert to centered hero with the desktop video; hide the mobile picture */
  .hero {
    justify-content: center;
    padding: 100px 20px 60px;
  }
  .hero__media { display: none; }
  .hero__video { display: block; }
  .hero__content {
    display: block; /* drop mobile flex column */
    flex: initial;
  }
  .hero__cta-wrap { margin-top: 24px; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 40px 0 24px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}

.footer__brand img {
  border-radius: 8px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s;
}

.footer__socials a:hover {
  background: var(--orange);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.7;
}

.footer__bottom a {
  color: var(--orange-light);
}

/* ===== STICKY CTA (Mobile) ===== */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: linear-gradient(180deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-orange-lg);
  z-index: 100;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.sticky-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===== RESPONSIVE: Tablet 640px+ ===== */
@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }

  .webinar__meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ===== RESPONSIVE: Desktop 1024px+ ===== */
@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }

  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .solution {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  .characters-scroll {
    justify-content: center;
    padding: 40px 40px 32px;
  }

  .char-card {
    flex: 0 0 260px;
  }

  .sticky-cta {
    display: none;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__video {
    display: none;
  }

  .hero {
    background: linear-gradient(180deg, #1A1410 0%, #2D1F15 100%);
  }
}
