/* ═══════════════════════════════════════════════════
   CYPRUS LEAGUE — Landing Page
   A hand-crafted, non-template look.
   ═══════════════════════════════════════════════════ */

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

:root {
    --bg:       #080c14;
    --bg2:      #0e1420;
    --surface:  #13192a;
    --surface2: #1a2238;
    --border:   rgba(255,255,255,.06);
    --text:     #dfe5f0;
    --dim:      #7b879e;
    --gold:     #f5a623;
    --gold-d:   #c77f0a;
    --green:    #34d399;
    --blue:     #60a5fa;
    --red:      #f87171;
    --purple:   #c084fc;
    --white:    #fff;
    --font-h:   'Outfit', system-ui, sans-serif;
    --font-b:   'Space Grotesk', system-ui, sans-serif;
    --ease:     cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-b);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: var(--text); }

/* ── Noise grain overlay ──────────────────────────── */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
}

/* ── Wrapper ──────────────────────────────────────── */
.wrap {
    width: min(1120px, 88%);
    margin-inline: auto;
}

/* ── Shared tag chip ──────────────────────────────── */
.tag {
    display: inline-block;
    font-family: var(--font-b);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(245,166,35,.25);
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-b);
    font-weight: 700;
    font-size: .95rem;
    border-radius: 60px;
    padding: .85rem 1.9rem;
    transition: transform .25s var(--ease), box-shadow .3s var(--ease);
    cursor: pointer;
    border: none;
}
.btn svg { flex-shrink: 0; }

.btn--primary {
    background: var(--gold);
    color: #111;
    box-shadow: 0 4px 28px rgba(245,166,35,.3);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(245,166,35,.45);
}

.btn--white {
    background: var(--white);
    color: #111;
    box-shadow: 0 4px 24px rgba(255,255,255,.1);
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,255,255,.18);
}

.btn--ig {
    background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(220,39,67,.3);
}
.btn--ig:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220,39,67,.5);
}

/* ══════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: .65rem 0;
    transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
.nav.is-scrolled {
    background: rgba(8,12,20,.82);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
    width: min(1120px, 88%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.05rem;
}
.nav__icon {
    border-radius: 8px;
}
.nav__dl {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: .45rem 1.15rem;
    border: 1px solid rgba(245,166,35,.35);
    border-radius: 50px;
    color: var(--gold);
    transition: background .2s, color .2s;
}
.nav__dl:hover {
    background: var(--gold);
    color: #111;
}

/* ══════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(.35) saturate(.7);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8,12,20,.3) 0%, rgba(8,12,20,.75) 55%, var(--bg) 100%),
        linear-gradient(90deg, rgba(8,12,20,.9) 0%, transparent 60%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(1120px, 88%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 2rem;
    padding: 7rem 0 5rem;
}

.hero__app-icon {
    border-radius: 18px;
    box-shadow: 0 6px 30px rgba(0,0,0,.5);
    margin-bottom: 1.6rem;
}

.hero__title {
    font-family: var(--font-h);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 1.2rem;
}
.hero__accent {
    background: linear-gradient(135deg, var(--gold), #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__sub {
    font-size: 1.08rem;
    color: var(--dim);
    max-width: 440px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.hero__tag {
    font-size: .75rem;
    color: var(--dim);
    letter-spacing: .04em;
}

.hero__right {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero__lottie {
    width: min(380px, 100%);
    height: auto;
    filter: drop-shadow(0 0 60px rgba(245,166,35,.15));
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.hero__scroll-hint span {
    display: block;
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 12px;
    position: relative;
}
.hero__scroll-hint span::after {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--gold);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { opacity: 1; top: 6px; }
    50%      { opacity: .3; top: 18px; }
}

/* ── Lottie fallback system ───────────────────────── */
.lottie-wrap {
    position: relative;
}
.lottie-wrap--inline {
    display: inline-block;
}
.lottie-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.lottie-fallback svg {
    width: 100%;
    height: 100%;
    max-width: 280px;
    animation: fallbackPulse 3s ease-in-out infinite;
}
.lottie-fallback--sm svg {
    max-width: 72px;
}
.lottie-fallback--social {
    position: relative;
    inset: auto;
    display: none;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}
.lottie-fallback--social svg {
    max-width: 80px;
}

/* When lottie fails, hide it and show fallback */
.lottie-wrap.has-error lottie-player {
    display: none !important;
}
.lottie-wrap.has-error .lottie-fallback {
    display: flex;
}
/* Social inline variant */
.lottie-wrap--inline.has-error .social__lottie {
    display: none !important;
}
.lottie-wrap--inline.has-error .lottie-fallback--social {
    display: flex;
}

@keyframes fallbackPulse {
    0%, 100% { opacity: .7; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.04); }
}

/* ══════════════════════════════════════════════════════
   CHALLENGE
   ══════════════════════════════════════════════════════ */
.challenge {
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
}
/* Decorative diagonal line */
.challenge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 1px;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(245,166,35,.2), transparent);
}

.challenge__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.challenge__h {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.challenge__em {
    color: var(--gold);
    position: relative;
}
.challenge__em::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    opacity: .5;
}

.challenge__p {
    font-size: 1.02rem;
    color: var(--dim);
    max-width: 460px;
    line-height: 1.8;
}

.challenge__visual {
    display: flex;
    justify-content: center;
}
.challenge__lottie {
    width: min(320px, 100%);
    height: auto;
}

/* ══════════════════════════════════════════════════════
   STEPS (How-It-Works)
   ══════════════════════════════════════════════════════ */
.steps {
    padding: clamp(4rem, 8vw, 8rem) 0;
    position: relative;
}
.steps__h {
    font-family: var(--font-h);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: .3rem;
}

.steps__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 3rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem 1.6rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.35);
}

/* Accent stripe per card */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}
.card--predict::before  { background: var(--blue);  }
.card--predict:hover    { border-color: rgba(96,165,250,.3); }
.card--earn::before     { background: var(--red);   }
.card--earn:hover       { border-color: rgba(248,113,113,.3); }
.card--dominate::before { background: var(--gold);  }
.card--dominate:hover   { border-color: rgba(245,166,35,.3); }

.card__lottie-wrap {
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
}
.card__lottie {
    width: 100%;
    height: 100%;
}

.card__step {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: .5rem;
}
.card__title {
    font-family: var(--font-h);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: .45rem;
}
.card__body {
    font-size: .88rem;
    color: var(--dim);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   APP SCREENSHOTS
   ══════════════════════════════════════════════════════ */
.screenshots {
    padding: clamp(4rem, 8vw, 7rem) 0 0;
    text-align: center;
}
.screenshots__h {
    font-family: var(--font-h);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: .5rem;
}
.screenshots__sub {
    font-size: .95rem;
    color: var(--dim);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Phones stage */
.phones-stage {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 3.5rem;
    padding-bottom: 3rem;
    /* bottom gradient fade */
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

/* Phone frame shell */
.phone-frame {
    position: relative;
    width: 220px;
    border-radius: 36px;
    background: #0d0d0d;
    border: 2px solid rgba(255,255,255,.12);
    box-shadow:
        0 0 0 1px rgba(0,0,0,.8),
        0 24px 80px rgba(0,0,0,.6),
        inset 0 0 0 1px rgba(255,255,255,.04);
    overflow: hidden;
    /* top notch pill */
}
.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: rgba(255,255,255,.15);
    border-radius: 3px;
    z-index: 2;
}
.phone-screen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 34px;
    pointer-events: none;
    user-select: none;
}

/* Individual phone wrappers */
.phone-wrap {
    position: relative;
    flex-shrink: 0;
}

.phone-wrap--left {
    transform: rotate(-8deg) translateY(32px);
    margin-right: -36px;
    z-index: 1;
}
.phone-wrap--center {
    transform: translateY(0);
    z-index: 3;
}
.phone-wrap--right {
    transform: rotate(8deg) translateY(32px);
    margin-left: -36px;
    z-index: 2;
}

/* Glows behind phones */
.phone-wrap--center::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(245,166,35,.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.phone-wrap--left::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 90px;
    background: radial-gradient(ellipse, rgba(96,165,250,.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}
.phone-wrap--right::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 90px;
    background: radial-gradient(ellipse, rgba(167,139,250,.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Float animations */
@keyframes floatCenter {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-14px); }
}
@keyframes floatLeft {
    0%, 100% { transform: rotate(-8deg) translateY(32px); }
    50%      { transform: rotate(-8deg) translateY(18px); }
}
@keyframes floatRight {
    0%, 100% { transform: rotate(8deg) translateY(32px); }
    50%      { transform: rotate(8deg) translateY(18px); }
}
.phones-stage.is-animated .phone-wrap--center {
    animation: floatCenter 4s ease-in-out infinite;
}
.phones-stage.is-animated .phone-wrap--left {
    animation: floatLeft 4.5s ease-in-out infinite;
    animation-delay: .5s;
}
.phones-stage.is-animated .phone-wrap--right {
    animation: floatRight 3.8s ease-in-out infinite;
    animation-delay: .25s;
}

/* Reveal: phones slide up on scroll */
.phone-wrap--left,
.phone-wrap--center,
.phone-wrap--right {
    opacity: 0;
    transition:
        opacity .8s var(--ease),
        filter .8s var(--ease);
    filter: blur(4px);
}
.phones-stage.is-visible .phone-wrap--center {
    opacity: 1;
    filter: blur(0);
    transition-delay: 0s;
}
.phones-stage.is-visible .phone-wrap--left {
    opacity: 1;
    filter: blur(0);
    transition-delay: .15s;
}
.phones-stage.is-visible .phone-wrap--right {
    opacity: 1;
    filter: blur(0);
    transition-delay: .3s;
}

/* Hover: subtle lift */
.phone-wrap--left:hover  { z-index: 4; }
.phone-wrap--right:hover { z-index: 4; }

/* ── Responsive ─ phones */
@media (max-width: 760px) {
    .phone-frame {
        width: 150px;
        border-radius: 26px;
    }
    .phone-frame::before {
        width: 44px;
    }
    .phone-wrap--left {
        margin-right: -28px;
    }
    .phone-wrap--right {
        margin-left: -28px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 118px;
        border-radius: 22px;
    }
    .phone-frame::before {
        width: 36px;
    }
    .phone-wrap--left {
        margin-right: -20px;
    }
    .phone-wrap--right {
        margin-left: -20px;
    }
}

/* ══════════════════════════════════════════════════════
   SCORING
   ══════════════════════════════════════════════════════ */
.scoring {
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
}
.scoring__top {
    margin-bottom: 2.5rem;
}
.scoring__h {
    font-family: var(--font-h);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: .6rem;
}
.scoring__sub-h {
    font-size: 1rem;
    color: var(--dim);
    max-width: 500px;
    line-height: 1.75;
}

.scoring__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.1rem;
}

.sc-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.6rem 1.3rem;
    transition: transform .3s var(--ease), border-color .3s;
}
.sc-card:hover {
    transform: translateY(-3px);
}
.sc-card--wide {
    grid-column: span 2;
}

.sc-card__pts {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: .6rem;
    line-height: 1;
}
.sc-card__pts--std    { color: var(--green);  }
.sc-card__pts--exact  { color: var(--blue);   }
.sc-card__pts--derby  { color: var(--red);    }
.sc-card__pts--perfect{ color: var(--purple); }
.sc-card__pts--zero   { color: var(--dim);    }

.sc-card h4 {
    font-family: var(--font-h);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .3rem;
}
.sc-card p {
    font-size: .82rem;
    color: var(--dim);
    line-height: 1.65;
}

/* Hover border per type */
.sc-card:has(.sc-card__pts--std):hover    { border-color: rgba(52,211,153,.25); }
.sc-card:has(.sc-card__pts--exact):hover  { border-color: rgba(96,165,250,.25); }
.sc-card:has(.sc-card__pts--derby):hover  { border-color: rgba(248,113,113,.25); }
.sc-card:has(.sc-card__pts--perfect):hover{ border-color: rgba(192,132,252,.25); }

/* ══════════════════════════════════════════════════════
   SOCIAL
   ══════════════════════════════════════════════════════ */
.social {
    padding: clamp(4rem, 8vw, 7rem) 0;
}
.social__inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Decorative corner glow */
.social__inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(220,39,67,.12), transparent 70%);
    pointer-events: none;
}

.social__lottie {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}
.social__h {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: .8rem;
}
.social__p {
    font-size: .95rem;
    color: var(--dim);
    margin-bottom: 2rem;
    line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════ */
.stats {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg2);
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 119px,
        var(--border) 119px,
        var(--border) 120px
    );
    pointer-events: none;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.2rem 1rem;
    position: relative;
}
.stat + .stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border);
}
.stat__num {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: .4rem;
}
.stat__label {
    font-size: .75rem;
    color: var(--dim);
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════ */
.final {
    padding: clamp(5rem, 10vw, 9rem) 0;
    text-align: center;
    position: relative;
}
/* Glow spot */
.final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,.06) 0%, transparent 70%);
    pointer-events: none;
}

.final__wrap {
    position: relative;
    z-index: 1;
}
.final__icon {
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.final__h {
    font-family: var(--font-h);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    margin-bottom: .8rem;
}
.final__p {
    font-size: 1.02rem;
    color: var(--dim);
    max-width: 500px;
    margin: 0 auto 2.2rem;
    line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.foot {
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 0;
    background: var(--bg2);
}
.foot__top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.foot__brand {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.foot__brand-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.foot__logo-img {
    border-radius: 7px;
}
.foot__name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.05rem;
}
.foot__tagline {
    font-size: .82rem;
    color: var(--dim);
    line-height: 1.65;
    max-width: 220px;
}
.foot__store {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid rgba(245,166,35,.25);
    padding: .4rem .9rem;
    border-radius: 50px;
    width: fit-content;
    transition: background .2s, color .2s;
}
.foot__store:hover {
    background: var(--gold);
    color: #111;
}
.foot__col-title {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--dim);
    margin-bottom: .85rem;
}
.foot__link {
    display: block;
    font-size: .84rem;
    color: var(--dim);
    margin-bottom: .5rem;
    transition: color .2s;
}
.foot__link:hover {
    color: var(--text);
}
.foot__credit-item {
    font-size: .82rem;
    color: var(--dim);
    line-height: 1.55;
    margin-bottom: .6rem;
}
.foot__credit-item strong {
    color: var(--text);
    display: block;
}
.foot__credit-item span {
    font-size: .75rem;
}
.foot__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem 0;
    font-size: .75rem;
    color: var(--dim);
}
.foot__bottom-links {
    display: flex;
    gap: 1.5rem;
}
.foot__bottom-links a {
    color: var(--dim);
    font-size: .75rem;
    transition: color .2s;
}
.foot__bottom-links a:hover {
    color: var(--text);
}

/* ══════════════════════════════════════════════════════
   INNER PAGES  (terms / privacy / contact)
   ══════════════════════════════════════════════════════ */
.inner-hero {
    padding: 9rem 0 3.5rem;
    position: relative;
    text-align: center;
}
.inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,.07) 0%, transparent 65%);
    pointer-events: none;
}
.inner-hero__tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(245,166,35,.2);
    padding: .28rem .8rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}
.inner-hero__h {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: .6rem;
    position: relative;
    z-index: 1;
}
.inner-hero__sub {
    font-size: .92rem;
    color: var(--dim);
    position: relative;
    z-index: 1;
}

.inner-content {
    padding: 3rem 0 6rem;
}
.inner-content .wrap {
    max-width: 760px;
}

/* Empty state placeholder */
.empty-state {
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 18px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--dim);
}
.empty-state__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.empty-state__h {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .5rem;
}
.empty-state__p {
    font-size: .88rem;
    line-height: 1.7;
}

/* Contact page */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}
.contact-card__header {
    background: linear-gradient(135deg, var(--surface2), var(--bg2));
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.contact-card__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(245,166,35,.1);
    border: 1px solid rgba(245,166,35,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card__header h3 {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .2rem;
}
.contact-card__header p {
    font-size: .83rem;
    color: var(--dim);
}
.contact-card__body {
    padding: 2rem 2.5rem 2.5rem;
}
.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    border: 1px solid rgba(245,166,35,.25);
    padding: .75rem 1.5rem;
    border-radius: 12px;
    transition: background .2s, color .2s;
    margin-top: .5rem;
    word-break: break-all;
}
.contact-email-link:hover {
    background: var(--gold);
    color: #111;
}
.contact-card__body p {
    font-size: .88rem;
    color: var(--dim);
    line-height: 1.7;
    margin-bottom: .75rem;
}
.contact-links {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}
.contact-link-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s, transform .2s;
    color: var(--text);
}
.contact-link-row:hover {
    border-color: rgba(245,166,35,.3);
    transform: translateX(4px);
    color: var(--text);
}
.contact-link-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-link-row__icon--ig  { background: rgba(220,39,67,.1); }
.contact-link-row__icon--gp  { background: rgba(52,211,153,.1); }
.contact-link-row__label {
    font-size: .78rem;
    color: var(--dim);
}
.contact-link-row__title {
    font-size: .9rem;
    font-weight: 600;
}
.contact-link-row__arrow {
    margin-left: auto;
    color: var(--dim);
    font-size: 1rem;
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"] {
    transform: translateX(-32px);
}
[data-reveal="left"].is-visible {
    transform: translateX(0);
}
[data-reveal="right"] {
    transform: translateX(32px);
}
[data-reveal="right"].is-visible {
    transform: translateX(0);
}
[data-reveal="scale"] {
    transform: scale(.92);
}
[data-reveal="scale"].is-visible {
    transform: scale(1);
}

/* Stagger delay for grid children */
.steps__row > *:nth-child(2) { transition-delay: .1s; }
.steps__row > *:nth-child(3) { transition-delay: .2s; }
.scoring__cards > *:nth-child(2) { transition-delay: .06s; }
.scoring__cards > *:nth-child(3) { transition-delay: .12s; }
.scoring__cards > *:nth-child(4) { transition-delay: .18s; }
.scoring__cards > *:nth-child(5) { transition-delay: .24s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 0 4rem;
    }
    .hero__sub { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__right { order: -1; }
    .hero__lottie { width: min(260px, 70vw); }

    .challenge__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .challenge__p { margin-inline: auto; }
    .challenge__lottie { width: min(240px, 60vw); }

    .steps__row {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }

    .sc-card--wide { grid-column: span 1; }
    .scoring__cards {
        grid-template-columns: 1fr 1fr;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat:nth-child(2)::before { display: none; }
    .stat:nth-child(3)::before { display: none; }

    .foot__top {
        grid-template-columns: 1fr 1fr;
    }
    .foot__brand {
        grid-column: span 2;
    }
}

@media (max-width: 560px) {
    .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
    .hero__app-icon { width: 60px; height: 60px; }

    .scoring__cards {
        grid-template-columns: 1fr;
    }

    .social__inner {
        padding: 2.5rem 1.5rem;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .foot__top {
        grid-template-columns: 1fr;
    }
    .foot__brand {
        grid-column: span 1;
    }

    .foot__bottom {
        flex-direction: column;
        text-align: center;
    }
    .foot__bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .contact-card__header {
        padding: 1.8rem 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    .contact-card__body {
        padding: 1.5rem;
    }
}
