/* ===================================
   SwiftToolsPro - Main Stylesheet
   Version: 2.0
=================================== */


/* ===================================
   01. RESET
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:var(--font-family);

    font-size:16px;

    line-height:1.7;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

    -webkit-font-smoothing:antialiased;

    text-rendering:optimizeLegibility;

}


/* ===================================
   02. TYPOGRAPHY
=================================== */

h1,
h2,
h3,
h4,
h5,
h6{

    color:var(--heading);

    font-weight:700;

    line-height:1.3;

    margin-bottom:15px;

}

h1{

    font-size:40px;

}

h2{

    font-size:30px;

}

h3{

    font-size:24px;

}

p{

    margin-bottom:18px;

    color:var(--text);

}

small{

    font-size:14px;

}


/* ===================================
   03. LINKS
=================================== */

a{

    color:var(--primary);

    text-decoration:none;

    transition:.3s;

}

a:hover{

    color:var(--secondary);

}


/* ===================================
   04. IMAGES
=================================== */

img{

    max-width:100%;

    height:auto;

    display:block;

}


/* ===================================
   05. LAYOUT
=================================== */

.container{

    width:min(1200px,92%);

    margin:auto;

}

section{

    padding:70px 0;

}


/* ===================================
   HEADER
   (Part 2)
=================================== */                                                                                  /* ===================================
   06. HEADER
=================================== */

.site-header{

    position:sticky;

    top:0;

    left:0;

    width:100%;

    background:#ffffff;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

    z-index:9999;

}

.header-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:80px;

}

/* Logo */

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    text-decoration:none;

}

.logo-image{

    width:54px;

    height:54px;

    object-fit:contain;

}

.logo-content{

    display:flex;

    flex-direction:column;

}

.logo-title{

    font-size:26px;

    font-weight:700;

    color:var(--heading);

    line-height:1;

}

.logo-tagline{

    font-size:13px;

    color:var(--text-light);

    margin-top:4px;

}

/* ===================================
   07. NAVIGATION
=================================== */

.main-nav ul{

    display:flex;

    align-items:center;

    gap:32px;

    list-style:none;

}

.main-nav a{

    color:var(--heading);

    font-weight:600;

    font-size:16px;

    transition:.3s;

    position:relative;

}

.main-nav a:hover{

    color:var(--primary);

}

.main-nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.main-nav a:hover::after{

    width:100%;

}

/* Header Right */

.header-right{

    display:flex;

    align-items:center;

    gap:12px;

}

.search-btn,
.menu-btn{

    width:44px;

    height:44px;

    border:none;

    border-radius:50%;

    background:#f3f4f6;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

.search-btn:hover,
.menu-btn:hover{

    background:var(--primary);

    color:#fff;

}

.menu-btn{

    display:none;

}                                                                                                                       /* ===================================
   08. BUTTONS
=================================== */

.buttons{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin:25px 0;

}

.buttons button{

    padding:12px 24px;

    border:none;

    border-radius:var(--radius);

    background:var(--primary);

    color:#fff;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:all .3s ease;

    box-shadow:var(--shadow-sm);

}

.buttons button:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.buttons button:active{

    transform:scale(.98);

}


/* ===================================
   09. FORMS
=================================== */

label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:var(--heading);

}

input,
textarea,
select{

    width:100%;

    padding:14px 16px;

    border:1px solid var(--border);

    border-radius:var(--radius);

    background:#fff;

    color:var(--text);

    font-size:16px;

    font-family:inherit;

    transition:.3s;

}

textarea{

    min-height:220px;

    resize:vertical;

}

input:focus,
textarea:focus,
select:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(37,99,235,.15);

}


/* ===================================
   10. TOOL CONTROLS
=================================== */

.controls{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin:30px 0;

}

.control{

    display:flex;

    flex-direction:column;

    gap:8px;

}                                                                                                                       /* ===================================
   11. CARDS & STATS
=================================== */

.stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin:35px 0;

}

.card{

    background:var(--card-bg);

    border:1px solid var(--border);

    border-radius:var(--radius-lg);

    padding:25px;

    text-align:center;

    box-shadow:var(--shadow-sm);

    transition:.3s;

}

.card:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow);

}

.card h2{

    color:var(--primary);

    font-size:32px;

    margin-bottom:10px;

}

.card span{

    color:var(--text-light);

}


/* ===================================
   12. CONTENT SECTIONS
=================================== */

.about-tool,
.features-section,
.how-to-use,
.benefits-section,
.faq-section,
.related-tools,
.cta-section{

    background:var(--card-bg);

    border:1px solid var(--border);

    border-radius:var(--radius-lg);

    padding:30px;

    margin-bottom:30px;

    box-shadow:var(--shadow-sm);

}

.about-tool h2,
.features-section h2,
.how-to-use h2,
.benefits-section h2,
.faq-section h2,
.related-tools h2,
.cta-section h2{

    margin-bottom:20px;

}


/* ===================================
   13. FAQ
=================================== */

.faq-item{

    padding:20px 0;

    border-bottom:1px solid var(--border);

}

.faq-item:last-child{

    border-bottom:none;

}

.faq-item h3{

    margin-bottom:10px;

}


/* ===================================
   14. RELATED TOOLS
=================================== */

.related-tools ul{

    list-style:none;

}

.related-tools li{

    margin-bottom:12px;

}

.related-tools a{

    font-weight:600;

}


/* ===================================
   15. CTA
=================================== */

.cta-section{

    text-align:center;

}

.cta-section p{

    max-width:700px;

    margin:0 auto 20px;

}


/* ===================================
   16. FOOTER
=================================== */

.site-footer{

    background:var(--secondary);

    color:#fff;

    padding:60px 0 25px;

    margin-top:60px;

}

.site-footer a{

    color:#fff;

}

.site-footer a:hover{

    color:#dbeafe;

}

.footer-bottom{

    text-align:center;

    margin-top:30px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.15);

}


/* ===================================
   17. UTILITIES
=================================== */

.text-center{

    text-align:center;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.hidden{

    display:none;

}                                                                                                                       /* =====================================================
   GLOBAL HEADER
===================================================== */

.site-header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    z-index: 999;
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:72px;
}

.logo{
    display:flex;
    align-items:center;
    text-decoration:none;
    gap:12px;
}

.logo-image{
    width:48px;
    height:48px;
    object-fit:contain;
}

.logo-text{
    display:flex;
    flex-direction:column;
}

.logo-title{
    font-size:22px;
    font-weight:700;
    color:#1f2937;
    line-height:1.2;
}

.logo-tagline{
    font-size:13px;
    color:#6b7280;
}

.main-nav ul{
    display:flex;
    list-style:none;
    gap:30px;
    margin:0;
    padding:0;
}

.main-nav a{
    text-decoration:none;
    color:#374151;
    font-weight:600;
    transition:.3s;
}

.main-nav a:hover{
    color:var(--primary);
}                                                                                                                       /* =====================================================
   GLOBAL FOOTER
===================================================== */

.site-footer{
    background:#111827;
    color:#ffffff;
    padding:60px 0 25px;
    margin-top:60px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.footer-column h3{
    font-size:20px;
    margin-bottom:18px;
    color:#ffffff;
}

.footer-column p{
    color:#d1d5db;
    line-height:1.8;
}

.footer-column ul{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-column li{
    margin-bottom:12px;
}

.footer-column a{
    color:#d1d5db;
    text-decoration:none;
    transition:.3s;
}

.footer-column a:hover{
    color:#ffffff;
    padding-left:5px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    margin-top:40px;
    padding-top:20px;
    text-align:center;
}

.footer-bottom p{
    margin:0;
    color:#9ca3af;
    font-size:14px;
}                                                                                                                       /* =====================================================
   HEADER ACTIONS & TRANSITIONS
===================================================== */

.header-right{
    display:flex;
    align-items:center;
    gap:15px;
}

.search-btn,
.menu-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:8px;

    background:var(--primary);

    color:#fff;

    cursor:pointer;

    transition:.3s;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

}

.search-btn:hover,
.menu-btn:hover{

    transform:translateY(-2px);

    opacity:.9;

}

.menu-btn{

    display:none;

}

.site-header{

    transition:.35s;

}

.site-header.scrolled{

    box-shadow:0 10px 25px rgba(0,0,0,.10);

}