


:root {
    --bg-dark: #f8fafc; 
    --bg-midnight: #f1f5f9; 
    --bg-deep-slate: #cbd5e1; 
    --color-amber: #d97706; 
    --color-amber-rgb: 217, 119, 6;
    --color-orange: #ea580c; 
    --color-eco-green: #059669; 
    --color-text-primary: #0f172a; 
    --color-text-secondary: #475569; 
    --color-glass-border: rgba(255, 255, 255, 0.65);
    --color-glass-bg: rgba(255, 255, 255, 0.72);
    --font-primary: 'Outfit', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-snappy: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}


::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(217, 119, 6, 0.2);
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(217, 119, 6, 0.4);
}


.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, rgba(239, 68, 68, 0.02) 60%, transparent 100%);
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}

.sun-orb {
    position: fixed;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, rgba(239, 68, 68, 0.03) 45%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
    transition: var(--transition-smooth);
    will-change: transform;
}


.perspective-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
    display: flex;
    flex-direction: column;
}


.header {
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sun-logo {
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.3));
    animation: pulseSun 4s infinite alternate ease-in-out;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--color-text-primary) 30%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-amber);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-amber);
    animation: pulseDot 2s infinite;
}


.scroll-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 8rem 5% 4rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.hero-section {
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 0;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    margin-bottom: auto;
}

.glitch-title {
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 0.6rem;
    position: relative;
    background: linear-gradient(135deg, #0f172a 30%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: clamp(0.9rem, 2.2vw, 1.3rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 1.5rem;
    text-indent: 0.35em;
}

.coming-soon-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-text-secondary);
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.45rem 1.4rem;
    border-radius: 100px;
    margin-bottom: 2.5rem;
    text-indent: 0.4em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}


.scene-3d {
    width: 100%;
    height: 250px;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    z-index: 5;
}


.solar-panel-3d {
    width: 280px;
    height: 170px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(60deg) rotateY(0deg) rotateZ(-25deg);
    transition: transform 0.1s ease-out;
    cursor: grab;
    will-change: transform;
}

.solar-panel-3d:active {
    cursor: grabbing;
}

.panel-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #cbd5e1;
    border: 3px solid #cbd5e1;
}

.panel-front {
    transform: translateZ(6px);
    background: #e2e8f0;
    border: 4px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}


.grid-cells {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 3px;
    padding: 4px;
    background: #cbd5e1;
}

.cell {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d1e3d 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1px;
    position: relative;
}

.cell::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
}

.glass-glare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transform: rotate(35deg);
    pointer-events: none;
    animation: reflection 8s infinite ease-in-out;
}


.panel-back {
    transform: rotateY(180deg) translateZ(6px);
    background: #cbd5e1;
    border-color: #cbd5e1;
}

.panel-left {
    width: 12px;
    left: -6px;
    transform: rotateY(-90deg);
    background: #94a3b8;
    border-color: #cbd5e1;
}

.panel-right {
    width: 12px;
    right: -6px;
    transform: rotateY(90deg);
    background: #94a3b8;
    border-color: #cbd5e1;
}

.panel-top {
    height: 12px;
    top: -6px;
    transform: rotateX(90deg);
    background: #94a3b8;
    border-color: #cbd5e1;
}

.panel-bottom {
    height: 12px;
    bottom: -6px;
    transform: rotateX(-90deg);
    background: #cbd5e1;
    border-color: #94a3b8;
}


.mount-arm {
    position: absolute;
    width: 16px;
    height: 80px;
    background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(-60deg) translateZ(-40px);
    border: 2px solid #94a3b8;
    transform-style: preserve-3d;
}




.mountain-parallax-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.mountain-layer {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 101%;
    height: 100%;
    will-change: transform;
    transform-origin: bottom center;
}

.layer-back {
    z-index: 1;
    height: 100%;
    opacity: 0.7;
    color: hsl(214, 25%, 88%);
}

.layer-middle {
    z-index: 2;
    height: 85%;
    opacity: 0.85;
    color: hsl(214, 20%, 80%);
}

.layer-front {
    z-index: 3;
    height: 70%;
    color: hsl(214, 15%, 72%);
}


.scroll-prompt {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.scroll-prompt.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(15, 23, 42, 0.25);
    border-radius: 100px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-amber);
    border-radius: 100px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(15, 23, 42, 0.4);
}


.calculator-section {
    background: linear-gradient(to bottom, var(--bg-dark) 0%, #f1f5f9 100%);
    gap: 4rem;
    z-index: 5;
    justify-content: flex-start;
    padding-top: 8rem;
}


.glassmorphic-panel {
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    width: 100%;
    max-width: 750px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.04), 
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.glassmorphic-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(215deg, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.glassmorphic-panel:hover {
    border-color: rgba(217, 119, 6, 0.25);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.07), 
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}


.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .calculator-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: center;
    }
}

.input-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    margin-bottom: 0.8rem;
}

.value-highlight {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-amber);
    text-shadow: 0 0 10px rgba(217, 119, 6, 0.1);
}


.neon-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    outline: none;
    border: none;
}

.neon-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 10px;
}

.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-amber);
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
    cursor: pointer;
    margin-top: -8px;
    transition: transform 0.1s ease, background-color 0.2s;
}

.neon-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--color-orange);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    margin-top: 0.8rem;
    font-weight: 600;
}


.metrics-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.02);
    padding: 2rem;
    border-radius: 16px;
}

.metric-box {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.1;
    font-feature-settings: "tnum";
}

#savings-val {
    color: var(--color-eco-green);
    text-shadow: 0 0 8px rgba(5, 150, 105, 0.1);
}

.metric-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}


.connect-card {
    text-align: center;
}

.lead-form {
    width: 100%;
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 6px;
    border-radius: 16px;
    transition: var(--transition-snappy);
}

@media (min-width: 550px) {
    .form-group {
        flex-direction: row;
        border-radius: 50px;
        padding-left: 1.5rem;
    }
}

.form-group:focus-within {
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.05);
    background: rgba(255, 255, 255, 0.8);
}

.glass-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 0.8rem 0;
    width: 100%;
    font-weight: 500;
}

.glass-input::placeholder {
    color: rgba(15, 23, 42, 0.35);
}

.submit-btn {
    background: linear-gradient(135deg, var(--color-amber) 0%, var(--color-orange) 100%);
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border: none;
    outline: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-snappy);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.25);
}

@media (min-width: 550px) {
    .submit-btn {
        border-radius: 50px;
    }
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 119, 6, 0.38);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-feedback {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-snappy);
}

.form-feedback.success {
    color: var(--color-eco-green);
}

.form-feedback.error {
    color: var(--color-orange);
}


.footer {
    width: 100%;
    padding: 3rem 5%;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    margin-top: auto;
    position: relative;
    z-index: 5;
    background: #f1f5f9;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.social-links {
    display: flex;
    align-items: center;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-primary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-snappy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.instagram-link:hover {
    color: var(--color-amber);
    border-color: rgba(217, 119, 6, 0.3);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
    transform: translateY(-2px);
}

.instagram-icon {
    width: 18px;
    height: 18px;
}

.social-tag {
    letter-spacing: 0.01em;
}



@media (max-width: 900px) {
    section {
        padding: 7rem 4% 3rem 4%;
    }
}

@media (max-width: 600px) {
    
    section {
        padding: 6rem 1.2rem 3rem 1.2rem;
        min-height: 100dvh;
        min-height: 100vh; 
    }
    
    .hero-section {
        padding-bottom: 0;
        min-height: 100dvh;
        min-height: 100vh; 
    }

    .hero-content {
        margin-top: auto;
        margin-bottom: auto;
    }
    
    .calculator-section {
        padding-top: 5rem;
        gap: 2.5rem;
    }

    .header {
        padding: 1.5rem 1.2rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .location-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.65rem;
    }

    
    .scene-3d {
        height: 220px;
        margin-bottom: 1.8rem;
    }

    .solar-panel-3d {
        width: 220px;
        height: 135px;
        transform: rotateX(55deg) rotateY(0deg) rotateZ(-20deg);
    }
    
    .panel-front {
        transform: translateZ(5px);
        border-width: 3px;
    }
    
    .grid-cells {
        gap: 2px;
        padding: 3px;
    }

    .panel-left, .panel-right {
        width: 10px;
        left: -5px;
        right: -5px;
    }
    
    .panel-top, .panel-bottom {
        height: 10px;
        top: -5px;
        bottom: -5px;
    }
    
    .mount-arm {
        width: 14px;
        height: 65px;
        transform: translate(-50%, -50%) rotateX(-60deg) translateZ(-30px);
    }



    
    .mountain-parallax-container {
        height: 150px;
    }
    
    
    .glassmorphic-panel {
        padding: 1.8rem 1.2rem;
        border-radius: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.8rem;
    }

    .metrics-panel {
        padding: 1.25rem;
        gap: 1.25rem;
    }
    
    .metric-val {
        font-size: 1.5rem;
    }
    
    .metric-lbl {
        font-size: 0.65rem;
    }

    
    .scroll-prompt {
        bottom: 15px;
    }
    
    .mouse-icon {
        width: 18px;
        height: 28px;
    }
    
    .mouse-wheel {
        width: 3px;
        height: 6px;
        top: 4px;
    }
}


@media (max-width: 350px) {
    .glitch-title {
        font-size: 2.4rem;
    }
    

}


@keyframes pulseSun {
    0% {
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.3));
    }
    100% {
        transform: rotate(10deg) scale(1.04);
        filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.45));
    }
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(217, 119, 6, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

@keyframes reflection {
    0% {
        left: -150%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
        transform: translate(-50%, 0);
    }
    50% {
        top: 18px;
        opacity: 0.2;
        transform: translate(-50%, 0);
    }
    100% {
        top: 6px;
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

