/* Landing 1.2 additions (kept separate so live styles.css / home.css are untouched) */
.section-cta{display:flex;justify-content:center;margin-top:44px}
.section-cta .badge-appstore{margin:0}
/* pricing: yearly first and biggest, monthly small */
.plan-price .plan-save{align-self:center;background:var(--safe-bg);color:#2f7d5d;border:1px solid var(--safe-line);
  font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:5px 11px;border-radius:100px;white-space:nowrap}
/* phones: translated Save tags (fr "Économisez 67 %", vi "Tiết kiệm 67%") made the price row wider than the card */
@media (max-width:480px){.plan-price{flex-wrap:wrap;row-gap:8px}.plan-price .plan-save{white-space:normal}
/* 320px: Family dashboard rows (avatar + text + nowrap tag) were wider than the card; let the tag drop below */
.dash-row{flex-wrap:wrap;row-gap:6px}.dash-body{flex:1 1 6rem}}
.plan-billed{font-size:1rem;color:var(--brand-deep);font-weight:700;margin-bottom:6px}
.plan-monthly{font-size:.92rem;color:var(--muted);font-weight:600;margin-bottom:28px}
/* desktop-only QR card */
.qr-wrap{display:none}
@media (min-width:900px){
  .qr-wrap{display:flex;justify-content:center;padding:0 28px 56px}
  .cta-section .qr-wrap{padding:36px 0 0}
  .qr-card{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--line);border-radius:20px;
    padding:16px 22px 16px 16px;box-shadow:var(--shadow-sm);max-width:440px;text-align:left}
  .qr-code{flex:none;width:112px;height:112px;border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--line)}
  .qr-code svg{display:block;width:100%;height:100%;shape-rendering:crispEdges}
  .qr-copy{display:flex;flex-direction:column;gap:4px;font-size:.96rem;line-height:1.45;color:var(--body)}
  .qr-copy strong{color:var(--ink);font-size:1.02rem}
}
/* mobile-only sticky bar that appears once the hero has scrolled away (home) */
@media (max-width:640px){
  .sticky-late{visibility:hidden;transform:translateY(110%);transition:transform .3s cubic-bezier(.2,.7,.3,1),visibility 0s .3s}
  .sticky-late.show{visibility:visible;transform:none;transition:transform .3s cubic-bezier(.2,.7,.3,1)}
  .sticky-bar a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
/* nav logo intro: scale .88 -> 1 over 520ms, ring sweep 760ms after 120ms */
@keyframes ss-settle{from{transform:scale(.88)}to{transform:none}}
@keyframes ss-ring{from{stroke-dashoffset:1;opacity:1}90%{opacity:1}to{stroke-dashoffset:0;opacity:0}}
.ss-intro .nav-logo svg{animation:ss-settle .52s cubic-bezier(.215,.61,.355,1) both}
.ss-ring{fill:none;stroke:#fff;stroke-width:.9;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;
  animation:ss-ring .76s .12s cubic-bezier(.645,.045,.355,1) both}
/* pricing: one-time shine, Save tag pop once */
@keyframes ss-shine{from{background-position:160% 0}to{background-position:-60% 0}}
@keyframes ss-pop{0%{transform:scale(.7);opacity:0}70%{transform:scale(1.08);opacity:1}100%{transform:none;opacity:1}}
.plan-featured::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.6) 50%,transparent 58%);background-size:250% 100%;background-position:160% 0}
.plan-featured.visible::after{opacity:1;animation:ss-shine 1.1s .5s ease-out 1 both}
.plan.visible .plan-save{animation:ss-pop .5s .6s cubic-bezier(.2,.7,.3,1) both}
@media (prefers-reduced-motion:reduce){
  .ss-intro .nav-logo svg,.ss-ring,.plan-featured.visible::after,.plan.visible .plan-save{animation:none}
  .ss-ring{display:none}
  .sticky-late,.sticky-late.show{transition:none}
}
/* Family CTA sits inside the copy column: left on desktop, centred when stacked, 44px+ tap area */
.family-copy .family-cta{justify-content:flex-start;margin-top:32px}
@media (max-width:1000px){.family-copy .family-cta{justify-content:center;margin-top:28px}}
/* Hero QR: desktop only, floats beside the App Store button so the hero layout does not move */
.hero-qr{display:none}
@media (min-width:900px){
  .hero-actions{position:relative}
  .hero-qr{display:flex;align-items:center;gap:14px;position:absolute;left:calc(50% + 130px);top:50%;transform:translateY(-50%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px 16px 10px 10px;box-shadow:var(--shadow-sm);text-align:left;max-width:250px}
  .hero-qr .qr-code{width:84px;height:84px;border-radius:10px}
  .hero-qr .qr-copy{font-size:.92rem;line-height:1.35}
  .hero-qr .qr-copy strong{font-size:.92rem}
}

/* Landing 1.2 fixes (Oct 28): centred hero CTA row, demo above the fold, CTA spacing in tinted sections */
@media (min-width:900px){
  .hero{padding-top:56px}
  .hero-badge{margin-bottom:20px}
  .hero h1{font-size:clamp(2.9rem,6.2vw,4.4rem);margin-bottom:18px}
  .hero-sub{max-width:44ch;margin-bottom:28px}
  .hero-actions{display:flex;justify-content:center;align-items:center;gap:28px;flex-wrap:wrap;margin-bottom:12px}
  .hero-qr{position:static;transform:none;left:auto;top:auto}
  .hero-qr .qr-code{width:68px;height:68px}
  .demo{margin-top:24px}
}
.section-tinted > .section-cta,.verdict-section > .section-cta{padding-bottom:88px;margin-top:0}
@media (max-width:640px){.section-tinted > .section-cta,.verdict-section > .section-cta{padding-bottom:64px}}
/* Phone nav: logo + language switcher + App Store pill + menu must fit 320-480px with no sideways scroll */
@media (max-width:480px){
  html nav{gap:8px;padding:0 12px}
  html nav .nav-logo{font-size:1.1rem;gap:7px}
  html nav .nav-logo svg{width:24px;height:24px}
  html nav .nav-actions{gap:2px;min-width:0}
  html nav .btn-appstore-nav{padding:9px 13px;font-size:.84rem;gap:6px}
  html nav .btn-appstore-nav svg{width:12px;height:12px}
  html nav .nav-burger{width:40px;height:40px}
}
@media (max-width:380px){html nav .btn-appstore-nav svg{display:none}html nav .btn-appstore-nav{padding:9px 12px}}
@media (max-width:340px){html nav{padding:0 8px;gap:4px}html nav .nav-logo{font-size:1rem;gap:5px}html nav .nav-logo svg{width:22px;height:22px}}
