@import url('_tokens.css');

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; min-height: 100%; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--navy-3);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
    line-height: 1.55;
}

a { color: inherit; }

/* ===== Backgrounds ===== */
.bg-base {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% -10%, rgba(242, 168, 37, 0.22), transparent 55%),
        radial-gradient(ellipse at 85% 0%, rgba(140, 60, 220, 0.25), transparent 60%),
        radial-gradient(ellipse at top, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%);
    z-index: -3;
}
.bg-base::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23f2c14e' stroke-opacity='0.10'><circle cx='15' cy='15' r='5'/><circle cx='45' cy='45' r='5'/></g></svg>");
    background-size: 60px 60px;
    opacity: 0.5;
    mix-blend-mode: screen;
    pointer-events: none;
}
.bg-blob {
    position: fixed;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.5;
    z-index: -2;
    pointer-events: none;
    animation: drift 32s ease-in-out infinite alternate;
}
.bg-blob--gold {
    top: -200px;
    left: -160px;
    background: radial-gradient(circle, rgba(255, 199, 90, 0.9), rgba(255, 150, 20, 0.2) 60%, transparent 75%);
}
.bg-blob--purple {
    bottom: -220px;
    right: -180px;
    background: radial-gradient(circle, rgba(160, 85, 255, 0.8), rgba(82, 30, 170, 0.2) 60%, transparent 75%);
    animation-duration: 38s;
    animation-delay: -10s;
}

/* ===== Money rain ===== */
#money-rain {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.money {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    will-change: transform, opacity;
    animation: fall linear infinite;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45))
            drop-shadow(0 0 12px rgba(255, 199, 90, 0.35));
}
.money--bill { width: 58px; height: 32px; }
@keyframes fall {
    0%   { transform: translate3d(calc(var(--x, 50vw) + var(--sway, 0px)), -12vh, 0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.85; }
    85%  { opacity: 0.85; }
    100% { transform: translate3d(calc(var(--x, 50vw) + (var(--sway, 0px) * -1)), 118vh, 0) rotate(540deg); opacity: 0; }
}

#sparkles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sparkle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #fff3b0;
    box-shadow: 0 0 10px 2px rgba(255, 220, 120, 0.9);
    animation: twinkle 3.5s ease-in-out infinite;
}

/* ===== Top bar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(10,8,26,.65), rgba(10,8,26,.25));
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(242, 193, 78, 0.14);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    color: var(--gold-1);
    letter-spacing: .02em;
}
.brand-chip__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #39d98a;
    box-shadow: 0 0 10px #39d98a;
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.25); opacity: .7; }
}

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .15s;
}
.lang-switch__btn:hover { background: rgba(255,255,255,0.1); border-color: var(--border); }
.lang-switch__btn:active { transform: scale(.97); }
.lang-switch__flag { font-size: 18px; line-height: 1; }
.lang-switch__chev { width: 14px; height: 14px; opacity: .7; transition: transform .2s; }
.lang-switch[aria-expanded="true"] .lang-switch__chev,
.lang-switch__btn[aria-expanded="true"] .lang-switch__chev { transform: rotate(180deg); }

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: linear-gradient(145deg, var(--card-bg-1), var(--card-bg-2));
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,183,0,0.14);
    min-width: 200px;
    z-index: 40;
    animation: menuIn .16s ease-out;
}
@keyframes menuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lang-switch__menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    transition: background .15s;
}
.lang-switch__menu li span { font-size: 18px; }
.lang-switch__menu li:hover { background: rgba(242, 193, 78, 0.12); }
.lang-switch__menu li[aria-selected="true"] {
    background: rgba(242, 193, 78, 0.18);
    color: var(--gold-1);
}

/* ===== Page ===== */
.page {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== Shared card ===== */
.card {
    position: relative;
    background: linear-gradient(145deg, var(--card-bg-1), var(--card-bg-2));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(255, 183, 0, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255,226,138,0.45), transparent 35%, transparent 65%, rgba(255,226,138,0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(100deg, #ffe28a 0%, #ffd76a 30%, #f2a825 60%, #ffe28a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    animation: gradMove 5s ease-in-out infinite;
}
@keyframes gradMove {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* Section heading */
.section-head { text-align: center; margin-bottom: 28px; }
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-2);
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(242, 193, 78, 0.12);
    border: 1px solid rgba(242, 193, 78, 0.25);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -.01em;
}

/* ===== Hero (not a card — compact intro above step 1) ===== */
.hero {
    text-align: center;
    padding: 24px 16px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.hero::before { content: none; }
.hero__icon {
    margin: 0 auto 10px;
}
.app-icon {
    width: 72px; height: 72px;
    border-radius: 24px;
    overflow: hidden;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #ffd76a, #f2a825 60%, #c57a10);
    box-shadow:
        0 0 0 3px #f2c14e,
        0 18px 40px rgba(0,0,0,.55),
        0 0 50px rgba(255, 199, 90, 0.35),
        inset 0 0 30px rgba(255, 183, 0, 0.2);
    animation: breathe 4s ease-in-out infinite;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
@keyframes breathe {
    0%, 100% { box-shadow: 0 0 0 3px #f2c14e, 0 18px 40px rgba(0,0,0,.55), 0 0 50px rgba(255, 199, 90, 0.35), inset 0 0 30px rgba(255, 183, 0, 0.2); }
    50%      { box-shadow: 0 0 0 3px #f2c14e, 0 20px 48px rgba(0,0,0,.6), 0 0 70px rgba(255, 199, 90, 0.5), inset 0 0 40px rgba(255, 183, 0, 0.3); }
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(242, 193, 78, 0.14);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--gold-1);
    margin-bottom: 18px;
}
.hero__spark { color: #fff3b0; animation: twinkle 2.2s ease-in-out infinite; }
.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;
    margin: 0;
    letter-spacing: -.02em;
    line-height: 1.08;
}
.hero__sub {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--text-muted);
    font-size: clamp(15px, 1.6vw, 17px);
}
.hero__ctas {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 18px;
}
.hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: #39d98a; box-shadow: 0 0 10px #39d98a; }

/* ===== Buttons ===== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease;
    overflow: hidden;
    white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--gold {
    color: #1a1240;
    background: linear-gradient(145deg, #ffd76a, #f2a825 55%, #c57a10);
    box-shadow: 0 14px 32px rgba(242, 168, 37, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(242, 168, 37, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--gold::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
    animation: shimmer 3.2s ease-in-out infinite;
}
.btn__coin {
    display: inline-grid; place-items: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff3b0, #f2c14e 50%, #c57a10);
    color: #1a1240;
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.btn--ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.14);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--border); }
.btn--ghost svg { width: 16px; height: 16px; }
.btn--xl { padding: 18px 32px; font-size: 17px; border-radius: 16px; }

/* ===== Steps ===== */
.steps {
    position: relative;
    padding: 0;
}
.rail {
    position: absolute;
    top: 140px;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    pointer-events: none;
    z-index: 0;
}
.rail__svg { width: 100%; height: 100%; display: block; }
.rail__line {
    stroke: url(#railGrad);
    stroke: #f2c14e;
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    filter: drop-shadow(0 0 6px rgba(255, 199, 90, 0.55));
    transition: stroke-dashoffset 1.6s ease-out;
}
.steps.is-drawn .rail__line { stroke-dashoffset: 0; }

.step-card {
    position: relative;
    margin: 28px 0;
    padding: 36px 36px 36px 96px;
    z-index: 1;
}
.step-card__num {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffd76a, #f2a825 55%, #c57a10);
    color: #1a1240;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 0 0 4px rgba(5,8,24,0.9), 0 12px 24px rgba(242, 168, 37, 0.35);
}
.step-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--gold-1);
}
.step-card__text {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 16px;
    max-width: 60ch;
}
.step-card__art {
    float: right;
    width: 140px; height: 140px;
    margin: 0 0 16px 28px;
    display: grid; place-items: center;
}
.step-card__art svg { width: 100%; height: 100%; }

.pulse-ring { animation: pulseRing 2.4s ease-out infinite; transform-origin: center; }
.pulse-ring--slow { animation-duration: 3s; animation-delay: .5s; }
@keyframes pulseRing {
    0%   { transform: scale(.85); opacity: .55; }
    80%  { transform: scale(1.15); opacity: 0; }
    100% { transform: scale(1.15); opacity: 0; }
}
.shield { filter: drop-shadow(0 6px 14px rgba(255, 199, 90, 0.4)); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(57, 217, 138, 0.14);
    border: 1px solid rgba(57, 217, 138, 0.35);
    color: #b6f0cf;
    font-size: 13px;
    font-weight: 500;
}
.chip span:first-child { color: #39d98a; font-weight: 800; }

/* VPN picks grid (step 1) */
.vpn-picks__label {
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-2);
    font-weight: 700;
}
.vpn-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.vpn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: var(--text);
    min-width: 0;
    transition: transform .15s ease, border-color .2s, background .2s, box-shadow .2s;
}
.vpn-card:hover {
    transform: translateY(-3px);
    border-color: var(--border);
    background: rgba(242, 193, 78, 0.08);
    box-shadow: 0 10px 22px rgba(0,0,0,.35), 0 0 20px rgba(255, 199, 90, 0.18);
}
.vpn-card__logo {
    position: relative;
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.vpn-card__logo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.vpn-card__logo svg {
    width: 78%;
    height: 78%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.2));
}
.vpn-card__logo--mono::before {
    content: attr(data-mono);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    line-height: 1;
}
.vpn-card__name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}
.vpn-card__tag {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #6ec58a;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(110, 197, 138, .14);
    border: 1px solid rgba(110, 197, 138, .3);
}

@media (max-width: 560px) {
    .vpn-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .vpn-card { padding: 10px 4px 8px; gap: 4px; border-radius: 12px; }
    .vpn-card__logo { width: 36px; height: 36px; border-radius: 10px; }
    .vpn-card__name { font-size: 10.5px; line-height: 1.15; }
    .vpn-card__tag { font-size: 8px; padding: 1px 4px; letter-spacing: .1em; }
}
@media (max-width: 380px) {
    .vpn-card__logo { width: 32px; height: 32px; }
    .vpn-card__name { font-size: 10px; }
    .vpn-card__tag { display: none; }
}

/* Flag grid */
.flag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
}
.flag-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    transition: transform .15s ease, border-color .2s, background .2s, box-shadow .2s;
    will-change: transform;
}
.flag-card:hover {
    border-color: var(--border);
    background: rgba(242, 193, 78, 0.08);
}
.flag-card.is-selected {
    border-color: var(--gold-2);
    background: rgba(242, 193, 78, 0.14);
    box-shadow: 0 10px 24px rgba(242, 168, 37, 0.25), inset 0 0 22px rgba(255, 199, 90, 0.18);
}
.flag-card__flag {
    font-size: 34px;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
    transition: transform .25s ease;
}
.flag-card:hover .flag-card__flag { transform: scale(1.08) translateY(-2px); }
.flag-card__name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}
.flag-card__tier {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-2);
    font-weight: 700;
}
.flag-card__ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}
.flag-card__ring.is-ringing::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--gold-1);
    animation: ringPop .6s ease-out forwards;
}
@keyframes ringPop {
    from { transform: scale(1); opacity: .9; }
    to   { transform: scale(1.15); opacity: 0; }
}

.selected-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(242, 193, 78, 0.14);
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--gold-1);
    animation: menuIn .25s ease-out;
}
.selected-pill strong { color: var(--text); font-weight: 700; }

/* Phone mockup */
.step-card__art--app { width: 160px; height: 200px; }
.phone {
    position: relative;
    width: 140px; height: 200px;
    background: linear-gradient(145deg, #1a1240, #0b1230);
    border: 2px solid rgba(242, 193, 78, 0.35);
    border-radius: 22px;
    padding: 8px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.6), 0 0 40px rgba(255, 199, 90, 0.18);
    animation: phoneFloat 4s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
.phone__notch {
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 38px; height: 4px;
    background: #050818;
    border-radius: 4px;
}
.phone__screen {
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(180deg, #2a1958, #0b1230);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    gap: 8px;
    text-align: center;
}
.phone__icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffd76a, #f2a825);
    box-shadow: 0 0 18px rgba(255, 199, 90, 0.5);
}
.phone__icon img { width: 100%; height: 100%; object-fit: cover; }
.phone__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--gold-1);
}
.phone__open {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: .05em;
}

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    color: var(--text);
    transition: transform .15s, border-color .2s, background .2s;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--border); background: rgba(242, 193, 78, 0.08); }
.store-badge svg { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: 10px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.store-badge strong { display: block; font-size: 14px; font-family: 'Poppins', sans-serif; font-weight: 700; }

/* Step 4 multiplier */
.step-card--final { padding-right: 140px; }
.multiplier {
    position: absolute;
    top: 28px; right: 28px;
    width: 96px; height: 96px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff3b0, #f2c14e 45%, #c57a10);
    color: #1a1240;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    box-shadow: 0 0 0 4px rgba(5,8,24,0.9), 0 14px 30px rgba(242, 168, 37, 0.45), 0 0 40px rgba(255, 199, 90, 0.5);
    animation: multiplierPulse 1.6s ease-in-out infinite;
}
.multiplier__num { font-size: 32px; line-height: 1; }
.multiplier__x { font-size: 22px; line-height: 1; margin-left: 2px; }
@keyframes multiplierPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(5,8,24,0.9), 0 14px 30px rgba(242, 168, 37, 0.45), 0 0 40px rgba(255, 199, 90, 0.5); }
    50%      { transform: scale(1.08); box-shadow: 0 0 0 4px rgba(5,8,24,0.9), 0 18px 38px rgba(242, 168, 37, 0.6), 0 0 60px rgba(255, 199, 90, 0.8); }
}

/* Mini tiles */
.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.mini-tile {
    padding: 16px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    transition: transform .2s, border-color .2s, background .2s;
    cursor: default;
}
.mini-tile:hover { transform: translateY(-4px); border-color: var(--border); background: rgba(242, 193, 78, 0.06); }
.mini-tile__art { width: 72px; height: 72px; margin: 0 auto 8px; }
.mini-tile__art svg { width: 100%; height: 100%; }
.mini-tile__label { font-size: 13px; font-weight: 600; color: var(--text); }

.mini-tile--wheel:hover .wheel { animation: wheelSpin 1.4s cubic-bezier(.3,.8,.2,1); transform-origin: 40px 40px; transform-box: fill-box; }
@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(1080deg); }
}

.scratch {
    transform-origin: right center;
    transition: transform .9s ease;
}
.mini-tile--scratch:hover .scratch { transform: scaleX(0); }

.tick { stroke-dasharray: 24; stroke-dashoffset: 24; }
.mini-tile--tasks:hover .tick--1 { animation: taskTick .3s forwards ease-out .0s; }
.mini-tile--tasks:hover .tick--2 { animation: taskTick .3s forwards ease-out .15s; }
.mini-tile--tasks:hover .tick--3 { animation: taskTick .3s forwards ease-out .3s; }
@keyframes taskTick { to { stroke-dashoffset: 0; } }

/* ===== Strip ===== */
.strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    padding: 28px 32px;
}
.strip__item { text-align: center; flex: 1; }
.strip__num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    background: linear-gradient(100deg, #ffe28a, #ffd76a, #f2a825);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    letter-spacing: -.01em;
}
.strip__label {
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.strip__divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(242, 193, 78, 0.35), transparent);
}

/* ===== FAQ ===== */
.faq { padding: 36px 40px; }
.faq-item {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
}
.faq-item:first-of-type { border-top: 0; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
    padding: 6px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    display: inline-grid; place-items: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(242, 193, 78, 0.14);
    border: 1px solid var(--border);
    color: var(--gold-1);
    font-size: 20px;
    font-weight: 600;
    transition: transform .25s ease, background .2s;
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); background: rgba(242, 193, 78, 0.3); }
.faq-item p {
    margin: 8px 0 4px;
    color: var(--text-muted);
    font-size: 15px;
    animation: faqIn .3s ease-out;
}
@keyframes faqIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Final CTA ===== */
.final { text-align: center; padding: 48px 32px; }
.final__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    margin: 0 0 10px;
}
.final__sub { color: var(--text-muted); margin: 0 0 22px; font-size: 15px; }

/* ===== Footer ===== */
.site-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 8px 12px;
    color: var(--text-muted);
    font-size: 13px;
}
.secure { display: inline-flex; align-items: center; gap: 8px; }
.secure svg { width: 18px; height: 18px; }
.site-foot__links { display: inline-flex; align-items: center; gap: 10px; }
.site-foot__links a { text-decoration: none; color: var(--text-muted); transition: color .15s; }
.site-foot__links a:hover { color: var(--gold-1); }
.site-foot__copy { opacity: .65; }

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: linear-gradient(145deg, var(--card-bg-1), var(--card-bg-2));
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 50;
    box-shadow: 0 20px 40px rgba(0,0,0,.55);
}
.toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== RTL support ===== */
[dir="rtl"] .step-card { padding: 36px 96px 36px 36px; }
[dir="rtl"] .step-card__num { left: auto; right: 28px; }
[dir="rtl"] .step-card--final { padding-left: 140px; padding-right: 96px; }
[dir="rtl"] .multiplier { right: auto; left: 28px; }
[dir="rtl"] .step-card__art { float: left; margin: 0 28px 16px 0; }
[dir="rtl"] .lang-switch__menu { right: auto; left: 0; }
[dir="rtl"] .btn--ghost svg { transform: scaleX(-1); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
    .flag-grid { grid-template-columns: repeat(3, 1fr); }
    .mini-grid { grid-template-columns: repeat(3, 1fr); }
    .step-card__art { float: none; margin: 0 auto 16px; }
    .step-card--final { padding-right: 36px; }
    .multiplier { position: static; margin: 0 auto 16px; }
    [dir="rtl"] .step-card__art { float: none; margin: 0 auto 16px; }
    [dir="rtl"] .step-card--final { padding-left: 36px; padding-right: 96px; }
    .rail { display: none; }
}
@media (max-width: 560px) {
    .page { padding: 0 14px 40px; gap: 14px; }
    .topbar { padding: 8px 14px; }
    .lang-switch__name { display: none; }
    .card { padding: 26px; border-radius: 22px; }
    .hero { padding: 20px 16px 0; }
    .step-card { padding: 56px 22px 26px 22px; }
    .step-card__num { top: 16px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; font-size: 18px; }
    [dir="rtl"] .step-card { padding: 56px 22px 26px 22px; }
    [dir="rtl"] .step-card__num { right: 50%; transform: translateX(50%); }
    .flag-grid { grid-template-columns: repeat(2, 1fr); }
    .mini-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .mini-tile { padding: 10px 6px; }
    .mini-tile__art { width: 56px; height: 56px; }
    .strip { flex-direction: column; gap: 16px; padding: 24px 20px; }
    .strip__divider { display: none; }
    .hero__title { font-size: 34px; }
    .faq { padding: 26px; }
    .site-foot { flex-direction: column; text-align: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal { opacity: 1; transform: none; }
    .rail__line { stroke-dashoffset: 0; }
}
