/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:#f8fafc;
    color:#1f2937;
    line-height:1.6;
}

/* ===========================
   CONTAINER
=========================== */

.container{
    width:90%;
    max-width:1300px;
    margin:50px auto;
}

/* ===========================
   HERO
=========================== */

.hero{
    text-align:center;
    margin-bottom:50px;
}

.hero h1{
    font-size:52px;
    font-weight:800;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    color:#6b7280;
    max-width:700px;
    margin:auto;
}

/* ===========================
   CALCULATOR
=========================== */

.calculator{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px;
    margin-bottom:50px;
}

/* ===========================
   BOXES
=========================== */

.calculator-box,
.results-box,
.schedule,
.content,
.faq{

    background:#fff;
    padding:35px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,.05);

}

.calculator-box h2,
.results-box h2,
.schedule h2,
.content h2,
.faq h2{

    margin-bottom:25px;
    font-size:28px;

}

/* ===========================
   INPUTS
=========================== */

.input-group{
    margin-bottom:22px;
}

.input-group label{

    display:block;
    font-weight:600;
    margin-bottom:8px;

}

.input-group input{

    width:100%;
    padding:15px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:16px;

}

.input-group input:focus{

    outline:none;
    border-color:#ef4444;

}

/* ===========================
   BUTTON
=========================== */

#calculateBtn{

    width:100%;
    background:#ef4444;
    color:#fff;
    border:none;
    padding:18px;
    border-radius:10px;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;

}

#calculateBtn:hover{

    background:#dc2626;

}

/* ===========================
   RESULT CARDS
=========================== */

.cards{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;

}

.card{

    background:#f9fafb;
    border:1px solid #ececec;
    border-radius:14px;
    padding:25px;

}

.card h3{

    font-size:16px;
    color:#6b7280;
    margin-bottom:15px;

}

.card span{

    font-size:34px;
    font-weight:800;
    color:#ef4444;

}

/* ===========================
   TABLE
=========================== */

table{

    width:100%;
    border-collapse:collapse;
    margin-top:25px;

}

thead{

    background:#ef4444;
    color:#fff;

}

th{

    padding:16px;
    text-align:left;

}

td{

    padding:16px;
    border-bottom:1px solid #ececec;

}

tbody tr:nth-child(even){

    background:#fafafa;

}

/* ===========================
   DOWNLOAD BUTTONS
=========================== */

.downloads{

    display:flex;
    gap:20px;
    margin-top:30px;

}

.downloads button{

    background:white;
    border:2px solid #ef4444;
    color:#ef4444;
    padding:14px 24px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
    transition:.3s;

}

.downloads button:hover{

    background:#ef4444;
    color:white;

}

/* ===========================
   CONTENT
=========================== */

.content p{

    font-size:17px;
    color:#4b5563;

}

/* ===========================
   FAQ
=========================== */

.faq-item{

    border:1px solid #ececec;
    border-radius:10px;
    padding:18px;
    margin-top:18px;

}

.faq-item h3{

    margin-bottom:10px;

}

.faq-item p{

    color:#6b7280;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

.calculator{

grid-template-columns:1fr;

}

.cards{

grid-template-columns:1fr;

}

.downloads{

flex-direction:column;

}

.hero h1{

font-size:38px;

}

}
/* ===========================
   ICONS
=========================== */

h2 i{
    color:#ef4444;
    margin-right:10px;
}

button i{
    margin-right:8px;
}

.downloads button i{
    margin-right:8px;
}

.card{
    transition:.3s ease;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}
/* ===========================
   IMPROVED INPUTS
=========================== */

.section-description{
    color:#6b7280;
    margin-bottom:30px;
}

.required{
    color:#ef4444;
}

.input-wrapper{

    position:relative;

}

.input-prefix{

    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    font-weight:700;
    color:#6b7280;

}

.input-suffix{

    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    font-weight:700;
    color:#6b7280;

}

.input-wrapper input{

    padding-left:40px;

}

#apr{

    padding-right:40px;

}

small{

    display:block;
    margin-top:8px;
    color:#9ca3af;
    font-size:13px;

}

.tooltip{

    cursor:pointer;
    color:#9ca3af;
    margin-left:6px;

}

.tooltip:hover{

    color:#ef4444;

}

.input-group input:hover{

    border-color:#ef4444;

}

.input-group input{

    transition:.25s;

}
/* ==========================
   Disclaimer
========================== */

.disclaimer{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:12px;

    padding:30px;

    margin-top:30px;

}

.disclaimer h2{

    margin-bottom:15px;

    font-size:28px;

    color:#111827;

}

.disclaimer p{

    color:#4b5563;

    line-height:1.8;

    font-size:16px;

}
/* ==========================
   INTRO
========================== */

.intro{

    max-width:900px;

    margin:20px auto 35px;

    font-size:18px;

    line-height:1.8;

    color:#4b5563;

}
.calculator-intro{

max-width:900px;

margin:25px auto 40px;

font-size:18px;

line-height:1.8;

color:#5b6474;

text-align:center;

}
/* ==========================
   BENEFITS
========================== */

.benefits{

    background:#fff;

    padding:35px;

    border-radius:12px;

    margin-top:40px;

    box-shadow:0 2px 12px rgba(0,0,0,.05);

}

.benefits h2{

    margin-bottom:25px;

}

.benefits-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

}

.benefit-card{

    border:1px solid #eee;

    border-radius:10px;

    padding:20px;

}

.benefit-card h3{

    color:#1f2937;

    margin-bottom:10px;

    font-size:20px;

}

.benefit-card p{

    color:#555;

    line-height:1.7;

}
/* =====================================================
   Financial Analysis
===================================================== */

.financial-analysis-box{
    margin-top:40px;
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:35px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

.financial-analysis-box h2{
    font-size:30px;
    color:#1e3a8a;
    margin-bottom:30px;
    font-weight:700;
}

.analysis-card{
    background:#f8fafc;
    border-left:5px solid #ef4444;
    border-radius:14px;
    padding:25px;
    margin-bottom:20px;
}

.analysis-card:last-child{
    margin-bottom:0;
}

.analysis-card h3{
    margin:0 0 12px;
    color:#1e3a8a;
    font-size:22px;
    font-weight:600;
}

.analysis-card p{
    margin:0;
    color:#4b5563;
    line-height:1.8;
    font-size:17px;
}