/* ConvertHub - Combined Styles (Home + Tool) */

        :root {
            /* --- PREMIUM COLOR PALETTE --- */
            --primary: #3b82f6; 
            --primary-dark: #2563eb;
            --primary-soft: rgba(59, 130, 246, 0.08);
            
            --secondary: #0f172a; /* Deep Slate */
            --secondary-light: #334155;
            
            /* Category Colors */
            --color-img: #f97316; --bg-img: #fff7ed;
            --color-pdf: #ef4444; --bg-pdf: #fef2f2;
            --color-vid: #8b5cf6; --bg-vid: #f5f3ff;
            --color-aud: #10b981; --bg-aud: #ecfdf5;

            --bg-body: #f8fafc;
            --bg-surface: #ffffff;
            --border: #e2e8f0;
            
            --text-main: #0f172a;
            --text-body: #475467;
            --text-muted: #94a3b8;

            /* --- SHADOWS --- */
            --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
            --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
            --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
            --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
            --shadow-primary: 0 10px 20px -5px rgba(59, 130, 246, 0.4);

            /* --- LAYOUT --- */
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --container-w: 1280px;
            --header-h: 72px;
        }

        /* --- RESET & BASE --- */
        html { scroll-behavior: smooth; }
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
        body { 
            font-family: 'Inter', sans-serif; background: var(--bg-body); color: var(--text-main); 
            line-height: 1.6; font-size: 16px; overflow-x: hidden; 
        }
        a { text-decoration: none; color: inherit; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
        ul { list-style: none; }
        button { font-family: inherit; }
        
        .container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

        /* Typography */
        h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--text-main); letter-spacing: -0.02em; line-height: 1.2; }
        
        /* --- COMPONENTS: BUTTONS --- */
        .btn { 
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; 
            border: none; transition: all 0.2s ease; font-size: 0.95rem; white-space: nowrap;
        }
        .btn-primary { 
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); 
            color: #fff; box-shadow: var(--shadow-md); 
        }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-primary); }
        
        .btn-outline { border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-body); }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
        
        .btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: var(--radius-md); }

        /* --- HEADER --- */
        .site-header { 
            background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            height: var(--header-h); border-bottom: 1px solid var(--border); 
            position: sticky; top: 0; z-index: 1000; 
        }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
        
        .logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--text-main); }
        .logo i { color: var(--primary); font-size: 1.9rem; }
        
        .nav-links { display: flex; gap: 32px; font-weight: 600; font-size: 0.95rem; color: var(--text-body); }
        .nav-links a:hover { color: var(--primary); }
        .desktop-only { display: flex; align-items: center; gap: 16px; }

        /* Lang Switcher */
        .lang-dropdown { position: relative; }
        .lang-btn { display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; background: transparent; border: none; color: var(--text-main); }
        .lang-menu { 
            position: absolute; top: 120%; right: 0; background: #fff; 
            border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); 
            width: 140px; display: none; overflow: hidden; animation: slideDown 0.2s ease;
        }
        .lang-menu.active { display: block; }
        .lang-item { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 0.9rem; font-weight: 500; cursor: pointer; }
        .lang-item:hover { background: var(--bg-body); color: var(--primary); }
        .lang-item.selected { background: var(--primary-soft); color: var(--primary); }

        .mobile-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: var(--text-main); }

        /* --- HERO SECTION --- */
        .hero-section { 
            padding: 100px 0 120px; text-align: center; position: relative; overflow: hidden;
            background: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
        }
        .hero-title { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 24px; line-height: 1.1; }
        .hero-title span { background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-desc { font-size: 1.2rem; color: var(--text-body); max-width: 680px; margin: 0 auto 50px; }

        /* UPLOAD ZONE */
        .upload-wrapper { max-width: 860px; margin: 0 auto; position: relative; z-index: 10; }
        .drop-zone {
            background: var(--bg-surface); border: 2px dashed #cbd5e1; border-radius: var(--radius-lg);
            padding: 80px 20px; transition: all 0.3s ease; cursor: pointer; position: relative; 
            box-shadow: var(--shadow-lg);
        }
        .drop-zone:hover { border-color: var(--primary); transform: translateY(-4px); }
        .drop-zone.drag-over { border-color: var(--primary); background: #eff6ff; transform: scale(1.01); }
        
        .dz-icon-wrap { 
            width: 90px; height: 90px; background: var(--primary-soft); border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
            color: var(--primary); font-size: 2.8rem; transition: 0.3s;
        }
        .drop-zone:hover .dz-icon-wrap { background: var(--primary); color: #fff; transform: scale(1.1); }
        
        .dz-text { font-size: 1.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
        .dz-sub { color: var(--text-muted); font-size: 1rem; }
        
        .progress-bar { position: absolute; bottom: 0; left: 0; width: 0%; height: 6px; background: var(--primary); transition: width 0.4s ease; border-radius: 0 0 0 var(--radius-lg); }

        /* --- SEARCH --- */
        .search-area { max-width: 600px; margin: 60px auto 0; position: relative; }
        .search-input { 
            width: 100%; padding: 20px 24px 20px 54px; border-radius: 100px; border: 1px solid var(--border);
            font-size: 1.05rem; outline: none; box-shadow: var(--shadow-sm); transition: 0.3s; background: var(--bg-surface);
        }
        .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
        .search-icon { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.3rem; }

        /* --- TOOLS GRID --- */
        .tools-section { padding-bottom: 100px; }
        .category-title { 
            font-size: 1.6rem; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; 
            border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-top: 80px; 
        }
        
        .grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

        .tool-card {
            background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md);
            padding: 24px; display: flex; align-items: flex-start; gap: 16px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative; overflow: hidden; height: 100%; cursor: pointer;
        }
        .tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
        
        .tc-icon { 
            width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
            font-size: 1.6rem; flex-shrink: 0; 
        }
        /* Dynamic Colors */
        .tc-img { background: var(--bg-img); color: var(--color-img); }
        .tc-pdf { background: var(--bg-pdf); color: var(--color-pdf); }
        .tc-vid { background: var(--bg-vid); color: var(--color-vid); }
        .tc-aud { background: var(--bg-aud); color: var(--color-aud); }

        .tc-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-main); }
        .tc-content p { font-size: 0.9rem; color: var(--text-body); line-height: 1.5; }

        .badge-hot { 
            position: absolute; top: 12px; right: 12px; background: #fee2e2; color: #ef4444; 
            font-size: 0.7rem; font-weight: 800; padding: 4px 8px; border-radius: 100px; 
            animation: pulse 2s infinite; text-transform: uppercase; letter-spacing: 0.5px;
        }

        /* --- SEO CONTENT BOX --- */
        .seo-box { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 80px 0; margin-top: 60px; }
        .prose { max-width: 900px; margin: 0 auto; }
        .prose h2 { font-size: 2rem; margin-bottom: 24px; }
        .prose h3 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; }
        .prose p { margin-bottom: 24px; color: var(--text-body); font-size: 1.05rem; line-height: 1.8; }
        .prose ul { padding-left: 0; list-style: none; margin-bottom: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .prose li { position: relative; padding-left: 30px; margin-bottom: 8px; color: var(--text-body); font-weight: 500; }
        .prose li::before { 
            content: "\eb7a"; font-family: "remixicon"; position: absolute; left: 0; top: 2px; 
            color: var(--primary); font-weight: 700; font-size: 1.2rem;
        }

        /* --- FOOTER --- */
        .site-footer { background: #fff; border-top: 1px solid var(--border); padding: 80px 0 40px; }
        .footer-flex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 60px; margin-bottom: 60px; }
        .f-brand { max-width: 320px; }
        .f-brand p { color: var(--text-body); font-size: 0.95rem; margin-top: 16px; line-height: 1.6; }
        .f-links { display: flex; gap: 60px; flex-wrap: wrap; }
        .f-col h4 { font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; letter-spacing: 1px; font-weight: 700; }
        .f-col a { display: block; color: var(--text-main); font-weight: 500; margin-bottom: 14px; font-size: 0.95rem; }
        .f-col a:hover { color: var(--primary); transform: translateX(4px); }
        .copyright { border-top: 1px solid var(--border); padding-top: 30px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

        /* --- MOBILE MENU --- */
        .mobile-menu-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
            z-index: 1001; opacity: 0; visibility: hidden; transition: 0.3s;
        }
        .mobile-menu {
            position: fixed; top: 0; right: -320px; width: 300px; height: 100%; background: #fff;
            z-index: 1002; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 24px; display: flex; flex-direction: column;
            box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        }
        .mobile-menu.active { right: 0; }
        .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
        
        .mm-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
        .close-btn { font-size: 1.8rem; cursor: pointer; color: var(--text-muted); transition: 0.2s; }
        .close-btn:hover { color: var(--text-main); }
        .mm-links a { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 600; color: var(--text-main); padding: 14px 0; }
        .mm-links i { color: var(--primary); font-size: 1.2rem; }
        .mm-lang { margin-top: auto; padding-top: 24px; }
        .lang-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 12px; }
        .lang-chip { padding: 10px; text-align: center; border: 1px solid var(--border); border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; }
        .lang-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

        /* --- ANIMATIONS --- */
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }

        /* --- RESPONSIVE --- */
        @media (max-width: 900px) {
            .desktop-only { display: none; }
            .mobile-toggle { display: block; }
            .hero-title { font-size: 2.8rem; }
            .drop-zone { padding: 50px 20px; }
            .footer-flex { flex-direction: column; gap: 40px; }
            .prose ul { grid-template-columns: 1fr; }
        }
        @media (max-width: 480px) {
            .hero-title { font-size: 2.2rem; }
            .btn-lg { width: 100%; }
            .grid-layout { grid-template-columns: 1fr; }
            .tool-card { padding: 20px; }
            .f-links { gap: 40px; }
        }
    

/* --- TOOL PAGE EXTRA STYLES (from tool template) --- */

        /* --- CORE VARIABLES (Same as Homepage) --- */
        :root {
            --primary: #3b82f6; --primary-dark: #2563eb; --primary-soft: rgba(59, 130, 246, 0.08);
            --secondary: #0f172a; --secondary-light: #1e293b;
            --success: #10b981; --success-bg: #ecfdf5;
            
            --bg-body: #f8fafc; --bg-surface: #ffffff;
            --border: #e2e8f0;
            
            --text-main: #0f172a; --text-body: #475467; --text-muted: #94a3b8;

            --radius-md: 12px; --radius-lg: 20px;
            --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
            --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
            --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
            
            --container-w: 1240px; --header-h: 72px;
        }

        /* --- BASE RESET --- */
        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
        body { font-family: 'Inter', sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.6; font-size: 16px; }
        a { text-decoration: none; color: inherit; transition: 0.2s; }
        ul { list-style: none; }
        
        .container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
        h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--text-main); line-height: 1.2; }

        /* --- COMPONENTS --- */
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: 0.2s; font-size: 0.95rem; }
        .btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: var(--shadow-sm); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4); }
        .btn-outline { border: 1px solid var(--border); background: #fff; color: var(--text-body); }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); }
        .btn-success { background: var(--success); color: #fff; }
        .btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: 12px; }

        /* --- HEADER (Same as Homepage) --- */
        .site-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); height: var(--header-h); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
        .logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--text-main); }
        .logo i { color: var(--primary); font-size: 1.9rem; }
        .nav-links { display: flex; gap: 32px; font-weight: 600; color: var(--text-body); }
        .nav-links a:hover { color: var(--primary); }
        .desktop-only { display: flex; align-items:center; gap:20px; }
        .mobile-toggle { display: none; font-size: 1.6rem; cursor: pointer; }

        /* --- BREADCRUMB --- */
        .breadcrumb-wrap { padding: 24px 0 0; }
        .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
        .breadcrumb a { color: var(--text-body); }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb i { font-size: 1rem; opacity: 0.5; }
        .breadcrumb .current { color: var(--primary); font-weight: 600; }

        /* --- APP SECTION (Hero) --- */
        .tool-app { padding: 60px 0 80px; text-align: center; }
        .tool-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 16px; }
        .tool-desc { font-size: 1.15rem; color: var(--text-body); max-width: 600px; margin: 0 auto 40px; }

        /* Conversion Box Stages */
        .app-box { max-width: 900px; margin: 0 auto; position: relative; z-index: 10; min-height: 400px; }
        
        /* Stage 1: Upload */
        .drop-zone {
            background: #fff; border: 2px dashed #cbd5e1; border-radius: var(--radius-lg);
            padding: 80px 20px; transition: 0.3s; cursor: pointer; position: relative; box-shadow: var(--shadow-lg);
            display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%;
        }
        .drop-zone:hover { border-color: var(--primary); transform: translateY(-4px); }
        .dz-icon-wrap { 
            width: 90px; height: 90px; background: var(--primary-soft); border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
            color: var(--primary); font-size: 2.8rem;
        }
        .dz-text { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }

        /* Stage 2: Processing (Hidden by default) */
        .processing-state {
            display: none; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
            padding: 80px 20px; border: 1px solid var(--border); text-align: center;
        }
        .loader-ring {
            width: 60px; height: 60px; border: 5px solid var(--primary-soft); border-top: 5px solid var(--primary);
            border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 24px;
        }
        .proc-text { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
        .proc-bar { width: 100%; max-width: 300px; height: 6px; background: var(--border); border-radius: 10px; margin: 0 auto; overflow:hidden; }
        .proc-fill { height: 100%; background: var(--primary); width: 0%; transition: width 0.3s; }

        /* Stage 3: Download (Hidden by default) */
        .download-state {
            display: none; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
            padding: 60px 40px; border: 1px solid var(--border); text-align: center;
        }
        .success-icon { 
            width: 80px; height: 80px; background: var(--success-bg); color: var(--success); 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; 
            font-size: 2.5rem; margin: 0 auto 24px;
        }
        .file-info { background: var(--bg-body); padding: 16px; border-radius: 8px; margin: 24px auto; max-width: 400px; font-weight: 600; display:flex; justify-content:center; gap:10px; align-items:center; }

        /* App Stats */
        .tool-stats { display: flex; justify-content: center; gap: 40px; margin-top: 30px; color: var(--text-muted); font-size: 0.9rem; }
        .stat-item { display: flex; align-items: center; gap: 6px; }
        .stat-item i { color: var(--success); }

        /* --- HOW TO SECTION --- */
        .how-to-section { background: #fff; padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
        .section-head { text-align: center; margin-bottom: 60px; }
        .section-head h2 { font-size: 2.2rem; margin-bottom: 16px; }
        
        .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
        .step-card { text-align: center; }
        .step-num { 
            width: 50px; height: 50px; background: var(--primary); color: #fff; border-radius: 50%; 
            display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; margin: 0 auto 24px;
            box-shadow: 0 10px 20px rgba(59,130,246,0.3);
        }
        .step-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
        .step-card p { color: var(--text-body); font-size: 0.95rem; }

        /* --- MAIN CONTENT LAYOUT --- */
        .content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; padding: 80px 0; }
        
        /* Prose (SEO Text) */
        .prose h2 { font-size: 1.8rem; margin-bottom: 20px; margin-top: 0; }
        .prose h3 { font-size: 1.4rem; margin: 30px 0 16px; }
        .prose p { margin-bottom: 24px; color: var(--text-body); font-size: 1.05rem; line-height: 1.8; }
        .prose ul { margin-bottom: 30px; padding-left: 0; list-style: none; }
        .prose li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--text-body); }
        .prose li::before { content: "\eb7a"; font-family: "remixicon"; position: absolute; left: 0; color: var(--success); font-weight: 700; top: 2px; }

        /* Sidebar Widgets */
        .sidebar { display: flex; flex-direction: column; gap: 30px; position: sticky; top: 100px; height: fit-content; }
        .widget { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
        .widget-title { font-size: 1.1rem; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 12px; font-weight: 700; }
        
        .tool-list a { 
            display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; 
            transition: 0.2s; font-weight: 500; color: var(--text-body);
        }
        .tool-list a:hover { background: var(--bg-body); color: var(--primary); }
        .tl-icon { width: 36px; height: 36px; background: var(--bg-body); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
        
        /* FAQ Accordion */
        .faq-wrap { margin-top: 40px; }
        .faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
        .faq-item summary { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--primary); font-weight: 400; }
        .faq-item[open] summary::after { content: '-'; }
        .faq-item[open] summary { border-bottom: 1px solid var(--border); background: var(--bg-body); }
        .faq-body { padding: 24px; color: var(--text-body); font-size: 0.95rem; line-height: 1.6; }

        /* --- FOOTER --- */
        .site-footer { background: #fff; border-top: 1px solid var(--border); padding: 80px 0 40px; margin-top: 0; }
        .footer-flex { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
        .f-col h4 { font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; font-weight: 700; }
        .f-link { display: block; color: var(--text-main); margin-bottom: 12px; font-size: 0.95rem; }
        .f-link:hover { color: var(--primary); }

        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        /* Mobile */
        @media (max-width: 900px) {
            .tool-title { font-size: 2.5rem; }
            .content-grid { grid-template-columns: 1fr; }
            .sidebar { display: none; } /* Or move to bottom */
            .steps-grid { grid-template-columns: 1fr; }
            .nav-links, .desktop-only { display: none; }
            .mobile-toggle { display: block; }
        }
    

/* --- Tool Options & Errors (Added for real converter) --- */
.error-box{
  max-width: 900px;
  margin: 0 auto 18px;
  background: #fff;
  border: 1px solid #fecaca;
  border-left: 6px solid #ef4444;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.error-title{
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  margin-bottom: 6px;
}
.error-text{
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tool-options{
  width: 100%;
  max-width: 520px;
  margin: 0 auto 18px;
  text-align: left;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.opt-label{
  display: block;
  font-weight: 700;
  margin: 10px 0 8px;
  color: var(--text-main);
  font-size: 0.92rem;
}
.opt-input, .opt-select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  outline: none;
  background: #fff;
  color: var(--text-main);
  font-size: 0.98rem;
}
.opt-input:focus, .opt-select:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.tool-hint{
  max-width: 700px;
  margin: 0 auto 18px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text-body);
  font-weight: 600;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
}
.tool-hint i{ color: var(--primary); font-size: 1.2rem; }
