.hero{
    position:relative;
    text-align:center;
    padding:90px 20px 60px;
}

.hero-glow{
    position:absolute;
    width:420px;
    height:420px;
    background:#3b82f6;
    filter:blur(140px);
    opacity:.18;
    top:-120px;
    left:50%;
    transform:translateX(-50%);
    z-index:0;
}

.hero h1{
    position:relative;
    z-index:1;
    font-size:56px;
    font-weight:800;
    margin-bottom:18px;
    letter-spacing:-1px;
}

.hero h1 span{
    background:linear-gradient(
        135deg,
        #3b82f6,
        #8b5cf6
    );
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    position:relative;
    z-index:1;
    max-width:760px;
    margin:auto;
    color:#7c7c7c !important;
    font-size:18px;
    line-height:1.7;
}

/* DASHBOARD */

.dashboard-container{
    max-width:1300px;
    margin:auto;
    padding:20px;
}

.glass-card{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 8px 32px rgb(0 0 0 / 18%);
    border-radius:24px;
}

.main-card{
    padding:28px;
    margin-bottom:28px;
}

.result-card{
    padding:28px;
    margin-bottom:50px;
}

/* SECTION HEADER */

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:28px;
    flex-wrap:wrap;
}

.section-header.simple{
    margin-bottom:20px;
}

.section-header h2{
    font-size:28px;
    margin-bottom:8px;
}

.section-header p{
    color:#7c7c7c;
}

/* FIELD */

.field{
    margin-bottom:24px;
}

.field label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
    color:#787c81;
}

textarea{
    width:100%;
    min-height:260px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.06);
    color:#7c7c7c !important;
    padding:18px;
    outline:none;
    resize:vertical;
    font-size:15px;
    transition:.25s ease;
}

textarea:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.15);
}

textarea::placeholder{
    color:#94a3b8;
}

/* UPLOAD */

.upload-row{
    margin-bottom:24px;
}

.upload-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    height:52px;
    padding:0 22px;
    border-radius:14px;
    background:linear-gradient(
        135deg,
        #3b82f6,
        #6366f1
    );
    color:#fff !important;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    transition:.25s ease;
    box-shadow:0 10px 24px rgba(59,130,246,.25);
}

.upload-btn:hover{
    transform:translateY(-2px);
}

/* OPTIONS */

.options-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.option-card{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:22px;
    border-radius:18px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
}

.option-card h4{
    margin-bottom:6px;
    font-size:17px;
}

.option-card p{
    color:#7c7c7c;
    font-size:14px;
}

/* SWITCH */

.switch{
    position:relative;
    width:58px;
    height:30px;
    flex-shrink:0;
}

.switch input{
    opacity:0;
    width:0;
    height:0;
}

.slider{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:#475569;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
}

.slider:before{
    position:absolute;
    content:"";
    width:22px;
    height:22px;
    left:4px;
    bottom:4px;
    background:white;
    border-radius:50%;
    transition:.3s;
}

.switch input:checked + .slider{
    background:#3b82f6;
}

.switch input:checked + .slider:before{
    transform:translateX(28px);
}

/* BUTTONS */

.bottom-actions{
    margin-top:28px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.action-buttons{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    border:none;
    height:52px;
    padding:0 22px;
    border-radius:14px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.25s ease;
}

.primary-btn{
    background:linear-gradient(
        135deg,
        #3b82f6,
        #6366f1
    );
    color:#fff;
    box-shadow:0 10px 24px rgba(59,130,246,.25);
}

.primary-btn:hover{
    transform:translateY(-2px);
}

.secondary-btn{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.1);
    color:#fff;
}

.secondary-btn:hover{
    background:rgba(255,255,255,.12);
}

.primary-btn:disabled,
.secondary-btn:disabled{
    opacity:.6;
    cursor:pointer;
}

/* STATS */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:28px;
}

.stat-card{
    padding:24px;
}

.stat-title{
    color:#787c81;
    font-size:14px;
    margin-bottom:10px;
}

.stat-number{
    font-size:24px;
    font-weight:800;
}

/* NOTIFICATION */

.notification{
    position:fixed;
    top:20px;
    right:20px;
    padding:14px 22px;
    border-radius:14px;
    background:linear-gradient(
        135deg,
        #3b82f6,
        #6366f1
    );
    color:#fff;
    font-weight:600;
    opacity:0;
    transform:translateX(120%);
    transition:.3s ease;
    z-index:9999;
    box-shadow:0 10px 24px rgba(59,130,246,.25);
}

.notification.show{
    opacity:1;
    transform:translateX(0);
}

/* RESPONSIVE */

@media(max-width:1100px){

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .options-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
	.dashboard-container {
    max-width: 1300px;
    margin: auto;
    padding:0px !important;
	}

    .hero h1{
        font-size:38px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .section-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .action-buttons{
        width:100%;
    }

    .action-buttons button{
        flex:1;
    }

    textarea{
        min-height:220px;
    }
}