/* ========================================
   AugmentedPro.ai - Global Styles
   ======================================== */

:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a24;
    --accent-orange: #ff6b35;
    --accent-amber: #ffb347;
    --accent-gold: #ffd700;
    --text-primary: #fafafa;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --border-subtle: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --glow-orange: rgba(255,107,53,0.4);

    /* Parcours colors */
    --color-junior: #10b981;
    --color-junior-bg: rgba(16, 185, 129, 0.15);
    --color-junior-glow: rgba(16, 185, 129, 0.1);
    --color-senior: #6366f1;
    --color-senior-bg: rgba(99, 102, 241, 0.15);
    --color-senior-glow: rgba(99, 102, 241, 0.1);
    --color-architect: #3b82f6;
    --color-architect-bg: rgba(59, 130, 246, 0.15);
    --color-architect-glow: rgba(59, 130, 246, 0.1);
    --color-quality: #22c55e;
    --color-quality-bg: rgba(34, 197, 94, 0.15);
    --color-quality-glow: rgba(34, 197, 94, 0.1);
    --color-product: #f59e0b;
    --color-product-bg: rgba(245, 158, 11, 0.15);
    --color-product-glow: rgba(245, 158, 11, 0.1);
    --color-moa: #06b6d4;
    --color-moa-bg: rgba(6, 182, 212, 0.15);
    --color-moa-glow: rgba(6, 182, 212, 0.1);

    /* Status colors */
    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.15);
    --color-warning: #f59e0b;
    --color-warning-bg: rgba(245, 158, 11, 0.15);
    --color-danger: #ef4444;
    --color-danger-bg: rgba(239, 68, 68, 0.15);
    --color-info: #3b82f6;
    --color-info-bg: rgba(59, 130, 246, 0.15);
    --color-secondary: #9ca3af;
    --color-secondary-bg: rgba(156, 163, 175, 0.15);
    --overlay-dark: rgba(10, 10, 15, 0.9);
}

/* ========================================
   Light Theme Variables
   ======================================== */

[data-theme="light"] {
    --bg-dark: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f2;
    --accent-orange: #e85d25;
    --accent-amber: #d99530;
    --accent-gold: #c49800;
    --text-primary: #1a1a1f;
    --text-secondary: #3a3a4a;
    --text-muted: #5a5a6a;
    --border-subtle: rgba(0,0,0,0.12);
    --border-hover: rgba(0,0,0,0.20);
    --glow-orange: rgba(232,93,37,0.25);

    /* Parcours colors - adjusted for light background */
    --color-junior: #059669;
    --color-junior-bg: rgba(5, 150, 105, 0.12);
    --color-junior-glow: rgba(5, 150, 105, 0.08);
    --color-senior: #4f46e5;
    --color-senior-bg: rgba(79, 70, 229, 0.12);
    --color-senior-glow: rgba(79, 70, 229, 0.08);
    --color-architect: #2563eb;
    --color-architect-bg: rgba(37, 99, 235, 0.12);
    --color-architect-glow: rgba(37, 99, 235, 0.08);
    --color-quality: #16a34a;
    --color-quality-bg: rgba(22, 163, 74, 0.12);
    --color-quality-glow: rgba(22, 163, 74, 0.08);
    --color-product: #d97706;
    --color-product-bg: rgba(217, 119, 6, 0.12);
    --color-product-glow: rgba(217, 119, 6, 0.08);
    --color-moa: #0891b2;
    --color-moa-bg: rgba(8, 145, 178, 0.12);
    --color-moa-glow: rgba(8, 145, 178, 0.08);

    /* Status colors - adjusted for light background */
    --color-success: #059669;
    --color-success-bg: rgba(5, 150, 105, 0.12);
    --color-warning: #d97706;
    --color-warning-bg: rgba(217, 119, 6, 0.12);
    --color-danger: #dc2626;
    --color-danger-bg: rgba(220, 38, 38, 0.12);
    --color-info: #2563eb;
    --color-info-bg: rgba(37, 99, 235, 0.12);
    --color-secondary: #6b7280;
    --color-secondary-bg: rgba(107, 114, 128, 0.12);
    --overlay-dark: rgba(255, 255, 255, 0.9);
}

/* Theme transition for smooth switching */
html:not(.no-transitions),
html:not(.no-transitions) * {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Disable transitions during initial load */
html.no-transitions,
html.no-transitions * {
    transition: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
}

.mono {
    font-family: 'DM Mono', monospace;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Navigation
   ======================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.btn-access {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-access:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--glow-orange);
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

/* Mobile menu toggle base style */

/* Mobile CTA - hidden by default, shown only in mobile menu */
.mobile-cta {
    display: none;
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px var(--glow-orange);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.3s, background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: rgba(255,255,255,0.03);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Page Header (for inner pages)
   ======================================== */

.page-header {
    padding: 10rem 4rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,107,53,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(255,179,71,0.05) 0%, transparent 50%);
    z-index: -1;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* ========================================
   Forms
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236a6a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

/* ========================================
   Footer
   ======================================== */

footer {
    padding: 4rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: 'Instrument Serif', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-credit a {
    color: var(--accent-orange);
    text-decoration: none;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========================================
   Utilities
   ======================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    nav > .btn-access {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Mobile menu open state */
    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        padding: 5rem 2rem 2rem;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        margin: 0;
    }

    .nav-links.mobile-open li {
        border-bottom: 1px solid var(--border-subtle);
        list-style: none;
    }

    .nav-links.mobile-open li:last-child {
        border-bottom: none;
    }

    .nav-links.mobile-open a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.1rem;
        color: var(--text-primary);
    }

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

    /* Mobile CTA button */
    .nav-links.mobile-open .mobile-cta {
        display: block !important;
        margin-top: 1.5rem;
        text-align: center;
    }

    .nav-links.mobile-open .mobile-cta .btn-access {
        display: inline-block !important;
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Close button positioning */
    nav.mobile-open .mobile-menu-toggle {
        position: fixed;
        top: 1rem;
        right: 1.5rem;
        z-index: 1002;
    }

    .page-header {
        padding: 8rem 2rem 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .btn-access {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .page-header {
        padding: 7rem 1.5rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   Language Switcher
   ======================================== */

.lang-switcher {
    position: relative;
    margin-left: 1rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
}

.lang-current:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.lang-code {
    font-family: 'DM Mono', monospace;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.lang-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s;
}

.lang-switcher.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    font-size: 0.85rem;
    text-align: left;
}

.lang-dropdown button:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.lang-dropdown button.active {
    background: rgba(255,107,53,0.1);
    color: var(--accent-orange);
}

.lang-dropdown button .lang-flag {
    font-size: 1rem;
}

/* Mobile language switcher adjustments */
@media (max-width: 1024px) {
    .lang-switcher {
        margin-left: 0.5rem;
    }

    .lang-current {
        padding: 0.4rem 0.6rem;
    }

    .lang-dropdown {
        right: 0;
        min-width: 130px;
    }
}

@media (max-width: 1024px) {
    .lang-switcher {
        position: absolute;
        top: 1rem;
        right: 4rem;
    }
}

/* ========================================
   Theme Toggle
   ======================================== */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg);
}

/* Mobile theme toggle adjustments */
@media (max-width: 1024px) {
    .theme-toggle {
        position: absolute;
        top: 1rem;
        right: 7.5rem;
        width: 36px;
        height: 36px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .theme-toggle {
        right: 6.5rem;
        width: 34px;
        height: 34px;
    }

    .theme-icon {
        font-size: 1rem;
    }
}

/* ========================================
   Light Theme Specific Adjustments
   ======================================== */

/* Grain overlay - invert for light theme */
[data-theme="light"] body::before {
    filter: invert(1);
    opacity: 0.02;
}

/* Navigation in light mode */
[data-theme="light"] nav {
    background: linear-gradient(to bottom, var(--bg-dark), rgba(245, 245, 247, 0));
}

/* Cards shadow in light mode */
[data-theme="light"] .card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .parcours-card,
[data-theme="light"] .method-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .section-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .table-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .parcours-card:hover,
[data-theme="light"] .method-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Language dropdown shadow in light mode */
[data-theme="light"] .lang-dropdown {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Mobile menu in light mode */
[data-theme="light"] .nav-links.mobile-open {
    background: var(--bg-dark);
}

/* Form inputs in light mode */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
    background: #fafafa;
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus {
    box-shadow: 0 0 0 3px rgba(232, 93, 37, 0.15);
    border-color: var(--accent-orange);
}

/* Button text adjustment for light mode */
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-access {
    color: #ffffff;
}

/* Secondary button in light mode */
[data-theme="light"] .btn-secondary {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Page header background in light mode */
[data-theme="light"] .page-header-bg {
    background: radial-gradient(ellipse at 30% 20%, rgba(232, 93, 37, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(217, 149, 48, 0.04) 0%, transparent 50%);
}

/* Active language button in light mode */
[data-theme="light"] .lang-dropdown button.active {
    background: rgba(232, 93, 37, 0.08);
}

/* Code and mono elements in light mode */
[data-theme="light"] code,
[data-theme="light"] pre,
[data-theme="light"] .mono {
    background: rgba(0, 0, 0, 0.04);
}

/* Footer in light mode */
[data-theme="light"] footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Badges in light mode - better visibility */
[data-theme="light"] .badge {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Tables in light mode */
[data-theme="light"] .data-table th {
    background: #f5f5f7;
}

[data-theme="light"] .data-table tr:hover {
    background: #f8f8fa;
}

/* Progress bars in light mode */
[data-theme="light"] .progress-bar {
    background: #e5e5e7;
}

/* Module items in light mode */
[data-theme="light"] .module-item {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .module-item:hover {
    background: #f8f8fa;
}

/* Phase cards in light mode */
[data-theme="light"] .phase-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Sidebar cards in light mode */
[data-theme="light"] .sidebar-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Notifications in light mode */
[data-theme="light"] .notification {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
