/* ========================================================================
   UPGRADES Nov 15, 2026 — isolated, reversible polish on the existing page.
   Keep /styles.css untouched. To revert: delete this file and its <link>
   in index.html, plus the marked HTML comments / upgrades.js.
   ======================================================================== */

/* 1) Stronger above-the-fold "$4.99 once. No subscription." hook
      (wording verified against live App Store listing, $4.99 / v1.2.8). */
.upg-hook{
  display:inline-block;
  color:#f5f8ff;
  font-weight:800;
  font-size:clamp(18px,2.2vw,24px);
  letter-spacing:-.02em;
  line-height:1.25;
  text-shadow:0 1px 16px rgba(0,0,0,.55);
}
.film .upg-price{color:#a7b2c8}
.film .upg-hook{color:#f5f8ff}

/* Tightens film spacing just enough so the hook + official App Store badge
   clear a 1440×900 desktop fold and stay on a 390×844 mobile fold.
   Does not change layout structure. */
@media(min-width:1100px){
  .film{padding:88px 0 32px}
  .film .app-icon{margin-bottom:12px}
  .film h1{font-size:clamp(52px,5.8vw,86px)}
  .film .lede{margin-top:14px}
  .film .cta-row{margin-top:18px}
  .film-line{margin-top:16px}
}
@media(max-width:759px){
  .film{padding:92px 0 28px}
  .film .app-icon{margin-bottom:14px}
  .film .lede{margin-top:14px}
  .film .cta-row{margin-top:16px}
  .film-line{margin-top:14px}
}

/* 2) Compact Fast / Freeze / Burn / Recover strip.
      Colors match Design Studio IG graphics (navy page, cyan Freeze,
      orange Burn / sauna, cyan Recover). System font only — no extra downloads. */
.upg-protocol{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:baseline;
  gap:.4em .75em;
  margin:14px auto 0;
  font-weight:800;
  font-size:clamp(14px,2.3vw,18px);
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1;
  text-shadow:0 1px 16px rgba(0,0,0,.5);
}
.upg-sep{color:rgba(154,166,191,.75);font-weight:600;letter-spacing:0}
.upg-fast{color:#f5f8ff}
.upg-freeze{
  background:linear-gradient(180deg,#ffffff 0%,#7ff0ff 40%,#26dbf7 70%,#2a8cff 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.upg-burn{
  background:linear-gradient(0deg,#ff5a36 0%,#ff8a3d 50%,#ffb347 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.upg-recover{color:#26dbf7}

/* 3) Hover polish: soft cyan glow + slight lift on buttons, pills, badge, cards.
      Transform/shadow only — no layout shift. */
.btn,.pill,.badge,.guide-cards a,.sc-btn{
  transition:transform .25s ease,box-shadow .25s ease,background .2s,filter .2s,border-color .2s,color .2s;
}
.btn:hover,.btn:focus-visible,
.sc-btn:hover,.sc-btn:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 12px 30px -10px rgba(38,219,247,.6);
  filter:brightness(1.06);
}
.pill:hover,.pill:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 10px 24px -12px rgba(38,219,247,.55);
}
.badge:hover,.badge:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 16px 36px -12px rgba(38,219,247,.65);
}
.guide-cards a:hover,.guide-cards a:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(38,219,247,.5);
  box-shadow:0 18px 40px -18px rgba(38,219,247,.5);
}

/* 4) Scroll-reveal on sections (activated by upgrades.js via html.upg-motion).
      Opacity + translate only, so nothing shifts layout. If JS does not run,
      sections stay visible. */
html.upg-motion .upg-section{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .8s cubic-bezier(.2,.7,.1,1),transform .8s cubic-bezier(.2,.7,.1,1);
}
html.upg-motion .upg-section.upg-in{
  opacity:1;
  transform:none;
}

@media(prefers-reduced-motion:reduce){
  .btn:hover,.btn:focus-visible,
  .sc-btn:hover,.sc-btn:focus-visible,
  .pill:hover,.pill:focus-visible,
  .badge:hover,.badge:focus-visible,
  .guide-cards a:hover,.guide-cards a:focus-visible{
    transform:none;
  }
  html.upg-motion .upg-section,
  html.upg-motion .upg-section.upg-in{
    opacity:1;
    transform:none;
    transition:none;
  }
  .film{padding-top:88px} /* keep hook visible even when motion is off */
}
