/* ==========================================================================
   VOLTWISE CINEMATIC COMMUNITY ENERGY PROGRAM STYLES
   ========================================================================== */

:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --color-bg: #0B0F19;
    --color-text-main: #F8FAFC;
    --color-text-sub: #CBD5E1;
    
    /* Scene Color Themes */
    --scene1-bg1: #1E1610;
    --scene2-bg1: #2B1214;
    --scene3-bg1: #1B1528;
    --scene4-bg1: #07090F;
    --scene5-bg1: #0A0D14;
    --scene6-bg1: #062319;
    --scene7-bg1: #04291D;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basic Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 1s ease;
}

/* Dynamic Body Mood State Backgrounds */
body.mood-scene-1 { background-color: var(--scene1-bg1); }
body.mood-scene-2 { background-color: var(--scene2-bg1); }
body.mood-scene-3 { background-color: var(--scene3-bg1); }
body.mood-scene-4 { background-color: var(--scene4-bg1); }
body.mood-scene-5 { background-color: var(--scene5-bg1); }
body.mood-scene-6 { background-color: var(--scene6-bg1); }
body.mood-scene-7 { background-color: var(--scene7-bg1); }

/* Utility Classes */
.hidden { display: none !important; }
.accent-text { color: #10B981; }

/* ULTRA-BRIGHT SOLID CRISP ELECTRIC BILL TEXT (NO GLOW BLUR) */
.glowing-electric-bill {
    color: #34D399 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #34D399 !important;
    filter: none !important;
    animation: none !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.95), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 900 !important;
    display: inline-block;
}

.pulse-glow {
    animation: pulse-glow-anim 2.5s infinite;
}
@keyframes pulse-glow-anim {
    0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.2); }
    50% { box-shadow: 0 0 35px rgba(16, 185, 129, 0.9), 0 0 50px rgba(16, 185, 129, 0.4); }
}

/* Glassmorphism Panel Component */
.glass-panel {
    background: rgba(13, 17, 26, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 15, 25, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Hidden Navbar state during storytelling */
.navbar.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Reveal navbar if user hovers near top */
.navbar.navbar-hidden:hover,
body.show-nav-override .navbar {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #FFF;
}

.logo-spark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #34D399, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--color-text-sub);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* FLASHY AGENT NAV BADGE */
.agent-nav-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.4);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    transition: var(--transition-smooth);
}

.agent-nav-badge:hover {
    border-color: #34D399;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.agent-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #047857);
    border: 2px solid #34D399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.5);
}

.agent-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.agent-label {
    font-size: 0.65rem;
    color: #34D399;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agent-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 0.5px;
}

.agent-phone {
    font-size: 0.85rem;
    font-weight: 800;
    color: #F59E0B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agent-phone:hover {
    color: #34D399;
}

/* Scroll Tracker */
.scroll-tracker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.scene-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #34D399;
}

.progress-bar-bg {
    width: 140px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 14%;
    height: 100%;
    background: linear-gradient(90deg, #10B981, #F59E0B);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sound-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFF;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.sound-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.nav-btn {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.primary-btn {
    color: #04291D;
    background: linear-gradient(135deg, #34D399, #10B981);
}

/* Floating Chapter Navigation Dots */
.chapter-dots-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.5s ease;
}

.dot-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid rgba(52, 211, 153, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #FFF;
    font-size: 0.85rem;
    font-weight: 800;
    position: relative;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.dot-item:hover, .dot-item.active {
    background: linear-gradient(135deg, #34D399, #10B981);
    color: #04291D;
    border-color: #34D399;
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.9);
}

.dot-tooltip {
    position: absolute;
    right: 50px;
    background: rgba(11, 15, 25, 0.95);
    color: #FFF;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dot-item:hover .dot-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   FLASHY HERO SECTION & VIBRANT ATMOSPHERIC BACKGROUND
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: 
        radial-gradient(circle at 50% 25%, rgba(16, 185, 129, 0.25) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(52, 211, 153, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #0B0F19 0%, #061812 50%, #0B0F19 100%);
    overflow: hidden;
}

/* Dynamic Energy Grid Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(52, 211, 153, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 40%, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 40%, transparent 85%);
    pointer-events: none;
}

.hero-bg-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.3) 0%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    animation: hero-glow-pulse 6s infinite alternate;
    pointer-events: none;
}

@keyframes hero-glow-pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0.95; }
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    z-index: 2;
}

/* FLASHY STATE PROGRAM BADGE */
.program-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #D97706 100%);
    color: #04291D;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6), 0 0 50px rgba(245, 158, 11, 0.2);
    border: 1px solid #FFE600;
    animation: badge-bounce 3s infinite ease-in-out;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.star-icon { font-size: 1rem; color: #04291D; }
.badge-title { font-weight: 900; letter-spacing: 2px; }

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

/* ULTRA-FLASHY SAVINGS CONTAINER */
.savings-highlight-box {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 2px solid #34D399;
    border-radius: 24px;
    padding: 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 
        0 0 40px rgba(52, 211, 153, 0.45),
        0 20px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(52, 211, 153, 0.25);
    animation: container-glow-pulse 4s infinite alternate;
}

@keyframes container-glow-pulse {
    0% { border-color: #34D399; box-shadow: 0 0 30px rgba(52, 211, 153, 0.45), inset 0 0 20px rgba(52, 211, 153, 0.25); }
    100% { border-color: #F59E0B; box-shadow: 0 0 55px rgba(245, 158, 11, 0.65), inset 0 0 35px rgba(245, 158, 11, 0.35); }
}

.savings-percent-tag {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    color: #34D399;
    letter-spacing: -0.5px;
    text-shadow: 0 0 25px rgba(52, 211, 153, 0.9), 0 4px 10px rgba(0, 0, 0, 0.8);
}

.savings-sub-tag {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FBBF24;
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-sub);
    max-width: 780px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.hero-btn {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.primary-hero-btn {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    color: #04291D;
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5), 0 0 15px rgba(52, 211, 153, 0.4);
}

.primary-hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.7), 0 0 25px rgba(52, 211, 153, 0.6);
}

.glass-hero-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.glass-hero-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    border-color: #34D399;
}

/* FLASHY AGENT HERO CARD */
.agent-hero-card {
    background: rgba(11, 15, 25, 0.75);
    border: 1px solid rgba(52, 211, 153, 0.5);
    padding: 0.85rem 2rem;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.2);
}

.agent-card-role {
    font-size: 0.7rem;
    font-weight: 800;
    color: #34D399;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.agent-card-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 0.5px;
}

.agent-card-phone {
    font-size: 1rem;
    font-weight: 800;
    color: #FBBF24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.agent-card-phone:hover {
    color: #34D399;
}

.hero-features-strip {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: #FFF;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.scroll-down-hint {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-sub);
    font-size: 0.85rem;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 15px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: #34D399;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* ==========================================================================
   FULLSCREEN SCROLL STORYTELLING WITH REVEAL ANIMATION & TRANSPARENT TEXT
   ========================================================================== */
.story-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fullscreen-scene {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1.5rem 2rem;
}

/* Background Artwork Hero Backdrop */
.fullscreen-visual-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* High-Impact Image Reveal Animation */
.fullscreen-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.18);
    filter: brightness(0.65) blur(4px);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), filter 1.6s ease;
    will-change: transform, filter;
}

/* Active State Reveal Triggered by Scroll Observer */
.fullscreen-scene.active-reveal .fullscreen-artwork {
    transform: scale(1);
    filter: brightness(0.95) blur(0px);
}

.fullscreen-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7, 10, 16, 0.95) 0%,
        rgba(7, 10, 16, 0.45) 45%,
        rgba(7, 10, 16, 0.1) 75%,
        rgba(7, 10, 16, 0.35) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Visual Glow Halos */
.visual-glow-halo {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.35;
    pointer-events: none;
}
.halo-scene-1 { background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.4), transparent 70%); }
.halo-scene-2 { background: radial-gradient(circle at 50% 40%, rgba(239, 68, 68, 0.5), transparent 70%); }
.halo-scene-3 { background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.4), transparent 70%); }
.halo-scene-4 { background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.35), transparent 70%); }
.halo-scene-5 { background: radial-gradient(circle at 50% 40%, rgba(100, 116, 139, 0.4), transparent 70%); }
.halo-scene-6 { background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.45), transparent 70%); }
.halo-scene-7 { background: radial-gradient(circle at 50% 40%, rgba(52, 211, 153, 0.5), transparent 70%); }

/* Dynamic Fullscreen Overlays */
.fullscreen-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

/* BOTTOM OVERLAY TEXT CONTAINER (TRANSPARENT FLOATING BADGE) */
.bottom-story-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.fullscreen-scene.active-reveal .bottom-story-overlay {
    opacity: 1;
    transform: translateY(0);
}

.transparent-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8);
}

.card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.6rem;
}

.chapter-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chapter-number {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #FFF;
}

.mood-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.mood-1 { background: rgba(245, 158, 11, 0.35); color: #FDE68A; border: 1px solid #F59E0B; }
.mood-2 { background: rgba(239, 68, 68, 0.35); color: #FECDD3; border: 1px solid #EF4444; }
.mood-3 { background: rgba(139, 92, 246, 0.35); color: #DDD6FE; border: 1px solid #8B5CF6; }
.mood-4 { background: rgba(56, 189, 248, 0.35); color: #BAE6FD; border: 1px solid #38BDF8; }
.mood-5 { background: rgba(100, 116, 139, 0.35); color: #E2E8F0; border: 1px solid #64748B; }
.mood-6 { background: rgba(16, 185, 129, 0.35); color: #A7F3D0; border: 1px solid #10B981; }
.mood-7 { background: rgba(52, 211, 153, 0.35); color: #D1FAE5; border: 1px solid #34D399; }

.bill-status-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    backdrop-filter: blur(12px);
}

.pill-label { color: #CBD5E1; }
.pill-amount { font-family: var(--font-heading); font-size: 1.15rem; }

.bill-state-1 .pill-amount { color: #FBBF24; }
.bill-state-2 .pill-amount { color: #EF4444; animation: pulse 1s infinite; }
.bill-state-3 .pill-amount { color: #C084FC; }
.bill-state-4 .pill-amount { color: #38BDF8; }
.bill-state-5 .pill-amount { color: #FB7185; }
.bill-state-6 .pill-amount { color: #34D399; }
.bill-state-7 .pill-amount { color: #4ADE80; }

.card-body-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.title-wrap {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.scene-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.1;
    color: #FFF;
}

.scene-subtitle {
    font-size: 1.15rem;
    color: #34D399;
    font-weight: 700;
}

.scene-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #F1F5F9;
    max-width: 900px;
}

/* Navigation step buttons inside text card */
.scene-nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.chapter-indicator-pill {
    font-size: 0.85rem;
    font-weight: 700;
    color: #CBD5E1;
    letter-spacing: 1px;
}

.scene-step-btn {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.prev-btn { background: rgba(255, 255, 255, 0.12); color: #FFF; border: 1px solid rgba(255, 255, 255, 0.2); }
.prev-btn:hover { background: rgba(255, 255, 255, 0.25); }
.next-btn { background: rgba(255, 255, 255, 0.2); color: #FFF; border: 1px solid rgba(255, 255, 255, 0.3); }
.next-btn:hover { background: #10B981; color: #04291D; }
.cta-btn { background: linear-gradient(135deg, #34D399, #10B981); color: #04291D; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5); }

/* Before and After Comparison Section */
.comparison-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #34D399;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--color-text-sub);
}

.comparison-container {
    padding: 1rem;
}

.image-comparison-slider {
    position: relative;
    width: 100%;
    height: 540px;
    border-radius: 20px;
    overflow: hidden;
    user-select: none;
}

.img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-img-wrapper { z-index: 1; }
.after-img-wrapper {
    z-index: 2;
    width: 50%;
    overflow: hidden;
    border-right: 3px solid #34D399;
}

.label-badge {
    position: absolute;
    bottom: 2rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.before-label { right: 2rem; background: rgba(239, 68, 68, 0.85); color: #FFF; }
.after-label { left: 2rem; background: rgba(16, 185, 129, 0.85); color: #04291D; }

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
}

.handle-line {
    width: 3px;
    flex: 1;
    background: #34D399;
    box-shadow: 0 0 10px #34D399;
}

.handle-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #34D399;
    color: #04291D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.8);
}

/* Scene 6 Offerings Card Grid */
.scene-offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.offering-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-shadow: none;
}

.offering-card:hover {
    transform: translateY(-4px);
    border-color: #34D399;
    box-shadow: 0 10px 25px rgba(52, 211, 153, 0.25);
    background: rgba(16, 185, 129, 0.18);
}

.offering-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.offering-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.offering-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.offering-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.offering-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(52, 211, 153, 0.25);
    color: #A7F3D0;
    border: 1px solid rgba(52, 211, 153, 0.5);
    width: fit-content;
}

.offering-desc {
    font-size: 0.82rem;
    color: #E2E8F0;
    line-height: 1.35;
    margin: 0;
}

/* Solutions Section */
.solutions-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.solution-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: #34D399;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.sol-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sol-badge {
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.4);
    letter-spacing: 0.5px;
}

.sol-icon {
    font-size: 2.5rem;
}

.sol-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.sol-desc {
    font-size: 0.9rem;
    color: var(--color-text-sub);
    flex-grow: 1;
}

/* Audit / Quote Section Form */
.audit-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.audit-card {
    padding: 4rem;
}

.audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.audit-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inline-badge {
    align-self: flex-start;
}

.audit-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
}

.audit-desc {
    font-size: 1.1rem;
    color: var(--color-text-sub);
}

.agent-contact-box {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #F59E0B;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.box-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F59E0B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.box-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: #FFF;
}

.box-phone {
    font-size: 1rem;
    font-weight: 800;
    color: #34D399;
    text-decoration: none;
}

.audit-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-weight: 700;
    color: #34D399;
}

.audit-form-container {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.form-sub-text {
    font-size: 0.85rem;
    color: var(--color-text-sub);
    margin-top: -0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-sub);
}

.form-group input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.8rem 1.25rem;
    border-radius: 12px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: #34D399;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}

.submit-audit-btn {
    background: linear-gradient(135deg, #34D399, #10B981);
    color: #04291D;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: var(--transition-smooth);
}

.submit-audit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

.submit-audit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(4, 41, 29, 0.3);
    border-top-color: #04291D;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.sending-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #34D399;
    margin-top: -0.25rem;
}

.sending-msg .spinner {
    border-color: rgba(52, 211, 153, 0.3);
    border-top-color: #34D399;
}

.audit-success-msg {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.success-icon { font-size: 3.5rem; }
.audit-code-box {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10B981;
    color: #34D399;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: #07090E;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.footer-tagline {
    color: var(--color-text-sub);
    font-size: 0.9rem;
}

.footer-agent-info {
    font-size: 0.85rem;
    color: #34D399;
    line-height: 1.5;
}

.footer-agent-info a {
    color: #FBBF24;
    text-decoration: none;
    font-weight: 800;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-group h5 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    color: var(--color-text-sub);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #34D399;
}

.footer-bottom {
    max-width: 1280px;
    margin: 2rem auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-sub);
}

/* Cancel Anytime Sticker */
.cancel-sticker {
    position: absolute;
    top: -16px;
    right: 22px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    color: #04291D;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55), 0 0 10px rgba(52, 211, 153, 0.45);
    cursor: default;
    animation: sticker-pulse 3s infinite alternate;
    white-space: nowrap;
}

.cancel-sticker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #04291D;
    color: #34D399;
    font-size: 0.62rem;
    font-weight: 900;
}

@keyframes sticker-pulse {
    0% { box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55), 0 0 10px rgba(52, 211, 153, 0.45); }
    100% { box-shadow: 0 6px 22px rgba(16, 185, 129, 0.75), 0 0 22px rgba(52, 211, 153, 0.7); }
}

@media (max-width: 640px) {
    .cancel-sticker {
        position: relative;
        top: auto;
        right: auto;
        align-self: center;
        margin-bottom: 0.4rem;
        font-size: 0.72rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .agent-nav-badge { display: none; }
}

@media (max-width: 1024px) {
    .audit-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scene-offerings-grid {
        grid-template-columns: 1fr;
    }

    .hero-title { font-size: 2.8rem; }
    .savings-percent-tag { font-size: 1.75rem; }
    .scene-title { font-size: 1.8rem; }
    .chapter-dots-nav { display: none; }
    .transparent-card { padding: 0.75rem 1rem; }
    .hero-features-strip { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.2rem; }
    .solutions-grid { grid-template-columns: 1fr; }
    .audit-card { padding: 1.5rem; }
    .image-comparison-slider { height: 320px; }
    .card-header-bar { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .scene-title { font-size: 1.5rem; }
    .fullscreen-scene { padding: 0 0.5rem 1rem; }
    .savings-percent-tag { font-size: 1.4rem; }
    .savings-highlight-box { padding: 1.25rem 1rem; }
}
