:root {
  --navy: #001428;
  --navy-2: #06203a;
  --yellow: #ffc300;
  --gray: #646e7d;
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: 1rem;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 10px 30px rgba(255, 195, 0, 0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 195, 0, 0.38); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn .wa-ico { width: 1.15em; height: 1.15em; margin-right: 0.5em; flex: 0 0 auto; }

/* ---- social-proof badge ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.55em;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px; padding: 0.42rem 0.95rem;
  font-size: 0.92rem; font-weight: 700;
}
.badge__stars { color: var(--yellow); letter-spacing: 0.06em; }
.badge__text { color: rgba(255,255,255,0.92); }
.beat .badge { margin-top: 1.4rem; }
.cta .badge.badge--center { margin: 0 auto 1.8rem; }

/* ---- nav ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem;
  backdrop-filter: blur(8px);
}
.nav__brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.15rem; }
.nav__brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav__right { display: flex; align-items: center; gap: 0.6rem; }

/* language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(255,255,255,0.08); color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 999px;
  padding: 0.5rem 0.8rem; font: inherit; font-weight: 700; font-size: 0.85rem;
}
.lang__btn:hover { background: rgba(255,255,255,0.14); }
.lang__menu {
  position: absolute; right: 0; top: 120%; min-width: 130px; display: none;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.45); z-index: 60;
}
.lang__menu.open { display: block; }
.lang__menu button {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: #fff; padding: 0.65rem 0.95rem; font: inherit; font-weight: 600; cursor: pointer;
}
.lang__menu button:hover { background: rgba(255,255,255,0.08); }
.lang__menu button[aria-current="true"] { color: var(--yellow); }

/* ===== scroll-scrubbed cinematic ===== */
.cinema { position: relative; height: 720vh; } /* scroll distance for the ~30s film */
.cinema__stage {
  position: sticky; top: 0; height: 100vh; width: 100%; /* native pin */
  overflow: hidden; background: #000;
}
.cinema__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.cinema__scrim { /* keeps copy legible over the footage */
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(0,0,0,0.55)),
    linear-gradient(180deg, rgba(0,0,0,0.35), transparent 30%, transparent 70%, rgba(0,0,0,0.45));
}

/* copy beats */
.beat {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(90vw, 820px); text-align: center; z-index: 20;
  opacity: 0; pointer-events: none; will-change: opacity, transform;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.beat--final { pointer-events: auto; }
.beat__kicker {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
  color: var(--yellow); font-weight: 700; margin-bottom: 0.8rem;
}
.beat__title { font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.beat__sub { margin-top: 1rem; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: rgba(255,255,255,0.82); }
.beat--final .btn { margin-top: 1.6rem; }

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.scroll-cue span {
  width: 22px; height: 34px; border: 2px solid rgba(255,255,255,0.4); border-radius: 12px; position: relative;
}
.scroll-cue span::after {
  content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px;
  background: var(--yellow); transform: translateX(-50%); animation: cue 1.6s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ===== content below ===== */
.content { position: relative; z-index: 2; background: var(--navy); }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; padding: 0 1.2rem; }

.features { padding: 7rem 1.2rem; max-width: 1180px; margin: 0 auto; }
.feature-grid {
  margin-top: 3rem; display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07); border-radius: 22px; padding: 1.4rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature:hover { transform: translateY(-6px); border-color: rgba(255,195,0,0.4); }
.feature img { width: 100%; border-radius: 14px; margin-bottom: 1.1rem; aspect-ratio: 4/5; object-fit: cover; object-position: center; }
.feature h3 { font-size: 1.2rem; font-weight: 800; }
.feature p { margin-top: 0.4rem; color: rgba(255,255,255,0.7); font-weight: 500; }

.cta { text-align: center; padding: 7rem 1.2rem 6rem; }
.cta__mascot { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; margin: 0 auto 1.2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
.cta p { margin: 1rem auto 2rem; max-width: 520px; color: rgba(255,255,255,0.75); font-size: 1.1rem; }

.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 2rem 1.4rem; border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55); font-size: 0.9rem;
}
.foot__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot__links a:hover { color: var(--yellow); }

/* ===== legal pages ===== */
.legal { max-width: 820px; margin: 0 auto; padding: 8rem 1.4rem 5rem; }
.legal a.back { color: var(--yellow); font-weight: 700; font-size: 0.9rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin: 1.2rem 0 0.4rem; }
.legal .updated { color: var(--gray); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.35rem; font-weight: 800; margin: 2.2rem 0 0.7rem; }
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 1.3rem 0 0.4rem; }
.legal p, .legal li { color: rgba(255,255,255,0.82); line-height: 1.7; font-weight: 500; }
.legal p { margin: 0.6rem 0; }
.legal ul { margin: 0.6rem 0 0.6rem 1.2rem; }
.legal li { margin: 0.3rem 0; }
.legal strong { color: #fff; }
.legal a { color: var(--yellow); text-decoration: underline; }
.legal .note {
  background: rgba(255,195,0,0.08); border: 1px solid rgba(255,195,0,0.25);
  border-radius: 14px; padding: 1rem 1.2rem; margin: 1.4rem 0; font-size: 0.95rem;
}
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.1); vertical-align: top; }
.legal th { color: #fff; }

/* Reduced motion: don't scrub — show the poster as a static hero with the
   headline, and let the video play normally if the user taps it. */
@media (prefers-reduced-motion: reduce) {
  .cinema { height: 100vh; }
  .cinema__stage { position: relative; }
  .scroll-cue { display: none; }
  .cinema .beat:first-of-type { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
}
