/* =========================================
   SOLAR XPERT - TECHNO / AESTHETIC VIBE
   ========================================= */

:root {
    /* Color Palette - Cyber & Solar Fusion */
    --bg-main: #060913;            /* Deep space void */
    --bg-surface: rgba(13, 19, 38, 0.6); /* Frosted glass */
    --bg-alt: #0a0f1d;             /* Darker panel */
    
    --neon-cyan: #00F2FE;          /* Techno blue */
    --neon-blue: #4FACFE;
    --neon-orange: #FF5E00;        /* Solar flare */
    --neon-yellow: #FFB703;
    --neon-green: #00F5A0;         /* Tech success green */
    
    --text-main: #E2E8F0;
    --text-muted: #8B949E;
    --text-heading: #FFFFFF;
    
    /* Glows & Gradients */
    --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.3);
    --glow-orange: 0 0 20px rgba(255, 94, 0, 0.4);
    
    --gradient-cyber: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    --gradient-solar: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    
    /* UI Elements */
    --radius-md: 12px;
    --radius-lg: 20px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; }

/* Techno Background Pattern */
body { 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    line-height: 1.7; 
    font-size: 16px; 
    /* High-tech grid overlay */
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { color: var(--text-heading); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; letter-spacing: 0.5px; }
p { margin-bottom: 1.2rem; color: var(--text-muted); }
.text-center { text-align: center; }
.text-light { color: var(--text-heading); }
.text-accent { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

/* Overrides for HTML background classes */
.bg-dark, .bg-gray { background-color: transparent !important; }

/* =========================================
   LAYOUT
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* =========================================
   BUTTONS (Neon & Glowing)
   ========================================= */
.btn { 
    display: inline-block; 
    padding: 14px 32px; 
    border-radius: 8px; 
    font-weight: 700; 
    text-decoration: none; 
    transition: var(--transition); 
    cursor: pointer; 
    border: none; 
    text-align: center; 
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary { 
    background: var(--gradient-solar); 
    color: #000 !important; 
    box-shadow: var(--glow-orange); 
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.6); 
}

.btn-outline { 
    background: transparent;
    color: var(--neon-cyan) !important;
    border: 1px solid var(--neon-cyan);
    box-shadow: inset 0 0 10px rgba(0, 242, 254, 0.1), 0 0 10px rgba(0, 242, 254, 0.1);
}
.btn-outline:hover { 
    background: var(--neon-cyan); 
    color: #000 !important; 
    box-shadow: var(--glow-cyan); 
}

.btn-whatsapp { 
    background: linear-gradient(135deg, #00F5A0, #00D09C); 
    color: #000 !important; 
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.4); 
}
.btn-whatsapp:hover { 
    transform: scale(1.05); 
    box-shadow: 0 0 25px rgba(0, 245, 160, 0.6); 
}

/* =========================================
   HEADER & NAVBAR (Glassmorphism)
   ========================================= */
header { 
    background: rgba(6, 9, 19, 0.7); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 85px; }

.logo { 
    font-size: 1.8rem; 
    font-weight: 900; 
    color: #FFF; 
    text-decoration: none; 
    letter-spacing: 2px; 
}
/* Cyber-animated Logo Text */
.logo span { 
    background: var(--gradient-solar);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% { filter: drop-shadow(0 0 5px rgba(255, 94, 0, 0.5)); }
    100% { filter: drop-shadow(0 0 15px rgba(255, 94, 0, 0.8)); }
}

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { 
    color: var(--text-main); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem;
    transition: 0.3s; 
    letter-spacing: 1px;
}
.nav-links a:hover { 
    color: var(--neon-cyan); 
    text-shadow: var(--glow-cyan);
}
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--neon-cyan); }

/* =========================================
   HERO SECTION
   ========================================= */
.hero { 
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.1) 0%, transparent 60%);
    padding: 120px 0 100px; 
    text-align: center; 
    position: relative;
}
.hero h1 { 
    font-size: 4.5rem; 
    background: linear-gradient(to right, #FFF, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px; 
    letter-spacing: -1px;
}
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; color: #A0ABC0; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   CARDS (Glass UI)
   ========================================= */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 50px; align-items: center; }

.card { 
    background: var(--bg-surface); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px; 
    border-radius: var(--radius-lg); 
    border: var(--glass-border); 
    transition: var(--transition); 
    position: relative;
}
.card h3 { color: var(--neon-cyan); font-size: 1.5rem; }

/* Cyber hover effect for cards */
.card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 242, 254, 0.05); 
}

/* =========================================
   CALCULATOR UI (Tech Dashboard)
   ========================================= */
.calculator-box { 
    background: var(--bg-alt); 
    border-radius: var(--radius-lg); 
    padding: 50px; 
    border: 1px solid rgba(255, 94, 0, 0.2);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 94, 0, 0.05); 
    max-width: 850px; 
    margin: 0 auto; 
    position: relative;
}

/* Dashboard glowing accent line */
.calculator-box::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 2px; background: var(--gradient-solar);
    box-shadow: var(--glow-orange);
}

.slider-container { margin: 40px 0; }
.slider-label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 20px; color: #FFF; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.slider-val { font-size: 1.8rem; color: var(--neon-orange); font-weight: 900; text-shadow: var(--glow-orange); }

/* Techno Slider */
input[type=range] { 
    width: 100%; height: 6px; border-radius: 3px; 
    background: rgba(255, 255, 255, 0.1); outline: none; -webkit-appearance: none; 
}
input[type=range]::-webkit-slider-thumb { 
    -webkit-appearance: none; appearance: none; width: 24px; height: 24px; 
    border-radius: 4px; /* Square/techy thumb instead of round */
    background: var(--neon-orange); cursor: pointer; 
    box-shadow: 0 0 15px var(--neon-orange); 
    transform: rotate(45deg); /* Diamond shape */
    transition: 0.2s; 
}
input[type=range]::-webkit-slider-thumb:hover { transform: rotate(45deg) scale(1.2); }

/* Calculator Output Grid */
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.result-item { 
    background: rgba(0, 0, 0, 0.3); 
    padding: 25px 20px; 
    border-radius: var(--radius-md); 
    text-align: center; 
    border: 1px solid rgba(0, 242, 254, 0.1); 
    transition: var(--transition);
}
.result-item:hover { 
    border-color: var(--neon-cyan);
    box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.1);
}
.result-item h4 { font-size: 0.85rem; color: var(--neon-cyan); text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1.5px; }
.result-item div { font-size: 1.8rem; font-weight: 900; color: #FFF; }
#billSavings { color: var(--neon-green); text-shadow: 0 0 10px rgba(0, 245, 160, 0.3); }

.disclaimer { font-size: 0.85rem; color: #5C677D; text-align: center; margin-bottom: 25px; }

/* =========================================
   FORMS (Cyber Inputs)
   ========================================= */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; color: var(--neon-cyan); margin-bottom: 8px; letter-spacing: 1px; font-size: 0.9rem; text-transform: uppercase; }
.form-control { 
    width: 100%; padding: 15px 18px; 
    background: rgba(0, 0, 0, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 8px; color: #FFF; font-size: 1rem; 
    transition: var(--transition); 
}
.form-control:focus { 
    outline: none; 
    border-color: var(--neon-cyan); 
    background: rgba(0, 242, 254, 0.05); 
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2); 
}

/* =========================================
   FAQ (Holographic Accordion)
   ========================================= */
.faq-container { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 20px 40px; border: var(--glass-border); backdrop-filter: blur(10px); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-weight: 700; color: #FFF; font-size: 1.15rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }
.faq-question span { font-size: 1rem; color: var(--neon-orange); transition: var(--transition); font-weight: bold; }
.faq-item.active .faq-question span { transform: rotate(180deg); color: var(--neon-cyan); }
.faq-answer { color: var(--text-muted); display: none; padding-top: 15px; font-size: 1.05rem; }
.faq-item.active .faq-answer { display: block; animation: holographicFade 0.4s ease-in-out; }

@keyframes holographicFade { 
    0% { opacity: 0; transform: translateY(-10px); filter: brightness(2); } 
    100% { opacity: 1; transform: translateY(0); filter: brightness(1); } 
}

/* =========================================
   FOOTER
   ========================================= */
footer { 
    background: #03050a; 
    border-top: 1px solid rgba(0, 242, 254, 0.15); 
    padding: 70px 0 25px; 
    position: relative;
}
/* Subdued footer glow */
footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: var(--gradient-cyber); box-shadow: var(--glow-cyan); opacity: 0.5;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-col h4 { color: #FFF; margin-bottom: 24px; font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.footer-col h4 span { color: var(--neon-cyan); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; transition: 0.3s; display: inline-block; }
.footer-col ul a:hover { color: var(--neon-cyan); transform: translateX(8px); text-shadow: var(--glow-cyan); } 
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: #4b5563; }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { 
        position: absolute; top: 85px; left: 0; width: 100%; 
        background: rgba(6, 9, 19, 0.95); backdrop-filter: blur(15px);
        flex-direction: column; padding: 30px; 
        border-bottom: 1px solid rgba(0, 242, 254, 0.2);
        display: none; 
    }
    .nav-links.active { display: flex; }
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2.8rem; }
    .calculator-box { padding: 30px 20px; }
    .faq-container { padding: 10px 20px; }
}