/* --- VARIABLES: BLACK & CHOCOLATE THEME --- */
:root {
    /* Dark Mode (Default) */
    --bg-core: #050404;       
    --bg-card: #140f0e;       
    --bg-card-solid: #140f0e; 
    
    /* ACCENT: CHOCOLATE / COPPER */
    --accent-color: #d2691e;  
    --accent-bright: #e69138; 
    --accent-glow: rgba(210, 105, 30, 0.4); 
    
    --text-main: #ffffff;     
    --text-muted: #b0a09b;    
    --border-subtle: rgba(210, 105, 30, 0.2); 
    
    /* Gradient Edge Color */
    --grad-edge: #ffffff;
    
    --spotlight-opacity: 0.15;
    --particle-color: #d2691e; 
    
    /* Fonts */
    --font-head: 'Orbitron', sans-serif; 
    --font-body: 'Poppins', sans-serif; 
}

/* Light Mode Overrides */
body.light-mode {
    --bg-core: #faf7f5;       
    --bg-card: #ffffff;
    --bg-card-solid: #ffffff;
    
    --accent-color: #8b4513; 
    --accent-bright: #a0522d;
    --accent-glow: rgba(139, 69, 19, 0.15);
    
    --text-main: #2b1d1a;     
    --text-muted: #6d5e5b;    
    --border-subtle: rgba(139, 69, 19, 0.15);
    
    --grad-edge: #2b1d1a;
    
    --spotlight-opacity: 0.05;
    --particle-color: #a0522d; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-core);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- DYNAMIC BACKGROUND CANVAS --- */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1; 
    background: transparent; 
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.5px; }
a { text-decoration: none; color: inherit; transition: 0.4s ease; }
ul { list-style: none; }
p { margin-bottom: 20px; }

/* Dynamic Gradient Text */
.gradient-text {
    background: linear-gradient(
        to right, 
        var(--grad-edge), 
        var(--accent-color), 
        var(--accent-bright), 
        var(--accent-color), 
        var(--grad-edge)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* --- BUTTONS --- */
.btn {
    padding: 12px 32px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-block;
    font-weight: 700;
    line-height: 1; 
}
.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(210, 105, 30, 0.1); 
}
.btn-primary:hover {
    background: var(--accent-color);
    color: #ffffff; 
    box-shadow: 0 0 25px var(--accent-glow);
    border-color: var(--accent-bright);
    transform: translateY(-2px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(5, 4, 4, 0.95); 
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px); z-index: 1000; padding: 0.8rem 0;
    transition: background 0.3s;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* LOGO */
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { 
    height: 65px; /* Adjusted size for better navbar fit */
    width: auto; 
    display: block; 
    object-fit: contain;
    /* No border-radius needed for transparent logos */
}

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); display: flex; align-items: center; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); text-shadow: 0 0 8px var(--accent-glow); }

/* --- THEME TOGGLE (PILL SLIDER - MOBILE FIX) --- */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 20px;
    z-index: 9999;
}

/* The Container */
.theme-switch {
    display: block; /* Ensure it takes space */
    height: 26px; 
    width: 50px;
    position: relative;
}

/* 1. HIDE THE CHECKBOX (Aggressive Method) */
.theme-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
}

/* 2. THE PILL BACKGROUND */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2); 
    transition: .4s;
    border: 1px solid var(--border-subtle);
    border-radius: 34px;
    
    /* Ensure it's visible on top */
    z-index: 1;
}

/* 3. THE CIRCLE KNOB */
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px; /* Center vertically (26px height - 1px border*2 - 18px = 6px space / 2 = 3px) */
    background-color: var(--accent-color); 
    transition: .4s;
    box-shadow: 0 0 10px var(--accent-glow);
    border-radius: 50%;
    z-index: 2;
}

/* 4. ACTIVE STATES (Light Mode) */
input:checked + .slider { 
    background-color: var(--accent-color); 
}

input:checked + .slider:before {
    background-color: #ffffff; 
    transform: translateX(24px); 
    box-shadow: none;
}

/* --- CARDS & CONTENT BOXES --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card, .content-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px; 
    padding: 50px 40px;
    position: relative; 
    overflow: hidden;   
    transition: transform 0.3s ease, background-color 0.3s, border-color 0.3s;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8); 
}
.card { cursor: pointer; }

/* Spotlight Effect */
.card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), var(--accent-glow), transparent 40%);
    z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
}
/* Ambient Fog */
.card::after {
    content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.03) 0%, transparent 60%);
    z-index: 0; opacity: 0.4; transform: rotate(30deg);
    animation: breathe 15s infinite ease-in-out alternate;
}

.card:hover { transform: translateY(-5px); border-color: var(--accent-bright); }
.card:hover::before { opacity: 1; }
.card-content { position: relative; z-index: 2; }
.card-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: 25px; transition: 0.3s; text-shadow: 0 0 15px var(--accent-glow); }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0;}

/* Legal Pages List Styling */
.content-box ul { list-style: disc; margin-left: 20px; color: var(--text-muted); margin-bottom: 20px; }
.content-box li { margin-bottom: 10px; }

/* --- UTILITIES & MODAL --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
footer { padding: 60px 0; border-top: 1px solid var(--border-subtle); color: var(--text-muted); font-size: 0.9rem; text-align: center; }
footer a:hover { color: var(--accent-color); }

/* HERO (Fixed Padding for Mobile) */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding-top: 80px; /* IMPORTANT: Keeps text visible below nav */
    box-sizing: border-box; 
}

/* MODAL */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); z-index: 2000;
    justify-content: center; align-items: center; backdrop-filter: blur(8px);
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
    background: var(--bg-card-solid); padding: 50px; border-radius: 24px; 
    border: 1px solid var(--accent-color); max-width: 600px; width: 90%; position: relative;
    box-shadow: 0 0 40px rgba(210, 105, 30, 0.2); 
    transform: translateY(20px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 20px; right: 25px; font-size: 2rem; cursor: pointer; color: var(--text-muted); }
.close-modal:hover { color: var(--accent-bright); }
.modal-body h2 { font-size: 2rem; margin-bottom: 20px; color: var(--accent-color); text-shadow: 0 0 10px var(--accent-glow); }
.modal-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; }

/* --- MOBILE SPECIFIC --- */
.hamburger { display: none; color: var(--accent-color); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: fixed; 
        top: 70px; 
        left: 0; 
        width: 100%; 
        height: 100vh; /* FULL SCREEN MENU */
        background: var(--bg-core); /* Solves the background cutoff issue */
        flex-direction: column; 
        padding: 40px; 
        text-align: center; 
        border-bottom: 1px solid var(--accent-color); 
        gap: 2rem; 
        z-index: 999;
        overflow-y: auto; 
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.8rem; }
    
    /* Ensure toggle aligns correctly in mobile menu */
    .theme-switch-wrapper {
        margin: 20px auto 0; 
        justify-content: center;
        display: flex; /* Ensures toggle isn't 0 width */
    }
}

/* Inline overrides to ensure new sections look good immediately */
:root {
    --primary: #005f56;
    --accent: #d4af37;
    --bg-dark: #05080a;
    --text-light: #f8f9fa;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
}
.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}
.price-tag {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    margin: 20px 0;
}
.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    color: #ccc;
}
.price-features li { margin-bottom: 10px; }
.price-features i { color: var(--accent); margin-right: 10px; }

/* Testimonials */
.testimonial-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}
.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.client-avatar {
    width: 60px; height: 50px;
    border-radius: 50%;
    background: #333;
    margin-right: 15px;
}
/* =========================================
   LIGHT MODE (White Theme) VISIBILITY FIXES
   ========================================= */

/* 1. Main Body & Text */
body.light-mode {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

/* 2. Force Headings to be Dark */
body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3, 
body.light-mode h4, 
body.light-mode h5, 
body.light-mode h6 {
    color: #8b4513 !important; /* Overrides inline #ccc/#fff */
}

/* 3. Force Paragraphs and Lists to be Dark Grey */
body.light-mode p,
body.light-mode li,
body.light-mode span:not(.badge), /* Exclude badges/buttons if needed */
body.light-mode small {
    color: #444444 !important;
}

/* 4. Navbar Links */
body.light-mode .nav-links a {
    color: #ffffff  !important;
}
body.light-mode .nav-links a:hover {
    color: var(--accent) !important; /* Keep your accent color on hover */
}

/* 5. Card Backgrounds & Text */
/* Giving cards a slight grey tint so they stand out on white paper */
body.light-mode .card,
body.light-mode .pricing-card,
body.light-mode .testimonial-card {
    background: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

/* 6. Specific Fix for Icons in Cards */
body.light-mode .card-icon {
    /* Keep original icon colors, no change needed usually, 
       but ensures they don't disappear if they were white */
}

/* 7. Footer Text */
body.light-mode footer p,
body.light-mode footer a {
    color: #666666 !important;
}
/* --- SOCIAL MEDIA ICONS IN NAVBAR --- */
.social-icon a {
    font-size: 1.1rem; /* Adjust icon size */
    color: var(--text-muted);
    margin: 0 5px; /* Spacing between icons */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon a:hover {
    color: var(--accent-color);
    transform: translateY(-3px); /* Slight jump effect on hover */
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Mobile adjustments to keep them centered */
@media (max-width: 768px) {
    .social-icon {
        display: inline-block; /* Stack side-by-side on mobile inside the menu */
        margin: 0 10px;
    }
}


/* =========================================
   HEADER & NAVIGATION CORRECTIONS
   ========================================= */

/* 1. Main Navigation Container */
.nav-container {
    display: flex;
    justify-content: space-between; /* Pushes Logo left, Menu right */
    align-items: center;
    width: 100%;
    padding: 0 25px; /* Ensure padding on sides */
}

/* 2. Logo Spacing - Prevents "DESAHOME" Merge */
.logo-link {
    margin-right: 40px; /* Force distinct gap between Logo and Menu */
    flex-shrink: 0;     /* Prevents logo from getting squashed */
    display: flex;
    align-items: center;
}

/* 3. Navigation Links Wrapper */
.nav-links {
    display: flex;
    gap: 25px;          /* Uniform spacing between items */
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 4. Link Styling - FIXES "ABOUT US" WRAPPING */
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    
    /* CRITICAL FIX: Forces text to stay on one line */
    white-space: nowrap; 
    
    /* Center alignment helper */
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* 5. Social Icons Styling */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon a {
    font-size: 1.1rem;
    margin: 0 5px;
    color: var(--text-muted);
}

.social-icon a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* 6. Vertical Divider (Optional visual separator) */
.nav-divider {
    border-left: 1px solid rgba(255,255,255,0.15); 
    height: 24px; 
    margin: 0 5px;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
    /* Hide desktop menu links on tablets/smaller screens */
    .nav-links {
        display: none; 
        /* The mobile menu logic in script.js toggles this to display:flex */
    }
    
    /* When active (toggled by JS), show as column */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-core);
        padding: 40px;
        border-bottom: 1px solid var(--accent-color);
        gap: 20px;
        z-index: 1000;
        height: auto;
    }
    
    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--accent-color);
    }
}
/* =========================================
   3D TESTIMONIALS PAGE STYLES
   ========================================= */

/* The Grid Container */
.testimonial-grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    padding: 20px;
}

/* The Card Wrapper - Sets the 3D Space */
.test-card-3d {
    background: transparent;
    perspective: 1000px; /* Essential for 3D effect */
}

/* The Actual Card Content */
.test-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* HOVER EFFECT: Lift and Tilt */
.test-card-3d:hover .test-card-inner {
    transform: translateY(-15px) rotateX(5deg); /* Lifts up and tilts back */
    border-color: var(--accent-color);
    box-shadow: 
        0 20px 40px -10px rgba(0,0,0,0.8),
        0 0 20px var(--accent-glow); /* Outer Glow */
}

/* Floating Quote Icon */
.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 20px;
    transform: translateZ(20px); /* Pushes it 'forward' in 3D space */
}

/* Testimonial Text */
.test-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    transform: translateZ(10px); /* Slight depth */
}

/* User Info Section */
.test-user {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    transform: translateZ(30px); /* Floating highest */
}

/* Avatar Circle */
.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.user-info h4 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   PRICING PAGE STYLES
   ========================================= */

/* Utilities */
.mb-50 {
    margin-bottom: 50px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center; /* Vertically aligns cards if heights differ */
    margin-top: 20px;
}

/* Base Card Style */
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
}

/* --- POPULAR / RECOMMENDED TIER --- */
.price-card.popular {
    background: linear-gradient(145deg, rgba(20, 15, 14, 0.9), rgba(40, 20, 5, 0.4));
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(210, 105, 30, 0.15);
    transform: scale(1.05); /* Make it slightly bigger by default */
    z-index: 2;
}

.price-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 0 50px rgba(210, 105, 30, 0.3);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    white-space: nowrap; /* Ensures text doesn't wrap */
}

/* --- DISABLED / ENTERPRISE TIER (NEW) --- */
.price-card.disabled-card {
    opacity: 0.6;
    border-color: #444;
    background: rgba(20, 20, 20, 0.5);
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

.price-card.disabled-card:hover {
    transform: none; /* No hover lift */
    box-shadow: none;
}

/* "Launching Soon" Badge */
.launch-badge {
    position: absolute;
    top: 39px;
    right: -42px;
    background: #892007;
    color: #fff;
    padding: 5px 30px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(45deg);
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
}

/* Disabled Button */
.btn-disabled {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border: 1px solid #555;
    background: transparent;
    border-radius: 50px;
    color: #777;
    font-weight: 600;
    cursor: not-allowed;
    pointer-events: none; /* Prevents clicking */
}

/* Typography */
.price-header {
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.price-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.ideal-for {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    height: 40px; /* Enforces equal height alignment for this line */
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-box {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: var(--font-head);
}

.currency { font-size: 1.5rem; vertical-align: super; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }

.setup-fee {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 5px;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1; /* Pushes button to bottom */
}

.feature-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--accent-color);
    margin-right: 12px;
    margin-top: 5px; /* Aligns icon with top line of text */
}

.feature-list li strong {
    color: var(--text-main);
}

/* Secondary Button Style (Outline) */
.btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* COMBO DEALS GRID */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .price-card.popular {
        transform: scale(1); /* Reset zoom on mobile */
    }
    .pricing-grid {
        gap: 50px; /* More space between cards when stacked */
    }
    .grid-2 {
        grid-template-columns: 1fr; /* Stack combos on mobile */
    }
}
/* =========================================
   LIGHT MODE FIXES & COMBO BOX
   ========================================= */

/* 1. Force the Combo Box to stay Dark with White Text */
.super-saver-box {
    background: linear-gradient(145deg, #140f0e, #281405); /* Dark Chocolate Gradient */
    border: 2px solid var(--accent-color);
    color: #ffffff !important; /* Force white text */
    position: relative;
    border-radius: 24px;
    padding: 50px 40px;
    overflow: hidden;
}

/* Force all children inside the combo box to be white/light */
.super-saver-box h2, 
.super-saver-box h3, 
.super-saver-box p, 
.super-saver-box span, 
.super-saver-box li,
.super-saver-box i {
    color: #ffffff !important;
}

/* 2. Fix Outline Buttons in Light Mode */
/* When in light mode, outline buttons need to be dark enough to read */
body.light-mode .btn-outline {
    color: #333333;
    border-color: #ccc;
}
body.light-mode .btn-outline:hover {
    color: #fff;
    border-color: var(--accent-color);
    background: var(--accent-color);
}

/* 3. Fix Pricing Cards in Light Mode */
body.light-mode .price-card {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
/* =========================================
   FIX: SUPER SAVER BOX IN LIGHT MODE
   ========================================= */

/* 1. Force all standard text inside the dark combo box to be white */
body.light-mode .super-saver-box,
body.light-mode .super-saver-box h2,
body.light-mode .super-saver-box p,
body.light-mode .super-saver-box li,
body.light-mode .super-saver-box span,
body.light-mode .super-saver-box i,
body.light-mode .super-saver-box div {
    color: #ffffff !important;
}

/* 2. Restore the specific colors for the Combo Titles (Orange & Blue) */
/* "Startup Combo" Title */
body.light-mode .super-saver-box .grid-2 > div:nth-child(1) h3 {
    color: var(--accent-color) !important; 
}

/* "Growth Combo" Title - Using a lighter blue for better contrast on dark */
body.light-mode .super-saver-box .grid-2 > div:nth-child(2) h3 {
    color: #5dade2 !important; 
}

/* 3. Make the dashed borders visible again */
body.light-mode .super-saver-box .grid-2 > div {
    border-color: rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.05) !important;
}

/* 4. Fix the "Claim Offer" Buttons inside the box */
body.light-mode .super-saver-box .btn-outline {
    border-color: #ffffff !important;
    color: #ffffff !important;
}
body.light-mode .super-saver-box .btn-outline:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* 5. Ensure the "Primary" button (filled orange) stays correct */
body.light-mode .super-saver-box .btn-primary {
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}
body.light-mode .super-saver-box .btn-primary:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
}

/* =========================================
   MODERN FOOTER STYLES (Fixed Alignment)
   ========================================= */

.site-footer {
    background-color: #080808;
    border-top: 1px solid rgba(210, 105, 30, 0.3);
    /* FIXED: Increased padding for better spacing */
    padding: 22px 0 10px;
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
    color: #b0b0b0;
    text-align: left; /* Ensure desktop is left-aligned */
}

/* Grid Layout */
.footer-top {
    display: grid;
    /* Adjusted columns for better balance */
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; 
    gap: 30px; /* FIXED: Increased gap from 14px */
    margin-bottom: 40px; /* FIXED: Added space before bottom bar */
}

/* Headings */
.footer-heading {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Brand Column */
.footer-desc {
    margin-top: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #888;
    max-width: 300px;
}

/* Links List */
/* FIXED: Ensure no default padding shifts alignment */
.footer-links, .footer-contact {
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Contact List */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer-contact i {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px; /* Aligns icon with top of text line */
    min-width: 16px; /* Prevents icon squishing */
}

/* Social Icons */
.footer-socials {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
    border: 1px solid transparent;
}

.footer-socials a:hover {
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.legal-links a {
    color: #777;
    transition: 0.3s;
}

.legal-links a:hover {
    color: var(--accent-color);
}

.separator {
    margin: 0 10px;
    color: #444;
}

/* Responsive Mobile Layout */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .site-footer {
        text-align: center; /* Center align only on mobile */
    }

    .footer-top {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 40px;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%); /* Center the underline */
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
 