/* =========================================================
   CLICK EARN - PREMIUM GLOBAL STYLE
========================================================= */

:root {
    --bg-main: #050817;
    --bg-secondary: #080d20;
    --bg-card: rgba(13, 20, 45, 0.78);
    --bg-card-solid: #0d142d;

    --text-primary: #ffffff;
    --text-secondary: #a7b0ca;
    --text-muted: #707a99;

    --blue: #2f8cff;
    --cyan: #19d9ff;
    --purple: #8a5cff;
    --green: #20e59a;
    --orange: #ffad4a;

    --border: rgba(255, 255, 255, 0.08);

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    --glow-blue:
        0 0 35px rgba(47, 140, 255, 0.20);

    --glow-purple:
        0 0 35px rgba(138, 92, 255, 0.18);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --container: 1240px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(47, 140, 255, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(138, 92, 255, 0.12),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #050817 0%,
            #060a18 45%,
            #050714 100%
        );
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}

button,
input {
    font-family: inherit;
}

button {
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(5, 8, 23, 0.78);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-container {
    width: min(var(--container), calc(100% - 40px));
    min-height: 78px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    font-weight: 800;
    letter-spacing: -0.7px;
}

.brand-icon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--cyan),
            var(--blue) 48%,
            var(--purple)
        );

    box-shadow:
        0 0 24px rgba(47,140,255,0.35);
}

.brand-name {
    font-size: 21px;
}

.brand-name span {
    background:
        linear-gradient(
            90deg,
            var(--cyan),
            #638cff,
            #a86cff
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* =========================================================
   NAVIGATION
========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;

    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;

    transition:
        color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;

    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--purple)
        );

    box-shadow:
        0 0 10px rgba(25,217,255,0.6);
}


/* =========================================================
   HEADER BUTTONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-header-btn,
.register-header-btn {
    height: 40px;
    padding: 0 18px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.login-header-btn {
    color: white;
    background: rgba(255,255,255,0.055);
    border: 1px solid var(--border);
}

.register-header-btn {
    color: white;

    background:
        linear-gradient(
            135deg,
            #267cff,
            #704cff
        );

    box-shadow:
        0 8px 25px rgba(47,140,255,0.22);
}

.login-header-btn:hover,
.register-header-btn:hover {
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border-radius: 11px;

    color: white;
    background: rgba(255,255,255,0.06);

    border: 1px solid var(--border);
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-navigation {
    display: none;

    width: min(var(--container), calc(100% - 30px));
    margin: 0 auto 15px;

    padding: 18px;

    border-radius: 18px;

    background: rgba(10,16,36,0.97);
    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.mobile-navigation.open {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-navigation > a {
    padding: 12px;
    color: var(--text-secondary);
    border-radius: 9px;
}

.mobile-navigation > a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.mobile-nav-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.mobile-nav-buttons button {
    flex: 1;
    padding: 12px;

    border-radius: 10px;

    color: white;
    background: rgba(255,255,255,0.06);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 95px 0 70px;
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: -240px;
    left: 45%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(43,122,255,0.13),
            transparent 68%
        );

    pointer-events: none;
}

.hero-container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    gap: 70px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    width: fit-content;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 8px 13px;

    border-radius: 30px;

    color: #b8c5ec;
    background: rgba(47,140,255,0.08);
    border: 1px solid rgba(47,140,255,0.18);

    font-size: 11px;
    font-weight: 600;

    margin-bottom: 22px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px rgba(32,229,154,0.8);
}

.hero-content h1 {
    max-width: 650px;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.02;

    letter-spacing: -3.5px;

    font-weight: 800;
}

.hero-content h1 span {
    background:
        linear-gradient(
            90deg,
            #31b7ff,
            #6488ff,
            #a05cff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 575px;

    margin-top: 25px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   HERO FEATURES
========================================================= */

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-top: 25px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #c7d0e8;

    font-size: 12px;
}

.hero-feature span {
    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #06131a;

    background: var(--green);

    font-size: 9px;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}

.primary-btn,
.secondary-btn {
    min-height: 48px;

    padding: 0 21px;

    border-radius: 12px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2588ff,
            #7350ff
        );

    box-shadow:
        0 12px 35px rgba(55,103,255,0.25);
}

.secondary-btn {
    color: #d8e0f5;

    background: rgba(255,255,255,0.045);

    border: 1px solid var(--border);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.primary-btn:hover {
    box-shadow:
        0 16px 40px rgba(55,103,255,0.36);
}


/* =========================================================
   HERO TRUST
========================================================= */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 35px;
}

.trust-users {
    display: flex;
}

.trust-avatar {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    margin-left: -7px;

    border-radius: 50%;

    color: white;
    background:
        linear-gradient(
            135deg,
            #286dff,
            #8a55ff
        );

    border: 2px solid #050817;

    font-size: 10px;
    font-weight: 700;
}

.trust-avatar:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-text strong {
    color: #e8edfa;
    font-size: 11px;
}

.trust-text span {
    color: var(--text-muted);
    font-size: 10px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-illustration {
    position: relative;

    width: 520px;
    height: 420px;
}

.glow-circle {
    position: absolute;

    border-radius: 50%;

    filter: blur(10px);
}

.glow-one {
    width: 300px;
    height: 300px;

    top: 40px;
    left: 100px;

    background:
        radial-gradient(
            circle,
            rgba(48,139,255,0.22),
            transparent 68%
        );
}

.glow-two {
    width: 230px;
    height: 230px;

    right: 20px;
    bottom: 10px;

    background:
        radial-gradient(
            circle,
            rgba(143,82,255,0.18),
            transparent 70%
        );
}


/* =========================================================
   LAPTOP ILLUSTRATION
========================================================= */

.laptop {
    position: absolute;

    width: 390px;

    left: 65px;
    top: 65px;

    transform:
        perspective(1000px)
        rotateX(4deg)
        rotateY(-8deg)
        rotateZ(-2deg);

    filter:
        drop-shadow(
            0 35px 35px rgba(0,0,0,0.45)
        );
}

.laptop-screen {
    height: 250px;

    padding: 11px;

    border-radius: 17px 17px 7px 7px;

    background:
        linear-gradient(
            145deg,
            #121d3e,
            #071024
        );

    border: 5px solid #172449;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

.screen-top {
    display: flex;
    gap: 5px;
    padding: 3px 5px 9px;
}

.screen-top span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #56617f;
}

.screen-content {
    height: 195px;

    padding: 16px;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #0a1230,
            #081027
        );

    border: 1px solid rgba(255,255,255,0.05);
}

.screen-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.screen-title small {
    color: #7582a6;
    font-size: 7px;
}

.screen-title strong {
    color: white;
    font-size: 17px;
}

.chart-area {
    position: relative;

    height: 85px;

    margin-top: 15px;

    overflow: hidden;

    border-bottom: 1px solid rgba(255,255,255,0.06);

    background:
        repeating-linear-gradient(
            to top,
            transparent 0,
            transparent 19px,
            rgba(255,255,255,0.025) 20px
        );
}

.chart-line {
    position: absolute;

    width: 100%;
    height: 100%;

    clip-path:
        polygon(
            0% 80%,
            15% 66%,
            29% 73%,
            42% 42%,
            55% 57%,
            70% 27%,
            82% 38%,
            100% 8%,
            100% 12%,
            82% 42%,
            70% 31%,
            55% 61%,
            42% 46%,
            29% 77%,
            15% 70%,
            0% 84%
        );

    background:
        linear-gradient(
            90deg,
            #1acbff,
            #715cff
        );

    opacity: 0.95;
}

.chart-point {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #72ddff;

    box-shadow:
        0 0 9px rgba(25,217,255,0.8);
}

.point-one {
    left: 27%;
    top: 68%;
}

.point-two {
    left: 54%;
    top: 54%;
}

.point-three {
    left: 69%;
    top: 24%;
}

.point-four {
    right: 0;
    top: 5%;
}

.mini-stats {
    display: flex;
    gap: 35px;

    margin-top: 12px;
}

.mini-stats div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mini-stats small {
    color: #647293;
    font-size: 7px;
}

.mini-stats strong {
    color: #dfe8ff;
    font-size: 10px;
}

.laptop-base {
    width: 430px;
    height: 18px;

    margin-left: -20px;

    border-radius: 0 0 22px 22px;

    background:
        linear-gradient(
            180deg,
            #1d2a4f,
            #0c1430
        );

    box-shadow:
        0 8px 12px rgba(0,0,0,0.35);
}


/* =========================================================
   COINS
========================================================= */

.coin {
    position: absolute;

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;

    font-size: 17px;
    font-weight: 800;

    background:
        linear-gradient(
            145deg,
            #ffd86a,
            #ff9f25
        );

    border: 3px solid rgba(255,255,255,0.2);

    box-shadow:
        0 12px 30px rgba(255,170,50,0.25);

    transform: rotate(10deg);
}

.coin-one {
    left: 5px;
    bottom: 95px;
}

.coin-two {
    right: 5px;
    top: 90px;
    transform: rotate(-12deg);
}

.coin-three {
    right: 30px;
    bottom: 35px;
    transform: rotate(20deg);
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 12px 15px;

    border-radius: 14px;

    background:
        rgba(13,20,45,0.90);

    border: 1px solid rgba(255,255,255,0.09);

    box-shadow:
        0 20px 45px rgba(0,0,0,0.35);

    backdrop-filter: blur(15px);
}

.floating-card small {
    display: block;

    color: #7582a3;

    font-size: 8px;
    margin-bottom: 3px;
}

.floating-card strong {
    display: block;

    color: white;

    font-size: 13px;
}

.floating-icon {
    width: 33px;
    height: 33px;

    display: grid;
    place-items: center;

    border-radius: 10px;
}

.floating-icon.green {
    color: var(--green);
    background: rgba(32,229,154,0.10);
}

.balance-card {
    top: 45px;
    right: 10px;
}

.task-card {
    bottom: 55px;
    left: 5px;
}

.task-check {
    width: 33px;
    height: 33px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #071b15;
    background: var(--green);

    font-size: 12px;

    box-shadow:
        0 0 20px rgba(32,229,154,0.25);
}


/* =========================================================
   STATISTICS
========================================================= */

.statistics-section {
    padding: 0 0 80px;
}

.statistics-container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    min-height: 100px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 18px;

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            rgba(17,27,57,0.82),
            rgba(9,15,34,0.72)
        );

    border: 1px solid var(--border);

    box-shadow:
        0 14px 35px rgba(0,0,0,0.18);
}

.stat-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-size: 15px;
}

.stat-icon.blue {
    color: #42a9ff;
    background: rgba(47,140,255,0.11);
}

.stat-icon.purple {
    color: #aa82ff;
    background: rgba(138,92,255,0.11);
}

.stat-icon.green {
    color: #36e7a0;
    background: rgba(32,229,154,0.10);
}

.stat-icon.orange {
    color: #ffb257;
    background: rgba(255,173,74,0.10);
}

.stat-card strong {
    display: block;

    color: #f4f7ff;

    font-size: 19px;
    letter-spacing: -0.5px;
}

.stat-card span {
    display: block;

    margin-top: 4px;

    color: var(--text-muted);

    font-size: 9px;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.how-section {
    padding: 80px 0 100px;

    border-top: 1px solid rgba(255,255,255,0.04);
}

.section-heading {
    width: min(700px, calc(100% - 40px));
    margin: auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    color: #52b6ff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 12px;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.12;

    letter-spacing: -1.8px;
}

.section-heading h2 span {
    background:
        linear-gradient(
            90deg,
            #34b8ff,
            #a062ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.section-heading p {
    margin-top: 14px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   STEPS
========================================================= */

.steps-container {
    width: min(var(--container), calc(100% - 40px));
    margin: 55px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.step-card {
    position: relative;

    padding: 28px 22px;

    min-height: 230px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(15,24,52,0.78),
            rgba(8,13,29,0.72)
        );

    border: 1px solid var(--border);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(66,150,255,0.25);
}

.step-number {
    position: absolute;

    top: 18px;
    right: 20px;

    color: rgba(255,255,255,0.10);

    font-size: 26px;
    font-weight: 800;
}

.step-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 14px;

    color: #61c4ff;

    background:
        rgba(47,140,255,0.10);

    border:
        1px solid rgba(47,140,255,0.12);
}

.step-card:nth-child(2) .step-icon {
    color: #a98aff;
    background: rgba(138,92,255,0.10);
}

.step-card:nth-child(3) .step-icon {
    color: #42e5a5;
    background: rgba(32,229,154,0.10);
}

.step-card:nth-child(4) .step-icon {
    color: #ffb557;
    background: rgba(255,173,74,0.10);
}

.step-card h3 {
    font-size: 15px;
}

.step-card p {
    margin-top: 10px;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 25px 0 90px;
}

.cta-container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;

    padding: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    border-radius: 25px;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(125,75,255,0.22),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(21,45,89,0.88),
            rgba(32,22,72,0.88)
        );

    border: 1px solid rgba(108,135,255,0.18);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.25);
}

.cta-container h2 {
    margin-top: 8px;

    font-size: clamp(25px, 3vw, 38px);

    letter-spacing: -1.2px;
}

.cta-container p {
    margin-top: 8px;

    color: #9ba8c8;

    font-size: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    padding: 65px 0 25px;

    border-top:
        1px solid rgba(255,255,255,0.05);

    background:
        rgba(3,6,17,0.7);
}

.footer-container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;

    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);

    gap: 50px;
}

.footer-brand p {
    max-width: 310px;

    margin-top: 17px;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 8px;

    margin-top: 20px;
}

.social-links a {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: #8994b2;

    background: rgba(255,255,255,0.045);

    border: 1px solid var(--border);

    font-size: 11px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.social-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 5px;

    color: white;

    font-size: 12px;
}

.footer-column a {
    color: var(--text-muted);

    font-size: 10px;

    transition:
        color 0.2s ease;
}

.footer-column a:hover {
    color: #62bdff;
}

.footer-bottom {
    width: min(var(--container), calc(100% - 40px));
    margin: 50px auto 0;

    padding-top: 20px;

    display: flex;
    justify-content: space-between;

    border-top:
        1px solid rgba(255,255,255,0.05);

    color: #56617b;

    font-size: 9px;
}


/* =========================================================
   AUTH OVERLAY
========================================================= */

.auth-overlay {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(2,5,16,0.82);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.auth-overlay.active {
    display: flex;
}

.auth-modal {
    position: relative;

    width: min(470px, 100%);

    max-height: 92vh;
    overflow-y: auto;

    padding: 35px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(17,27,58,0.98),
            rgba(7,12,29,0.98)
        );

    border: 1px solid rgba(255,255,255,0.09);

    box-shadow:
        0 30px 100px rgba(0,0,0,0.65);

    animation:
        authIn 0.28s ease;
}

@keyframes authIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.close-auth {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    color: #8995b4;

    background: rgba(255,255,255,0.05);

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.close-auth:hover {
    color: white;
    background: rgba(255,255,255,0.10);
}

.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 25px;
}

.auth-heading {
    text-align: center;

    margin-bottom: 24px;
}

.auth-heading h2 {
    margin-top: 8px;

    font-size: 25px;

    letter-spacing: -0.7px;
}

.auth-heading p {
    margin-top: 7px;

    color: var(--text-muted);

    font-size: 11px;
}

.hidden {
    display: none !important;
}


/* =========================================================
   INPUTS
========================================================= */

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;

    margin-bottom: 7px;

    color: #b9c4df;

    font-size: 10px;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #687593;

    font-size: 12px;
}

.input-wrapper input {
    width: 100%;

    height: 48px;

    padding:
        0 42px
        0 39px;

    color: white;

    outline: none;

    border-radius: 11px;

    background:
        rgba(255,255,255,0.035);

    border:
        1px solid rgba(255,255,255,0.08);

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #59647f;
}

.input-wrapper input:focus {
    border-color:
        rgba(47,140,255,0.55);

    background:
        rgba(47,140,255,0.045);

    box-shadow:
        0 0 0 3px rgba(47,140,255,0.08);
}

.password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    color: #697594;

    background: transparent;

    font-size: 12px;
}

.password-toggle:hover {
    color: white;
}


/* =========================================================
   FORM OPTIONS
========================================================= */

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: 4px 0 20px;

    font-size: 9px;
}

.remember-option {
    display: flex;
    align-items: center;
    gap: 6px;

    color: #7884a1;

    cursor: pointer;
}

.remember-option input {
    accent-color: var(--blue);
}

.form-options a {
    color: #63baff;
}

.terms-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin: 5px 0 20px;

    color: #687594;

    font-size: 9px;
    line-height: 1.6;

    cursor: pointer;
}

.terms-option input {
    margin-top: 2px;
    accent-color: var(--blue);
}

.terms-option a {
    color: #61b8ff;
}


/* =========================================================
   AUTH BUTTON
========================================================= */

.auth-submit-btn {
    width: 100%;

    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border-radius: 11px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #2588ff,
            #7350ff
        );

    box-shadow:
        0 12px 30px rgba(54,99,255,0.22);

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(54,99,255,0.34);
}

.auth-switch {
    margin-top: 22px;

    text-align: center;

    color: #687594;

    font-size: 10px;
}

.auth-switch button {
    margin-left: 4px;

    color: #62baff;

    background: transparent;

    font-weight: 700;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 18px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .dashboard-illustration {
        transform: scale(0.88);
    }

    .statistics-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 760px) {

    .header-container {
        width: calc(100% - 28px);
        min-height: 68px;
    }

    .desktop-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
        place-items: center;
    }


    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-container {
        width: calc(100% - 28px);

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;

        font-size: 13px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }


    .hero-visual {
        min-height: 360px;
    }

    .dashboard-illustration {
        width: 100%;
        height: 340px;

        transform: scale(0.68);
    }


    .statistics-container {
        width: calc(100% - 28px);

        grid-template-columns: 1fr;
    }


    .how-section {
        padding: 60px 0;
    }

    .section-heading {
        width: calc(100% - 28px);
    }

    .steps-container {
        width: calc(100% - 28px);

        grid-template-columns: 1fr;

        margin-top: 35px;
    }


    .cta-section {
        padding-bottom: 65px;
    }

    .cta-container {
        width: calc(100% - 28px);

        padding: 30px 22px;

        flex-direction: column;
        align-items: flex-start;
    }

    .cta-container .primary-btn {
        width: 100%;
    }


    .footer-container {
        width: calc(100% - 28px);

        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        width: calc(100% - 28px);

        flex-direction: column;
        gap: 8px;
    }


    .auth-modal {
        padding: 28px 20px;
        border-radius: 20px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .brand-name {
        font-size: 18px;
    }

    .brand-icon {
        width: 35px;
        height: 35px;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 9px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .dashboard-illustration {
        transform: scale(0.56);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}

/* =========================================
   FORGOT PASSWORD PREMIUM POPUP
========================================= */

.forgot-password-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 8, 23, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* Popup Active */

.forgot-password-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Popup Box */

.forgot-password-box {
    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 38px 32px 30px;

    background:
        linear-gradient(
            145deg,
            #0f1b35,
            #091226
        );

    border: 1px solid rgba(96, 165, 250, 0.25);

    border-radius: 24px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(59, 130, 246, 0.12);

    transform:
        translateY(25px)
        scale(0.96);

    transition:
        transform 0.35s ease;
}


.forgot-password-modal.active
.forgot-password-box {

    transform:
        translateY(0)
        scale(1);
}


/* Close Button */

.forgot-password-close {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    color: #94a3b8;

    font-size: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition:
        all 0.25s ease;
}


.forgot-password-close:hover {

    color: #ffffff;

    background: rgba(239, 68, 68, 0.15);

    border-color:
        rgba(239, 68, 68, 0.35);

    transform: rotate(90deg);
}


/* Icon */

.forgot-password-icon {

    width: 72px;
    height: 72px;

    margin: 0 auto 20px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(59, 130, 246, 0.20),
            rgba(139, 92, 246, 0.18)
        );

    border:
        1px solid rgba(96, 165, 250, 0.25);

    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.12);

    color: #60a5fa;

    font-size: 28px;
}


/* Heading */

.forgot-password-box h2 {

    margin: 0;

    text-align: center;

    color: #ffffff;

    font-size: 27px;

    font-weight: 700;

    letter-spacing: -0.4px;
}


/* Subtitle */

.forgot-password-subtitle {

    margin: 10px auto 25px;

    max-width: 350px;

    text-align: center;

    color: #94a3b8;

    font-size: 14px;

    line-height: 1.6;
}


/* Input */

.forgot-password-input-group {

    position: relative;

    width: 100%;

    margin-bottom: 12px;
}


.forgot-password-input-group > i {

    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 15px;

    pointer-events: none;
}


.forgot-password-input-group input {

    width: 100%;

    height: 52px;

    padding:
        0 16px 0 46px;

    border-radius: 13px;

    border:
        1px solid rgba(148, 163, 184, 0.16);

    outline: none;

    background:
        rgba(255, 255, 255, 0.045);

    color: #ffffff;

    font-size: 14px;

    transition:
        all 0.25s ease;

    box-sizing: border-box;
}


.forgot-password-input-group input::placeholder {

    color: #64748b;
}


.forgot-password-input-group input:focus {

    border-color:
        rgba(96, 165, 250, 0.65);

    background:
        rgba(255, 255, 255, 0.065);

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.08);
}


/* Message */

.forgot-password-message {

    min-height: 20px;

    margin:
        8px 2px 10px;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;
}


.forgot-password-message.error {

    color: #f87171;
}


.forgot-password-message.success {

    color: #4ade80;
}


/* Submit Button */

.forgot-password-submit {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 13px;

    cursor: pointer;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.22);

    transition:
        all 0.25s ease;
}


.forgot-password-submit i {

    margin-right: 7px;
}


.forgot-password-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 14px 32px rgba(37, 99, 235, 0.32);
}


.forgot-password-submit:active {

    transform: translateY(0);
}


/* Back to Login */

.forgot-back-login {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;

    margin-top: 18px;

    padding: 5px;

    border: none;

    background: transparent;

    color: #94a3b8;

    font-size: 13px;

    cursor: pointer;

    transition:
        color 0.25s ease;
}


.forgot-back-login:hover {

    color: #60a5fa;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .forgot-password-modal {

        padding: 15px;

    }


    .forgot-password-box {

        max-width: 100%;

        padding:
            34px 22px 25px;

        border-radius: 20px;

    }


    .forgot-password-icon {

        width: 64px;
        height: 64px;

        margin-bottom: 17px;

        font-size: 25px;

    }


    .forgot-password-box h2 {

        font-size: 23px;

    }


    .forgot-password-subtitle {

        font-size: 13px;

        margin-bottom: 22px;

    }

}
