:root {
    --pf-bg: #080d1a;
    --pf-bg2: #0b1222;
    --pf-surface: #111827;
    --pf-surface2: #151e31;
    --pf-primary: #6366f1;
    --pf-primary2: #818cf8;
    --pf-secondary: #8b5cf6;
    --pf-accent: #22d3ee;
    --pf-text: #f8fafc;
    --pf-muted: #94a3b8;
    --pf-border: #263248;
    --pf-success: #22c55e;
    --pf-radius: 16px;
    --pf-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--pf-bg);
    color: var(--pf-text);
    font-family: var(--pf-font);
    line-height: 1.55;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header,
.app-header {
    height: 72px;
    border-bottom: 1px solid var(--pf-border);
    background: rgba(8, 13, 26, 0.9);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    padding: 0 max(24px, calc((100% - 1280px) / 2));
    gap: 28px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 23px;
    letter-spacing: -0.8px;
    white-space: nowrap;
}

.brand > span:last-child > span {
    color: #22a9ff;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(145deg, #22b7ff, #635bff 60%, #8b5cf6);
    display: grid;
    place-items: center;
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.desktop-nav,
.app-header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: auto;
}

.desktop-nav a,
.app-header nav a {
    color: #aab5ca;
    font-size: 14px;
    padding: 26px 0;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover,
.desktop-nav .active,
.app-header nav a:hover,
.app-header nav .active {
    color: #fff;
    border-bottom-color: var(--pf-primary2);
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 10px 17px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(100deg, #6346ee, #18aaf2);
    color: #fff;
    box-shadow: 0 8px 24px rgba(91, 78, 239, 0.22);
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.btn-ghost {
    border-color: #294070;
    color: #f1f5ff;
    background: #0c1528;
}

.btn-outline {
    border-color: #40558d;
    background: rgba(9, 16, 32, 0.6);
    color: #fff;
}

.btn-large {
    padding: 15px 24px;
    border-radius: 13px;
    font-size: 15px;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 520px;
    max-width: 1280px;
    margin: auto;
    padding: 70px 24px 60px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #101e36;
    border: 1px solid #263c61;
    color: #dce7ff;
    font-size: 12px;
    font-weight: 700;
}

.dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin: 7px 8px 0 0;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.03;
    letter-spacing: -3px;
    margin: 22px 0 20px;
    max-width: 720px;
}

.hero h1 span {
    background: linear-gradient(90deg, #18b7f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 17px;
    color: #aab6ca;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.hero-note {
    margin-top: 17px;
    color: #70819e;
    font-size: 12px;
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    height: 430px;
    position: relative;
    display: grid;
    place-items: center;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.glow-one {
    width: 340px;
    height: 340px;
    background: radial-gradient(
        circle,
        #2436bb 0%,
        #172a85 42%,
        transparent 70%
    );
}

.glow-two {
    width: 220px;
    height: 220px;
    background: radial-gradient(
        circle,
        #06b6d4 0%,
        transparent 68%
    );
    right: 5%;
    top: 7%;
    opacity: 0.65;
}

.phone {
    position: relative;
    width: 270px;
    border: 7px solid #17243e;
    border-radius: 35px;
    background: #071126;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(64, 80, 255, 0.25);
    padding: 17px;
    z-index: 2;
    transform: rotate(-3deg);
}

.phone-top {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    margin-bottom: 18px;
}

.mini-logo {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(145deg, #22b7ff, #7359ff);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.phone-top span:last-child {
    margin-left: auto;
}

.balance-card {
    background: linear-gradient(145deg, #17255b, #121b39);
    border: 1px solid #30428a;
    border-radius: 18px;
    padding: 15px;
}

.balance-card small {
    color: #a7b4d0;
}

.balance-card > strong {
    display: block;
    font-size: 29px;
    margin: 2px 0 7px;
}

.balance-row {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #aab5ca;
}

.balance-row b {
    display: block;
    color: #43e38a;
    font-size: 10px;
}

.balance-card button {
    width: 100%;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(90deg, #7144ff, #3d8df7);
    color: #fff;
    font-weight: 800;
    padding: 8px;
    margin-top: 10px;
}

.phone h4 {
    margin: 17px 0 8px;
}

.phone-item {
    background: #101d35;
    border: 1px solid #1f3356;
    border-radius: 10px;
    padding: 9px;
    margin: 7px 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9daecc;
}

.phone-item span {
    font-size: 10px;
    color: #fff;
}

.phone-item small {
    display: block;
    color: #71809a;
    font-size: 8px;
}

.phone-item:last-child {
    margin-bottom: 0;
}


/* =========================================
   FLOATING CARDS
========================================= */

.float-card {
    position: absolute;
    z-index: 4;
    background: rgba(18, 31, 54, 0.94);
    border: 1px solid #30415f;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    padding: 12px 16px;
    border-radius: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 20px;
    color: #45e287;
}

.float-card span {
    font-size: 12px;
    color: #fff;
}

.float-card small {
    display: block;
    color: #91a0b8;
    font-size: 10px;
}

.float-one {
    right: -10px;
    top: 75px;
}

.float-two {
    left: -5px;
    bottom: 55px;
    color: #3acfff;
}


/* =========================================
   TRUST STRIP
========================================= */

.trust-strip {
    border-top: 1px solid var(--pf-border);
    border-bottom: 1px solid var(--pf-border);
    background: #0a1222;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    padding: 18px max(24px, calc((100% - 1280px) / 2));
    gap: 0;
}

.trust-strip > div {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 8px 28px;
    border-right: 1px solid #20304b;
}

.trust-strip > div:first-child {
    padding-left: 0;
}

.trust-strip > div:last-child {
    border: 0;
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #122756;
    color: #a9a2ff;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.trust-strip p {
    margin: 0;
}

.trust-strip b {
    display: block;
    font-size: 13px;
}

.trust-strip small {
    color: #73829a;
    font-size: 11px;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    max-width: 1280px;
    margin: auto;
    padding: 70px 24px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px;
}

.section-heading h2,
.cta-section h2 {
    margin: 5px 0;
    font-size: 31px;
    letter-spacing: -1px;
}

.section-heading a {
    color: #39baff;
    font-size: 13px;
}

.kicker {
    color: #8c6cff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}


/* =========================================
   STEPS
========================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--pf-border);
    border-bottom: 1px solid var(--pf-border);
}

.step {
    padding: 25px 20px;
    border-right: 1px solid var(--pf-border);
    position: relative;
}

.step:last-child {
    border: 0;
}

.step > b {
    font-size: 12px;
    color: #7384a1;
}

.step > span {
    display: block;
    color: #8d7bff;
    font-size: 28px;
    margin: 13px 0;
}

.step h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.step p {
    margin: 0;
    color: #75839a;
    font-size: 12px;
}


/* =========================================
   OFFERS
========================================= */

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

.offer-card {
    background: linear-gradient(145deg, #101a2d, #0c1526);
    border: 1px solid #203250;
    border-radius: var(--pf-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 245px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.offer-card:hover {
    border-color: #3b4d78;
    transform: translateY(-2px);
    transition: 0.2s;
}

.offer-icon {
    width: 47px;
    height: 47px;
    border-radius: 13px;
    background: #263dff;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.offer-icon.orange {
    background: #a85d25;
}

.offer-icon.cyan {
    background: #087f9a;
}

.tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #8ea4c8;
}

.offer-body h3 {
    font-size: 17px;
    margin: 5px 0;
}

.offer-body p {
    font-size: 12px;
    color: #7f8da5;
    margin: 0;
}

.offer-bottom {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-bottom strong {
    font-size: 12px;
    color: #43e38a;
}

.offer-bottom a,
.offer-bottom button {
    font-size: 11px;
    padding: 8px 13px;
}


/* =========================================
   CTA
========================================= */

.cta-section {
    max-width: 1232px;
    margin: 10px auto 70px;
    padding: 40px;
    border: 1px solid #2b3e66;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(89, 71, 237, 0.23),
            transparent 45%
        ),
        #0e172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta-section p {
    color: #8b9ab2;
    max-width: 650px;
}


/* =========================================
   FAQ
========================================= */

.faq details {
    border-bottom: 1px solid var(--pf-border);
    padding: 20px 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
}

.faq details p {
    color: #8795ac;
    font-size: 14px;
    max-width: 760px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    border-top: 1px solid var(--pf-border);
    max-width: 100%;
    padding: 35px max(24px, calc((100% - 1280px) / 2));
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    color: #728097;
}

.footer-brand p {
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 22px;
    font-size: 12px;
}

.footer > small {
    grid-column: 1 / -1;
    font-size: 10px;
}


/* =========================================
   APP SHELL
========================================= */

.app-shell {
    max-width: 1450px;
    margin: auto;
    display: grid;
    grid-template-columns: 225px 1fr;
    min-height: calc(100vh - 73px);
}

.sidebar {
    border-right: 1px solid var(--pf-border);
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
}

.sidebar-nav {
    display: grid;
    gap: 5px;
}

.sidebar-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    color: #8391aa;
    font-size: 13px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #111d34;
    color: #fff;
}

.sidebar-nav a.active {
    box-shadow: inset 2px 0 #7770ff;
}

.sidebar-nav span {
    margin-left: 10px;
}

.side-balance {
    margin-top: auto;
    border: 1px solid #30406a;
    background: linear-gradient(145deg, #171c4b, #11172e);
    padding: 16px;
    border-radius: 15px;
}

.side-balance small,
.side-balance span {
    display: block;
    color: #8a98b0;
    font-size: 10px;
}

.side-balance strong {
    font-size: 26px;
    display: block;
    margin: 2px 0 4px;
}

.side-balance a {
    display: block;
    margin-top: 13px;
    background: #fff;
    color: #1a2340;
    text-align: center;
    padding: 9px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.app-content {
    padding: 40px 42px;
    min-width: 0;
}


/* =========================================
   PAGE TITLES
========================================= */

.page-title h1,
.app-content > h1,
.welcome h1 {
    font-size: 34px;
    letter-spacing: -1px;
    margin: 5px 0;
}

.page-title p,
.lead,
.welcome p {
    color: #8391a8;
    margin: 0;
}


/* =========================================
   OFFER TABS
========================================= */

.offer-tabs {
    display: flex;
    gap: 7px;
    margin: 28px 0 20px;
    overflow: auto;
}

.offer-tabs button {
    white-space: nowrap;
    border: 1px solid var(--pf-border);
    background: #0d1628;
    color: #8290a8;
    border-radius: 9px;
    padding: 10px 15px;
    cursor: pointer;
}

.offer-tabs button.selected {
    color: #fff;
    background: #202a58;
    border-color: #5154b7;
}


/* =========================================
   DASHBOARD
========================================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
}

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

.info-card,
.referral-box,
.withdraw-card,
.empty-state {
    border: 1px solid var(--pf-border);
    background: #0d1729;
    border-radius: 16px;
    padding: 22px;
}

.info-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #172750;
    display: grid;
    place-items: center;
    color: #8e83ff;
}

.info-card h3 {
    font-size: 15px;
}

.info-card p,
.info-card small {
    color: #7e8ca4;
    font-size: 12px;
}

.info-card a {
    color: #4bbdff;
    font-size: 12px;
}

.info-card hr {
    border: 0;
    border-top: 1px solid var(--pf-border);
    margin: 18px 0;
}


/* =========================================
   WELCOME
========================================= */

.welcome {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}


/* =========================================
   STATISTICS
========================================= */

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 30px 0 40px;
}

.stat-card {
    background: #0e182b;
    border: 1px solid var(--pf-border);
    border-radius: 15px;
    padding: 20px;
}

.stat-card span,
.stat-card small {
    display: block;
    color: #8190a9;
    font-size: 11px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
    margin: 5px 0;
}


/* =========================================
   CONTENT HEADINGS
========================================= */

.content-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-heading h2 {
    font-size: 20px;
}

.content-heading a {
    font-size: 12px;
    color: #42baff;
}


/* =========================================
   EARN CARDS
========================================= */

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

.earn-card {
    border: 1px solid var(--pf-border);
    background: #0e182b;
    border-radius: 15px;
    padding: 20px;
}

.earn-card > span {
    font-size: 25px;
    color: #8d7bff;
}

.earn-card h3 {
    margin: 9px 0 3px;
}

.earn-card p {
    font-size: 12px;
    color: #7e8ca4;
}

.earn-card b {
    font-size: 11px;
    color: #42baff;
}


/* =========================================
   EMPTY STATE
========================================= */

.empty-state {
    text-align: center;
    max-width: 620px;
    margin: 35px auto;
    padding: 55px;
}

.empty-state > div {
    font-size: 36px;
    color: #8b7cff;
}

.empty-state p {
    margin-bottom: 22px;
}


/* =========================================
   REFERRAL
========================================= */

.referral-box {
    max-width: 720px;
    margin-top: 28px;
}

.copy-row {
    display: flex;
    gap: 8px;
    margin: 18px 0 8px;
}

.copy-row input {
    flex: 1;
    min-width: 0;
    background: #080f1e;
    border: 1px solid var(--pf-border);
    color: #91a0b8;
    border-radius: 9px;
    padding: 11px;
}


/* =========================================
   WITHDRAW
========================================= */

.withdraw-card {
    max-width: 650px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.withdraw-card span,
.withdraw-card small {
    color: #8190a9;
    font-size: 11px;
    display: block;
}

.withdraw-card strong {
    display: block;
    font-size: 30px;
}

.withdraw-card small {
    margin-top: 20px;
}

.withdraw-card button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 50px;
    }

    .hero-visual {
        order: -1;
        height: 360px;
    }

    .float-one {
        right: 0;
    }

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

    .trust-strip > div {
        border-bottom: 1px solid #20304b;
    }

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

    .step:nth-child(2) {
        border-right: 0;
    }

    .step:nth-child(3),
    .step:nth-child(4),
    .step:nth-child(5) {
        border-top: 1px solid var(--pf-border);
    }

    .offer-grid,
    .dashboard-offers {
        grid-template-columns: 1fr 1fr;
    }

    .app-header nav {
        display: none;
    }

    .app-shell {
        grid-template-columns: 75px 1fr;
    }

    .sidebar-nav a span,
    .side-balance {
        display: none;
    }

    .sidebar-nav a {
        text-align: center;
    }

    .sidebar {
        padding: 20px 10px;
    }

    .app-content {
        padding: 30px 25px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 680px) {

    .site-header,
    .app-header {
        height: 64px;
        padding: 0 14px;
    }

    .header-actions .btn-ghost {
        display: none;
    }

    .brand {
        font-size: 19px;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .hero {
        padding: 38px 18px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-visual {
        height: 350px;
        transform: scale(0.9);
    }

    .float-two {
        left: -10px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        padding: 10px 18px;
    }

    .trust-strip > div,
    .trust-strip > div:first-child {
        border-right: 0;
        padding: 12px 0;
    }

    .section {
        padding: 50px 18px;
    }

    .section-heading {
        align-items: start;
        gap: 15px;
    }

    .section-heading h2,
    .cta-section h2 {
        font-size: 25px;
    }

    .steps,
    .offer-grid,
    .dashboard-offers,
    .stats-row,
    .earn-grid {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: 0 !important;
        border-bottom: 1px solid var(--pf-border);
    }

    .step:last-child {
        border-bottom: 0;
    }

    .cta-section {
        margin: 0 18px 50px;
        padding: 28px;
        display: block;
    }

    .cta-section .btn {
        margin-top: 15px;
    }

    .footer {
        display: block;
        padding: 30px 18px;
    }

    .footer-links {
        margin: 20px 0;
    }

    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .app-content {
        padding: 25px 17px;
    }

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

    .welcome {
        display: block;
    }

    .welcome .btn {
        margin-top: 18px;
    }

    .withdraw-card {
        display: block;
    }

    .withdraw-card .btn {
        margin-top: 15px;
        width: 100%;
    }
}
