:root {
    --bg: #0b0b11;
    --card: #12121a;
    --muted: #9aa0a6;
    --text: #e7e9ee;
    --brand: #7a59ff;
    --brand2: #28e4a8;
    --ghost: rgba(255, 255, 255, .1)
}

body.light {
    --bg: #f7f7fb;
    --card: #ffffff;
    --muted: #555b61;
    --text: #111316;
    --ghost: rgba(0, 0, 0, .06)
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(1200px 600px at 80% -20%, rgba(40, 228, 168, .25), transparent), radial-gradient(900px 500px at -10% 20%, rgba(122, 89, 255, .25), transparent), var(--bg);
    color: var(--text)
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #a78bfa);
    color: #fff
}

.btn-ghost {
    background: var(--ghost);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12)
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(122, 89, 255, .35);
    transform: translateY(-1px)
}

.nav {
    position: sticky;
    top: 0;
    backdrop-filter: saturate(160%) blur(8px);
    background: rgba(11, 11, 17, .6);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    z-index: 20
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px
}

.nav .brand {
    font-weight: 700;
    letter-spacing: .3px
}

.nav .links {
    display: none;
    gap: 24px
}

.nav .links a {
    color: #fff;
    text-decoration: none
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: var(--ghost);
    color: #fff;
    cursor: pointer
}

.theme-toggle:hover {
    transform: translateY(-1px)
}

.hero {
    padding: 72px 0
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.hero-copy h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: 0 0 12px
}

.gradient-text {
    background: linear-gradient(135deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    color: transparent
}

.hero-copy p {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 20px
}

.cta-row {
    display: flex;
    gap: 12px
}

.stats {
    display: flex;
    gap: 24px;
    margin-top: 18px
}

.stat {
    background: var(--ghost);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 10px 14px
}

.stat .val {
    font-size: 18px;
    font-weight: 700
}

.stat .label {
    display: block;
    font-size: 12px;
    color: var(--muted)
}

.device {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 24px;
    background: linear-gradient(180deg, #1a1a23, #0f0f16);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
    position: relative
}

.device::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none
}

.device-screen {
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden
}

#parallax {
    transform-style: preserve-3d;
    transition: transform .2s ease
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000
}

.orbs {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.orb {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: .5
}

.o1 {
    background: radial-gradient(circle, var(--brand), transparent);
    top: -20px;
    right: 0;
    animation: float 8s ease-in-out infinite
}

.o2 {
    background: radial-gradient(circle, var(--brand2), transparent);
    bottom: 10%;
    left: -20px;
    animation: float 10s ease-in-out infinite
}

.o3 {
    background: radial-gradient(circle, #ff8ad6, transparent);
    top: 30%;
    left: 40%;
    animation: float 12s ease-in-out infinite
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }

    100% {
        transform: translateY(0)
    }
}

.slides {
    position: absolute;
    inset: 0;
    display: flex;
    width: 200%;
    transition: transform .5s ease
}

.slides img {
    width: 50%;
    height: 100%;
    object-fit: cover
}

.control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.control.prev {
    left: 10px
}

.control.next {
    right: 10px
}

.features {
    padding: 64px 0
}

.features h2 {
    font-size: 32px;
    margin: 0 0 24px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.card {
    background: linear-gradient(180deg, var(--card), #0e0e15);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 18px
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px
}

.card h3 {
    margin: 0 0 8px
}

.card p {
    margin: 0;
    color: var(--muted)
}

.section-title {
    text-align: center
}

.steps {
    padding: 56px 0
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.step {
    background: linear-gradient(180deg, var(--card), #0e0e15);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 18px;
    position: relative
}

.step-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff
}

.tiers {
    padding: 56px 0
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.tier {
    background: linear-gradient(180deg, var(--card), #0e0e15);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease
}

.tier:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(122, 89, 255, .2)
}

.tier-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c08fff, #7a59ff);
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px
}

.tier-desc {
    color: var(--muted)
}

.screens {
    padding: 64px 0
}

.screens h2 {
    font-size: 28px;
    margin: 0 0 18px
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.screens-grid img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.earn {
    padding: 64px 0
}

.earn-inner {
    max-width: 980px
}

.earn-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    background: linear-gradient(135deg, rgba(122, 89, 255, .2), rgba(40, 228, 168, .15));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 22px
}

.tick-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.tick-list li {
    display: flex;
    align-items: center;
    gap: 8px
}

.tick-list li::before {
    content: "✔";
    color: var(--brand2)
}

.earn-figure {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px
}

.earn-amount {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    color: transparent
}

.earn-note {
    color: var(--muted)
}

.testimonials {
    padding: 64px 0
}

.t-slider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(180deg, var(--card), #0e0e15)
}

.t-slides {
    display: flex;
    transition: transform .5s ease
}

.t-card {
    min-width: 100%;
    padding: 24px;
    text-align: center
}

.t-quote {
    font-size: 20px
}

.t-name {
    margin-top: 8px;
    color: var(--muted)
}

.t-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 12px;
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

#t-prev {
    left: 12px;
    right: auto
}

.faq {
    padding: 64px 0
}

.faq-list {
    display: grid;
    gap: 10px
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px
}

.faq-q {
    padding: 14px 16px;
    font-weight: 600;
    cursor: pointer
}

.faq-a {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease
}

.faq-item.active .faq-a {
    padding: 12px 16px;
    max-height: 200px
}

.download {
    padding: 72px 0;
    background: radial-gradient(600px 300px at 20% 0%, rgba(122, 89, 255, .25), transparent)
}

.download-inner {
    text-align: center
}

.store-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px
}

.store-btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #a78bfa);
    font-weight: 600
}

.store-btn.ghost {
    background: var(--ghost);
    border: 1px solid rgba(255, 255, 255, .12)
}

.partners {
    padding: 56px 0
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 12px;
    background: linear-gradient(180deg, var(--card), #0e0e15)
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    z-index: 40
}

.sticky-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(12, 12, 18, .85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    padding: 10px 12px
}

.sticky-text {
    color: #fff
}

.to-top {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: var(--ghost);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40
}

.to-top.show {
    display: flex
}

.footer {
    padding: 64px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(700px 300px at 80% 100%, rgba(122, 89, 255, .18), transparent)
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    align-items: start
}

.footer-brand .brand {
    font-size: 20px;
    font-weight: 800
}

.foot-note {
    color: var(--muted);
    margin-top: 6px
}

.foot-social {
    display: flex;
    gap: 10px;
    margin-top: 10px
}

.foot-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ghost);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .12)
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.foot-col {
    display: grid;
    gap: 8px
}

.foot-title {
    font-weight: 700
}

.footer-news .foot-title {
    margin-bottom: 8px
}

.subscribe {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px
}

.subscribe input[type="email"] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: var(--ghost);
    color: var(--text)
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 24px
}

.foot-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0
}

.foot-legal {
    display: flex;
    gap: 12px
}

.footer-links a {
    text-decoration: none;
    color: #fff
}

.foot-legal a {
    text-decoration: none;
    color: var(--muted)
}

.foot-links a {
    color: #fff;
    text-decoration: none
}

.social {
    display: flex;
    gap: 12px;
    justify-content: center
}

.copy {
    color: var(--muted)
}

@media (max-width:980px) {
    .nav .links {
        display: none
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

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

    .screens-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width:540px) {
    .hero-copy h1 {
        font-size: 36px
    }

    .stats {
        flex-wrap: wrap
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .steps-grid {
        grid-template-columns: 1fr
    }

    .earn-card {
        grid-template-columns: 1fr
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 16px
    }
}

.reveal {
    opacity: 0;
    transform: translateY(12px)
}

.reveal-show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .5s ease, transform .5s ease
}