/* ==========================
   HERO SECTION
========================== */
.hero{
    width:min(1400px,90%);
    margin:0 auto;
    min-height:auto;

    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    align-items:center;
    gap:45px;

    padding:40px 0 25px;
}

/* LEFT */

.hero-badge{
    display:inline-block;

    padding:8px 18px;

    border-radius:999px;

    background:rgba(255,138,0,.15);

    color:var(--primary);

    font-weight:600;

    margin-bottom:15px;
}

.hero h1{

    font-size:64px;

    line-height:1.1;

    font-family:var(--heading);

    color:var(--white);

    margin-bottom:16px;

}

.hero h1 span{

    display:block;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-text{

    max-width:560px;

    font-size:17px;

    line-height:1.75;

    color:var(--text);

    margin-bottom:24px;
}

.hero-buttons{

    display:flex;

    gap:16px;

    flex-wrap:wrap;

    position:relative;

    z-index:10;
}

/* RIGHT */

.hero-right{

    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 16px;

    min-height: auto;
}
.dashboard-card{

    position:relative;
    z-index:2;

    width:100%;
    max-width:600px;

    border-radius:28px;

    overflow:hidden;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 30px 80px rgba(0,0,0,.35);

    transition:transform .15s ease;

    transform-style:preserve-3d;

    cursor:pointer;

    
    position:relative;

    width:100%;
    max-width:600px;

    flex-shrink:0;

    position: relative;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    transition: transform .2s ease;
    will-change: transform;
}



/* ==========================
   DASHBOARD PURPLE GLOW
========================== */

.dashboard-glow{

    display: none !important;

    position:absolute;

    width:420px;
    height:420px;

    background:radial-gradient(circle,
        rgba(255,153,0,.75) 0%,
        rgba(255,184,0,.50) 30%,
        rgba(255,215,0,.22) 60%,
        transparent 100%);


    filter:blur(70px);

    border-radius:50%;

    z-index:-1;

    animation:glowFloat 6s ease-in-out infinite;

}

@keyframes glowFloat{

    0%{

        transform:scale(1) translateY(0px);

        opacity:.65;

    }

    50%{

        transform:scale(1.15) translateY(-15px);

        opacity:.9;

    }

    100%{

        transform:scale(1) translateY(0px);

        opacity:.65;

    }

}

.dashboard-card img{

    width:100%;

    display:block;
}

.stats-row{

    width:100%;
    max-width: 600px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;

    margin-top: 20px;
}

.stat-card{
    min-height:90px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:14px 10px;

    text-align:center;

    border-radius:16px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.08);
}

.stat-card:hover{

    transform:translateY(-6px);
}

.stat-card h2{

    color:var(--primary);

    font-size:24px;

    font-family:var(--heading);

    margin-bottom:4px;
}

.stat-card span{

    color:var(--text);

    font-size:11px;

    font-weight:500;

    line-height:1.3;

    font-size:15px;

}




/* ==========================
   HERO BUTTONS
========================== */

.primary-btn,
.secondary-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:16px 34px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    transition:.35s ease;

}

.primary-btn{

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    box-shadow:0 10px 30px rgba(108,99,255,.35);

}

.primary-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 40px rgba(108,99,255,.45);

}

.secondary-btn{

    border:1px solid rgba(255,255,255,.15);

    color:var(--white);

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(10px);

}

.secondary-btn:hover{

    background:white;

    color:#111;

    transform:translateY(-5px);

}
/* ==========================
   BACKGROUND GLOW
========================== */

.bg-circle{

    position:fixed;

    border-radius:50%;

    filter:blur(100px);

    opacity:.35;

    z-index:-1;

    animation:moveGlow 12s infinite alternate ease-in-out;

}

.bg1{

    width:350px;
    height:350px;

    background:#FF8A00;

    top:-100px;
    left:-100px;

}

.bg2{

    width:300px;
    height:300px;

    background:#FFD700;

    bottom:-100px;
    right:-100px;

}

.bg3{

    width:250px;
    height:250px;

    background:#FFB347;

    top:45%;
    left:45%;

}

@keyframes moveGlow{

    from{

        transform:translateY(0px) translateX(0px);

    }

    to{

        transform:translateY(40px) translateX(30px);

    }

}

/* ==========================
   ANIMATED BACKGROUND
========================== */
.bg-circle{
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: .35;
    animation:floatGlow 10s ease-in-out infinite alternate;
}

.bg1{
    width: 380px;
    height: 380px;
    background:#FF8A00;
    top: -120px;
    left: -120px;
}

.bg2{
    width: 320px;
    height: 320px;
    background: #FFD700;
    right: -120px;
    bottom: -100px;
}

.bg3{
    width: 250px;
    height: 250px;
    background: #FFB347;
    left: 45%;
    top: 40%;
}

@keyframes floatGlow{

    from{
        transform: translate(0,0);
    }

    to{
        transform: translate(40px,-40px);
    }

}

.stats-wrapper{
    display:flex;
    flex-direction:column;
    gap:20px;

    margin-left:30px;
}

.stats-card{
    width: 220px;
    min-height: 100px;

    padding: 20px 24px;

    background: rgba(255,255,255,.08);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;

    box-shadow: var(--shadow);

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: .3s;
}

.stats-card h3{
    font-size: 34px;
    color: var(--primary);
    margin-bottom: 8px;
}

.stats-card p{
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
}
/* ==========================
   HERO LIGHT MODE
========================== */

.light-theme .hero{

    color:#111827;

}

.light-theme .hero-text{

    color:#4B5563;

}

.light-theme .secondary-btn{

    color:#111827;

    border:1px solid rgba(0,0,0,.15);

}

.light-theme .big-card{

    background:#FFFFFF;

}

.light-theme .stats-card{

    background:rgba(255,255,255,.9);

    color:#111827;

}

.light-theme .floating-card{

    background:#FFFFFF;

    color:#111827;

}

.counter{

    display:inline-block;

    transition:.3s;

}

.counter.finish{

    animation:pop .4s ease;

}

@keyframes pop{

    0%{

        transform:scale(.8);

    }

    50%{

        transform:scale(1.15);

    }

    100%{

        transform:scale(1);

    }

}

/* Dashboard Shine */

.shine{

    position:absolute;

    width:180px;
    height:180px;

    background:rgba(255,255,255,.15);

    border-radius:50%;

    filter:blur(40px);

    pointer-events:none;

    left:-200px;
    top:-200px;

    transition:.08s linear;

}

.hero-badge{

    animation:floatBadge 3s ease-in-out infinite;

}

@keyframes floatBadge{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-6px);

    }

}

.dashboard-card:hover{

    box-shadow:
        0 0 30px rgba(108,99,255,.35),
        0 30px 80px rgba(0,0,0,.35);

}