/*=========================================
    1. CSS Variables
=========================================*/

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --success:#16a34a;
    --danger:#dc2626;

    --background:#f5f7fb;
    --surface:#ffffff;

    --text:#111827;
    --text-light:#6b7280;

    --border:#e5e7eb;

    --shadow-sm:0 2px 8px rgba(0,0,0,.08);
    --shadow-md:0 8px 24px rgba(0,0,0,.10);
    --shadow-lg:0 16px 40px rgba(0,0,0,.14);

    --radius:16px;
    --radius-lg:24px;

    --transition:.3s ease;

    --max-width:1200px;

}

/*=========================================
    2. Reset
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.6;

    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}


/*=========================================
    3. Layout
=========================================*/

.container{

    width:min(90%,var(--max-width));

    margin:auto;

}


/*=========================================
    7. Hero
=========================================*/

.hero{
    padding:60px 0;
    text-align:center;
}

.hero-content{

    max-width:800px;

    margin:0 auto;

}

.hero h1{

    font-size:clamp(2.2rem,5vw,3.5rem);

    font-weight:800;

    line-height:1.2;

    margin-bottom:24px;

    color:var(--text);

}

.hero p{

    font-size:1.125rem;

    color:var(--text-light);

    line-height:1.8;

    max-width:600px;

    margin:0 auto 40px;

}

.hero-badges{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:16px;

}

.hero-badges span{

    background:var(--surface);

    padding:10px 18px;

    border-radius:999px;

    box-shadow:var(--shadow-sm);

    border:1px solid rgba(0,0,0,.05);

    font-size:.95rem;

    font-weight:500;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.hero-badges span:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow-md);

}

/*=========================================
    8. Calculator
=========================================*/

.calculator-section{

    padding:80px 24px 64px;

}

.calculator-card{

    max-width:900px;

    margin:0 auto;

    background:var(--surface);

    border-radius:var(--radius-lg);

    padding:40px;

    box-shadow:var(--shadow-md);

    border:1px solid rgba(0,0,0,.05);

    transition:
        transform var(--transition),
        box-shadow var(--transition);

}

.calculator-card:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-lg);

}

.calculator-card h2{

    text-align:center;

    margin-bottom:16px;

    font-size:clamp(2rem,4vw,2.5rem);

    font-weight:700;

    color:var(--text);

}

.calculator-description{

    text-align:center;

    color:var(--text-light);

    max-width:650px;

    margin:0 auto 40px;

    line-height:1.7;

}

.calculator-header{

    text-align:center;

    margin-bottom:40px;

}


/*=========================================
    9. Forms
=========================================*/
.calculator-form{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.form-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

    margin-bottom:32px;

}

.form-actions{

    display:flex;

    justify-content:center;

}

.form-actions .btn{

    min-width:180px;

}

.form-group{

    display:flex;

    flex-direction:column;

    gap:10px;

}
.form-group label{

    font-size:15px;

    font-weight:600;

    color:var(--text);

}
.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:16px 18px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    background:var(--surface);

    color:var(--text);

    font-size:16px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}


/*=========================================
    10. Action Buttons
=========================================*/

.action-section{

    padding:30px 0 70px;

}

.action-buttons{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:16px;

}

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-height:48px;

    padding:14px 24px;

    border:none;

    border-radius:var(--radius);

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    text-decoration:none;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

    box-shadow:var(--shadow-md);

}

.btn-secondary{

    background:var(--surface);

    color:var(--text);

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

}

.btn-secondary:hover{

    transform:translateY(-2px);

    box-shadow:var(--shadow-md);

}

.btn-danger{

    background:var(--danger);

    color:#fff;

}

.btn:focus-visible{

    outline:2px solid var(--primary);
    outline-offset:3px;

}

.btn-danger:hover{

    background:#dc2626;

    transform:translateY(-2px);

    box-shadow:var(--shadow-md);

}
/*=========================================
    11. Results Section
=========================================*/

.results-section{
    padding:100px 0 80px;
}

.section-title{

    text-align:center;

    font-size:clamp(2.2rem,5vw,2.8rem);

    font-weight:700;

    color:var(--text);

    margin-bottom:48px;

}

.results-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:24px;

}

.result-card{

    background:var(--surface);

    padding:32px;

    border-radius:var(--radius-lg);

    text-align:center;

    box-shadow:var(--shadow-sm);

    border:1px solid rgba(0,0,0,.05);

    transition:var(--transition);

}

.result-card:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-md);

}

.result-card h3{

    font-size:16px;

    font-weight:600;

    color:var(--text-light);

    margin-bottom:16px;

}

.result-card p{

    font-size:clamp(2.3rem,5vw,2.8rem);

    font-weight:700;

    color:var(--primary);

    line-height:1.2;

}

/*=========================================
    12. About Tool
=========================================*/

.about-section{

    padding:60px 0 80px;

}

.about-card{

    max-width:900px;

    margin:0 auto;

    background:var(--surface);

    padding:48px;

    border-radius:20px;

    box-shadow:var(--shadow-sm);

}

.about-card p{

    margin-bottom:20px;

    color:var(--text-light);

    line-height:1.9;

    font-size:17px;

}

.about-card p:last-child{

    margin-bottom:0;

}

.about-card:hover{

    box-shadow:var(--shadow-md);

}

/*=========================================
    13. FAQ
=========================================*/


.faq-section{

    padding:80px 0;

}

.faq-list{

    max-width:900px;

    margin:0 auto;

    display:flex;

    flex-direction:column;

    gap:20px;

}

.faq-item{

    background:var(--surface);

    border-radius:16px;

    box-shadow:var(--shadow-sm);

    overflow:hidden;

    transition:all .3s ease;

}

.faq-item:hover{

    box-shadow:var(--shadow-md);

}

.faq-question{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:24px;

    border:none;

    background:none;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    color:var(--text);

    text-align:left;

}

.faq-question i{

    color:var(--primary);

    transition:transform .3s ease;

}

.faq-item.active{

    box-shadow:var(--shadow-lg);

    border-left:4px solid var(--primary);

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;

}

.faq-answer p{

    padding:0 24px 24px;

    color:var(--text-light);

    line-height:1.7;

}

.faq-question:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:3px;
}

/*=========================================
    14. Disclaimer
=========================================*/

.disclaimer-section{

    padding:80px 0;

}

.disclaimer-card{

    max-width:900px;

    margin:0 auto;

    background:#fff8e6;

    border-left:5px solid #f59e0b;

    padding:32px;

    border-radius:16px;

    box-shadow:var(--shadow-sm);

}

.disclaimer-card p{

    margin-bottom:16px;

    color:var(--text);

    line-height:1.8;

}

.disclaimer-card p:last-child{

    margin-bottom:0;

}
/* =========================================
   Compact Footer
========================================= */

.site-footer {
    background: #e2e5e8;
    padding: 20px 24px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-links a {
    color: #333333;
    font-size: 14px;
    text-decoration: underline;
}

.footer-container > p {
    color: #555555;
    font-size: 14px;
    margin: 0;
}
/*=========================================
    16. Toast Notification
=========================================*/

.toast{

    position:fixed;

    bottom:30px;

    right:30px;

    background:var(--text);

    color:#fff;

    padding:14px 22px;

    border-radius:12px;

    box-shadow:var(--shadow-lg);

    font-size:15px;

    font-weight:500;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s ease;

    z-index:9999;

}

.toast.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.toast.success{
    background:#16a34a;
}

.toast.error{
    background:#dc2626;
}

.toast.warning{
    background:#d97706;
}

.toast.info{
    background:#2563eb;
}

/*=========================================
    Shared Header / Navigation
=========================================*/

/* Header, logo, navigation and mobile menu are controlled by the shared SmartMyTools stylesheet: ../../../css/style.css */


/*=========================================
    17. Responsive Design
=========================================*/

@media (max-width:992px){
}

@media (max-width:768px){
.form-grid{

    grid-template-columns:1fr;

    }

    .faq-question{

    font-size:16px;

    padding:20px;

}

.faq-answer p{

    padding:0 20px 20px;

}

.about-card{

    padding:28px;

}

.about-card p{

    font-size:16px;

}

.disclaimer-card{

    padding:24px;

}

.footer-grid{

    grid-template-columns:1fr;

    gap:32px;

    text-align:center;

}
}

@media (max-width:576px){

    .hero{
        padding:40px 0;
    }

    .calculator-card{
        padding:24px;
    }

    .result-card{
        padding:24px;
    }

    .section-title{
        margin-bottom:32px;
    }

}

@media (max-width:480px){
}
/* =========================================
   SMARTMYTOOLS AD SPACES
========================================= */

/* Top Advertisement */
.top-ad {
    width: 100%;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed #cbd5e1;
    border-radius: 10px;

    color: #718096;
    font-size: 14px;

    margin-bottom: 40px;
}


/* =========================================
   MAIN CONTENT + SIDEBAR
========================================= */

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 35px;
    align-items: start;
}

.page-main-content {
    min-width: 0;
}


/* =========================================
   ADVERTISEMENT SIDEBAR
========================================= */

.ad-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;

    position: sticky;
    top: 20px;

    height: max-content;
}

.ad-placeholder {
    width: 100%;
    height: 250px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed #cbd5e1;
    border-radius: 10px;

    background: #fafafa;

    color: #718096;
    font-size: 14px;

    box-sizing: border-box;
}


/* =========================================
   BOTTOM STICKY AD
========================================= */

.bottom-sticky-ad {
    display: flex;

    position: fixed;
    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    width: min(970px, calc(100% - 40px));
    min-height: 90px;

    z-index: 9998;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid #d9e0e7;
    border-bottom: none;
    border-radius: 8px 8px 0 0;

    background: #eef1f5;
    color: #94a3b8;

    font-size: 14px;
}


/* =========================================
   RESPONSIVE AD SPACES
========================================= */

@media (max-width: 1000px) {

    .page-layout {
        grid-template-columns: 1fr;
    }

    .ad-sidebar {
        display: none;
    }

}


@media (max-width: 768px) {

    .top-ad {
        height: 80px;
        margin-bottom: 30px;
    }

    .bottom-sticky-ad {
        left: 0;
        right: 0;
        bottom: 0;

        transform: none;

        width: 100%;
        min-height: 60px;

        border-radius: 0;

        border-left: none;
        border-right: none;
        border-bottom: none;

        border-top: 1px solid #d9e0e7;

        z-index: 9999;
    }

}


@media (max-width: 480px) {

    .top-ad {
        height: 70px;
    }

}
/* =========================================
   Character counter - SIDEBAR SPACE
========================================= */

.page-layout {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 35px;
    align-items: start;
}

.page-main-content {
    min-width: 0;
}

/* Keep sidebar ads visible while scrolling */
.ad-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 20px;
    height: max-content;
}

/* Sidebar ad boxes */
.ad-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #fafafa;
    color: #718096;
    font-size: 14px;
    box-sizing: border-box;
}

/* Tablet / mobile */
@media (max-width: 1000px) {

    .page-layout {
        grid-template-columns: 1fr;
    }

    .ad-sidebar {
        display: none;
    }
}
/* =========================================
   BOTTOM AD - FOOTER CLEARANCE
========================================= */

.site-footer {
    margin-bottom: 90px !important;
}

@media (max-width: 768px) {
    .site-footer {
        margin-bottom: 60px !important;
    }
}