/* ============================================================
   Quantralux — Design System v4.0
   Default: "Business Premium" — Deep Navy + Corporate Blue + Gold
   Dark Mode: Navy + Electric Blue + Indigo
   Bilingual EN/FR · Québec-first
   ============================================================ */

/* ===== CSS VARIABLES — DEFAULT (BUSINESS PREMIUM) ===== */
:root {
    --primary: #0A1A2F;
    --primary-light: #153A7A;
    --primary-surface: #0A1A2F;
    --accent: #D4AF37;
    --accent-dark: #B8960F;
    --accent-glow: rgba(212, 175, 55, 0.15);
    --secondary: #1B449B;
    --secondary-glow: rgba(27, 68, 155, 0.15);
    --text-primary: #F2F4F7;
    --text-secondary: #B8C0CC;
    --text-muted: #8FA2B8;
    --border: rgba(21, 58, 122, 0.5);
    --border-hover: rgba(27, 68, 155, 0.8);
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --bg: #0A1A2F;
    --bg-card: #0A1A2F;
    --bg-card-hover: #0F223D;
    --bg-alt: #0F223D;
    --btn-primary: #1E4A7A;
    --btn-primary-hover: #1B449B;
    --input-bg: #0F223D;
    --input-border: #153A7A;
    --divider: #153A7A;
}

/* ===== DARK MODE (ELECTRIC BLUE THEME) ===== */
body.dark-mode {
    --primary: #0a1628;
    --primary-light: #111d33;
    --primary-surface: #0f1f38;
    --accent: #00d4ff;
    --accent-dark: #0099cc;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --secondary: #6366f1;
    --secondary-glow: rgba(99, 102, 241, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    --border: rgba(0, 212, 255, 0.15);
    --border-hover: rgba(0, 212, 255, 0.4);
    --bg: #0a1628;
    --bg-card: #0f1f38;
    --bg-card-hover: #111d33;
    --bg-alt: #111d33;
    --btn-primary: #00d4ff;
    --btn-primary-hover: #0099cc;
    --input-bg: #0f1f38;
    --input-border: #00d4ff;
    --divider: #153A7A;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s ease, color 0.4s ease;
}

/* Full-page radial vignette — shading only on left/right, top of hero, bottom of footer */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, #1B449B 0%, #153A7A 40%, #0A1A2F 100%);
    z-index: -1;
    pointer-events: none;
}

body.dark-mode::before {
    background: radial-gradient(ellipse at center, #0f1f38 0%, #111d33 40%, #0a1628 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

/* ===== LANGUAGE DISPLAY ===== */
.lang-en, .lang-fr { display: none; }

/* ===== DARK MODE TOGGLE ===== */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-surface);
    border: 2px solid var(--border);
    color: var(--accent);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
    transform: scale(1.1);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ===== LANGUAGE MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 26, 47, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--primary-surface);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.language-selector h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.lang-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.language-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lang-btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

body.dark-mode .lang-btn:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-surface);
    padding: 1rem 2rem;
    border-top: 1px solid var(--border);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-accept, .btn-decline {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--accent);
    color: var(--primary);
}

.btn-accept:hover {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

body.dark-mode .btn-accept:hover {
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-decline:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to right, rgba(10, 26, 47, 0.95), rgba(21, 58, 122, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 70px;
    transition: background 0.4s ease;
}

body.dark-mode .navbar {
    background: linear-gradient(to right, rgba(10, 22, 40, 0.95), rgba(15, 31, 56, 0.95));
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2rem;
}

.nav-brand { display: flex; align-items: center; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-logo .fleur {
    font-size: 1.8rem;
    color: var(--accent);
}

.nav-logo .brand-name {
    color: var(--accent);
}

.nav-logo .brand-light {
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.7;
}

.nav-logo .maple { font-size: 1.4rem; }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--accent); }

.nav-links .nav-cta {
    background: var(--btn-primary);
    color: #FFFFFF !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: var(--btn-primary-hover);
}

body.dark-mode .nav-links .nav-cta {
    background: var(--accent);
    color: var(--primary) !important;
}

body.dark-mode .nav-links .nav-cta:hover {
    opacity: 0.9;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

body.dark-mode .hero {
    background: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(27, 68, 155, 0.3) 0, transparent 55%);
    opacity: 0.5;
    pointer-events: none;
}

body.dark-mode .hero::before {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(99, 102, 241, 0.08), transparent);
    opacity: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

body.dark-mode .hero-grid {
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.3) 1px, transparent 1px);
}

.hero-content {
    position: relative;
    max-width: 850px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: var(--accent-glow);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--btn-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 68, 155, 0.3);
}

body.dark-mode .btn-primary {
    background: var(--accent);
    color: var(--primary);
}

body.dark-mode .btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
}

/* ===== SCROLL DOWN ARROW ===== */
.scroll-down {
    display: inline-block;
    margin-top: 2rem;
    font-size: 2rem;
    color: #D4AF37;
    animation: bounce 2s infinite;
    text-decoration: none;
}

.scroll-down:hover {
    color: #B8960F;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ===== STATS ===== */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ===== SECTION COMMON ===== */
section { padding: 5rem 2rem; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--accent-glow);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.section-cta p { color: var(--text-secondary); font-size: 0.95rem; }
.section-tools { background: transparent; }
.section-alt { background: transparent; }

/* ===== TOOL CARDS ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: #FFFFFF;
    border: 3px solid #D4AF37;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #1a1a2e;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.tool-card:hover {
    border-color: var(--btn-primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--bg-card-hover);
}

body.dark-mode .tool-card:hover {
    border-color: var(--accent);
}

.tool-card:hover::before { opacity: 1; }

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.tool-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0A1A2F;
}

.tool-card p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.tool-card .tool-count {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #D4AF37;
    font-weight: 600;
}

/* ===== GOLD DIVIDER ===== */
.gold-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 0;
}

/* ===== FEATURED GRID ===== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.featured-card:hover {
    border-color: var(--btn-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

body.dark-mode .featured-card:hover {
    border-color: var(--accent);
}

.featured-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
}

.featured-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--accent); }
.featured-card p { color: var(--text-secondary); font-size: 0.8rem; }

.featured-cta {
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* ===== BLOG GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--btn-primary-hover);
    transform: translateY(-3px);
}

body.dark-mode .blog-card:hover {
    border-color: var(--accent);
}

.blog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.blog-date { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.section-cta-banner {
    background: var(--accent-glow);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cta-content { max-width: 650px; margin: 0 auto; }

.cta-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--primary-surface);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-powered { font-size: 0.8rem; color: var(--text-muted); }
.footer-powered a { color: var(--accent); font-weight: 600; }

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 0.35rem 0;
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-quebec { font-size: 0.8rem; }

/* ===== MOBILE OVERLAY ===== */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: 999; }
.mobile-overlay.active { display: block; }

/* ===== UTILITY ===== */
.no-scroll { overflow: hidden; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 26, 47, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    body.dark-mode .nav-links {
        background: rgba(10, 22, 40, 0.98);
    }

    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .hero { min-height: 90vh; padding: 5rem 1.5rem 3rem; }
    .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    .stats { gap: 2rem; }
    .stat-num { font-size: 1.5rem; }
    section { padding: 3rem 1.5rem; }
    .category-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .nav-inner { padding: 0 1rem; }
    .nav-links a { font-size: 1rem; }
    .hero { padding: 5rem 1rem 2rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .btn { padding: 0.8rem 1.6rem; font-size: 0.9rem; }
    .btn-large { padding: 0.9rem 2rem; font-size: 1rem; }
    .featured-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .featured-card { padding: 1rem; }
    .tool-card { padding: 1.5rem; }
    .modal-content { padding: 2rem 1.5rem; }
    .language-selector h2 { font-size: 1.2rem; }
    .lang-btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
    .stats { gap: 1.5rem; }
}