/* --- Dark Theme Palette --- */
/* Only applied when body has .dark-theme class */
body.dark-theme {
    --primary-color: #0d6efd;
    --secondary-color: #0a58ca;
    --accent-color: #00f2ff;
    /* Neon Cyan */
    --accent-purple: #9d50ff;
    /* Neon Purple */

    --text-color: #e0e0e0;
    --text-light: #ffffff;

    --bg-light: #050810;
    /* Deep Space */
    --bg-off-white: #0a0f1c;

    --card-bg: rgba(20, 30, 50, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);

    --glass-bg: rgba(10, 20, 40, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-hover: 0 10px 40px rgba(0, 212, 255, 0.15);
    /* Subtle Blue Glow */
}

body.dark-theme {
    background-color: var(--bg-light);
    color: var(--text-color);
}

/* Header */
body.dark-theme header {
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--border-color);
}

body.dark-theme .nav-links a {
    color: var(--text-color);
}

body.dark-theme .login-link {
    color: var(--accent-color);
}

body.dark-theme .logo img {
    filter: brightness(1.2);
}

body.dark-theme .theme-toggle-btn {
    color: var(--accent-color);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Sections */
body.dark-theme .services {
    background-color: #001020;
}

body.dark-theme .plans {
    background: linear-gradient(135deg, #020408, #0a0f1c);
}

/* Cards */
/* Cards (Glass Dark) */
body.dark-theme .plan-card,
body.dark-theme .service-card,
body.dark-theme .contact-card {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: var(--glass-border);
    color: var(--text-color) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.dark-theme .plan-card:hover,
body.dark-theme .service-card:hover {
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
    border-color: var(--accent-color);
}

body.dark-theme .plan-card.featured {
    background: linear-gradient(to bottom right, #1e1e1e, #1a2a3a) !important;
    border-top: 5px solid var(--accent-color);
}

body.dark-theme .plan-name {
    color: var(--accent-color) !important;
}

body.dark-theme .plan-price {
    color: var(--text-light) !important;
}

body.dark-theme .plan-features li::before {
    color: var(--accent-color);
}

body.dark-theme .service-info h3 {
    color: var(--accent-color);
}

/* Benefits Strip */
body.dark-theme .benefits {
    background: #001e3c;
}

/* Values Section */
body.dark-theme .values-section {
    background: #001e3c;
}

/* Contact Form */
body.dark-theme .contact-card {
    background: rgba(30, 30, 30, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .contact-header h2,
body.dark-theme .section-title {
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    backdrop-filter: blur(5px);
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

body.dark-theme .form-group input::placeholder,
body.dark-theme .form-group textarea::placeholder {
    color: #888;
}

/* Footer */
body.dark-theme footer {
    background-color: #050505;
    border-top: 1px solid #222;
}

body.dark-theme .footer-col h4 {
    color: var(--accent-color);
}

body.dark-theme .footer-links a:hover {
    color: var(--accent-color);
}

body.dark-theme .footer-bottom {
    background-color: #000;
}

body.dark-theme .faq-item {
    background: var(--card-bg);
}

body.dark-theme .fill-primary {
    fill: #001e3c
}

body.dark-theme .faq-item.active .faq-question {
    color: var(--accent-color);
}

/* Mobile Menu */
@media (max-width: 768px) {
    body.dark-theme .nav-links {
        background: linear-gradient(135deg, #000a12 0%, #000000 100%) !important;
    }

    body.dark-theme .menu-toggle span {
        background-color: var(--accent-color);
    }
}

/* Ensure menu toggle is completely hidden on desktop in dark mode */
@media (min-width: 769px) {
    body.dark-theme .menu-toggle {
        display: none !important;
    }
}
/* Speed Test Dark Mode */
body.dark-theme .speedtest-section {
    background: var(--card-bg) !important;
}
