/* ==========================================================================
   7. HOMEPAGE - HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 8rem 0 5rem;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(0, 112, 243, 0.08) 0%, rgba(255,255,255,0) 70%);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 112, 243, 0.1);
    color: var(--brand-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 112, 243, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    color: var(--brand-dark);
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* ==========================================================================
   8. TOOLS GRID & CARDS
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0 6rem;
}

.tool-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 112, 243, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 112, 243, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.tool-card:hover .tool-icon {
    background: var(--brand-primary);
    color: #fff;
}

.tool-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tool-link-text {
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   9. FEATURES & STATS (AdSense Ready)
   ========================================================================== */
.features-section {
    background: var(--bg-surface);
    padding: 6rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-box {
    text-align: left;
}

.feature-box svg {
    width: 40px;
    height: 40px;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.feature-box h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.feature-box p { color: var(--text-muted); font-size: 1rem; }

/* AdSense Placeholder Block (Prevents CLS) */
.adsense-container {
    width: 100%;
    max-width: 970px;
    min-height: 90px;
    margin: 3rem auto;
    background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 10px, #f1f5f9 10px, #f1f5f9 20px);
    border: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   10. FAQ (Semantic Accordion)
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
    max-width: 800px;
    margin: 0 auto;
}

details.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    padding: 1.5rem;
    transition: var(--transition-fast);
}

details.faq-item:hover { border-color: rgba(0, 112, 243, 0.4); }

summary.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Hides default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary.faq-question::-webkit-details-marker { display: none; }

summary.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

details[open] summary.faq-question::after { transform: rotate(45deg); }

.faq-answer {
    margin-top: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}/* ==========================================================================
   6. PREMIUM FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    margin-top: auto; /* Pushes footer to bottom */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Footer Brand & About */
.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 1.2rem;
    line-height: 1.7;
    max-width: 320px;
}

/* Footer Links */
.footer-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--brand-primary);
    transform: translateX(4px); /* Smooth hover effect */
}

/* Newsletter UI */
.newsletter-form {
    margin-top: 1.2rem;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1);
}

.newsletter-btn {
    margin-top: 0.8rem;
    width: 100%;
    background: var(--brand-primary);
    color: #fff;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.newsletter-btn:hover {
    background: #005bb5;
    box-shadow: var(--shadow-md);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--bg-main);
    color: var(--text-muted);
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
}

.social-icon:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

/* Footer Bottom (Copyright & Back to Top) */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition-fast);
}

.back-to-top:hover {
    color: var(--brand-primary);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}/* ==========================================================================
   KITVAX - PREMIUM SAAS DESIGN SYSTEM (AdSense Optimized)
   ========================================================================== */

:root {
    /* Premium Brand Colors */
    --brand-blue: #0062ff;
    --brand-cyan: #00d0ff;
    --brand-dark: #0a0f24;
    
    /* Backgrounds & Surfaces */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    /* Typography */
    --text-main: #0f172a;
    --text-muted: #64748b;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* UI Structure */
    --border-color: rgba(226, 232, 240, 0.8);
    --radius-md: 12px;
    --radius-full: 9999px;
    
    /* Smooth Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Header Variables for 0 CLS */
    --header-height: 76px;
}

/* Core Web Vitals & Accessibility Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height); /* FIX: Prevents header overlapping sections */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; /* FIX: Prevents mobile layout breaking */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Focus States for Accessibility (WCAG & AdSense Requirement) */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   PREMIUM HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}
.brand-logo span { color: var(--brand-blue); }
.logo-k { background: var(--brand-blue); color: #fff; padding: 0 4px; border-radius: 6px; margin-right: 2px; }

/* Desktop Nav */
.desktop-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-blue);
}

/* Premium CTA Button */
.btn-primary {
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 98, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 98, 255, 0.3);
    background: #0056e0;
}

/* Mobile Menu Button - Optimized touch target (48x48px) */
.mobile-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}
.mobile-toggle svg { width: 26px; height: 26px; }

/* Mobile Navigation */
@media (max-width: 860px) {
    .desktop-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .desktop-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .desktop-nav .nav-link, .desktop-nav .btn-primary {
        width: 100%;
        text-align: left;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: transparent;
        color: var(--text-main);
        box-shadow: none;
    }
    
    .desktop-nav .btn-primary {
        background: var(--bg-main);
        color: var(--brand-blue);
        border-bottom: none;
    }

    .mobile-toggle { display: flex; }
}
