:root {

            --bg-base: #f8fafc;

            --bg-surface: #ffffff;

            --bg-surface-hover: #f1f5f9;

            --text-main: #0f172a;

            --text-muted: #64748b;

            --border: #e2e8f0;

            --primary: #3b82f6;

            --primary-hover: #2563eb;

            --success: #10b981;

            --success-hover: #059669;

            --danger: #ef4444;

            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);

            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);

            --skeleton-base: #e2e8f0;

            --skeleton-shine: #f8fafc;

        }



        :root[data-theme="light"] {

            --bg-base: #f8fafc;

            --bg-surface: #ffffff;

            --bg-surface-hover: #f1f5f9;

            --text-main: #0f172a;

            --text-muted: #64748b;

            --border: #e2e8f0;

            --primary: #3b82f6;

            --primary-hover: #2563eb;

            --success: #10b981;

            --success-hover: #059669;

            --danger: #ef4444;

            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);

            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);

            --skeleton-base: #e2e8f0;

            --skeleton-shine: #f8fafc;

        }



        :root[data-theme="dark"] {

            --bg-base: #0f172a;

            --bg-surface: #1e293b;

            --bg-surface-hover: #334155;

            --text-main: #f8fafc;

            --text-muted: #94a3b8;

            --border: rgba(255,255,255,0.1);

            --primary: #3b82f6;

            --primary-hover: #60a5fa;

            --success: #10b981;

            --success-hover: #34d399;

            --danger: #ef4444;

            --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);

            --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.5);

            --skeleton-base: #334155;

            --skeleton-shine: #475569;

        }



        * { margin: 0; padding: 0; box-sizing: border-box; }

        body { font-family: 'Inter', sans-serif; background: var(--bg-base); color: var(--text-main); transition: background 0.3s, color 0.3s; line-height: 1.5; }

        a { text-decoration: none; color: inherit; }

        

        .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
        @media (max-width: 600px) {
            .container { padding: 0 1rem; }
            .logo { font-size: 1.25rem; }
            .theme-toggle { padding: 0.35rem 0.65rem; font-size: 0.8rem; gap: 0.25rem; }
        }

        /* Navbar */
        nav, .navbar { padding: 1.25rem 0; border-bottom: 1px solid var(--border); background: var(--bg-surface); position: relative; }
        .nav-inner { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; color: var(--text-main); }
        .logo svg { width: 28px; height: 28px; }
        .nav-links { display: none; gap: 2rem; align-items: center; }
        .nav-links a { font-weight: 600; color: var(--text-muted); transition: color 0.2s; font-size: 0.95rem; }
        .nav-links a:hover { color: var(--primary); }
        .theme-toggle { background: var(--bg-surface); border: 1px solid var(--border); cursor: pointer; color: var(--text-main); font-size: 0.85rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 20px; display: inline-flex; align-items: center; gap: 0.4rem; transition: all 0.2s; white-space: nowrap; }
        .theme-toggle:hover { background: var(--bg-surface-hover); border-color: var(--primary); }
        .mobile-menu-btn { display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--text-main); padding: 4px; }
        
        @media (min-width: 768px) {
            .nav-links { display: flex; }
            .mobile-menu-btn { display: none; }
        }
        @media (max-width: 767px) {
            .nav-links.active {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--bg-surface);
                padding: 1.5rem;
                border-bottom: 1px solid var(--border);
                gap: 1.25rem;
                z-index: 1000;
                box-shadow: var(--shadow-lg);
            }
        }



        /* Hero / Downloader */

        .hero { padding: 5rem 0 3rem; text-align: center; }

        .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }

        .hero p { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }



        .downloader-box {

            background: var(--bg-surface);

            border: 1px solid var(--border);

            border-radius: 24px;

            padding: 2rem;

            box-shadow: var(--shadow-lg);

            max-width: 800px;

            margin: 0 auto;

            text-align: left;

        }



        .input-group {

            display: flex;

            background: var(--bg-base);

            border: 2px solid var(--border);

            border-radius: 16px;

            overflow: hidden;

            transition: all 0.2s;

        }

        .input-group:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }

        .input-group input { flex-grow: 1; background: transparent; border: none; padding: 1.25rem 1.5rem; color: var(--text-main); font-size: 1.1rem; outline: none; }

        .input-group button { background: var(--primary); color: white; border: none; padding: 0 2rem; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; gap: 0.5rem; }
        .input-group button:hover { background: var(--primary-hover); }

        @media (max-width: 600px) {
            .downloader-box { padding: 1.25rem; }
            .input-group {
                flex-direction: column;
                background: transparent;
                border: none;
                gap: 0.75rem;
            }
            .input-group input {
                background: var(--bg-base);
                border: 2px solid var(--border);
                border-radius: 12px;
                width: 100%;
                box-sizing: border-box;
                padding: 1rem 1.25rem;
            }
            .input-group button {
                width: 100%;
                border-radius: 12px;
                padding: 0.9rem;
                justify-content: center;
                box-sizing: border-box;
            }
        }



        .legal-notice { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }



        /* Skeletons */

        .skeleton { background: var(--skeleton-base); background-image: linear-gradient(90deg, var(--skeleton-base) 0px, var(--skeleton-shine) 40px, var(--skeleton-base) 80px); background-size: 200vw 100%; animation: shimmer 1.5s infinite linear; border-radius: 8px; }

        @keyframes shimmer { 0% { background-position: -100vw 0; } 100% { background-position: 100vw 0; } }



        /* Result Card */

        .result-card { display: none; margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 2rem; }

        .result-layout { display: flex; flex-direction: column; gap: 2rem; }

        @media (min-width: 768px) { .result-layout { flex-direction: row; } }

        

        .result-thumb { flex: 1; border-radius: 12px; overflow: hidden; background: var(--bg-base); aspect-ratio: 16/9; position: relative; }

        .result-thumb img { width: 100%; height: 100%; object-fit: cover; display: none; }

        .result-thumb .skeleton { position: absolute; inset: 0; }

        

        .result-meta { flex: 1.5; }

        .result-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

        .result-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: center; }

        .platform-badge { background: var(--border); padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; }



        .format-list { display: flex; flex-direction: column; gap: 0.75rem; }

        .format-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--bg-base); border: 1px solid var(--border); border-radius: 12px; transition: transform 0.2s; }

        .format-row:hover { transform: translateY(-2px); border-color: var(--primary); }

        .format-info { display: flex; flex-direction: column; }

        .format-quality { font-weight: 600; font-size: 1.1rem; }

        .format-meta { font-size: 0.85rem; color: var(--text-muted); }

        

        .dl-btn { background: var(--success); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; transition: background 0.2s; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; }

        .dl-btn:hover { background: var(--success-hover); }



        /* Toasts */

        #toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 50; display: flex; flex-direction: column; gap: 1rem; }

        .toast { background: var(--bg-surface); color: var(--text-main); border: 1px solid var(--border); padding: 1rem 1.5rem; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 500; display: flex; align-items: center; gap: 0.75rem; transform: translateY(100%); opacity: 0; animation: slideUp 0.3s forwards; }

        .toast.error { border-left: 4px solid var(--danger); }

        .toast.success { border-left: 4px solid var(--success); }

        @keyframes slideUp { to { transform: translateY(0); opacity: 1; } }



        /* Sections */

        .section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 2rem; }

        section { padding: 5rem 0; border-top: 1px solid var(--border); }



        /* Steps */

        .steps-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

        @media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

        .step-card { text-align: center; padding: 2rem; background: var(--bg-surface); border-radius: 16px; border: 1px solid var(--border); }

        .step-num { font-size: 3rem; font-weight: 800; color: var(--border); margin-bottom: 1rem; }



        /* Features */

        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

        .feature { display: flex; gap: 1rem; align-items: flex-start; }

        .feature-icon { font-size: 1.5rem; background: rgba(59, 130, 246, 0.1); color: var(--primary); padding: 1rem; border-radius: 12px; }

        .feature h3 { margin-bottom: 0.25rem; }

        .feature p { color: var(--text-muted); font-size: 0.9rem; }



        /* FAQ Accordion */
        .faq-accordion { max-width: 800px; margin: 0 auto; }
        .faq-item { border-bottom: 1px solid var(--border); transition: background 0.2s ease; }
        .faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; font-size: 1.1rem; font-weight: 600; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; }
        .faq-btn:hover { color: var(--primary); }
        .faq-btn::after { content: '+'; font-size: 1.5rem; font-weight: 700; color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; line-height: 1; }
        .faq-item.active .faq-btn::after { transform: rotate(45deg); }
        .faq-content { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s ease, opacity 0.35s ease; }
        .faq-item.active .faq-content { max-height: 300px; opacity: 1; }
        .faq-content p { padding-bottom: 1.5rem; color: var(--text-muted); line-height: 1.6; margin: 0; font-size: 1rem; }



        /* Footer */

        footer { background: var(--bg-surface); padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--border); }

        .footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }

        .footer-col h4 { margin-bottom: 1rem; font-weight: 700; }

        .footer-col a { display: block; color: var(--text-muted); margin-bottom: 0.5rem; }

        .footer-col a:hover { color: var(--text-main); }

        .footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.85rem; padding-top: 2rem; border-top: 1px solid var(--border); }

    

@media (max-width: 767px) {

    .nav-links.active {

        display: flex;

        flex-direction: column;

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: var(--bg-surface);

        padding: 2rem;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow-lg);

        z-index: 100;

    }

}





.global-nav { position: relative; }







.global-nav, .global-nav * {

    line-height: 1.6 !important;

}

.global-nav .nav-links a {

    font-size: 1rem !important;

    font-weight: 500 !important;

}

.global-nav .logo {

    font-size: 1.5rem !important;

    font-weight: 800 !important;

}

.global-nav .theme-toggle {

    font-size: 0.9rem !important;

    padding: 0.5rem 1rem !important;

}







.global-nav {

    padding: 1.5rem 0 !important;

}









/* Modern 3D Tool Icons */

.tool-icon-3d {

    width: 64px;

    height: 64px;

    margin: 0 auto 1.5rem auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 20px;

    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);

    box-shadow: 

        0 10px 20px -5px rgba(59, 130, 246, 0.4),

        inset 0 2px 0 rgba(255, 255, 255, 0.3),

        inset 0 -2px 0 rgba(0, 0, 0, 0.2);

    color: white;

    transform: perspective(500px) rotateX(15deg) translateY(0);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



.step-card:hover .tool-icon-3d {

    transform: perspective(500px) rotateX(0deg) translateY(-8px) scale(1.05);

    box-shadow: 

        0 20px 25px -5px rgba(59, 130, 246, 0.5),

        inset 0 2px 0 rgba(255, 255, 255, 0.4),

        inset 0 -2px 0 rgba(0, 0, 0, 0.2);

}



.tool-icon-3d svg {

    width: 32px;

    height: 32px;

    stroke-width: 2px;

    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));

}



[data-theme="dark"] .tool-icon-3d {

    box-shadow: 

        0 10px 20px -5px rgba(0, 0, 0, 0.6),

        inset 0 2px 0 rgba(255, 255, 255, 0.2),

        inset 0 -2px 0 rgba(0, 0, 0, 0.3);

}





/* Extra 3D Icons */

.feature-icon-3d {

    width: 52px;

    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);

    box-shadow: 

        0 8px 16px -4px rgba(59, 130, 246, 0.4),

        inset 0 2px 0 rgba(255, 255, 255, 0.3),

        inset 0 -2px 0 rgba(0, 0, 0, 0.2);

    color: white;

    font-size: 1.5rem;

    font-weight: 800;

    transform: perspective(400px) rotateX(10deg);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

.feature:hover .feature-icon-3d {

    transform: perspective(400px) rotateX(0deg) translateY(-5px) scale(1.05);

    box-shadow: 

        0 12px 20px -4px rgba(59, 130, 246, 0.5),

        inset 0 2px 0 rgba(255, 255, 255, 0.4),

        inset 0 -2px 0 rgba(0, 0, 0, 0.2);

}

[data-theme="dark"] .feature-icon-3d {

    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.3);

}



.logo-icon-3d {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    border-radius: 12px;

    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);

    box-shadow: 

        0 6px 12px -3px rgba(59, 130, 246, 0.4),

        inset 0 2px 0 rgba(255, 255, 255, 0.3),

        inset 0 -2px 0 rgba(0, 0, 0, 0.2);

    color: white;

    transform: perspective(300px) rotateY(10deg);

    transition: all 0.3s ease;

}

.logo:hover .logo-icon-3d {

    transform: perspective(300px) rotateY(0deg) scale(1.05);

}

.logo-icon-3d svg {

    width: 22px;

    height: 22px;

    fill: white;

    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));

}

[data-theme="dark"] .logo-icon-3d {

    box-shadow: 0 6px 12px -3px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.3);

}



/* 3D effect on Buttons */

.btn-primary, #download-btn {

    box-shadow: 

        0 6px 15px -3px rgba(59, 130, 246, 0.4),

        inset 0 1px 0 rgba(255, 255, 255, 0.2),

        inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;

    transform: perspective(400px) translateZ(0);

    transition: all 0.2s ease;

}

.btn-primary:hover:not(:disabled), #download-btn:hover:not(:disabled) {

    transform: translateY(-2px);

    box-shadow: 

        0 10px 20px -3px rgba(59, 130, 246, 0.5),

        inset 0 1px 0 rgba(255, 255, 255, 0.2),

        inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;

}

.btn-primary:active:not(:disabled), #download-btn:active:not(:disabled) {

    transform: translateY(1px);

    box-shadow: 

        0 2px 5px -1px rgba(59, 130, 246, 0.4),

        inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;

}



.dl-btn {

    box-shadow: 

        0 6px 15px -3px rgba(16, 185, 129, 0.4),

        inset 0 1px 0 rgba(255, 255, 255, 0.2),

        inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;

    transform: perspective(400px) translateZ(0);

    transition: all 0.2s ease;

}

.dl-btn:hover {

    transform: translateY(-2px);

    box-shadow: 

        0 10px 20px -3px rgba(16, 185, 129, 0.5),

        inset 0 1px 0 rgba(255, 255, 255, 0.2),

        inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;

}

.dl-btn:active {

    transform: translateY(1px);

    box-shadow: 

        0 2px 5px -1px rgba(16, 185, 129, 0.4),

        inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;

}









/* 3D effect for How it Works numbers */

.step-num-3d {

    width: 64px;

    height: 64px;

    margin: 0 auto 1.5rem auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);

    box-shadow: 

        0 8px 16px -4px rgba(59, 130, 246, 0.4),

        inset 0 3px 6px rgba(255, 255, 255, 0.5),

        inset 0 -4px 6px rgba(0, 0, 0, 0.3);

    color: white;

    font-size: 1.75rem;

    font-weight: 800;

    transform: perspective(400px) rotateX(15deg);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



.step-card:hover .step-num-3d {

    transform: perspective(400px) rotateX(0deg) translateY(-8px) scale(1.1);

    box-shadow: 

        0 15px 25px -4px rgba(59, 130, 246, 0.5),

        inset 0 3px 6px rgba(255, 255, 255, 0.5),

        inset 0 -4px 6px rgba(0, 0, 0, 0.3);

}



[data-theme="dark"] .step-num-3d {

    box-shadow: 

        0 8px 16px -4px rgba(0, 0, 0, 0.6),

        inset 0 3px 6px rgba(255, 255, 255, 0.2),

        inset 0 -4px 6px rgba(0, 0, 0, 0.4);

}



.step-card {

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;

    transform: perspective(1000px) translateZ(0);

}

.step-card:hover {

    transform: perspective(1000px) translateZ(10px) translateY(-5px);

    box-shadow: 0 20px 35px -5px rgba(0,0,0,0.1), 0 10px 15px -5px rgba(0,0,0,0.05);

    border-color: var(--primary) !important;

}

[data-theme="dark"] .step-card:hover {

    box-shadow: 0 20px 35px -5px rgba(0,0,0,0.4), 0 10px 15px -5px rgba(0,0,0,0.2);

}









/* --- CLEAN FOOTER LAYOUT --- */

.site-footer {

    background: var(--bg-surface);

    padding: 2.5rem 0 1.5rem;

    border-top: 1px solid var(--border);

}



.site-footer .container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 1.5rem;

}



.site-footer .footer-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 2rem;

    margin-bottom: 2rem;

    align-items: start;

}



@media (min-width: 768px) {

    .site-footer .footer-grid {

        grid-template-columns: 1.5fr 2fr 1fr 1fr;

        gap: 1.5rem;

    }

}



.site-footer .footer-col h4 {

    margin: 0 0 1.25rem 0;

    font-weight: 700;

    color: var(--text-main);

    font-size: 1rem;

    line-height: 1.2;

}



.site-footer .footer-col a {

    display: block;

    color: var(--text-muted);

    margin-bottom: 0.75rem;

    text-decoration: none;

    font-size: 0.95rem;

    transition: color 0.2s;

}



.site-footer .footer-col a:hover {

    color: var(--text-main);

}



.site-footer .footer-logo {

    margin-bottom: 1rem;

    font-size: 1.5rem;

    font-weight: 800;

    display: flex;

    align-items: center;

    gap: 0.5rem;

    color: var(--text-main);

    text-decoration: none;

}



.site-footer .footer-desc {

    color: var(--text-muted);

    font-size: 0.9rem;

    line-height: 1.5;

    margin: 0;

    padding-right: 1rem;

}



.site-footer .tools-dir-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0 1rem;

}



.site-footer .footer-bottom {

    text-align: left;

    color: var(--text-muted);

    font-size: 0.85rem;

    padding-top: 2rem;

    border-top: 1px solid var(--border);

    width: 100%;

}




/* --- TOOL INTERFACE & INTERACTION CLASSES --- */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    cursor: pointer;
    background: var(--bg-base);
    transition: all 0.2s ease;
    text-align: center;
}
.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--primary) !important;
    background: var(--bg-surface-hover) !important;
}
.drop-zone .upload-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary);
    display: block;
}
.drop-zone h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.drop-zone p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-base);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.metadata-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.data-card {
    background: var(--bg-base);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.data-card h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    font-weight: 500;
}
.data-card div {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* --- STANDARDIZED SYMMETRIC TOOL GRIDS --- */
.tools-grid-9 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 820px) {
    .tools-grid-9 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .tools-grid-9 > :last-child:nth-child(odd) {
        grid-column: span 2;
    }
}
@media (max-width: 540px) {
    .tools-grid-9 {
        grid-template-columns: 1fr;
    }
    .tools-grid-9 > :last-child:nth-child(odd) {
        grid-column: span 1;
    }
}

.tools-grid-10 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .tools-grid-10 {
        grid-template-columns: 1fr;
    }
}

.tool-card-premium {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
}
.tool-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}
[data-theme="dark"] .tool-card-premium:hover {
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.4);
}
.tool-card-premium .tool-icon-3d {
    margin: 0 0 1.25rem 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.tool-card-premium h3 {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.tool-card-premium p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

