.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: black !important;
    font-size:18px;
    line-height:1.7;
}

.calculator-container{
    max-width:950px;
    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:28px;
}

.calculator-card{
    padding:34px;
}

.section-title{
    margin-bottom:30px;
}

.section-title h2{
    font-size:32px;
    margin-bottom:10px;
}

.section-title p{
    color: black;
    line-height:1.7;
}

.input-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
}

.full-width{
    grid-column:1 / -1;
}

.field label{
    display:block;
    margin-bottom:10px;
    font-size:14px;
    color: #5a5a5a;
}

.field input{
    width:100%;
    height:56px;
    border-radius:16px;
    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:16px;
}

.field input::placeholder{
    color:#94a3b8;
}

.field input:focus{
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.15);
}

.button-wrap{
    display:flex;
    gap:16px;
    margin-top:30px;
    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{
    border:none;
    height:54px;
    padding:0 24px;
    border-radius:16px;
    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);
}

.result-card{
    margin-top:34px;
    padding:28px;
    border-radius:24px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
}

.result-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.result-badge{
    padding:10px 16px;
    border-radius:999px;
    background:rgba(59,130,246,.15);
    color: #3b82f6;
    font-size:14px;
    font-weight:600;
}

.result-score{
    font-size:35px;
    font-weight:800;
    background:linear-gradient(135deg,#3b82f6,#8b5cf6);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.formula-line{
    color: #5a5a5a;
    margin-bottom:16px;
    line-height:1.7;
}

.result-details{
    color:#5a5a5a;
    line-height:1.9;
    font-size:16px;
}

.highlight{
    color: #3b82f6;
    font-weight:700;
}

@media(max-width:768px){

    .hero h1{
        font-size:38px;
    }

    .input-grid{
        grid-template-columns:1fr;
    }

    .calculator-card{
        padding:24px;
    }

    .result-score{
        font-size:32px;
    }
}