.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:58px;
    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:black;
    font-size:18px;
    line-height:1.7;
}

.dashboard-container{
    max-width:1250px;
    margin:auto;
    padding:20px;
}

.glass-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:0 8px 32px rgba(0,0,0,0.25);
    border-radius:24px;
}

.main-card{
    padding:30px;
    margin-bottom:30px;
}

.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:black;
}

.input-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.field label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
    color: #5a5a5a;
}

.field input{
    width:100%;
    height:56px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.06);
    color:#fff;
    padding:0 18px;
    outline:none;
    font-size:15px;
}

.field input::placeholder{
    color:#94a3b8;
}

.field input:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.15);
}

.bottom-actions{
    margin-top:30px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    border:none;
    height:54px;
    padding:0 24px;
    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,0.08);
    color:#fff;
    border:1px solid rgba(255,255,255,0.1);
}

.secondary-btn:hover{
    background:rgba(255,255,255,0.12);
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    margin-bottom:30px;
}

.stat-card{
    padding:24px;
}

.stat-title{
    color:#5a5a5a;
    font-size:14px;
    margin-bottom:12px;
}

.stat-number{
    font-size:30px;
    font-weight:800;
}

.result-card{
    padding:30px;
    margin-bottom:50px;
}

.result-box{
    padding:24px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
}

.metric-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.metric-row:last-child{
    border-bottom:none;
}

.metric-key{
    color:#5a5a5a;
}

.metric-value{
    font-weight:700;
}

.tip-text{
    margin-top:18px;
    color:#94a3b8;
    line-height:1.7;
}

@media(max-width:1100px){

    .stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .input-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){

    .hero h1{
        font-size:38px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .input-grid{
        grid-template-columns:1fr;
    }

    .section-header{
        flex-direction:column;
        align-items:flex-start;
    }
}