/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #050b14;
    color: #ffffff;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}


/* =========================
   BACKGROUND
========================= */

.bg-grid {
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(30, 144, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(30, 144, 255, 0.05) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    pointer-events: none;

    z-index: -2;
}

.glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(0, 198, 255, 0.1);

    filter: blur(120px);

    pointer-events: none;

    z-index: -1;
}

.glow-one {
    top: -200px;
    left: -200px;
}

.glow-two {
    right: -200px;
    bottom: -200px;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;

    padding:
        22px
        7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid
        rgba(255,255,255,0.08);

    background:
        rgba(5, 11, 20, 0.75);

    backdrop-filter: blur(15px);

    position: sticky;

    top: 0;

    z-index: 100;
}

.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.logo strong {
    color: #1e90ff;
}

.logo-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 35px;

    height: 35px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #1e90ff,
            #00c6ff
        );

    color: white;

    font-weight: bold;
}

.nav-link {
    color: #b8c4d4;

    transition: 0.3s;
}

.nav-link:hover {
    color: #00c6ff;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 90vh;

    padding:
        80px
        7%;

    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 70px;

    align-items: center;
}

.badge {
    display: inline-block;

    padding:
        10px
        18px;

    border:
        1px solid
        rgba(0,198,255,0.3);

    border-radius: 30px;

    background:
        rgba(0,198,255,0.08);

    color: #00c6ff;

    font-size: 13px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size:
        clamp(
            45px,
            7vw,
            85px
        );

    line-height: 1;

    max-width: 800px;

    margin-bottom: 25px;
}

.hero h1 span,
.section-heading h2 span {
    display: block;

    color: #1e90ff;
}

.hero-text {
    max-width: 650px;

    color: #a9b7c8;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;
}

.hero-text strong {
    color: #00c6ff;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.btn {
    padding:
        15px
        25px;

    border-radius: 10px;

    font-weight: 700;

    transition: 0.3s;

    display: inline-block;
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            #1e90ff,
            #00c6ff
        );

    color: white;

    box-shadow:
        0 10px 30px
        rgba(30,144,255,0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px
        rgba(30,144,255,0.4);
}

.btn-secondary {
    border:
        1px solid
        rgba(255,255,255,0.15);

    color: #c7d3e0;
}

.btn-secondary:hover {
    background:
        rgba(255,255,255,0.05);
}


/* =========================
   REWARD CARD
========================= */

.reward-card {
    position: relative;

    padding: 50px 35px;

    border:
        1px solid
        rgba(0,198,255,0.25);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(30,144,255,0.12),
            rgba(255,255,255,0.03)
        );

    backdrop-filter: blur(20px);

    text-align: center;

    overflow: hidden;
}

.reward-icon {
    font-size: 55px;

    margin-bottom: 20px;
}

.reward-label {
    color: #8fa4bb;

    font-size: 12px;

    letter-spacing: 2px;
}

.reward-card h2 {
    font-size: 70px;

    margin:
        10px
        0;

    color: #00c6ff;
}

.reward-card > p {
    color: #a9b7c8;

    line-height: 1.6;
}

.mini-stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,0.1);
}

.mini-stats div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.mini-stats strong {
    font-size: 20px;
}

.mini-stats span {
    color: #8293a7;

    font-size: 12px;
}


/* =========================
   SECTIONS
========================= */

.referral-section,
.how-section,
.faq-section {
    padding:
        100px
        7%;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin:
        0
        auto
        50px;
}

.section-tag {
    color: #00c6ff;

    font-size: 12px;

    letter-spacing: 3px;

    font-weight: bold;
}

.section-heading h2 {
    font-size:
        clamp(
            35px,
            5vw,
            55px
        );

    margin:
        15px
        0;
}

.section-heading p {
    color: #8fa4bb;

    line-height: 1.7;
}


/* =========================
   REFERRAL DASHBOARD
========================= */

.referral-dashboard {
    max-width: 900px;

    margin: auto;

    padding: 40px;

    background:
        rgba(255,255,255,0.04);

    border:
        1px solid
        rgba(255,255,255,0.1);

    border-radius: 20px;
}

.user-area {
    display: flex;

    gap: 15px;

    align-items: center;

    margin-bottom: 35px;
}

.user-avatar {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1e90ff,
            #00c6ff
        );

    font-weight: bold;
}

.user-area p {
    color: #8293a7;

    margin-top: 5px;
}

.input-group label {
    display: block;

    margin-bottom: 10px;

    color: #9dafc2;

    font-size: 14px;
}

.link-box {
    display: flex;

    gap: 10px;
}

.link-box input {
    flex: 1;

    padding: 15px;

    background:
        #080f1b;

    border:
        1px solid
        rgba(255,255,255,0.1);

    color: #00c6ff;

    border-radius: 8px;

    outline: none;
}

.copy-btn {
    padding:
        0
        25px;

    border: none;

    border-radius: 8px;

    background:
        #1e90ff;

    color: white;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;
}

.copy-btn:hover {
    background: #00c6ff;
}


/* =========================
   STATS
========================= */

.dashboard-stats {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin:
        25px
        0;
}

.stat-card {
    display: flex;

    gap: 15px;

    align-items: center;

    padding: 25px;

    background:
        #080f1b;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 12px;
}

.stat-icon {
    font-size: 30px;
}

.stat-card p {
    color: #8293a7;

    font-size: 13px;

    margin-bottom: 5px;
}

.stat-card h3 {
    font-size: 25px;
}


/* =========================
   SHARE BUTTONS
========================= */

.share-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.share {
    flex: 1;

    min-width: 200px;

    padding: 15px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-weight: bold;

    transition: 0.3s;
}

.whatsapp {
    background: #25d366;

    color: white;
}

.native-share {
    background: #1e90ff;

    color: white;
}

.share:hover {
    transform: translateY(-2px);

    opacity: 0.9;
}


/* =========================
   STEPS
========================= */

.steps {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.step-card {
    position: relative;

    padding: 35px 25px;

    background:
        rgba(255,255,255,0.03);

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius: 15px;

    transition: 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(0,198,255,0.4);
}

.step-number {
    color: #1e90ff;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 20px;
}

.step-icon {
    font-size: 35px;

    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-card p {
    color: #8293a7;

    line-height: 1.6;

    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta-section {
    margin:
        50px
        7%;

    padding:
        60px;

    border-radius: 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background:
        linear-gradient(
            135deg,
            rgba(30,144,255,0.2),
            rgba(0,198,255,0.05)
        );

    border:
        1px solid
        rgba(0,198,255,0.2);
}

.cta-section h2 {
    font-size: 35px;

    margin-bottom: 10px;
}

.cta-section p {
    color: #9dafc2;
}


/* =========================
   FAQ
========================= */

.faq-container {
    max-width: 800px;

    margin: auto;
}

.faq-item {
    border-bottom:
        1px solid
        rgba(255,255,255,0.1);
}

.faq-question {
    width: 100%;

    background: none;

    border: none;

    color: white;

    padding:
        22px
        0;

    text-align: left;

    display: flex;

    justify-content: space-between;

    cursor: pointer;

    font-size: 16px;
}

.faq-question span {
    color: #00c6ff;

    font-size: 22px;
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height
        0.3s
        ease;
}

.faq-answer p {
    color: #8293a7;

    line-height: 1.7;

    padding-bottom: 20px;
}

.faq-item.active
.faq-answer {
    max-height: 200px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding:
        60px
        7%;

    text-align: center;

    border-top:
        1px solid
        rgba(255,255,255,0.08);
}

footer p {
    color: #8293a7;

    margin-top: 15px;
}

.copyright {
    font-size: 12px;
}


/* =========================
   TOAST
========================= */

.toast {
    position: fixed;

    bottom: 30px;

    right: 30px;

    padding:
        15px
        25px;

    background:
        #1e90ff;

    color: white;

    border-radius: 8px;

    transform:
        translateY(100px);

    opacity: 0;

    transition: 0.3s;

    z-index: 1000;
}

.toast.show {
    transform:
        translateY(0);

    opacity: 1;
}


/* =========================
   RESPONSIVE
========================= */

@media
(max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text {
        margin-left: auto;

        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .steps {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .cta-section {
        flex-direction: column;

        text-align: center;
    }

}


@media
(max-width: 600px) {

    .navbar {
        padding:
            18px
            5%;
    }

    /* .nav-link {
        display: none;
    } */

    .hero {
        padding:
            60px
            5%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-text {
        font-size: 16px;
    }

    .reward-card h2 {
        font-size: 55px;
    }

    .referral-section,
    .how-section,
    .faq-section {
        padding:
            70px
            5%;
    }

    .referral-dashboard {
        padding: 25px 20px;
    }

    .link-box {
        flex-direction: column;
    }

    .copy-btn {
        padding: 15px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .cta-section {
        margin:
            30px
            5%;

        padding: 40px 25px;
    }

    .logo {
        font-size: 13px;
    }

}