/* ============================================================
   Kidhero Landing — космическая стилистика Mini App
   ============================================================ */

:root {
  --bg:        #1A102B;
  --bg-deep:   #110820;
  --card:      #241540;
  --card-2:    #2C1A4D;
  --text:      #FDFBF7;
  --text-mute: #B2A2D1;
  --gold:      #FFC024;
  --lavender:  #CE93D8;
  --blue:      #4FC3F7;
  --coral:     #FF6B6B;

  --r-card: 24px;
  --r-tile: 20px;
  --r-pill: 999px;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;
  --font-chip:    'Fredoka', system-ui, sans-serif;

  --max-w: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: radial-gradient(120% 80% at 50% -10%, #2A165A 0%, #1A102B 45%, #110820 100%) fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
iconify-icon { display: inline-flex; vertical-align: -0.15em; }

/* ============================================================
   Cosmic background (canvas + aurora blobs + DOM stars)
   ============================================================ */
#cosmos {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  width: 100%; height: 100%;
}

.aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora .blob {
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora .blob-1 { background: radial-gradient(circle, var(--gold), transparent 60%);     top: -10vw; left: -15vw; animation: drift1 22s ease-in-out infinite; }
.aurora .blob-2 { background: radial-gradient(circle, var(--lavender), transparent 60%); top: 30vh;  right: -20vw; animation: drift2 26s ease-in-out infinite; }
.aurora .blob-3 { background: radial-gradient(circle, var(--blue), transparent 60%);     bottom: -10vw; left: 30vw; opacity: .25; animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw,4vw) scale(1.15); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vw,-3vw) scale(1.1); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4vw,-5vw) scale(1.2); } }

.stars { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.stars .star { position: absolute; opacity: 0.55; animation: pulse 2.4s ease-in-out infinite; will-change: transform, opacity; }
.stars .s1 { top: 8%;  right: 6%;  color: var(--gold);     font-size: 22px; }
.stars .s2 { top: 14%; right: 18%; color: var(--lavender); font-size: 28px; animation-delay: 1s; }
.stars .s3 { top: 36%; left: 4%;   color: var(--gold);     font-size: 24px; animation-delay: .5s; }
.stars .s4 { top: 58%; right: 4%;  color: var(--lavender); font-size: 20px; animation-delay: 1.4s; }
.stars .s5 { top: 78%; left: 8%;   color: var(--gold);     font-size: 26px; animation-delay: .8s; }
.stars .s6 { top: 90%; right: 14%; color: var(--blue);     font-size: 22px; animation-delay: 1.8s; }

/* keep all sections above background layers */
header, main, footer, .sticky-cta { position: relative; z-index: 2; }

/* ============================================================
   Layout
   ============================================================ */
section { padding: 64px 20px; max-width: var(--max-w); margin: 0 auto; }
@media (min-width: 768px) { section { padding: 96px 32px; } }

.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-head .section-label { justify-content: center; margin: 0 auto 12px; }

.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-head .h-section { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }

.section-sub { color: var(--text-mute); font-size: 1rem; margin: 0 auto; max-width: 640px; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.72rem; font-weight: 800; color: var(--text-mute);
  padding: 6px 14px;
  background: rgba(255,192,36,.08);
  border: 1px solid rgba(255,192,36,.2);
  border-radius: var(--r-pill);
}
.section-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 8px var(--coral);
}

.grad {
  background: linear-gradient(135deg, #fff 0%, #FFE9A8 40%, var(--lavender) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.4,1), box-shadow .25s ease, background .2s;
  text-align: center; text-decoration: none; white-space: nowrap;
  z-index: 1;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, #FFD45A 0%, var(--gold) 60%, #E8A800 100%);
  color: #1A102B;
  padding: 16px 28px; font-size: 1rem;
  box-shadow: 0 10px 28px rgba(255,192,36,.4), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(255,192,36,.55), inset 0 1px 0 rgba(255,255,255,.5); transform: translateY(-2px); }

.btn-lg { padding: 20px 36px; font-size: 1.15rem; }

.btn-ghost {
  background: rgba(253,251,247,.08);
  color: var(--text);
  border: 1px solid rgba(253,251,247,.18);
  padding: 11px 20px; font-size: .9rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-ghost:hover { background: rgba(253,251,247,.16); }
.btn-ghost iconify-icon { color: var(--gold); }


/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(17,8,32,.18);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(255,192,36,.35) 35%, rgba(206,147,216,.35) 65%, transparent 100%) 1;
  overflow: hidden;
}
@media (min-width: 768px) { .site-header { padding: 12px 40px; gap: 18px; } }

/* moving sheen across the header — very subtle */
.header-shine {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 35%,
    rgba(255,212,90,.06) 50%,
    transparent 65%);
  background-size: 220% 100%;
  background-position: -50% 0;
  animation: header-sheen 11s linear infinite;
  mix-blend-mode: screen;
}
@keyframes header-sheen { to { background-position: 250% 0; } }

.header-glow { display: none; }

.logo {
  position: relative;
  display: inline-flex; align-items: center; gap: 0; line-height: 0;
  flex-shrink: 0;
  z-index: 2;
}
.logo img {
  position: relative;
  display: block;
  width: 170px;
  height: auto;
  max-width: none;
  aspect-ratio: 1068 / 285;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
  transition: transform .35s cubic-bezier(.2,.7,.4,1), filter .35s ease;
  animation: logo-float 4.5s ease-in-out infinite;
}
.logo:hover img {
  transform: scale(1.04) rotate(-1.5deg);
  filter: drop-shadow(0 4px 10px rgba(255,192,36,.35));
}
.logo-halo { display: none; }

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

@media (max-width: 640px)  { .logo img { width: 150px; } }
@media (min-width: 768px)  { .logo img { width: 190px; } }
@media (min-width: 1100px) { .logo img { width: 220px; } }

/* Status chip next to logo */
.header-chip {
  display: none;
  align-items: center; gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(79,195,247,.12), rgba(206,147,216,.10));
  border: 1px solid rgba(206,147,216,.28);
  font-family: var(--font-chip);
  font-weight: 700;
  font-size: .72rem;
  color: var(--text);
  letter-spacing: .02em;
  white-space: nowrap;
  position: relative; z-index: 2;
}
.header-chip iconify-icon { color: var(--lavender); font-size: .95rem; }
.header-chip .chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
  animation: pulse 1.6s infinite;
}
@media (min-width: 560px) { .header-chip { display: inline-flex; } }
@media (min-width: 980px) { .header-chip { display: none; } }

/* Desktop navigation — colored pills */
.site-nav {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  position: relative; z-index: 2;
}
.nav-pill {
  --pc: var(--gold);
  position: relative;
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  background: color-mix(in srgb, var(--pc) 12%, rgba(36,21,64,.45));
  border: 1px solid color-mix(in srgb, var(--pc) 35%, transparent);
  border-radius: var(--r-pill);
  transition: transform .25s cubic-bezier(.2,.7,.4,1), background .25s ease, border-color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.nav-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pc);
  box-shadow: 0 0 8px var(--pc);
  margin-right: 8px;
  flex-shrink: 0;
}
.nav-pill:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--pc) 22%, rgba(36,21,64,.55));
  border-color: color-mix(in srgb, var(--pc) 60%, transparent);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--pc) 30%, transparent);
}

@media (min-width: 980px) {
  .site-nav { display: inline-flex; }
}

.header-cta {
  display: none;
  flex-shrink: 0;
  position: relative; z-index: 2;
}
@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* Mobile burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(253,251,247,.06);
  border: 1px solid rgba(253,251,247,.14);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background .2s ease;
  position: relative; z-index: 2;
}
.nav-toggle:hover { background: rgba(253,251,247,.12); }
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 64px; left: 12px; right: 12px;
  z-index: 25;
  background: rgba(36,21,64,.96);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,192,36,.22);
  border-radius: var(--r-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 22px 56px rgba(0,0,0,.55);
  opacity: 0;
  transform: translateY(-12px) scale(.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s cubic-bezier(.2,.7,.4,1);
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.mobile-drawer a:not(.btn) {
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  border-radius: 14px;
  transition: background .2s ease, color .2s ease;
}
.mobile-drawer a:not(.btn):hover { background: rgba(255,192,36,.1); color: var(--gold); }
.mobile-drawer .btn { margin-top: 8px; padding: 14px 22px; font-size: .95rem; }

@media (min-width: 980px) {
  .mobile-drawer { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  text-align: center;
  padding-top: 64px; padding-bottom: 56px;
  min-height: calc(100vh - 70px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
@media (min-width: 768px) { .hero { padding-top: 100px; padding-bottom: 80px; } }

.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-pill);
  background: rgba(79,195,247,.1);
  border: 1px solid rgba(79,195,247,.3);
  color: var(--blue);
  font-weight: 700; font-size: .8rem;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulse 1.4s infinite; box-shadow: 0 0 6px var(--coral); }

.title-spark {
  display: inline-block;
  color: var(--gold); font-size: .65em;
  vertical-align: 0.2em;
  animation: pulse 2.6s infinite;
}

.hero-sub {
  color: var(--text-mute);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-hints {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px;
  margin-top: 22px;
  font-size: .85rem;
  color: var(--text-mute);
}
.hero-hints span { display: inline-flex; align-items: center; gap: 6px; }
.hero-hints iconify-icon { color: var(--gold); font-size: 1rem; }

.hero .btn-primary::before {
  content: ""; position: absolute; inset: -10px -16px;
  background: rgba(255,192,36,.35);
  filter: blur(34px); border-radius: var(--r-pill);
  z-index: -1;
}

.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(253,251,247,.06);
  border: 1px solid rgba(253,251,247,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  animation: bounce 2.4s ease-in-out infinite;
  font-size: 1.3rem;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* hero orbits */
.hero-orbits { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-orbits .orbit {
  position: absolute; left: 50%; top: 52%;
  border: 1px dashed rgba(255,192,36,.2);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.hero-orbits .o1 { width: 380px; height: 380px; animation: spin 60s linear infinite; }
.hero-orbits .o2 { width: 580px; height: 580px; border-color: rgba(206,147,216,.18); animation: spin 90s linear infinite reverse; }
@media (min-width: 768px) {
  .hero-orbits .o1 { width: 480px; height: 480px; }
  .hero-orbits .o2 { width: 720px; height: 720px; }
}

.hero-orbits .planet {
  position: absolute; left: 50%; top: 52%;
  width: 14px; height: 14px; border-radius: 50%;
  transform: translate(-50%,-50%);
}
.hero-orbits .p-gold     { background: var(--gold);     box-shadow: 0 0 18px var(--gold);     animation: orbit-a 60s linear infinite; }
.hero-orbits .p-lavender { background: var(--lavender); box-shadow: 0 0 18px var(--lavender); animation: orbit-b 90s linear infinite; }
.hero-orbits .p-blue     { width: 8px; height: 8px; background: var(--blue); box-shadow: 0 0 14px var(--blue); animation: orbit-c 45s linear infinite; }

@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes orbit-a {
  from { transform: translate(-50%,-50%) rotate(0deg) translateX(190px) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(190px) rotate(-360deg); }
}
@keyframes orbit-b {
  from { transform: translate(-50%,-50%) rotate(0deg) translateX(290px) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(-360deg) translateX(290px) rotate(360deg); }
}
@keyframes orbit-c {
  from { transform: translate(-50%,-50%) rotate(45deg) translateX(140px) rotate(-45deg); }
  to   { transform: translate(-50%,-50%) rotate(405deg) translateX(140px) rotate(-405deg); }
}
@media (min-width: 768px) {
  @keyframes orbit-a { from { transform: translate(-50%,-50%) rotate(0deg) translateX(240px) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg) translateX(240px) rotate(-360deg); } }
  @keyframes orbit-b { from { transform: translate(-50%,-50%) rotate(0deg) translateX(360px) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(-360deg) translateX(360px) rotate(360deg); } }
}

/* ============================================================
   Transformation showcase
   ============================================================ */
.transform { padding-top: 32px; }

.transform-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
}
@media (min-width: 880px) {
  .transform-flow {
    grid-template-columns: 1fr auto 1fr auto 1.4fr;
    gap: 16px;
  }
}

.t-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
}
.t-step .t-num {
  position: absolute; top: -12px; left: -8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display); font-weight: 900;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(255,192,36,.4);
}

.t-frame {
  position: relative;
  width: 100%; max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--card);
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.t-frame.featured { border-color: var(--gold); box-shadow: 0 16px 40px rgba(255,192,36,.35), inset 0 0 0 4px rgba(255,192,36,.15); }
.t-frame.video-like { aspect-ratio: 16 / 10; max-width: 480px; }
.t-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.t-step:hover .t-frame img { transform: scale(1.06); }

.t-frame .t-glow {
  position: absolute; inset: -1px; border-radius: var(--r-card);
  pointer-events: none;
  background: radial-gradient(circle at 50% 100%, var(--c, var(--gold)) 0%, transparent 60%);
  opacity: .35;
  mix-blend-mode: screen;
}

.t-frame .t-spark {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #1A102B;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(255,192,36,.6);
  animation: pulse 2.4s infinite;
}

.t-frame .t-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  transition: transform .25s, box-shadow .25s;
  z-index: 2;
}
.t-frame .t-play:hover { transform: translate(-50%,-50%) scale(1.12); box-shadow: 0 10px 30px rgba(0,0,0,.7); }

.t-cap .t-title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.t-cap .t-meta  { color: var(--text-mute); font-size: .85rem; margin-top: 2px; }

.t-arrow {
  position: relative;
  width: 100%; max-width: 120px; height: 60px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 879px) {
  .t-arrow { transform: rotate(90deg); height: 60px; max-width: 60px; }
}
.t-arrow svg { width: 100%; height: 100%; overflow: visible; }
.t-arrow .t-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-chip); font-weight: 700;
  font-size: .68rem; color: var(--text-mute);
  background: var(--bg); padding: 2px 10px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
}
@media (max-width: 879px) {
  .t-arrow .t-tag { transform: translateX(-50%) rotate(-90deg); top: 50%; left: 50%; margin-top: -10px; }
}

.transform-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   Examples
   ============================================================ */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
@media (max-width: 640px) {
  .examples-grid {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .examples-grid::-webkit-scrollbar { display: none; }
}

.example-card {
  all: unset;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-tile);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  transition: transform .3s cubic-bezier(.2,.7,.4,1), box-shadow .3s, border-color .3s;
  scroll-snap-align: start;
  position: relative;
}
@media (max-width: 640px) { .example-card { flex: 0 0 250px; } }
.example-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent, var(--gold));
  box-shadow: 0 20px 44px rgba(0,0,0,.55), 0 0 0 1px var(--accent, var(--gold)), 0 0 32px rgba(255,192,36,.25);
}

.example-card .thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.example-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.example-card:hover .thumb img { transform: scale(1.08); }
.example-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.1) 40%, rgba(0,0,0,.7) 100%);
}

.example-card .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.22); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: transform .25s, background .25s;
}
.example-card:hover .play { transform: translate(-50%, -55%) scale(1.15); background: rgba(255,255,255,.4); }
.example-card .play svg { width: 20px; height: 20px; }

.badge {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  font-family: var(--font-chip); font-weight: 700;
  font-size: .7rem; color: var(--text);
}
.badge-time { top: 10px; right: 10px; }
.badge-time iconify-icon { color: var(--accent, var(--gold)); }
.badge-theme { bottom: 10px; left: 10px; }

.card-foot { padding: 14px; }
.card-title { font-weight: 700; font-size: .98rem; margin-bottom: 6px; font-family: var(--font-display); }
.stars-row { display: flex; gap: 2px; color: var(--gold); font-size: .9rem; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
}
@media (min-width: 920px) {
  .gallery-row {
    grid-template-columns: 1fr auto 1fr auto 1.6fr;
    gap: 18px;
  }
}

.g-card {
  position: relative;
  width: 100%; max-width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--card);
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  margin: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.g-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,.55); }
.g-card img { width: 100%; height: 100%; object-fit: cover; }
.g-card.wide { aspect-ratio: 16 / 10; max-width: 460px; }
.g-card.g-feature { border-color: var(--gold); box-shadow: 0 14px 36px rgba(255,192,36,.3), inset 0 0 0 4px rgba(255,192,36,.12); }

.g-label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  font-family: var(--font-chip); font-weight: 700;
  font-size: .72rem;
}
.g-label.gold { background: var(--gold); color: #1A102B; }

.g-spark {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: #1A102B;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(255,192,36,.5);
  animation: pulse 2.6s infinite;
}

.g-arrow {
  color: var(--gold); font-size: 28px;
  filter: drop-shadow(0 0 8px rgba(255,192,36,.5));
}
@media (max-width: 919px) { .g-arrow { transform: rotate(90deg); } }

/* ============================================================
   Features
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.feature {
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-tile);
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,192,36,.12), transparent 70%);
  pointer-events: none;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(255,192,36,.4); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.feature h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 14px 0 6px; }
.feature p { color: var(--text-mute); font-size: .95rem; margin: 0; line-height: 1.6; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; } }
@media (min-width: 768px) { .pricing-grid.pricing-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; } }

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-tile);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(255,192,36,.14) 0%, var(--card) 60%);
  box-shadow: 0 0 0 1px var(--gold), 0 14px 36px rgba(255,192,36,.22);
}

.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #FFD45A, var(--gold));
  color: #1A102B;
  padding: 5px 16px; border-radius: var(--r-pill);
  font-family: var(--font-chip); font-weight: 800;
  font-size: .72rem;
  box-shadow: 0 4px 16px rgba(255,192,36,.45);
}

.price-tag { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--text-mute); margin-bottom: 12px; }
.price-tag.muted { color: var(--text-mute); opacity: .75; }
.price-value { font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; line-height: 1; margin-bottom: 22px; }
.price-value small { font-size: .95rem; font-weight: 700; color: var(--text-mute); margin-left: 8px; }

.price-card ul { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.price-card li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.price-card li iconify-icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq details {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 0 22px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq details[open] { border-color: rgba(255,192,36,.3); background: linear-gradient(160deg, rgba(255,192,36,.04), var(--card)); }

.faq summary {
  list-style: none; cursor: pointer;
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary iconify-icon { color: var(--gold); transition: transform .25s; flex-shrink: 0; font-size: 1.2rem; }
.faq details[open] summary iconify-icon { transform: rotate(180deg); }
.faq details p { color: var(--text-mute); font-size: .95rem; line-height: 1.7; margin: 0; padding: 0 0 18px; }
.faq a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, rgba(255,192,36,.1) 0%, rgba(206,147,216,.08) 60%, rgba(79,195,247,.06) 100%);
  border: 1px solid rgba(255,192,36,.25);
  border-radius: var(--r-card);
  padding: 64px 28px;
  margin: 32px auto;
  max-width: calc(var(--max-w) - 40px);
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,192,36,.18), transparent 60%);
  pointer-events: none;
}
.final-cta p { color: var(--text-mute); margin: 0 auto 32px; max-width: 480px; position: relative; }
.final-cta .h-display { position: relative; }
.final-cta .btn-primary { position: relative; }
.final-cta .btn-primary::before {
  content: ""; position: absolute; inset: -10px -16px;
  background: rgba(255,192,36,.35);
  filter: blur(34px); border-radius: var(--r-pill);
  z-index: -1;
}
.cta-spark { position: absolute; color: var(--gold); animation: pulse 2.4s infinite; }
.cta-spark.s-l { top: 24px; left: 8%; font-size: 32px; color: var(--lavender); }
.cta-spark.s-r { bottom: 28px; right: 10%; font-size: 36px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: rgba(0,0,0,.35);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 56px 20px 32px;
  margin-top: 32px;
}
@media (min-width: 768px) { .site-footer { padding: 72px 32px 40px; } }

.foot-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .foot-grid { grid-template-columns: 1.2fr .8fr .8fr 1.2fr; } }

.foot-h { font-family: var(--font-display); font-weight: 800; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--text-mute); font-size: .9rem; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }

.muted { color: var(--text-mute); }
.small { font-size: .8rem; }

.foot-bottom {
  max-width: var(--max-w); margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .8rem; color: var(--text-mute);
}

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 25;
  background: linear-gradient(135deg, #FFD45A, var(--gold));
  color: #1A102B;
  padding: 16px 20px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 12px 32px rgba(255,192,36,.45);
  transition: transform .25s ease-out, opacity .25s ease-out;
}
.sticky-cta.is-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 88px; } }

/* ============================================================
   Video modal
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  border: none; padding: 0;
  background: #000;
  width: 100vw; height: 100vh;
  max-width: 100vw; max-height: 100vh;
  margin: 0;
  z-index: 100;
}
.video-modal[open] { display: block; }
.video-modal::backdrop { background: rgba(0,0,0,.92); }
.video-modal video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  z-index: 101;
}

/* ============================================================
   Scroll-reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.2,.7,.4,1), transform .9s cubic-bezier(.2,.7,.4,1);
}
[data-reveal].in { opacity: 1; transform: none; }

/* tilt cards */
.tilt { transform-style: preserve-3d; transition: transform .25s ease; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes kh-flow { to { stroke-dashoffset: -24; } }
.kh-flow { animation: kh-flow 2.4s linear infinite; }

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

/* ============================================================
   Privacy/terms pages
   ============================================================ */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: 32px 20px 80px;
  position: relative; z-index: 2;
}
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-mute); font-size: .9rem; margin-bottom: 22px; }
.legal .back:hover { color: var(--gold); }
.legal h1 { font-family: var(--font-display); font-weight: 900; font-size: 1.8rem; margin: 0 0 8px; }
.legal .pub-date { color: var(--text-mute); font-size: .85rem; margin: 0 0 28px; }
.legal h2 { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.1rem; margin: 28px 0 8px; }
.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: .98rem; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--text-mute); font-size: .95rem; line-height: 1.7; margin: 6px 0; }
.legal ul { padding-left: 22px; list-style: disc; margin: 8px 0; }
.legal a { color: var(--gold); text-decoration: underline; }
.legal strong { color: var(--text); }
