:root{
    --bg:#f4f7fb;
    --card:#ffffff;
    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --text:#0f172a;
    --muted:#64748b;
    --border:#e2e8f0;
    --shadow:0 10px 30px rgba(15,23,42,0.08);
    --radius:24px;
}

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

body{
    font-family:'Manrope',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

.container{
    width:min(1150px,92%);
    margin:auto;
}

.hero{
    padding:70px 0 40px;
}

.hero-box{
    background:linear-gradient(135deg,#2563eb,#1e40af);
    border-radius:32px;
    padding:50px;
    color:white;
    position:relative;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.hero-box::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-120px;
    right:-120px;
}

.hero h1{
    font-size:clamp(34px,5vw,58px);
    font-weight:800;
    margin-bottom:15px;
}

.hero p{
    max-width:700px;
    font-size:18px;
    opacity:0.92;
    color:white;
}

.calculator{
    margin-top:-20px;
    padding-bottom:80px;
}

.grid{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:30px;
}

.card{
    background:var(--card);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:35px;
}

.section-title{
    font-size:28px;
    font-weight:800;
    margin-bottom:25px;
}

.input-group{
    margin-bottom:25px;
}

label{
    display:block;
    margin-bottom:10px;
    font-weight:700;
}

input[type="number"]{
    width:100%;
    padding:18px 20px;
    border:2px solid var(--border);
    border-radius:18px;
    font-size:18px;
    font-family:inherit;
    transition:0.3s;
}

input[type="number"]:focus{
    outline:none;
    border-color:var(--primary);
}

.checkbox-group{
    margin-top:10px;
}

.checkbox-label{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    font-weight:600;
}

.checkbox-label input{
    width:20px;
    height:20px;
    cursor:pointer;
}

.info-box{
    margin-top:30px;
    padding:24px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
}

.info-box h3{
    font-size:20px;
    margin-bottom:16px;
    color:var(--primary-dark);
}

.info-box ul{
    padding-left:20px;
    display:flex;
    flex-direction:column;
    gap:14px;
}

.info-box li{
    color:var(--text);
    line-height:1.5;
}

.important-note{
    margin-top:8px;
    padding:14px 16px;
    border-radius:14px;
    background:#dbeafe;
    color:#1e3a8a;
    font-weight:700;
    list-style:none;
    text-align: justify;
}

.result-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    text-align:center;
    padding:30px 20px;
    border-radius:24px;
    background:linear-gradient(135deg,#eff6ff,#dbeafe);
    margin-bottom:30px;
}

.result-box{
    flex:1;
}

.result-box span{
    font-size:13px;
    display:block;
    color:var(--muted);
    margin-bottom:10px;
}

.result-box h2{
    font-size:22px;
    color:var(--primary-dark);
    font-weight:800;
}

.result-divider{
    width:1px;
    align-self:stretch;
    background:#cbd5e1;
}

.tax-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.tax-item{
    background:#f8fafc;
    border-radius:18px;
    padding:18px;
}

.tax-top{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-weight:700;
}

.progress{
    height:10px;
    background:#e2e8f0;
    border-radius:999px;
    overflow:hidden;
}

.progress div{
    height:100%;
    border-radius:999px;
}

.pdfo{
    width:18%;
    background:#2563eb;
}

.vz{
    width:5%;
    background:#f59e0b;
}

.union{
    width:1%;
    background:#ec4899;
}

.esv{
    width:22%;
    background:#16a34a;
}

.summary{
    margin-top:30px;
    display:grid;
    gap:16px;
}

.summary-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 20px;
    border-radius:18px;
    background:#f8fafc;
}

.summary-item strong{
    font-size:18px;
}

.features{
    padding:80px 0;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.feature{
    background:white;
    border-radius:24px;
    padding:30px;
    box-shadow:var(--shadow);
}

.feature h3{
    font-size:20px;
    margin-bottom:12px;
}

.feature p{
    color:var(--muted);
}

.footer-note{
    margin-top:50px;
    text-align:center;
    color:var(--muted);
    font-size:15px;
}

.related-calculators{
    margin-top:40px;
}

.related-calculators h2{
    text-align:center;
    margin-bottom:10px;
}

.related-text{
    text-align:center;
    color:#666;
    margin-bottom:25px;
    line-height:1.6;
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.related-card{
    background:#fff;
    border-radius:18px;
    padding:20px;
    text-decoration:none;
    color:#333;
    border:1px solid #e9eef5;
    box-shadow:0 4px 15px rgba(0,0,0,0.05);
    transition:all .25s ease;
}

.related-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.related-card h3{
    margin:0 0 8px;
    font-size:18px;
}

.related-card p{
    margin:0;
    color:#666;
    font-size:14px;
    line-height:1.5;
}

.all-card{
    background:linear-gradient(
        135deg,
        #f5f9ff,
        #eef6ff
    );
    border:2px solid #4a90e2;
}

.all-card h3{
    color:#1565c0;
}

@media(max-width:900px){

    .grid{
        grid-template-columns:1fr;
    }

    .hero-box{
        padding:35px 25px;
    }

    .card{
        padding:25px;
    }

    .related-text{
    text-align:justify;
    }

}

@media(max-width:768px){

    .related-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:700px){
     html,
    body{
        overflow-x:hidden;
    }

    .result-main{
        flex-direction:column;
    }

    .result-box span{
    font-size:18px;
    }

    .result-box h2{
    font-size:28px;
    }

    .result-divider{
        width:100%;
        height:1px;
    }

}