/* =====================================================
   MOTION & INTERACTION
   ===================================================== */
.scroll-progress { position: fixed; top: 0; right: 0; height: 3px; width: 100%; z-index: 200; transform-origin: right center; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, #5affff, #7a5cff, #ff4fa3); box-shadow: 0 0 12px rgba(90,255,255,.7); pointer-events: none; }

/* entrance on load */
@keyframes blurIn { from { opacity: 0; filter: blur(18px); transform: translateY(30px); } to { opacity: 1; filter: blur(0); transform: none; } }
.hero__text > * { animation: blurIn 1s cubic-bezier(.2,.7,.2,1) both; }
.hero__lead { animation-delay: .1s; } .hero__lead2 { animation-delay: .25s; } .hero__title { animation-delay: .4s; } .hero__sub { animation-delay: .6s; }
.hero__text { will-change: opacity, filter, transform; }
.hero__bg { will-change: transform; transform: translateY(var(--hy, 0px)) scale(var(--hs, 1)); }
@keyframes hdrIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
header { animation: hdrIn .8s cubic-bezier(.2,.7,.2,1) both; }

/* buttons: shine sweep + pulse + ripple */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%); transform: translateX(120%); transition: transform .8s; pointer-events: none; }
.btn:hover::after { transform: translateX(-120%); }
.btn:active { transform: scale(.98); }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 10px 34px rgba(90,255,255,.22); } 50% { box-shadow: 0 10px 56px rgba(90,255,255,.6); } }
.hero .btn--hero { animation: blurIn 1s .8s both, pulseGlow 2.8s 2s infinite; }
.glass .btn--full { animation: pulseGlow 2.8s infinite; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); transform: scale(0); animation: ripple .7s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* cards: hover lift + cursor spotlight */
.qcard, .fcard, .info, .chip, .host__photo { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s, background-color .35s; }
.qcard, .fcard, .info { position: relative; overflow: hidden; }
.qcard::before, .fcard::before, .info::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(90,255,255,.22), transparent 70%); }
.qcard:hover::before, .fcard:hover::before, .info:hover::before { opacity: 1; }
.qcard:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.fcard:hover { transform: translateY(-6px); border-color: rgba(90,255,255,.7); box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 24px rgba(90,255,255,.12); }
.fcard__ic { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.fcard:hover .fcard__ic { transform: scale(1.18) rotate(-6deg); }
.info:hover { transform: translateY(-6px); border-color: var(--cyan); }
.chip:hover { background: rgba(90,255,255,.12); transform: translateY(-2px); }
.host__photo:hover { transform: scale(1.02); }
.host__photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.host__photo:hover img { transform: scale(1.07); }
.anchors a, .nav-links a { position: relative; }
.anchors a::after, .nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 1px; background: var(--cyan); transform: scaleX(0); transition: transform .3s; }
.anchors a:hover::after, .nav-links a:hover::after { transform: scaleX(1); }
.anchors a i { transition: transform .3s; }
.anchors a:hover i { transform: translateY(4px); }
.socials a:hover { transform: translateY(-4px) scale(1.1); }

/* ambient */
@keyframes spinFloat { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -22px; rotate: 12deg; } }
.diamond { animation: spinFloat 6s ease-in-out infinite; }
.diamond--b { animation-delay: -3s; }
.film__ribbon { translate: 0 var(--ry, 0px); will-change: translate; }
.glow-line { background-size: 200% 100%; animation: shimmer 4s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* timeline progress */
.steps::before { background: linear-gradient(180deg, var(--cyan) var(--prog, 0%), rgba(90,255,255,.18) var(--prog, 0%)); box-shadow: 0 0 10px rgba(90,255,255,.35); }
.step::after { transition: transform .4s, opacity .4s, box-shadow .4s; opacity: .35; transform: scale(.7); box-shadow: none; }
.step.is-active::after { opacity: 1; transform: scale(1.35); box-shadow: 0 0 18px var(--cyan), 0 0 36px rgba(90,255,255,.6); }

/* form polish */
.form input, .form textarea { transition: border-color .2s, box-shadow .2s, transform .2s; }
.form input:focus, .form textarea:focus { transform: translateY(-2px); }
.form input.invalid { animation: shake .4s; }
@keyframes shake { 20%,60% { translate: -6px 0; } 40%,80% { translate: 6px 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* keep scaled/parallax layers from creating horizontal scroll */
html, body { overflow-x: clip; max-width: 100%; }
.hero, .journey, .final, .regwrap, .film { overflow-x: clip; }
.hero__bg { left: 0; right: 0; }

/* film ribbon: on small screens crop to the ribbon area (x 420-1520) so it renders larger */
@media (max-width: 900px) {
  .film { margin-top: 90px; direction: ltr; }
  .fl__t { direction: rtl; }
  .film__stage { --u: calc(100cqw / 1260); left: calc(-390 * var(--u)); width: calc(1920 * var(--u)); height: calc(1330 * var(--u)); }
  .fl { font-size: calc(42 * var(--u)); }
  .fl__ic { width: calc(96 * var(--u)); height: calc(96 * var(--u)); }
  .fl::after { width: 12px; height: 12px; top: calc(var(--y) * var(--u) - 6px); left: calc(var(--x) * var(--u) - 12px); }
}

/* =====================================================
   MOBILE (<= 640px): smaller type + tighter spacing
   ===================================================== */
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  header { padding: .8rem 1rem; }
  header.scrolled { padding: .7rem 1rem; }
  .logo img { height: 28px; }

  .hero { padding-top: 120px; }
  .hero__lead { font-size: 16px; }
  .hero__lead2 { font-size: 18px; }
  .hero__title { font-size: 30px; margin-top: 20px; }
  .hero__sub { font-size: 16px; margin-top: 18px; }
  .btn { height: 54px; font-size: 17px; padding: 0 24px; }
  .hero .btn--hero { height: 54px; margin-top: 32px; }

  .webcard { width: calc(100% - 32px); margin-top: 70px; padding: 36px 16px 32px; border-radius: 28px; }
  .webcard__title { font-size: 30px; }
  .webcard__host { font-size: 18px; }
  .webcard .glow-line { margin: 28px auto 24px; }
  .webcard .chips { margin-bottom: 24px; }
  .chips { gap: 8px; }
  .chip { font-size: 14px; min-height: 38px; padding: 6px 12px; }
  .chip--wide { min-width: 0; }
  .gift { font-size: 14px; margin-top: 18px; }

  .anchors { margin-top: 56px; gap: 12px 22px; font-size: 15px; }
  .glow-line--page { margin-top: 36px !important; }
  .h2, .h2--lg, .h2--xl { font-size: 26px; }

  .idea { margin-top: 80px; }
  .idea__sub { font-size: 16px; margin-top: 14px; }
  .idea__panel { padding: 14px; border-radius: 28px; gap: 10px; margin-top: 28px; }
  .qcard { min-height: 100px; font-size: 16px; padding: 14px; }

  .journey { margin-top: 70px; padding-top: 70px; }
  .journey__sub { font-size: 16px; margin-top: 14px; }

  .expect { margin-top: 60px; }
  .steps { margin-top: 28px; }
  .step { padding: 28px 44px 30px 16px; }
  .step::after { right: 20px; top: 34px; }
  .steps::before { right: 26px; }
  .step__no { font-size: 14px; }
  .step__t { font-size: 21px; margin-top: 8px; }
  .step__b { font-size: 16px; }
  .step__p { font-size: 15px; line-height: 1.8; }
  .btn--glow { margin-top: 28px; }

  .foryou { margin-top: 80px; }
  .fgrid { gap: 10px; margin-top: 28px; }
  .fcard { min-height: 0; padding: 16px; gap: 14px; font-size: 16px; line-height: 1.6; }
  .fcard__ic { width: 36px; height: 36px; }

  .cta { margin-top: 80px; }
  .cta__card { padding: 40px 16px; border-radius: 32px; }
  .cta__lead { font-size: 16px; }
  .cta__title { font-size: 24px; }
  .cta__txt { font-size: 16px; }
  .cta__book { font-size: 17px; margin-top: 22px; }
  .infos { gap: 10px; }
  .info { height: 112px; min-width: 0; flex: 1 1 calc(50% - 10px); font-size: 16px; border-radius: 20px; }
  .info span { font-size: 13px; }
  .cta__note { font-size: 14px; margin-top: 20px; }

  .host { margin-top: 80px; }
  .host__card { padding: 24px 16px; gap: 24px; }
  .host__title { font-size: 21px; }
  .host__body, .host__body .host__role { font-size: 15px; }
  .host__body p + p { margin-top: 16px; }

  .final { margin-top: 60px; padding: 90px 0 60px; }
  .glass { padding: 40px 16px; border-radius: 30px; }
  .glass__title { font-size: 26px; }
  .glass__txt { font-size: 16px; }
  .glass__hl { font-size: 20px; margin-top: 20px; }
  .glass__web { font-size: 16px; margin-top: 18px; }

  footer { padding: 4rem 1rem 2rem; margin-top: 2rem; }
  .footer-big { font-size: 26px; margin-bottom: 2rem; }
  .footer-big .sub { font-size: 19px; margin: 10px 0; }
  .footer-logo img { height: 42px; }
}

@media (max-width: 1000px) {
  .host__card { flex-direction: column; align-items: stretch; }
  .host__photo { align-self: center; width: min(360px, 100%); }
  .host__body .btn--sm { display: flex; width: fit-content; margin-inline: auto; margin-top: 24px; }
}

/* mobile header: centered logo, no menu */
@media (max-width: 1280px) {
  .menu-toggle, .nav-links, .nav-actions { display: none !important; }
  .header-inner { justify-content: center; }
}
