/* ============================================================
   TherapyExams — World PT Day 2026 Offer Landing Page
   Self-contained stylesheet (does NOT depend on styles.css)
   Mobile-first. Built for Instagram ad traffic.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    /* Brand */
    --brand:        #667eea;
    --brand-dark:   #5a67d8;
    --brand-deep:   #764ba2;
    --grad-brand:   linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* World PT Day accent (World Physiotherapy teal) */
    --teal:         #00b5ad;
    --teal-light:   #2fe0d0;

    /* Offer / urgency */
    --gold:         #ffc857;
    --gold-deep:    #ffa62b;
    --grad-gold:    linear-gradient(135deg, #ffd76f 0%, #ff9f1c 100%);
    --flame:        #ff5a5f;

    /* Dark surfaces */
    --ink:          #080a1a;
    --ink-2:        #0f1230;
    --ink-3:        #171b45;

    /* Light surfaces */
    --paper:        #ffffff;
    --paper-2:      #f7f8fc;
    --paper-3:      #eef1f9;

    /* Text */
    --text:         #12152e;
    --text-soft:    #4a5273;
    --text-mute:    #737c9c;
    --on-dark:      #ffffff;
    --on-dark-soft: rgba(255, 255, 255, 0.74);
    --on-dark-mute: rgba(255, 255, 255, 0.55);

    --line:         #e3e7f2;
    --line-dark:    rgba(255, 255, 255, 0.12);

    /* Radii */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Shadows */
    --sh-sm:  0 2px 8px rgba(18, 21, 46, .06);
    --sh-md:  0 8px 24px rgba(18, 21, 46, .09);
    --sh-lg:  0 18px 48px rgba(18, 21, 46, .13);
    --sh-xl:  0 32px 72px rgba(18, 21, 46, .18);
    --sh-glow: 0 12px 40px rgba(102, 126, 234, .45);
    --sh-gold: 0 12px 40px rgba(255, 168, 43, .42);

    /* Layout */
    --wrap: 1140px;
    --pad: 20px;
    --bar-h: 54px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--bar-h) + 16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 7.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.85rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.35rem); }

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--pad);
}
.wrap--narrow { max-width: 880px; }

.section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(44px, 7vw, 76px) 0; }
.section--paper { background: var(--paper); }
.section--soft  { background: var(--paper-2); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.sec-head p {
    margin-top: 14px;
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    color: var(--text-soft);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 16px;
    border-radius: var(--r-pill);
    background: rgba(102, 126, 234, .1);
    color: var(--brand-dark);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.eyebrow--gold {
    background: rgba(255, 168, 43, .14);
    color: #a05e00;
}

.grad-text {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.gold-text {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: var(--r-pill);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--gold {
    background: var(--grad-gold);
    color: #3a2400;
    box-shadow: var(--sh-gold);
}
.btn--gold:hover { box-shadow: 0 18px 50px rgba(255, 168, 43, .55); }

.btn--brand {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: var(--sh-glow);
}
.btn--brand:hover { box-shadow: 0 18px 50px rgba(102, 126, 234, .55); }

.btn--ghost-light {
    background: rgba(255, 255, 255, .07);
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255,255,255,.5); }

.btn--outline {
    background: transparent;
    color: var(--brand-dark);
    border-color: var(--brand);
}
.btn--outline:hover { background: rgba(102, 126, 234, .08); }

.btn--lg { padding: 18px 36px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }

/* Shine sweep */
.btn--shine::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 -140%;
    width: 70%;
    z-index: -1;
    background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
    transform: skewX(-22deg);
    animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep {
    0%, 62%  { left: -140%; }
    100%     { left: 160%; }
}

/* Pulse ring on the money CTA */
.btn--pulse { animation: btnPulse 2.6s ease-in-out infinite; }
@keyframes btnPulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(255,168,43,.42), 0 0 0 0 rgba(255,168,43,.5); }
    50%      { box-shadow: 0 12px 40px rgba(255,168,43,.42), 0 0 0 16px rgba(255,168,43,0); }
}

/* ============================================================
   1. Sticky offer bar + countdown
   ============================================================ */
.offer-bar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 90;
    min-height: var(--bar-h);
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #1b1040 0%, #3a1d6e 45%, #b4531f 100%);
    color: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.28);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.offer-bar__inner {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 8px var(--pad);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    flex-wrap: wrap;
}
.offer-bar__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: clamp(.72rem, 2.6vw, .85rem);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.offer-bar__tag .spark { animation: sparkle 2.2s ease-in-out infinite; display: inline-block; }
@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
    50%      { transform: scale(1.25) rotate(12deg); opacity: .82; }
}
.offer-bar__cta {
    padding: 8px 18px;
    border-radius: var(--r-pill);
    background: var(--grad-gold);
    color: #3a2400;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}
.offer-bar__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,168,43,.5); }

/* Countdown */
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-variant-numeric: tabular-nums;
}
.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
    padding: 4px 6px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    line-height: 1;
}
.countdown__num {
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: .01em;
}
.countdown__lbl {
    margin-top: 3px;
    font-size: .53rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .72;
}
.countdown__sep { font-weight: 800; opacity: .45; padding-bottom: 10px; }
.countdown__num.tick { animation: tick .42s cubic-bezier(.2,.9,.3,1); }
@keyframes tick {
    0%   { transform: translateY(-46%) scale(.9); opacity: .35; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Big countdown variant (hero + final CTA) */
.countdown--xl { gap: clamp(6px, 2vw, 10px); }
.countdown--xl .countdown__unit {
    min-width: clamp(62px, 19vw, 78px);
    padding: clamp(10px, 2.6vw, 14px) clamp(6px, 2vw, 10px);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .17);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.countdown--xl .countdown__num { font-size: clamp(1.5rem, 5.5vw, 2.3rem); }
.countdown--xl .countdown__lbl { margin-top: 6px; font-size: .62rem; }
.countdown--xl .countdown__sep { display: none; }

.countdown.is-over .countdown__unit { opacity: .5; }

/* ============================================================
   2. Header (logo only — page is intentionally unlinked from nav)
   ============================================================ */
.lp-head {
    position: absolute;
    top: var(--bar-h);
    left: 0;
    right: 0;
    z-index: 20;
    padding: 18px 0;
}
.lp-head__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lp-head__logo img { height: 38px; width: auto; }
.lp-head__link {
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--on-dark-soft);
    padding: 9px 18px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,.24);
    transition: background-color .2s ease, color .2s ease;
}
.lp-head__link:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ============================================================
   3. Hero
   ============================================================ */
.hero {
    position: relative;
    padding: calc(var(--bar-h) + 96px) 0 clamp(60px, 9vw, 100px);
    background: radial-gradient(120% 90% at 50% 0%, #201a5c 0%, #0f1230 46%, #080a1a 100%);
    color: var(--on-dark);
    overflow: hidden;
    isolation: isolate;
}

/* Aurora blobs */
.hero__aurora {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 130%;
    z-index: -3;
    pointer-events: none;
    filter: blur(70px);
    opacity: .62;
}
.hero__aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    mix-blend-mode: screen;
    will-change: transform;
}
.hero__aurora span:nth-child(1) {
    width: 46vw; height: 46vw; min-width: 300px; min-height: 300px;
    left: 2%; top: 6%;
    background: radial-gradient(circle, #667eea 0%, transparent 68%);
    animation: drift1 17s ease-in-out infinite;
}
.hero__aurora span:nth-child(2) {
    width: 42vw; height: 42vw; min-width: 280px; min-height: 280px;
    right: 4%; top: 0%;
    background: radial-gradient(circle, #00b5ad 0%, transparent 68%);
    animation: drift2 21s ease-in-out infinite;
}
.hero__aurora span:nth-child(3) {
    width: 38vw; height: 38vw; min-width: 260px; min-height: 260px;
    left: 34%; bottom: 2%;
    background: radial-gradient(circle, #ff9f1c 0%, transparent 68%);
    animation: drift3 19s ease-in-out infinite;
}
@keyframes drift1 {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50%      { transform: translate3d(7%, 9%, 0) scale(1.14); }
}
@keyframes drift2 {
    0%, 100% { transform: translate3d(0,0,0) scale(1.08); }
    50%      { transform: translate3d(-9%, 7%, 0) scale(.94); }
}
@keyframes drift3 {
    0%, 100% { transform: translate3d(0,0,0) scale(.96); }
    50%      { transform: translate3d(6%, -8%, 0) scale(1.16); }
}

/* Subtle grid overlay */
.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: radial-gradient(90% 70% at 50% 25%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(90% 70% at 50% 25%, #000 0%, transparent 78%);
}

.hero__inner { text-align: center; position: relative; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px 9px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: clamp(.76rem, 2.4vw, .88rem);
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
}
.hero__badge .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #34e39b;
    box-shadow: 0 0 0 0 rgba(52, 227, 155, .7);
    animation: livePulse 2s infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(52,227,155,.65); }
    70%  { box-shadow: 0 0 0 10px rgba(52,227,155,0); }
    100% { box-shadow: 0 0 0 0 rgba(52,227,155,0); }
}
.hero__badge b {
    padding: 3px 10px;
    border-radius: var(--r-pill);
    background: var(--grad-gold);
    color: #3a2400;
    font-size: .74em;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero h1 { margin-top: 22px; color: #fff; }
.hero h1 .big-off {
    display: inline-block;
    position: relative;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero h1 .big-off::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -.06em;
    height: .07em;
    border-radius: 4px;
    background: var(--grad-gold);
    opacity: .55;
    transform-origin: left center;
    animation: underline 1s cubic-bezier(.2,.8,.3,1) .55s both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__sub {
    margin: 20px auto 0;
    max-width: 640px;
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    color: var(--on-dark-soft);
}
.hero__sub strong { color: #fff; font-weight: 700; }

/* Price flip */
.hero__price {
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    gap: clamp(10px, 3vw, 22px);
    padding: 16px clamp(16px, 4vw, 32px);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero__price-was {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.hero__price-was s {
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    font-weight: 700;
    color: var(--on-dark-mute);
    text-decoration-color: var(--flame);
    text-decoration-thickness: 3px;
}
.hero__price-lbl {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--on-dark-mute);
}
.hero__price-arrow {
    color: var(--gold);
    flex-shrink: 0;
    animation: nudge 1.8s ease-in-out infinite;
}
@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(5px); }
}
.hero__price-now {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.hero__price-now b {
    font-size: clamp(2.1rem, 7vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -.03em;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.hero__price-tag {
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: rgba(52, 227, 155, .18);
    border: 1px solid rgba(52, 227, 155, .4);
    color: #7ff0bd;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

.hero__cta {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.hero__note {
    margin-top: 18px;
    font-size: .88rem;
    color: var(--on-dark-mute);
}
.hero__note b { color: #fff; }

/* Hero countdown */
.hero__timer {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.hero__timer-lbl {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Trust strip */
.hero__trust {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 620px;
    margin-inline: auto;
}
.trust-item {
    padding: 16px 12px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
}
.trust-item b {
    display: block;
    font-size: clamp(1.15rem, 4vw, 1.55rem);
    font-weight: 900;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #fff 0%, #b9c2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.trust-item span {
    display: block;
    margin-top: 4px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--on-dark-mute);
}

/* App badges */
.app-badges {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    transition: background-color .2s ease, transform .2s ease;
}
.app-badge:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.app-badge svg { width: 22px; height: 22px; }
.app-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.app-badge small { font-size: .6rem; opacity: .68; letter-spacing: .05em; text-transform: uppercase; }
.app-badge strong { font-size: .92rem; font-weight: 700; }

/* ---------- Marquee ribbon ---------- */
.ribbon {
    background: var(--grad-gold);
    color: #3a2400;
    padding: 13px 0;
    overflow: hidden;
    white-space: nowrap;
    border-block: 1px solid rgba(0,0,0,.08);
}
.ribbon__track {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    animation: marquee 26s linear infinite;
    will-change: transform;
}
.ribbon__track span {
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 30px;
}
.ribbon__track span::after {
    content: '★';
    font-size: .8em;
    opacity: .55;
}
@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   4. Scratch card
   ============================================================ */
.scratch-sec {
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(102,126,234,.13) 0%, transparent 70%),
        var(--paper-2);
}

.scratch-card {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    border-radius: var(--r-xl);
    padding: 6px;
    background: linear-gradient(135deg, #ffd76f, #ff9f1c 30%, #667eea 70%, #764ba2);
    box-shadow: var(--sh-xl);
}
/* Rotating conic glow behind the card */
.scratch-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #ffd76f, #ff9f1c, #667eea, #00b5ad, #ffd76f);
    filter: blur(16px);
    opacity: .5;
    z-index: -1;
    animation: spinGlow 8s linear infinite;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }

.scratch-card__inner {
    position: relative;
    border-radius: calc(var(--r-xl) - 6px);
    background: #fff;
    padding: clamp(26px, 5vw, 38px) clamp(20px, 4vw, 34px);
    text-align: center;
    overflow: hidden;
}

.scratch-card__label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.scratch-card__title {
    margin-top: 8px;
    font-size: clamp(1.15rem, 3.4vw, 1.4rem);
    font-weight: 800;
}

/* The reveal stage (code sits underneath the canvas) */
.scratch-stage {
    position: relative;
    margin: 22px auto 0;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 16 / 8;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--grad-brand);
    box-shadow: inset 0 2px 14px rgba(0,0,0,.18);
    /* pan-y keeps the page scrollable when a finger lands on the card;
       horizontal drags (the natural scratch gesture) still reach us. */
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.scratch-prize {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    text-align: center;
    color: #fff;
}
.scratch-prize__off {
    font-size: clamp(.68rem, 2.4vw, .78rem);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
}
.scratch-prize__code {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.scratch-prize__hint {
    font-size: clamp(.68rem, 2.4vw, .78rem);
    font-weight: 600;
    color: rgba(255,255,255,.78);
}

.scratch-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
    transition: opacity .55s ease;
}
.scratch-canvas:active { cursor: grabbing; }

/* Animated "scratch here" coach mark on top of the canvas */
.scratch-coach {
    position: absolute;
    inset: 0;
    z-index: 2; /* sits above the canvas — pointer-events:none keeps scratching working */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    transition: opacity .35s ease;
}
.scratch-coach__finger {
    font-size: 2rem;
    animation: swipe 2.1s ease-in-out infinite;
}
@keyframes swipe {
    0%, 100% { transform: translateX(-34px) rotate(-8deg); }
    50%      { transform: translateX(34px) rotate(8deg); }
}
.scratch-coach__txt {
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.scratch-stage.is-revealed .scratch-canvas { opacity: 0; pointer-events: none; }
.scratch-stage.is-revealed .scratch-coach { opacity: 0; }
.scratch-stage.is-revealed .scratch-prize { animation: prizePop .6s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes prizePop {
    0%   { transform: scale(.84); opacity: .4; }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}
.scratch-stage.is-scratching .scratch-coach { opacity: 0; }

/* Post-reveal actions */
.scratch-actions {
    margin-top: 22px;
    display: none;
    flex-direction: column;
    gap: 14px;
    animation: fadeUp .55s ease .12s both;
}
.scratch-stage.is-revealed ~ .scratch-actions { display: flex; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.copy-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 8px 8px 8px 18px;
    border-radius: var(--r-pill);
    border: 2px dashed var(--brand);
    background: rgba(102, 126, 234, .06);
}
.copy-row__code {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.1rem, 4.4vw, 1.45rem);
    font-weight: 900;
    letter-spacing: .14em;
    color: var(--brand-dark);
    font-family: 'Inter', monospace;
}
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--r-pill);
    background: var(--grad-brand);
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.copy-btn:hover { transform: translateY(-1px); box-shadow: var(--sh-glow); }
.copy-btn.is-copied { background: linear-gradient(135deg, #34e39b, #16a97a); }

.scratch-fallback {
    margin-top: 16px;
    font-size: .84rem;
    color: var(--text-mute);
}
.scratch-fallback button {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.scratch-expiry {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--r-pill);
    background: rgba(255, 90, 95, .1);
    color: #c0392b;
    font-size: .8rem;
    font-weight: 700;
}

/* Confetti canvas overlay — only mounted as a layer while it is actually firing */
#confetti {
    position: fixed;
    inset: 0;
    z-index: 120;
    pointer-events: none;
    display: none;
}
#confetti.is-firing { display: block; }

/* Applied by JS when a decorative animation scrolls out of view, so phones
   aren't compositing blurred layers they can't see.
   Deliberately NOT `.anim-paused *`: animations like prizePop/fadeUp use
   fill-mode "both" to hold their final visible state, and freezing those at
   the 0% keyframe would leave revealed content dimmed or invisible. Only the
   purely decorative layers below are paused. */
.anim-paused           { animation-play-state: paused !important; }
.anim-paused::before   { animation-play-state: paused !important; }
.hero__aurora.anim-paused span { animation-play-state: paused !important; }

/* ============================================================
   5. Steps
   ============================================================ */
.steps {
    display: grid;
    gap: 20px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 30px 26px 26px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(102,126,234,.4); }
.step__num {
    counter-increment: step;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: var(--sh-glow);
    margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .96rem; }
.step__code {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(255, 168, 43, .16);
    color: #a05e00;
    font-weight: 800;
    letter-spacing: .02em;
    font-size: .88rem;
    transition: background-color .2s ease, transform .2s ease;
}
.step__code:hover { background: rgba(255, 168, 43, .3); transform: translateY(-1px); }

/* ============================================================
   6. Features
   ============================================================ */
.features {
    display: grid;
    gap: 18px;
}
.feature {
    padding: 28px 24px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 100%;
    height: 3px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }

.feature__ico {
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    margin-bottom: 16px;
    color: #fff;
    box-shadow: var(--sh-md);
}
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: .95rem; }
.feature__pill {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 11px;
    border-radius: var(--r-pill);
    background: var(--paper-3);
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ============================================================
   7. Pricing
   ============================================================ */
.pricing {
    display: grid;
    gap: 24px;
    align-items: start;
}
.plan {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--r-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
}
.plan__name {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-mute);
}
.plan__price {
    margin: 12px 0 4px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.plan__price b {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1;
}
.plan__price s {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-mute);
    text-decoration-color: var(--flame);
    text-decoration-thickness: 2px;
}
.plan__meta { color: var(--text-soft); font-size: .92rem; }
.plan__list { margin: 22px 0 26px; display: grid; gap: 11px; }
.plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: var(--text-soft);
}
.plan__list svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.plan__list .tick { color: #16a97a; }
.plan__list .cross { color: #c9ceda; }

.plan--featured {
    background: linear-gradient(165deg, #171b45 0%, #0f1230 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--sh-xl);
    overflow: hidden;
}
.plan--featured::before {
    content: '';
    position: absolute;
    inset: -50% -30% auto auto;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(255,168,43,.34) 0%, transparent 65%);
    pointer-events: none;
}
.plan--featured .plan__name { color: var(--gold); }
.plan--featured .plan__meta { color: var(--on-dark-soft); }
.plan--featured .plan__list li { color: var(--on-dark-soft); }
.plan--featured .plan__list .tick { color: #34e39b; }
.plan--featured .plan__price b {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan--featured .plan__price s { color: var(--on-dark-mute); }

.plan__flag {
    position: absolute;
    top: 20px; right: -46px;
    width: 180px;
    padding: 7px 0;
    transform: rotate(38deg);
    background: var(--grad-gold);
    color: #3a2400;
    text-align: center;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.plan__coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .07);
    border: 1px dashed rgba(255, 200, 87, .55);
    font-size: .86rem;
    color: var(--on-dark-soft);
}
.plan__coupon b { color: var(--gold); letter-spacing: .1em; font-weight: 900; }

.plan__save {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(52, 227, 155, .16);
    border: 1px solid rgba(52, 227, 155, .34);
    color: #34e39b;
    font-size: .78rem;
    font-weight: 800;
}

.plan__note {
    margin-top: 14px;
    text-align: center;
    font-size: .8rem;
    color: var(--text-mute);
}
.plan--featured .plan__note { color: var(--on-dark-mute); }

.guarantee {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 620px;
    margin-inline: auto;
    padding: 20px 24px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
}
.guarantee__ico {
    width: 48px; height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(102, 126, 234, .12);
    font-size: 1.5rem;
}
.guarantee strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.guarantee p { font-size: .9rem; color: var(--text-soft); }

/* ============================================================
   8. Testimonials
   ============================================================ */
.quotes { display: grid; gap: 20px; }
.quote {
    position: relative;
    padding: 30px 26px 26px;
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.quote::before {
    content: '”';
    position: absolute;
    top: 4px; right: 22px;
    font-size: 4.6rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(102, 126, 234, .14);
}
.quote__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    color: #ffb020;
}
.quote__stars svg { width: 17px; height: 17px; }
.quote__text {
    font-size: .98rem;
    color: var(--text-soft);
    margin-bottom: 20px;
}
.quote__who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.quote__avatar {
    width: 44px; height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .02em;
}
/* Scoped to the name block so it can't clobber .quote__avatar's centering */
.quote__meta strong { display: block; font-size: .93rem; }
.quote__meta span { display: block; font-size: .8rem; color: var(--text-mute); }

/* ============================================================
   9. FAQ
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
    border-radius: var(--r-md);
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.faq__item.is-open { border-color: rgba(102,126,234,.45); box-shadow: var(--sh-md); }
.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
}
.faq__q svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--brand);
    transition: transform .3s ease;
}
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s cubic-bezier(.2,.8,.3,1);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
    padding: 0 22px 20px;
    font-size: .95rem;
    color: var(--text-soft);
}
.faq__a code {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255,168,43,.16);
    color: #a05e00;
    font-weight: 800;
    letter-spacing: .08em;
}

/* ============================================================
   10. Final CTA
   ============================================================ */
.final {
    position: relative;
    padding: clamp(60px, 9vw, 100px) 0 clamp(70px, 10vw, 110px);
    background: radial-gradient(100% 80% at 50% 100%, #2a1d63 0%, #0f1230 55%, #080a1a 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.final__glow {
    position: absolute;
    inset: auto 0 -40% 0;
    height: 80%;
    z-index: -1;
    background: radial-gradient(50% 60% at 50% 50%, rgba(255,168,43,.28) 0%, transparent 70%);
    filter: blur(50px);
    animation: breathe 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes breathe {
    0%, 100% { opacity: .55; transform: scale(1); }
    50%      { opacity: .9; transform: scale(1.12); }
}
.final h2 { color: #fff; }
.final p {
    margin: 18px auto 0;
    max-width: 560px;
    color: var(--on-dark-soft);
    font-size: clamp(1rem, 2.4vw, 1.1rem);
}
.final__timer { margin: 34px 0 30px; display: flex; justify-content: center; }
.final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.final__code {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    border: 2px dashed rgba(255, 200, 87, .5);
    background: rgba(255, 255, 255, .05);
    font-size: .92rem;
    color: var(--on-dark-soft);
}
.final__code b { color: var(--gold); font-weight: 900; letter-spacing: .14em; }
.final__code:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 200, 87, .85);
    color: #fff;
}

/* ============================================================
   11. Footer
   ============================================================ */
.lp-foot {
    background: var(--ink);
    color: var(--on-dark-mute);
    padding: 40px 0 32px;
    border-top: 1px solid var(--line-dark);
    text-align: center;
}
.lp-foot img { height: 34px; width: auto; margin: 0 auto 18px; }
.lp-foot__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-bottom: 20px;
    font-size: .88rem;
}
.lp-foot__links a { transition: color .2s ease; }
.lp-foot__links a:hover { color: #fff; }
.lp-foot__social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}
.lp-foot__social a {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: var(--on-dark-soft);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.lp-foot__social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.lp-foot__social svg { width: 18px; height: 18px; }
.lp-foot__legal { font-size: .8rem; line-height: 1.7; }
.lp-foot__legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   12. Mobile sticky CTA
   ============================================================ */
.sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 26px rgba(18, 21, 46, .12);
    transform: translateY(120%);
    transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__info { flex: 1; min-width: 0; line-height: 1.25; }
.sticky-cta__info b { display: block; font-size: .95rem; font-weight: 800; }
.sticky-cta__info span { font-size: .74rem; color: var(--text-mute); }
.sticky-cta .btn { padding: 13px 22px; font-size: .92rem; flex-shrink: 0; }

/* ============================================================
   Scroll reveal
   ============================================================ */
/* Content is visible by default: if the script fails, is blocked, or the
   observer never fires, the page still reads correctly. Only once JS has
   confirmed it's running (html.js) do we hide these to animate them in. */
.reveal { opacity: 1; }

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1);
    will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero entrance stagger */
.rise { animation: rise .85s cubic-bezier(.2,.8,.3,1) both; }
.rise-1 { animation-delay: .05s; }
.rise-2 { animation-delay: .16s; }
.rise-3 { animation-delay: .27s; }
.rise-4 { animation-delay: .38s; }
.rise-5 { animation-delay: .49s; }
.rise-6 { animation-delay: .60s; }
.rise-7 { animation-delay: .71s; }
@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 600px) {
    .hero__trust { grid-template-columns: repeat(4, 1fr); }
    .scratch-actions { flex-direction: row; align-items: center; }
    .scratch-actions .copy-row { flex: 1; }
    .scratch-actions .btn { flex-shrink: 0; }
}

@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .quotes { grid-template-columns: repeat(3, 1fr); }
    .pricing { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .features { grid-template-columns: repeat(4, 1fr); }
    .pricing { max-width: 940px; margin-inline: auto; }
    .sticky-cta { display: none; }
}

/* Phones: large-radius blurs are the most expensive thing on the page to
   composite, and the blobs are soft radial gradients already — so shrink the
   radius rather than the effect. */
@media (max-width: 768px) {
    .hero__aurora { filter: blur(38px); }
    .final__glow  { filter: blur(30px); }
    .scratch-card::before { filter: blur(10px); }
}

/* Small phones: keep the top bar readable */
@media (max-width: 420px) {
    .offer-bar__inner { gap: 6px 10px; }
    .offer-bar__cta { padding: 7px 14px; font-size: .75rem; }
    .countdown__unit { min-width: 34px; padding: 3px 4px; }
    .countdown__num { font-size: .86rem; }
    .countdown__lbl { font-size: .48rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal, .js .reveal { opacity: 1; transform: none; }
    .ribbon__track { animation: none; }
    .hero__aurora { opacity: .4; }
}

/* Print */
@media print {
    .offer-bar, .sticky-cta, #confetti, .scratch-canvas, .scratch-coach { display: none !important; }
    .scratch-actions { display: flex !important; }
}
