/* DARK MODE — DEVENIR RÉDACTEUR — ORBITECH AI ACADEMY */

[data-theme="dark"] body {
    background: #0F172A !important;
    color: #E2E8F0 !important;
}

/* Navbar */
[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .logo span {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .nav-link {
    color: #CBD5E1 !important;
}

[data-theme="dark"] .nav-link:hover {
    color: #FF8989 !important;
}

[data-theme="dark"] .nav-cta {
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

[data-theme="dark"] .mobile-toggle span {
    background: #F1F5F9 !important;
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: #0F172A !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    }
}

/* Hero */
[data-theme="dark"] .rd-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #4338ca 100%) !important;
}

/* Sections */
[data-theme="dark"] .rd-section {
    background: #0F172A !important;
}

[data-theme="dark"] .rd-section-alt {
    background: #1E293B !important;
}

/* Section headers */
[data-theme="dark"] .rd-section-header h2 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .rd-section-header p {
    color: #94A3B8 !important;
}

[data-theme="dark"] .rd-section-badge {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #818CF8 !important;
}

/* Steps */
[data-theme="dark"] .rd-step {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .rd-step:hover {
    border-color: #6366f1 !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2) !important;
}

[data-theme="dark"] .rd-step h3 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .rd-step p {
    color: #94A3B8 !important;
}

[data-theme="dark"] .rd-step-icon {
    background: rgba(99, 102, 241, 0.15) !important;
}

[data-theme="dark"] .rd-step-connector {
    color: rgba(255, 255, 255, 0.2) !important;
}

/* Profile cards */
[data-theme="dark"] .rd-profile-card {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .rd-profile-card:hover {
    border-color: #4ECDC4 !important;
    box-shadow: 0 4px 16px rgba(78, 205, 196, 0.15) !important;
}

[data-theme="dark"] .rd-profile-card h3 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .rd-profile-card p {
    color: #94A3B8 !important;
}

/* Advantages */
[data-theme="dark"] .rd-advantage {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .rd-advantage:hover {
    border-color: #6366f1 !important;
}

[data-theme="dark"] .rd-advantage h4 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .rd-advantage p {
    color: #94A3B8 !important;
}

[data-theme="dark"] .rd-adv-icon {
    background: rgba(99, 102, 241, 0.15) !important;
    color: #818CF8 !important;
}

/* Validation flow */
[data-theme="dark"] .rd-flow-step span {
    color: #94A3B8 !important;
}

[data-theme="dark"] .rd-flow-arrow {
    color: rgba(255, 255, 255, 0.2) !important;
}

/* Detail cards */
[data-theme="dark"] .rd-detail-card {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .rd-detail-card:hover {
    border-color: #f59e0b !important;
}

[data-theme="dark"] .rd-detail-card h4 {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .rd-detail-card p {
    color: #94A3B8 !important;
}

/* FAQ */
[data-theme="dark"] .rd-faq-item {
    background: #1E293B !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .rd-faq-item:hover {
    border-color: #6366f1 !important;
}

[data-theme="dark"] .rd-faq-question {
    color: #F1F5F9 !important;
}

[data-theme="dark"] .rd-faq-question i {
    color: #64748B !important;
}

[data-theme="dark"] .rd-faq-item.open .rd-faq-question i {
    color: #818CF8 !important;
}

[data-theme="dark"] .rd-faq-answer p {
    color: #94A3B8 !important;
}

/* CTA */
[data-theme="dark"] .rd-cta-section {
    background: linear-gradient(135deg, #4338ca 0%, #581c87 50%, #be185d 100%) !important;
}

/* Footer overrides */
[data-theme="dark"] .footer {
    background: #0B1120 !important;
}
