:root {
            /* Minimal color palette synced strictly with official SVG logo */
            --bg: #FDFDFD;
            --surface: #FFFFFF;
            --text: #222627;
            --text-muted: #666666;
            --green: #254625; /* Exact premium green from logo */
            --green-light: #F0F5F2; /* Hint of green surface */
            --green-bright: #32734C;
            --border: #EBEBEB;
            
            --radius-sm: 12px;
            --radius-md: 24px;
            --radius-pill: 100px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { font-size: 16px; -webkit-font-smoothing: antialiased; }
        body {
            font-family: 'Satoshi', sans-serif;
            background: var(--bg);
            color: var(--text);
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; }
        img, video { max-width: 100%; display: block; object-fit: cover; }
        button { cursor: pointer; border: none; background: none; font-family: inherit; }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 5vw;
        }

        .section { padding: 120px 0; }

        /* Premium Textured Green Background */
        .bg-textured-green {
            background-color: var(--green);
            background-image: 
                radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 70%),
                url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
            color: var(--bg);
        }
        .bg-textured-green .text-muted { color: rgba(255,255,255,0.7); }
        .bg-textured-green .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--bg); background: transparent; }
        .bg-textured-green .btn-outline:hover { background: var(--bg); color: var(--green); }

        /* Typography */
        h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
        .text-display { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 500; }
        .text-h2 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); font-weight: 500; }
        .text-h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 500; }
        .text-body { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--text-muted); line-height: 1.6; }
        .text-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }

        /* Buttons */
        .btn {
            display: inline-flex; align-items: center; gap: 12px;
            padding: 16px 32px; border-radius: var(--radius-pill);
            font-size: 1rem; font-weight: 500;
            transition: all 0.3s ease;
        }
        .btn-primary { background: var(--text); color: var(--bg); }
        .btn-primary:hover { background: var(--green); }
        .btn-green { background: var(--green); color: #FFF; }
        .btn-green:hover { background: var(--text); }
        .btn-outline { border: 1px solid var(--border); background: var(--surface); color: var(--text); }
        .btn-outline:hover { border-color: var(--text); }

        /* Navbar */
        .navbar {
            position: fixed; top: 0; left: 0; width: 100%;
            padding: 24px 0; z-index: 100;
            transition: background 0.3s, padding 0.3s;
        }
        .navbar.scrolled {
            background: rgba(250, 250, 250, 0.85);
            backdrop-filter: blur(12px);
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
        }
        .nav-inner { display: flex; align-items: center; justify-content: space-between; }
        .logo { display: inline-flex; align-items: center; text-decoration: none; }
        .brand-logo-img {
            height: 48px; /* 3:2 aspect ratio, will be ~72px wide */
            width: auto;
            object-fit: contain;
            display: block;
        }
        .transition-logo .brand-logo-img {
            height: 80px; /* Larger for loading screen */
            animation: pulse 2s infinite;
        }
        .footer-logo .brand-logo-img {
            height: 56px;
        }
        .nav-links { display: flex; gap: 40px; }
        .nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
        .nav-link:hover { color: var(--text); }

        /* Mobile Menu */
        .mobile-menu-toggle { display: none; padding: 8px; color: var(--text); z-index: 1001; background: transparent; border: none; cursor: pointer; }
        .mobile-menu {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            background: var(--bg); z-index: 99;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            opacity: 0; pointer-events: none; gap: 24px;
        }
        .mobile-menu.active { pointer-events: auto; }
        .mobile-link { font-size: 2rem; font-weight: 500; color: var(--text); }
        .desktop-only { display: flex; }

        /* Hero */
        .hero {
            min-height: 100vh;
            display: flex; align-items: center;
            padding-top: 100px;
        }
        .hero-inner {
            display: grid; grid-template-columns: 1fr 1fr;
            gap: 60px; align-items: center;
        }
        .hero-content h1 { margin-bottom: 32px; }
        .hero-content p { max-width: 480px; margin-bottom: 48px; }
        .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
        .hero-media {
            border-radius: var(--radius-md);
            overflow: hidden;
            aspect-ratio: 4/5;
            position: relative;
        }
        .hero-media img {
            width: 100%; height: 100%; object-fit: cover;
        }

        /* Marquee Ticker */
        .marquee-wrap {
            background: var(--green-light);
            padding: 24px 0;
            overflow: hidden;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        .marquee-track {
            display: flex; width: max-content;
            animation: marquee 30s linear infinite;
        }
        .marquee-item {
            display: flex; align-items: center; gap: 40px;
            padding: 0 40px;
            font-size: 1.1rem; font-weight: 500;
            text-transform: uppercase; letter-spacing: 0.05em;
            color: var(--green);
        }
        .marquee-item span {
            width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: 0.3;
        }

        /* Page Transition Overlay */
        .page-transition {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: var(--green); z-index: 9999;
            pointer-events: none;
            display: flex; align-items: center; justify-content: center;
        }
        .transition-logo {
            font-size: 4rem; font-weight: 700; letter-spacing: -0.04em; color: var(--surface);
        }
        .transition-logo span { color: var(--green-light); }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* Accordion Structure (Why Solar) */
        .why-solar { background: var(--surface); }
        .why-header { margin-bottom: 80px; }
        .accordion-list { border-top: 1px solid var(--border); }
        .accordion-item {
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.3s;
        }
        .accordion-item:hover { background: var(--bg); }
        
        .acc-header {
            display: grid; grid-template-columns: 100px 1fr 40px;
            padding: 40px 0; align-items: center;
        }
        .acc-num { font-size: 2rem; font-weight: 400; color: var(--text-muted); }
        .acc-header h3 { font-size: 2.5rem; transition: color 0.3s; margin: 0; }
        .accordion-item:hover .acc-header h3 { color: var(--green); }
        .acc-icon { display: flex; align-items: center; justify-content: center; }
        .acc-icon svg, .faq-icon svg { transition: transform 0.4s ease; }
        .accordion-item.active .acc-icon svg, .faq-item.active .faq-icon svg { transform: rotate(45deg); }

        /* The hidden content container for GSAP animation */
        .acc-inner-wrapper {
            height: 0;
            overflow: hidden;
        }
        .acc-inner {
            overflow: hidden;
        }
        /* The actual visible content inside the hidden container */
        .acc-content-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
            padding-bottom: 40px;
            margin-left: 100px; /* Aligns with the title, leaving space for the number */
        }
        @media (max-width: 1024px) {
            .acc-content-grid { grid-template-columns: 1fr; margin-left: 0; padding-left: 20px; }
            .acc-header { grid-template-columns: 60px 1fr 40px; padding: 24px 0; }
            .acc-header h3 { font-size: 1.75rem; }
        }

        /* GSAP Horizontal Scroll: Solar Solutions */
        .solutions-wrapper {
            background: var(--bg);
            overflow: hidden;
            position: relative;
        }
        .h-fixed-header {
            position: absolute;
            top: 40px;
            left: 5vw;
            z-index: 10;
        }
        #h-scroll-title {
            color: var(--text);
            font-size: 1.5rem; /* Made header slightly larger */
            font-weight: 700;
            transition: color 0.3s ease;
        }
        
        .h-scroll-container {
            display: flex;
            width: 300vw; /* 3 panels */
            height: 100vh;
            will-change: transform;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
        }
        .desktop-only-hide { display: none; }
        .h-panel {
            width: 100vw;
            height: 100vh;
            display: flex; align-items: center; justify-content: center;
            padding: 0 5vw;
        }
        .h-panel-inner {
            display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
            align-items: center; width: 100%; max-width: 1440px;
        }
        .h-panel-text h2 { font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 24px; color: var(--green); }
        .bg-textured-green .h-panel-text h2 { color: var(--surface); }
        .h-panel-text p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
        .h-panel-media {
            border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3;
            box-shadow: 0 20px 60px rgba(0,0,0,0.08);
        }

        /* Split Section: Pricing (Pinned) + Process (Scroll) */
        .split-section {
            background: var(--surface);
            position: relative;
        }
        .split-inner {
            display: flex; gap: 80px;
            align-items: flex-start;
        }
        .split-left {
            width: 45%;
            position: sticky;
            top: 120px;
            height: max-content;
            padding-bottom: 100px;
        }
        .split-right {
            width: 55%;
            padding-top: 100px;
            padding-bottom: 200px;
        }
        
        .pricing-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 48px;
        }
        .pricing-card h2 { margin-bottom: 16px; }
        .pricing-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
        .pricing-table th { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
        .pricing-table td { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--border); font-size: 1.1rem; white-space: nowrap; }
        .pricing-table tr:last-child td { border-bottom: none; }
        .subsidy-badge { background: var(--green-light); color: var(--green); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 500; }

        .process-list {
            position: relative;
        }
        .process-step {
            position: sticky;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 40px;
            margin-bottom: 40px;
            display: flex; gap: 32px;
            box-shadow: 0 -15px 40px rgba(0,0,0,0.04);
            transition: opacity 0.3s;
        }
        /* Stacking offsets to show previous headings symmetrically */
        .process-step:nth-child(1) { top: 120px; z-index: 1; }
        .process-step:nth-child(2) { top: 210px; z-index: 2; }
        .process-step:nth-child(3) { top: 300px; z-index: 3; }
        .process-step:nth-child(4) { top: 390px; z-index: 4; }
        .process-step:nth-child(5) { top: 480px; z-index: 5; }

        .step-number {
            font-size: 1.2rem; font-weight: 500; color: var(--text-muted);
            width: 48px; height: 48px; border: 1px solid var(--border);
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
            background: var(--bg);
        }
        .step-content h4 { font-size: 1.75rem; margin-bottom: 16px; margin-top: 6px; }
        .step-content p { color: var(--text-muted); line-height: 1.6; }

        /* Testimonials Stack */
        .testi-section {
            padding: 140px 0 200px;
        }
        .testi-header { text-align: center; margin-bottom: 80px; }
        .testi-cards {
            position: relative; max-width: 1000px; margin: 0 auto;
        }
        .testi-card {
            position: sticky;
            top: 150px;
            background: var(--surface);
            color: var(--text);
            border-radius: var(--radius-md);
            padding: 80px;
            display: grid;
            grid-template-columns: 250px 1fr;
            gap: 60px;
            box-shadow: 0 -15px 40px rgba(0,0,0,0.08);
            margin-bottom: 50px;
            border: 1px solid var(--border);
        }
        .testi-card:nth-child(1) { top: 150px; z-index: 1; }
        .testi-card:nth-child(2) { top: 170px; z-index: 2; }
        .testi-card:nth-child(3) { top: 190px; z-index: 3; }
        
        .testi-profile { text-align: center; }
        .testi-profile .placeholder-img {
            width: 140px; height: 140px; border-radius: 50%; background: #E0E0E0; margin: 0 auto 24px;
            background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=300&h=300&fit=crop');
            background-size: cover;
        }
        .testi-profile h5 { font-size: 1.25rem; margin-bottom: 8px; }
        .testi-profile span { font-size: 0.9rem; color: var(--text-muted); }
        .testi-quote { font-size: 2rem; font-weight: 400; line-height: 1.4; color: var(--text); margin-bottom: 32px; }

        /* FAQ Section */
        .faq-section { background: var(--bg); padding-bottom: 180px; }
        .faq-list { border-top: 1px solid var(--border); margin-top: 24px; }
        .faq-item {
            border-bottom: 1px solid var(--border);
            cursor: pointer;
        }
        .faq-header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 32px 0;
            transition: color 0.3s;
        }
        .faq-header h3 { font-size: 1.5rem; font-weight: 500; margin: 0; }
        .faq-item:hover .faq-header h3 { color: var(--green); }
        .faq-icon { display: flex; align-items: center; justify-content: center; }
        
        .faq-inner-wrapper {
            height: 0;
            overflow: hidden;
        }
        .faq-inner { overflow: hidden; }
        .faq-content { padding-bottom: 32px; color: var(--text-muted); padding-right: 40px; line-height: 1.6; }

        /* Brand Marquee Minimal */
        .brands-section {
            padding: 100px 0;
            background: var(--surface);
            border-top: 1px solid var(--border);
            text-align: center;
        }
        .brands-wrap {
            margin-top: 40px;
            overflow: hidden;
            position: relative;
        }
        .brands-wrap::before, .brands-wrap::after {
            content: ""; position: absolute; top: 0; width: 200px; height: 100%; z-index: 2;
        }
        .brands-wrap::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
        .brands-wrap::after { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
        
        .brand-track {
            display: flex; width: max-content;
            animation: marquee 30s linear infinite;
        }
        .brand-logo {
            padding: 0 50px;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-muted);
            opacity: 0.5;
            transition: opacity 0.3s, color 0.3s;
        }
        .brand-logo:hover {
            opacity: 1; color: var(--text);
        }
        .brand-logo:hover img {
            filter: grayscale(0%) opacity(1) !important;
            transform: scale(1.05);
        }

        /* Footer */
        .footer {
            background: var(--text); color: var(--bg);
            padding: 100px 0 0;
            overflow: hidden;
        }
        .footer-inner {
            display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 60px; margin-bottom: 40px;
        }
        .footer-logo { font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 24px; }
        .footer-logo span { color: var(--green-bright); }
        .footer-col h5 { color: rgba(255,255,255,0.4); margin-bottom: 24px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
        .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
        .footer-col a { color: var(--bg); transition: opacity 0.2s; opacity: 0.8; }
        .footer-col a:hover { opacity: 1; }

        /* Huge Footer Typography */
        .footer-huge-text {
            width: 100%;
            text-align: center;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 40px;
            margin-top: 20px;
            padding-bottom: 10px; /* added to prevent clipping */
        }
        .footer-huge-text h1 {
            font-size: clamp(3rem, 12vw, 20rem);
            font-weight: 900;
            line-height: 1; /* Fixed clipping issue */
            letter-spacing: -0.05em;
            color: rgba(255,255,255,0.05);
            white-space: nowrap;
            margin: 0;
        }

        @media (max-width: 1024px) {
            .desktop-only { display: none !important; }
            .mobile-menu-toggle { display: block; }
            
            .section { padding: 80px 0; }
            
            /* Navbar over dark hero image */
            .navbar:not(.scrolled) .logo, .navbar:not(.scrolled) .logo span { color: #ffffff !important; }
            .navbar:not(.scrolled) .mobile-menu-toggle { color: #ffffff !important; }
            
            /* Typography Scale down */
            .text-display { font-size: clamp(2.5rem, 10vw, 4rem); }
            .text-h2 { font-size: clamp(2rem, 8vw, 3rem); }
            
            /* Hero */
            .hero { padding: 0; height: 100svh; min-height: 100svh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
            .hero-inner { grid-template-columns: 1fr; text-align: center; margin-top: 0; padding: 0 5vw; width: 100%; position: static; }
            
            .hero-content, .hero-actions { position: relative; z-index: 2; }
            .hero-content h1, .hero-content p, .hero-content .text-label { color: #ffffff !important; text-shadow: 0 4px 20px rgba(0,0,0,0.8); }
            .hero-content .text-label { margin-bottom: 16px; font-size: 0.8rem; }
            .hero-content h1 { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.1; margin-bottom: 16px; }
            .hero-content p { font-size: 1rem; line-height: 1.5; margin: 0 auto 24px; max-width: 100%; color: rgba(255,255,255,0.9) !important; }
            
            .hero-actions { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 16px; margin-top: 32px; }
            .hero-actions .btn { width: auto; min-width: 250px; justify-content: center; font-size: 1.05rem; padding: 14px 24px; }
            .hero-actions .btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #ffffff; }
            .hero-actions .btn-outline:hover { background: #ffffff; color: var(--text); }
            
            .hero-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; z-index: 1; }
            .hero-media img { width: 100%; height: 100%; object-fit: cover; }
            .hero-media::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85)); }
            
            /* Split Section */
            .split-inner { flex-direction: column; }
            .split-left, .split-right { width: 100%; }
            .split-left { position: static; padding-bottom: 40px; }
            .split-right { padding-top: 0; }
            
            /* FAQ mobile layout (Move button to bottom) */
            .faq-section .split-left, .faq-section .split-right { display: contents; }
            .faq-section .btn { order: 4; margin: 40px auto 0; }
            .faq-section .faq-list { order: 3; width: 100%; margin-top: 0; }
            .faq-section .text-label { order: 1; text-align: center; width: 100%; margin-bottom: 12px !important; }
            .faq-section .text-h2 { order: 2; text-align: center; width: 100%; margin-bottom: 24px !important; }
            
            /* Adjust inner elements for horizontal scroll on mobile */
            .solutions-wrapper { position: relative; }
            .desktop-only-hide { display: flex !important; }
            
            .h-scroll-container {
                width: 100%;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                display: flex;
                flex-direction: row;
                scroll-behavior: smooth;
                -webkit-overflow-scrolling: touch;
                height: auto;
            }
            .h-scroll-container::-webkit-scrollbar { display: none; }
            
            .h-panel { 
                min-width: 100vw; 
                width: 100vw; 
                scroll-snap-align: center;
                padding: 140px 5vw 80px; /* Space at top for title, bottom for dots */
                align-items: flex-start; 
                justify-content: flex-start; 
                height: auto;
            }
            .h-panel-inner { grid-template-columns: 1fr; gap: 24px; text-align: left; }
            .h-panel-text h2 { font-size: 2.5rem; margin-bottom: 12px; }
            .h-panel-text p { font-size: 1.1rem; margin-bottom: 24px; }
            .h-panel-media { height: auto; aspect-ratio: 4/3; }
            .h-fixed-header { left: 5vw; top: 80px; position: absolute; z-index: 10; }
            #h-scroll-title { font-size: 1rem; }
            
            /* Carousel Dots */
            .carousel-dots {
                justify-content: center;
                gap: 8px;
                padding: 16px 0 24px;
                position: absolute;
                bottom: 0;
                width: 100%;
                z-index: 20;
            }
            .carousel-dot {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                background: rgba(128,128,128,0.3);
                transition: all 0.3s ease;
            }
            .carousel-dot.active {
                background: #4D6B4A;
                width: 24px;
                border-radius: 4px;
            }
            
            /* Testimonials mobile stacking */
            .testi-card { position: sticky; grid-template-columns: 1fr; text-align: center; padding: 32px 24px; margin-bottom: 24px; border-radius: var(--radius-sm); }
            .testi-card:nth-child(1) { top: 100px; }
            .testi-card:nth-child(2) { top: 116px; }
            .testi-card:nth-child(3) { top: 132px; }
            .testi-quote { font-size: 1.25rem; margin-bottom: 24px; }
            .testi-profile .placeholder-img { width: 80px; height: 80px; margin-bottom: 16px; }
            .testi-profile h5 { font-size: 1rem; }
            .testi-profile span { font-size: 0.8rem; }
            
            /* Process steps remain unsticky due to staggered tall offsets */
            .process-step { position: static; margin-bottom: 24px; }
            
            /* Footer */
            .footer { padding-top: 60px; }
            .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 16px; text-align: left; margin-bottom: 24px; padding-bottom: 32px; }
            .footer-inner > div:first-child { grid-column: span 2; }
            .footer-logo { font-size: 1.5rem; margin-bottom: 16px; }
            .footer-col h5 { margin-bottom: 16px; }
            .footer-col ul { align-items: flex-start; }
            .footer-huge-text h1 { font-size: 14vw; white-space: normal; line-height: 0.9; }
        }

        /* --- Solar Savings Estimator --- */
        
        /* Floating Action Button */
        .estimator-fab {
            position: fixed;
            bottom: 32px;
            right: 32px;
            background: #4D6B4A; /* Requested muted green */
            color: #FFF;
            padding: 16px 24px;
            border-radius: var(--radius-pill);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1rem;
            font-weight: 500;
            z-index: 999;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .estimator-fab:hover {
            transform: translateY(-2px);
            background: var(--text);
        }
        
        /* Backdrop Overlay */
        .estimator-backdrop {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }
        .estimator-backdrop.active {
            opacity: 1;
            pointer-events: auto;
        }

        /* Panel Container (Desktop Side Panel) */
        .estimator-panel {
            position: fixed;
            top: 0;
            right: 0;
            width: 480px;
            max-width: 100vw;
            height: 100vh;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 1001;
            box-shadow: -10px 0 40px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            border-left: 1px solid rgba(255,255,255,0.4);
        }
        .estimator-panel.active {
            transform: translateX(0);
        }

        /* Header */
        .estimator-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 32px;
            border-bottom: 1px solid var(--border);
        }
        .estimator-header h4 {
            font-size: 1.5rem;
            color: var(--text);
            font-weight: 600;
        }
        .estimator-close {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 50%;
            width: 40px; height: 40px;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-muted);
            transition: all 0.2s;
        }
        .estimator-close:hover {
            background: var(--border);
            color: var(--text);
        }

        /* Body & Layout */
        .estimator-body {
            padding: 32px;
            overflow-y: auto;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 32px;
        }

        /* Inputs */
        .estimator-input-group label {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: var(--text);
        }
        .input-with-icon {
            position: relative;
            margin-bottom: 24px;
        }
        .input-with-icon span {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            color: var(--text-muted);
            font-weight: 500;
        }
        .input-with-icon input {
            width: 100%;
            background: var(--bg);
            border: 1px solid var(--border);
            padding: 20px 20px 20px 48px;
            border-radius: var(--radius-sm);
            font-size: 1.5rem;
            font-weight: 600;
            font-family: inherit;
            color: var(--text);
            transition: border-color 0.2s;
        }
        .input-with-icon input:focus {
            outline: none;
            border-color: #4D6B4A;
        }

        /* Custom Slider Style (Apple/Tesla vibe) */
        input[type=range] {
            -webkit-appearance: none;
            width: 100%;
            background: transparent;
        }
        input[type=range]::-webkit-slider-thumb {
            -webkit-appearance: none;
            height: 28px;
            width: 28px;
            border-radius: 50%;
            background: #4D6B4A;
            cursor: pointer;
            margin-top: -12px;
            box-shadow: 0 4px 12px rgba(77, 107, 74, 0.4);
            border: 3px solid #FFF;
        }
        input[type=range]::-webkit-slider-runnable-track {
            width: 100%;
            height: 6px;
            cursor: pointer;
            background: var(--border);
            border-radius: 4px;
        }
        /* Style dynamically via JS for progress fill */

        /* Results Display */
        .estimator-results {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .result-card {
            background: var(--bg);
            border: 1px solid var(--border);
            padding: 24px;
            border-radius: var(--radius-sm);
            display: flex;
            flex-direction: column;
            gap: 8px;
            transition: transform 0.2s;
        }
        .result-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.03);
        }
        .result-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
        }
        .result-value {
            font-size: 2rem;
            font-weight: 600;
            color: var(--text);
            display: flex;
            align-items:baseline;
            gap: 4px;
            font-variant-numeric: tabular-nums;
        }
        .result-value.small {
            font-size: 1.5rem;
        }
        
        .primary-result {
            background: #F0F5F2; /* Hint of green */
            border-color: rgba(77, 107, 74, 0.2);
        }
        .primary-result .result-value { color: #4D6B4A; }

        .result-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .subsidy-card .result-value { color: #32734C; } /* Highlight savings in green */

        .lifetime-savings-card {
            padding: 32px;
            border-radius: var(--radius-md);
            text-align: center;
            margin-top: 8px;
            background-image: 
                radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 70%),
                url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
            background-color: #4D6B4A;
        }
        .lifetime-savings-card .result-value.huge {
            font-size: 2.75rem;
            justify-content: center;
        }

        /* Mobile Bottom Sheet Layout */
        @media (max-width: 768px) {
            .estimator-fab {
                bottom: 24px;
                right: 24px;
                padding: 14px 20px;
            }
            .estimator-panel {
                top: auto;
                bottom: 0;
                width: 100%;
                height: 85vh; /* Native bottom sheet feel */
                border-radius: 24px 24px 0 0;
                transform: translateY(100%);
            }
            .estimator-panel.active {
                transform: translateY(0);
            }
            .estimator-header {
                padding: 24px;
            }
            .estimator-body {
                padding: 24px;
                padding-bottom: 40px; /* Extra room for iOS home bar */
            }
            .result-grid {
                grid-template-columns: 1fr;
            }
        }