/* =========================================
   GLOBAL
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:#050505;

    color:white;

    font-family:'Inter',sans-serif;

    overflow-x:hidden;
}

/* =========================================
   BACKGROUND
========================================= */

.background-glow{

    position:fixed;

    top:-240px;
    right:-160px;

    width:700px;
    height:700px;

    background:radial-gradient(
        circle,
        rgba(255,0,120,0.16),
        transparent 70%
    );

    z-index:-2;

    pointer-events:none;

    animation:glowMove 8s ease-in-out infinite;
}

@keyframes glowMove{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-25px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* =========================================
   PARTICLES
========================================= */

.particles-bg{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-3;
}

.particles-bg span{

    position:absolute;

    width:4px;
    height:4px;

    background:rgba(255,255,255,0.12);

    border-radius:50%;

    animation:floatParticle 16s linear infinite;
}

.particles-bg span:nth-child(1){
    top:10%;
    left:20%;
}

.particles-bg span:nth-child(2){
    top:35%;
    left:75%;
}

.particles-bg span:nth-child(3){
    top:60%;
    left:50%;
}

.particles-bg span:nth-child(4){
    top:80%;
    left:85%;
}

.particles-bg span:nth-child(5){
    top:45%;
    left:8%;
}

@keyframes floatParticle{

    0%{
        transform:translateY(0px);
        opacity:0;
    }

    50%{
        opacity:1;
    }

    100%{
        transform:translateY(-140px);
        opacity:0;
    }
}

/* =========================================
   LAYOUT
========================================= */

.dashboard-layout{

    display:flex;

    min-height:100vh;
}

/* =========================================
   SIDEBAR
========================================= */

.sidebar{

    width:240px;

    background:#090909;

    border-right:1px solid rgba(255,255,255,0.08);

    padding:24px 18px;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    position:sticky;
    top:0;

    height:100vh;
}

.sidebar-logo{

    font-size:2rem;

    font-weight:800;

    margin-bottom:45px;

    background:linear-gradient(
        90deg,
        #ff0080,
        #7b61ff
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.sidebar-menu{

    display:flex;

    flex-direction:column;

    gap:12px;
}

.sidebar-menu a{

    color:#c8c8c8;

    padding:14px 16px;

    border-radius:16px;

    transition:0.25s ease;

    font-size:0.96rem;

    font-weight:500;
}

.sidebar-menu a:hover,
.active-link{

    background:rgba(255,255,255,0.06);

    color:white !important;

    transform:translateX(4px);
}

.upgrade-mini-btn{

    width:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:14px;

    border-radius:16px;

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.08);

    color:white;

    font-weight:600;

    transition:0.25s ease;
}

.upgrade-mini-btn:hover{

    transform:translateY(-2px);

    background:rgba(255,255,255,0.08);
}

/* =========================================
   MAIN
========================================= */

.dashboard-main{

    flex:1;

    padding:50px;
}

.dashboard-content-wrapper{

    width:100%;

    max-width:1450px;

    margin:0 auto;

    display:flex;

    flex-direction:column;

    gap:38px;
}

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

.dashboard-label{

    color:#9a9a9a;

    font-size:0.82rem;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:12px;
}

.dashboard-title{

    font-size:3rem;

    font-weight:800;

    margin-bottom:14px;
}

.dashboard-subtitle{

    color:#adadad;

    line-height:1.9;

    max-width:760px;
}

/* =========================================
   CARD SYSTEM
========================================= */

.audit-card,
.main-score-card,
.analysis-card,
.strategy-card,
.stats-card{

    background:linear-gradient(
        135deg,
        rgba(255,255,255,0.04),
        rgba(255,0,120,0.05)
    );

    border:1px solid rgba(255,255,255,0.08);

    border-radius:30px;

    backdrop-filter:blur(14px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.audit-card:hover,
.analysis-card:hover,
.strategy-card:hover,
.stats-card:hover,
.main-score-card:hover{

    transform:
        translateY(-6px);

    border-color:
        rgba(255,0,120,0.18);

    box-shadow:
        0 0 45px rgba(255,0,120,0.08);
}

/* =========================================
   INPUT SECTION
========================================= */

.audit-card{

    padding:40px;
}

.audit-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;
}

.audit-top h2{

    font-size:2rem;
}

.mini-label{

    color:#9d9d9d;

    font-size:0.82rem;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:10px;
}

.generator-badge{

    background:rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.08);

    padding:10px 18px;

    border-radius:999px;

    font-size:0.82rem;

    font-weight:600;
}

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

.audit-modes{

    display:flex;

    gap:14px;

    margin-bottom:28px;
}

.mode-btn{

    border:none;

    outline:none;

    background:rgba(255,255,255,0.05);

    border:1px solid rgba(255,255,255,0.08);

    color:white;

    padding:14px 22px;

    border-radius:16px;

    cursor:pointer;

    font-weight:600;

    transition:0.25s ease;
}

.mode-btn:hover,
.active-mode{

    background:linear-gradient(
        90deg,
        #ff0080,
        #7b61ff
    );

    transform:translateY(-2px);
}

/* =========================================
   INPUT
========================================= */

.input-group{

    margin-bottom:28px;
}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-weight:600;
}

.input-group input{

    width:100%;

    background:#0f0f0f;

    border:1px solid rgba(255,255,255,0.08);

    color:white;

    padding:18px 20px;

    border-radius:18px;

    outline:none;

    font-size:0.96rem;

    transition:0.25s;
}

.input-group input:focus{

    border-color:#ff0080;

    box-shadow:
        0 0 25px rgba(255,0,120,0.15);
}

/* =========================================
   BUTTON
========================================= */

.primary-btn{

    border:none;

    outline:none;

    background:linear-gradient(
        90deg,
        #ff0080,
        #7b61ff
    );

    color:white;

    padding:18px 28px;

    border-radius:18px;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    position:relative;

    overflow:hidden;

    transition:0.3s ease;
}

.primary-btn::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:120%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.18),
        transparent
    );

    transform:skewX(-20deg);

    animation:buttonSweep 3.5s linear infinite;
}

@keyframes buttonSweep{

    0%{
        left:-120%;
    }

    100%{
        left:140%;
    }
}

.primary-btn:hover{

    transform:translateY(-3px);

    box-shadow:
        0 0 30px rgba(255,0,120,0.35),
        0 0 60px rgba(123,97,255,0.18);
}

/* =========================================
   LOADING
========================================= */

.loading-btn{

    opacity:0.92;

    pointer-events:none;
}

.loader-ring{

    width:18px;
    height:18px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,0.22);

    border-top:2px solid white;

    display:inline-block;

    margin-right:10px;

    animation:spinLoader 0.8s linear infinite;

    vertical-align:middle;
}

@keyframes spinLoader{

    100%{
        transform:rotate(360deg);
    }
}

/* =========================================
   RESULTS
========================================= */

.profile-results{

    display:flex;

    flex-direction:column;

    gap:28px;

    animation:resultsReveal 0.7s ease;
}

@keyframes resultsReveal{

    from{

        opacity:0;

        transform:translateY(25px);
    }

    to{

        opacity:1;

        transform:translateY(0px);
    }
}

/* =========================================
   SCORE CARD
========================================= */

.main-score-card{

    padding:42px;

    display:flex;

    align-items:center;

    gap:34px;
}

.score-circle{

    width:180px;
    height:180px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    position:relative;

    background:conic-gradient(
        #ff0080 0deg,
        #7b61ff 260deg,
        rgba(255,255,255,0.08) 260deg
    );

    animation:
        pulseScore 2.5s ease-in-out infinite;
}

.score-circle::before{

    content:"";

    position:absolute;

    width:136px;
    height:136px;

    border-radius:50%;

    background:#090909;
}

.score-number{

    position:relative;

    z-index:2;

    font-size:3.2rem;

    font-weight:800;
}

@keyframes pulseScore{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.03);
    }

    100%{
        transform:scale(1);
    }
}

.score-info h3{

    font-size:2.3rem;

    margin-bottom:14px;
}

.score-info p{

    color:#b2b2b2;

    line-height:1.9;

    max-width:650px;
}

/* =========================================
   STATS
========================================= */

.profile-stats{

    display:grid;

    grid-template-columns:repeat(
        auto-fit,
        minmax(240px,1fr)
    );

    gap:24px;
}

.stats-card{

    padding:30px;
}

.stats-card h3{

    font-size:2.3rem;

    margin-bottom:12px;
}

.stats-card p{

    color:#b0b0b0;
}

/* =========================================
   ANALYSIS GRID
========================================= */

.analysis-grid{

    display:grid;

    grid-template-columns:repeat(
        auto-fit,
        minmax(340px,1fr)
    );

    gap:24px;
}

.analysis-card{

    padding:30px;

    min-height:260px;
}

.analysis-card h3{

    font-size:1.3rem;

    margin-bottom:22px;
}

.analysis-card div{

    color:#d5d5d5;

    line-height:2;
}

.analysis-card div p{

    margin-bottom:14px;

    animation:fadeLine 0.5s ease;
}

@keyframes fadeLine{

    from{

        opacity:0;

        transform:translateY(10px);
    }

    to{

        opacity:1;

        transform:translateY(0px);
    }
}

/* =========================================
   IMPROVEMENTS
========================================= */

.strategy-card{

    padding:34px;
}

.strategy-card h3{

    font-size:1.7rem;

    margin-bottom:22px;
}

.strategy-card div{

    color:#d2d2d2;

    line-height:2;
}

.strategy-card div p{

    margin-bottom:14px;
}

/* =========================================
   UTILITIES
========================================= */

.hidden{

    display:none;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1000px){

    .dashboard-layout{

        flex-direction:column;
    }

    .sidebar{

        width:100%;

        height:auto;

        position:relative;
    }

    .dashboard-main{

        padding:28px;
    }

    .main-score-card{

        flex-direction:column;

        text-align:center;
    }
}

@media(max-width:768px){

    .dashboard-title{

        font-size:2.2rem;
    }

    .analysis-grid{

        grid-template-columns:1fr;
    }

    .audit-top{

        flex-direction:column;

        align-items:flex-start;

        gap:18px;
    }

    .audit-modes{

        flex-direction:column;
    }
}