/* ═══════════════════════════════════════════════════════════════════════════════
   PAYLESSWATTS ENERGY CORE STYLES v3.2 - ENHANCED SYSTEM
   Date: 2025-01-27 (Enhanced with ultra-premium Step 1 interface)
   Purpose: Core styling for energy pages with Tesla/Sony-level design standards
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Import Ultra Premium Step 1 Styles */
@import url('/pages/includes/css/premium-step1.css');

/* CSS Variables for Theme System */
:root {
    /* PaylessWatts Default Theme Variables */
    --primary: #2563EB;
    --secondary: #059669;
    --accent: #DC2626;
    --background: #FFFFFF;
    --surface: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --solar-gold: #FCD34D;
    --energy-blue: #3B82F6;
    
    /* Mobile-optimized variables */
    --mobile-vh: 100vh;
    --keyboard-safe-area: 0px;
    --touch-target-size: 44px;
    --swipe-threshold: 100px;
    
    /* Layout Variables */
    --container-max-width: 1400px;
    --section-padding: 5rem 0;
    --border-radius: 0.75rem;
    --border-radius-lg: 1.5rem;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    
    /* Animation Variables */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Mobile-specific animation variables */
    --slide-transition: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    --bounce-transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --shake-intensity: 5px;
}

/* Enhanced Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Mobile viewport handling */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Mobile touch optimizations */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Mobile viewport management */
@supports (height: 100dvh) {
    :root {
        --mobile-vh: 100dvh;
    }
}

/* Keyboard-aware body states */
body.keyboard-open {
    --keyboard-safe-area: 0px;
}

body.keyboard-open .form-nav {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE-FIRST ANIMATIONS & TRANSITIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Step transition animations */
.form-step {
    transition: transform var(--slide-transition), opacity var(--slide-transition);
    transform: translateX(0);
    opacity: 1;
}

.form-step.transitioning {
    transition: transform var(--slide-transition), opacity var(--slide-transition);
}

/* Validation shake animation */
@keyframes validation-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-var(--shake-intensity)); }
    20%, 40%, 60%, 80% { transform: translateX(var(--shake-intensity)); }
}

.validation-shake {
    animation: validation-shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

/* Touch feedback animations */
@keyframes touch-ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.touch-ripple::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: touch-ripple 0.6s linear;
    pointer-events: none;
}

/* Loading spinner for mobile */
@keyframes mobile-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mobile-loading {
    animation: mobile-spin 1s linear infinite;
}

/* Bounce animation for buttons */
@keyframes bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounce-in 0.5s var(--spring);
}

/* Swipe gesture indicators */
@keyframes swipe-hint {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(10px); opacity: 1; }
}

.swipe-hint {
    animation: swipe-hint 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE-SPECIFIC COMPONENT STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Mobile touch targets */
@media (max-width: 767px) {
    .touch-target {
        min-height: var(--touch-target-size);
        min-width: var(--touch-target-size);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Enhanced button interactions */
    button, .btn, input[type="submit"] {
        min-height: var(--touch-target-size);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }

    button:active, .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Mobile form optimizations */
    input, select, textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 12px;
        min-height: var(--touch-target-size);
        padding: 12px 16px;
        border: 2px solid var(--border);
        background: var(--surface);
        transition: all var(--transition-fast);
        touch-action: manipulation;
    }

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        background: var(--background);
        transform: translateY(-1px);
    }

    /* Range slider mobile enhancements */
    input[type="range"] {
        -webkit-appearance: none;
        appearance: none;
        background: transparent;
        cursor: pointer;
        margin: 20px 0;
        height: 40px; /* Larger touch area */
    }

    input[type="range"]::-webkit-slider-track {
        background: var(--surface);
        height: 8px;
        border-radius: 4px;
        border: 1px solid var(--border);
    }

    input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        height: 28px;
        width: 28px;
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: var(--shadow-md);
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    input[type="range"]::-webkit-slider-thumb:active {
        transform: scale(1.2);
        box-shadow: var(--shadow-lg);
    }

    /* Mobile step indicator */
    .step-indicator {
        position: sticky;
        top: 20px;
        z-index: 100;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 10px 20px;
        margin: 0 auto 20px;
        width: fit-content;
        box-shadow: var(--shadow-sm);
    }

    /* Mobile radio/checkbox groups */
    .form-radio-group, .form-checkbox-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 20px 0;
    }

    .form-radio-item, .form-checkbox-item {
        background: var(--surface);
        border: 2px solid var(--border);
        border-radius: 12px;
        padding: 16px 12px;
        text-align: center;
        cursor: pointer;
        transition: all var(--transition-fast);
        position: relative;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 500;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }

    .form-radio-item:active, .form-checkbox-item:active {
        transform: scale(0.98);
    }

    .form-radio-item.selected, .form-checkbox-item.selected {
        border-color: var(--primary);
        background: rgba(37, 99, 235, 0.05);
        color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    }

    /* Mobile navigation bar */
    .form-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
        padding: 12px 20px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        display: flex;
        gap: 12px;
        z-index: 1000;
        box-shadow: 0 -5px 20px rgba(37, 99, 235, 0.1);
        transition: transform var(--transition-fast);
    }

    .form-nav.hidden {
        transform: translateY(100%);
    }

    /* Navigation buttons */
    .next-btn, .prev-btn {
        flex: 1;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        min-height: 48px;
        border: none;
        transition: all var(--transition-fast);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        touch-action: manipulation;
    }

    .next-btn {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: white;
        box-shadow: var(--shadow-md);
    }

    .next-btn:active {
        transform: translateY(1px);
        box-shadow: var(--shadow-sm);
    }

    .prev-btn {
        background: var(--surface);
        color: var(--text-primary);
        border: 2px solid var(--border);
    }

    .prev-btn:active {
        background: var(--background);
        border-color: var(--primary);
    }

    /* Error states with enhanced mobile feedback */
    .form-field.error input,
    .form-field.error select,
    .form-field.error textarea {
        border-color: var(--error);
        background: rgba(239, 68, 68, 0.05);
        animation: shake 0.5s ease-in-out;
    }

    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
    }

    /* Success states */
    .form-field.success input,
    .form-field.success select {
        border-color: var(--success);
        background: rgba(16, 185, 129, 0.05);
    }

    /* Loading overlay for mobile */
    .mobile-loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .mobile-loading-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-loading-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid var(--border);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: mobile-spin 1s linear infinite;
    }

    /* Swipe hint overlay */
    .swipe-hint-overlay {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        color: var(--text-secondary);
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 5px;
        opacity: 0.6;
        pointer-events: none;
        z-index: 10;
    }

    .swipe-hint-arrow {
        font-size: 16px;
        animation: swipe-hint 2s ease-in-out infinite;
    }

    /* Landscape mode adjustments */
    @media (orientation: landscape) and (max-height: 500px) {
        .form-nav {
            padding: 8px 20px;
            padding-bottom: calc(8px + env(safe-area-inset-bottom));
        }

        .next-btn, .prev-btn {
            min-height: 40px;
            padding: 10px 16px;
            font-size: 14px;
        }

        .step-indicator {
            top: 10px;
            padding: 8px 16px;
        }

        input, select, textarea {
            min-height: 40px;
            padding: 8px 12px;
        }
    }

    /* Ultra-compact mode for very small screens */
    @media (max-width: 360px) {
        .form-radio-group, .form-checkbox-group {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .form-nav {
            padding: 10px 15px;
            padding-bottom: calc(10px + env(safe-area-inset-bottom));
        }

        .next-btn, .prev-btn {
            font-size: 14px;
            padding: 12px 16px;
        }
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY & PERFORMANCE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .validation-shake {
        animation: none;
    }

    .swipe-hint-arrow {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #000000;
        --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
        --shadow-md: 0 4px 8px rgba(0,0,0,0.5);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .form-nav {
        background: rgba(0, 0, 0, 0.9);
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .step-indicator {
        background: rgba(0, 0, 0, 0.9);
        color: white;
    }

    .mobile-loading-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LAYOUT COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Mobile-optimized container */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Mobile-optimized section header */
@media (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
    }

    .section-header p {
        font-size: 1rem;
        color: var(--text-secondary);
        max-width: 100%;
        margin: 0 auto;
        line-height: 1.5;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   THEME SELECTOR - FLOATING UI
   ═══════════════════════════════════════════════════════════════════════════════ */

.theme-selector {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.theme-toggle-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    min-width: 150px;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: none;
    background: transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.theme-option:hover {
    background: var(--primary);
    color: white;
    transform: translateX(0.25rem);
}

.theme-preview {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.theme-preview.paylesswatts { background: linear-gradient(45deg, #2563EB, #059669); }
.theme-preview.tesla { background: linear-gradient(45deg, #000000, #E31937); }
.theme-preview.enphase { background: linear-gradient(45deg, #00A651, #0066CC); }
.theme-preview.apple { background: linear-gradient(45deg, #0071E3, #FF9500); }

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION - TESLA INSPIRED
   ═══════════════════════════════════════════════════════════════════════════════ */

.energy-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--background) 0%, var(--surface) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s linear infinite;
    animation-delay: var(--delay, 0s);
}

.floating-element:nth-child(1) { top: 20%; left: 10%; }
.floating-element:nth-child(2) { top: 60%; left: 85%; }
.floating-element:nth-child(3) { top: 80%; left: 15%; }
.floating-element:nth-child(4) { top: 30%; left: 80%; }
.floating-element:nth-child(5) { top: 70%; left: 50%; }

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-30px, -20px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BUTTON COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.125rem 2.25rem;
    border-radius: 3.125rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0.5rem 2rem rgba(37, 99, 235, 0.3);
}

.cta-primary:hover {
    background: #1D4ED8;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.75rem 2.5rem rgba(37, 99, 235, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.cta-secondary:hover {
    background: var(--text-primary);
    color: var(--background);
    border-color: var(--text-primary);
    transform: translateY(-0.125rem);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TECHNOLOGY SHOWCASE - ENPHASE INSPIRED
   ═══════════════════════════════════════════════════════════════════════════════ */

.technology-showcase {
    padding: var(--section-padding);
    background: var(--surface);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-card {
    background: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.tech-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tech-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NETWORK SHOWCASE - APPLE INSPIRED
   ═══════════════════════════════════════════════════════════════════════════════ */

.network-showcase {
    padding: var(--section-padding);
    background: var(--background);
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
}

.stat-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.network-map {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.map-loading {
    text-align: center;
    color: var(--text-secondary);
}

.map-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROCESS TIMELINE - TESLA INSPIRED
   ═══════════════════════════════════════════════════════════════════════════════ */

.process-section {
    padding: var(--section-padding);
    background: var(--surface);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-step {
    background: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-step:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background: var(--primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-visual {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TRUST SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.trust-section {
    padding: var(--section-padding);
    background: var(--background);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-card {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
}

.trust-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.trust-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.25rem;
}

.trust-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.trust-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FINAL CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .cta-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
}

.final-cta .cta-primary:hover {
    background: var(--surface);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.3);
}

.final-cta .cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.final-cta .cta-secondary:hover {
    background: white;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ENERGY CALCULATOR SECTION - ENHANCED WITH GOOGLE API INTEGRATION
   ═══════════════════════════════════════════════════════════════════════════════ */

.energy-calculator {
    padding: var(--section-padding);
    background: var(--background);
}

.solar-calculator {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.calculator-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.calculator-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    max-width: 200px;
    margin: 0 auto;
}

.progress-steps span {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.progress-steps span.active {
    background: var(--primary);
    color: white;
}

/* Error State */
.calculator-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calculator-error i {
    color: #DC2626;
    font-size: 1.125rem;
}

.calculator-error p {
    color: #DC2626;
    margin: 0;
    font-weight: 500;
}

.calculator-step {
    animation: fadeInUp 0.5s ease;
}

.calculator-step h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-next,
.btn-back,
.btn-calculate,
.btn-primary,
.btn-secondary {
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-next,
.btn-calculate,
.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-next:hover,
.btn-calculate:hover,
.btn-primary:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
}

.btn-next:disabled,
.btn-calculate:disabled {
    background: var(--border);
    color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.btn-back,
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-back:hover,
.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--background);
    border-color: var(--text-primary);
}

.step-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.calculator-results {
    animation: fadeInUp 0.5s ease;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.loading small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.results-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Results Highlight Section */
.results-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius-lg);
    color: white;
}

.highlight-stat {
    text-align: center;
}

.highlight-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-card.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Results Disclaimer */
.results-disclaimer {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.results-disclaimer p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NETWORK MAP STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

.network-map-container {
    background: var(--surface);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.map-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: center;
}

.map-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.usa-map {
    font-size: 8rem;
    color: var(--primary);
    position: relative;
    opacity: 0.8;
}

.coverage-overlay {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.map-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-stat {
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.map-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.map-stat .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.map-loading {
    text-align: center;
    color: var(--text-secondary);
}

.map-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE CALCULATOR & MAP
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .address-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .btn-verify-address {
        width: 100%;
        justify-content: center;
    }
    
    .solar-calculator {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .results-highlight {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .highlight-value {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .map-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .usa-map {
        font-size: 6rem;
    }
    
    .map-stats {
        flex-direction: row;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .theme-selector {
        right: 1rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .theme-selector {
        position: fixed;
        bottom: 2rem;
        right: 1rem;
        top: auto;
        transform: none;
    }
    
    .hero-headline {
        font-size: 2.625rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .tech-grid,
    .network-stats,
    .process-timeline,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .final-cta .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .tech-card,
    .stat-card,
    .timeline-step,
    .trust-card {
        padding: 1.5rem;
    }
    
    .hero-headline {
        font-size: 2rem !important;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY & PERFORMANCE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none;
    }
}

/* Focus styles for accessibility */
.cta-primary:focus,
.cta-secondary:focus,
.theme-toggle-btn:focus,
.theme-option:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #000000;
    }
}

/* Print styles */
@media print {
    .theme-selector,
    .floating-elements,
    .grid-overlay {
        display: none !important;
    }
    
    .energy-hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAYLESSWATTS ENERGY CALCULATOR - 3-STEP FORM STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Add-on Options Styling */
.addon-options {
    margin: 2rem 0;
}

.addon-options h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.addon-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.addon-card:hover {
    border-color: var(--primary);
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 2rem rgba(37, 99, 235, 0.15);
}

.addon-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-0.25rem);
    box-shadow: 0 0.75rem 2.5rem rgba(37, 99, 235, 0.3);
}

.addon-card.selected .addon-icon i {
    color: white;
}

.addon-card.selected h5,
.addon-card.selected p {
    color: white;
}

.addon-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.addon-icon i {
    font-size: 1.5rem;
    color: white;
}

.addon-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.addon-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.addon-card .price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--success);
    margin-top: auto;
}

.addon-card.selected .price {
    color: white;
}

/* Contact Form Styling */
.contact-form {
    margin: 2rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--background);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input:disabled {
    background: var(--surface);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Meeting Type Options */
.meeting-type-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.radio-option:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.radio-option input[type="radio"] {
    width: auto;
    margin: 0;
}

.radio-option input[type="radio"]:checked + span {
    color: var(--primary);
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
}

/* Date and Time Selection */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Step Buttons Enhanced */
.step-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.btn-back,
.btn-next,
.btn-reset {
    padding: 0.875rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back {
    background: var(--surface);
    color: var(--text-secondary);
    border: 2px solid var(--border);
}

.btn-back:hover {
    background: var(--border);
    color: var(--text-primary);
}

.btn-next {
    background: var(--primary);
    color: white;
    box-shadow: 0 0.25rem 1rem rgba(37, 99, 235, 0.3);
}

.btn-next:hover {
    background: #1D4ED8;
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.5rem rgba(37, 99, 235, 0.4);
}

.btn-next:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-next.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-next.primary {
    background: var(--success);
    box-shadow: 0 0.25rem 1rem rgba(16, 185, 129, 0.3);
}

.btn-next.primary:hover {
    background: #059669;
    box-shadow: 0 0.5rem 1.5rem rgba(16, 185, 129, 0.4);
}

.btn-reset {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
}

.btn-reset:hover {
    color: var(--error);
    border-color: var(--error);
}

/* Calculator Reset */
.calculator-reset {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Progress Steps Enhanced */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-steps span {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.progress-steps span.active {
    color: var(--primary);
}

/* Enhanced Results Highlight */
.results-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.results-highlight h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-card.highlight {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Loading States */
.btn-next.loading i {
    animation: spin 1s linear infinite;
}

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

/* Error States */
.calculator-error {
    background: #FEE2E2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.calculator-error i {
    font-size: 1.25rem;
    color: #DC2626;
}

.calculator-error p {
    margin: 0;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .addon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .datetime-selection {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .meeting-type-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-back,
    .btn-next {
        width: 100%;
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .result-card {
        padding: 1rem 0.75rem;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .addon-card {
        padding: 1.25rem;
    }
    
    .addon-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .addon-icon i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .addon-grid {
        gap: 0.75rem;
    }
    
    .addon-card {
        padding: 1rem;
    }
    
    .results-highlight {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .results-highlight h4 {
        font-size: 1.25rem;
    }
    
    .calculator-step h4 {
        font-size: 1.125rem;
    }
}

/* Address Input Wrapper */
.address-input-wrapper {
    position: relative;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.address-input-wrapper input {
    flex: 1;
}

.btn-verify-address {
    padding: 0.875rem 1.5rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-verify-address:hover {
    background: #047857;
    transform: translateY(-1px);
}

.btn-verify-address:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

/* Form Group Enhancements */
@media (max-width: 768px) {
    .address-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .btn-verify-address {
        width: 100%;
        justify-content: center;
    }
    
    .solar-calculator {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SOLAR CALCULATOR ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* System Description */
.system-description {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}

/* System Features */
.system-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-item i {
    color: var(--success);
    font-size: 1rem;
}

/* Add-on Options Enhancements */
.addon-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Pricing Disclaimer */
.pricing-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1.5rem;
}

.pricing-disclaimer .info-icon {
    color: var(--primary);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.pricing-disclaimer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .system-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .feature-item {
        font-size: 0.8125rem;
    }
    
    .pricing-disclaimer {
        padding: 0.875rem;
    }
    
    .pricing-disclaimer p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .system-features {
        grid-template-columns: 1fr;
    }
    
    .system-description {
        font-size: 0.9375rem;
    }
    
    .addon-subtitle {
        font-size: 0.9375rem;
    }
}

/* Analysis Details Section */
.analysis-description {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

.analysis-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-item i {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
}

.detail-item span {
    flex: 1;
}

@media (max-width: 768px) {
    .analysis-details {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
    }
    
    .analysis-description {
        font-size: 0.85rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .analysis-details {
        margin-top: 1rem;
    }
    
    .detail-item {
        gap: 0.5rem;
    }
    
    .detail-item i {
        width: 1rem;
        height: 1rem;
        font-size: 0.875rem;
    }
}

/* Slider Components */
.slider-group {
    margin: 2rem 0;
}

.slider-container {
    position: relative;
    margin: 1.5rem 0;
    padding: 2rem 0;
}

.slider-value-display {
    position: absolute;
    top: -2.5rem;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0.9;
}

.slider-value-display.active {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
}

.slider-value-display::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 0.5rem solid transparent;
    border-top-color: var(--primary);
}

.bill-label {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.bill-amount {
    font-size: 1.1rem;
    font-weight: 700;
}

input[type="range"] {
    width: 100%;
    height: 0.5rem;
    border-radius: 0.25rem;
    background: var(--border);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

input[type="range"]::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

input[type="range"]::-moz-range-track {
    height: 0.5rem;
    border-radius: 0.25rem;
    background: var(--border);
}

@media (max-width: 768px) {
    .slider-container {
        padding: 1.5rem 0;
    }
    
    .slider-value-display {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .bill-amount {
        font-size: 1rem;
    }
    
    input[type="range"]::-webkit-slider-thumb {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    input[type="range"]::-moz-range-thumb {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Solar Disclaimer */
.solar-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-top: 1.5rem;
}

.solar-disclaimer .info-icon {
    color: #F59E0B;
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.solar-disclaimer p {
    font-size: 0.875rem;
    color: #92400E;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .solar-disclaimer {
        padding: 0.875rem;
    }
    
    .solar-disclaimer p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .solar-disclaimer {
        gap: 0.5rem;
    }
    
    .solar-disclaimer .info-icon {
        font-size: 1rem;
    }
}

/* Solar Results with 3D Map Background - Modern Sleek Design */
.solar-results-with-map {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.solar-map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.solar-results-with-map:hover .solar-map-background {
    opacity: 0.9;
}

/* Top Overlay - Header Area */
.solar-top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 70%,
        transparent 100%
    );
    padding: 2rem 2rem 4rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.solar-top-overlay h4 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.solar-top-overlay .analysis-description {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Bottom Overlay - Stats and Details */
.solar-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    );
    padding: 4rem 2rem 2rem;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.solar-bottom-overlay .results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.solar-bottom-overlay .result-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.solar-bottom-overlay .result-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.solar-bottom-overlay .result-card.highlight {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.solar-bottom-overlay .result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.solar-bottom-overlay .result-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.solar-bottom-overlay .analysis-details {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.solar-bottom-overlay .detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
}

.solar-bottom-overlay .detail-item i {
    color: rgba(255, 255, 255, 0.7);
    width: 1.25rem;
    text-align: center;
}

.solar-bottom-overlay .solar-disclaimer {
    background: rgba(252, 211, 77, 0.15);
    border: 1px solid rgba(252, 211, 77, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.solar-bottom-overlay .solar-disclaimer .info-icon {
    color: #FCD34D;
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.solar-bottom-overlay .solar-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
}

/* Map Loading State */
.solar-map-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.1) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(37, 99, 235, 0.1) 75%
    );
    background-size: 20px 20px;
    animation: mapLoading 2s linear infinite;
    z-index: 1;
}

.solar-map-background._mapInitialized::before {
    display: none;
}

@keyframes mapLoading {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Enhanced 3D Effects */
.solar-results-with-map:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* Responsive Design */
@media (max-width: 768px) {
    .solar-results-with-map {
        min-height: 500px;
    }
    
    .solar-top-overlay {
        padding: 1.5rem 1.5rem 3rem;
    }
    
    .solar-top-overlay h4 {
        font-size: 1.5rem;
    }
    
    .solar-bottom-overlay {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .solar-bottom-overlay .results-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .solar-bottom-overlay .analysis-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .solar-bottom-overlay .result-card {
        padding: 1rem 0.75rem;
    }
    
    .solar-bottom-overlay .result-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .solar-results-with-map {
        min-height: 450px;
    }
    
    .solar-top-overlay {
        padding: 1rem 1rem 2.5rem;
    }
    
    .solar-top-overlay h4 {
        font-size: 1.25rem;
    }
    
    .solar-top-overlay .analysis-description {
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }
    
    .solar-bottom-overlay {
        padding: 2.5rem 1rem 1rem;
    }
    
    .solar-bottom-overlay .detail-item {
        font-size: 0.8rem;
    }
    
    .solar-bottom-overlay .solar-disclaimer p {
        font-size: 0.75rem;
    }
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .solar-results-with-map:hover {
        transform: none;
    }
    
    .solar-bottom-overlay .result-card:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TRUST INDICATORS STICKY COMPONENT
   ═══════════════════════════════════════════════════════════════════════════════ */

.trust-indicators-sticky {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999 !important; /* Force high z-index */
    max-width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.1);
    animation: trustFadeIn 0.8s ease-out forwards;
    transition: all var(--transition-normal);
    pointer-events: auto; /* Ensure it's clickable */
}

.trust-indicators-sticky:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Animation for trust indicators */
@keyframes trustFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust indicators for dark theme */
[data-theme="tesla-dark"] .trust-indicators-sticky,
[data-theme="apple-premium"][data-dark-mode="true"] .trust-indicators-sticky {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Ensure trust indicators always appear above everything */
.trust-indicators-sticky {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force show trust indicators even if other CSS tries to hide them */
body .trust-indicators-sticky {
    z-index: 2147483647 !important; /* Maximum z-index value */
}

/* Mobile adjustments for trust indicators */
@media (max-width: 768px) {
    .trust-indicators-sticky {
        bottom: 15px;
        right: 15px;
        max-width: 250px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    /* Make sure it doesn't interfere with mobile navigation */
    .trust-indicators-sticky {
        bottom: 80px; /* Move higher on mobile if there's bottom nav */
    }
}

@media (max-width: 480px) {
    .trust-indicators-sticky {
        bottom: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: calc(100vw - 20px);
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    /* Make trust indicators single row on very small screens */
    .trust-indicators-sticky [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ADDRESS VERIFICATION PLACEHOLDER
   ═══════════════════════════════════════════════════════════════════════════════ */

.form-group-placeholder {
    padding: 2rem;
    text-align: center;
    background: var(--surface);
    border-radius: 12px;
    border: 2px dashed var(--border);
    margin: 1.5rem 0;
    transition: all var(--transition-normal);
    opacity: 0.8;
}

.form-group-placeholder:hover {
    opacity: 1;
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.02);
}

.form-group-placeholder i {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}

.form-group-placeholder h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.form-group-placeholder p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .trust-indicators-sticky {
        background: white;
        border: 2px solid black;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .form-group-placeholder {
        border: 3px dashed var(--text-primary);
        background: white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .trust-indicators-sticky {
        animation: none;
        transition: none;
    }
    
    .trust-indicators-sticky:hover {
        transform: none;
    }
    
    .form-group-placeholder {
        transition: none;
    }
    
    @keyframes fadeInUp {
        from, to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Focus management for screen readers */
.trust-indicators-sticky:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.form-group-placeholder:focus-within {
    border-color: var(--primary);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP 2 REDESIGNED - COMPACT & STYLISH SOLAR CUSTOMIZATION
   Incorporates design elements from Tesla, Apple, Enphase, and PaylessWatts themes
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Step 2 Main Container */
.step2-redesigned {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: step2FadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Step 2 Header */
.step2-header {
    text-align: center;
    margin-bottom: 1rem;
}

.step2-header h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.step2-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Main Grid Layout - Side by Side */
.step2-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Left Column: System Summary Card */
.system-summary-card {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(5, 150, 105, 0.05) 100%);
    border: 2px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.system-summary-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
}

.system-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1.25rem 1.25rem 0 0;
}

/* Summary Card Header */
.summary-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.summary-card-header h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.summary-card-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Compact Stats Grid */
.compact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.compact-stat {
    text-align: center;
    padding: 1rem 0.75rem;
    border-radius: 0.875rem;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.compact-stat:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.compact-stat.primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-color: rgba(37, 99, 235, 0.2);
}

.compact-stat.secondary {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(5, 150, 105, 0.05));
    border-color: rgba(5, 150, 105, 0.2);
}

.compact-stat.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.compact-stat > div:first-child {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: inherit;
}

.compact-stat > div:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Compact Features */
.features-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.feature-row span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
}

.feature-row i {
    color: var(--success);
    font-size: 0.875rem;
    width: 1rem;
}

/* Right Column: Add-ons Section */
.addons-section-compact {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all var(--transition-normal);
}

.addons-section-compact:hover {
    border-color: var(--secondary);
    box-shadow: 0 8px 32px rgba(5, 150, 105, 0.1);
}

.addons-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.addons-header h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.addons-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Compact Add-on Grid */
.addons-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.addon-card-compact {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 120px;
}

.addon-card-compact:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.addon-card-compact.selected {
    border-color: var(--success);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(16, 185, 129, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.addon-card-compact.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--success), var(--secondary));
    border-radius: 1rem 1rem 0 0;
}

.addon-icon-compact {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    transition: all var(--transition-normal);
    align-self: flex-start;
}

.addon-card-compact.selected .addon-icon-compact {
    background: linear-gradient(135deg, var(--success), var(--secondary));
    transform: scale(1.05);
}

.addon-card-compact h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    line-height: 1.2;
}

.addon-card-compact p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
    flex-grow: 1;
}

.selection-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--success);
    font-size: 1.125rem;
    animation: checkBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Step 2 Footer */
.step2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    gap: 2rem;
}

.pricing-note-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #92400E;
    flex-grow: 1;
}

.pricing-note-compact i {
    color: #F59E0B;
    font-size: 1rem;
}

/* Step 2 Action Buttons */
.step2-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-back-compact,
.btn-next-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-back-compact {
    background: var(--surface);
    color: var(--text-secondary);
    border: 2px solid var(--border);
}

.btn-back-compact:hover {
    background: var(--border);
    color: var(--text-primary);
    transform: translateX(-2px);
}

.btn-next-compact {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-next-compact:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4);
}

/* Animations */
@keyframes step2FadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .step2-main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .system-summary-card,
    .addons-section-compact {
        padding: 1.25rem;
    }
    
    .compact-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .addons-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .addon-card-compact {
        padding: 1rem;
        min-height: auto;
    }
    
    .step2-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .step2-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-back-compact,
    .btn-next-compact {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-note-compact {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .step2-header h4 {
        font-size: 1.5rem;
    }
    
    .summary-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .compact-stat {
        padding: 0.75rem 0.5rem;
    }
    
    .compact-stat > div:first-child {
        font-size: 1.25rem;
    }
    
    .addon-card-compact {
        padding: 0.875rem;
    }
    
    .addon-icon-compact {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

/* Theme-specific enhancements */
[data-theme="tesla-dark"] .system-summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: #333333;
}

[data-theme="enphase-energy"] .system-summary-card {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 102, 204, 0.08) 100%);
}

[data-theme="apple-premium"] .step2-redesigned {
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
    .step2-redesigned,
    .addon-card-compact,
    .compact-stat,
    .selection-check {
        animation: none;
        transition: none;
    }
    
    .addon-card-compact:hover,
    .compact-stat:hover,
    .btn-next-compact:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .system-summary-card,
    .addons-section-compact,
    .addon-card-compact {
        border-width: 3px;
        border-color: var(--text-primary);
    }
    
    .addon-card-compact.selected {
        background: var(--success);
        color: white;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP 2 REDESIGNED - ULTRA COMPACT & TIGHT LAYOUT
   Incorporates design elements from Tesla, Apple, Enphase, and PaylessWatts themes
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Step 2 Main Container - Tighter */
.step2-redesigned {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced from 1.5rem */
    animation: step2FadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Step 2 Header - More Compact */
.step2-header {
    text-align: center;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
}

.step2-header h4 {
    font-size: 1.5rem; /* Reduced from 1.75rem */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem; /* Reduced from 0.5rem */
    letter-spacing: -0.02em;
}

.step2-header p {
    font-size: 0.875rem; /* Reduced from 1rem */
    color: var(--text-secondary);
    margin: 0;
}

/* Main Grid Layout - Tighter */
.step2-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem; /* Reduced from 2rem */
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

/* Left Column: System Summary Card - Much More Compact */
.system-summary-card {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.04) 0%, 
        rgba(5, 150, 105, 0.04) 100%);
    border: 1px solid var(--border); /* Reduced from 2px */
    border-radius: 0.875rem; /* Reduced from 1.25rem */
    padding: 1.25rem; /* Reduced from 1.75rem */
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.system-summary-card:hover {
    border-color: var(--primary);
    transform: translateY(-1px); /* Reduced from -2px */
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12); /* Reduced shadow */
}

.system-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px; /* Reduced from 4px */
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 0.875rem 0.875rem 0 0;
}

/* Summary Card Header - Tighter */
.summary-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Reduced from 1rem */
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.summary-icon {
    width: 2.25rem; /* Reduced from 3rem */
    height: 2.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.5rem; /* Reduced from 0.75rem */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem; /* Reduced from 1.25rem */
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.25); /* Reduced shadow */
}

.summary-card-header h5 {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.125rem; /* Reduced from 0.25rem */
    letter-spacing: -0.01em;
}

.summary-card-header p {
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3; /* Tighter line height */
}

/* Compact Stats Grid - Smaller */
.compact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem; /* Reduced from 1rem */
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.compact-stat {
    text-align: center;
    padding: 0.75rem 0.5rem; /* Reduced from 1rem 0.75rem */
    border-radius: 0.625rem; /* Reduced from 0.875rem */
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.compact-stat:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08); /* Reduced shadow */
}

.compact-stat.primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
    border-color: rgba(37, 99, 235, 0.15);
}

.compact-stat.secondary {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(5, 150, 105, 0.03));
    border-color: rgba(5, 150, 105, 0.15);
}

.compact-stat.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.25); /* Reduced shadow */
}

.compact-stat > div:first-child {
    font-size: 1.25rem; /* Reduced from 1.5rem */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.125rem; /* Reduced from 0.25rem */
    color: inherit;
}

.compact-stat > div:last-child {
    font-size: 0.6875rem; /* Reduced from 0.75rem */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* Compact Features - Much Tighter */
.features-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced from 0.75rem */
}

.feature-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem; /* Reduced from 1rem */
}

.feature-row span {
    display: flex;
    align-items: center;
    gap: 0.375rem; /* Reduced from 0.5rem */
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    font-weight: 500;
    color: var(--text-secondary);
    flex: 1;
}

.feature-row i {
    color: var(--success);
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    width: 0.875rem; /* Reduced from 1rem */
}

/* Right Column: Add-ons Section - Tighter */
.addons-section-compact {
    background: var(--surface);
    border: 1px solid var(--border); /* Reduced from 2px */
    border-radius: 0.875rem; /* Reduced from 1.25rem */
    padding: 1.25rem; /* Reduced from 1.75rem */
    transition: all var(--transition-normal);
}

.addons-section-compact:hover {
    border-color: var(--secondary);
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.08); /* Reduced shadow */
}

.addons-header {
    text-align: center;
    margin-bottom: 1rem; /* Reduced from 1.5rem */
}

.addons-header h5 {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem; /* Reduced from 0.5rem */
}

.addons-header p {
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    color: var(--text-secondary);
    margin: 0;
}

/* Compact Add-on Grid - Smaller Cards */
.addons-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem; /* Reduced from 1rem */
}

.addon-card-compact {
    background: var(--background);
    border: 1px solid var(--border); /* Reduced from 2px */
    border-radius: 0.75rem; /* Reduced from 1rem */
    padding: 1rem; /* Reduced from 1.25rem */
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced from 0.75rem */
    min-height: 95px; /* Reduced from 120px */
}

.addon-card-compact:hover {
    border-color: var(--primary);
    transform: translateY(-1px); /* Reduced from -2px */
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12); /* Reduced shadow */
}

.addon-card-compact.selected {
    border-color: var(--success);
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.08) 0%, 
        rgba(16, 185, 129, 0.03) 100%);
    transform: translateY(-1px); /* Reduced from -2px */
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15); /* Reduced shadow */
}

.addon-card-compact.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px; /* Reduced from 3px */
    background: linear-gradient(90deg, var(--success), var(--secondary));
    border-radius: 0.75rem 0.75rem 0 0;
}

.addon-icon-compact {
    width: 2rem; /* Reduced from 2.5rem */
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 0.5rem; /* Reduced from 0.75rem */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem; /* Reduced from 1.125rem */
    transition: all var(--transition-normal);
    align-self: flex-start;
}

.addon-card-compact.selected .addon-icon-compact {
    background: linear-gradient(135deg, var(--success), var(--secondary));
    transform: scale(1.05);
}

.addon-card-compact h6 {
    font-size: 0.875rem; /* Reduced from 1rem */
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.125rem; /* Reduced from 0.25rem */
    line-height: 1.2;
}

.addon-card-compact p {
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.25; /* Tighter line height */
    flex-grow: 1;
}

.selection-check {
    position: absolute;
    top: 0.5rem; /* Reduced from 0.75rem */
    right: 0.5rem;
    color: var(--success);
    font-size: 1rem; /* Reduced from 1.125rem */
    animation: checkBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Step 2 Footer - Tighter */
.step2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem; /* Reduced from 1.5rem */
    border-top: 1px solid var(--border);
    gap: 1.5rem; /* Reduced from 2rem */
}

.pricing-note-compact {
    display: flex;
    align-items: center;
    gap: 0.375rem; /* Reduced from 0.5rem */
    background: rgba(245, 158, 11, 0.08); /* More subtle */
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 0.5rem; /* Reduced from 0.75rem */
    padding: 0.5rem 0.75rem; /* Reduced from 0.75rem 1rem */
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    color: #92400E;
    flex-grow: 1;
}

.pricing-note-compact i {
    color: #F59E0B;
    font-size: 0.875rem; /* Reduced from 1rem */
}

/* Step 2 Action Buttons - Smaller */
.step2-actions {
    display: flex;
    gap: 0.75rem; /* Reduced from 1rem */
    align-items: center;
}

.btn-back-compact,
.btn-next-compact {
    display: flex;
    align-items: center;
    gap: 0.375rem; /* Reduced from 0.5rem */
    padding: 0.75rem 1.25rem; /* Reduced from 0.875rem 1.5rem */
    border-radius: 2rem; /* Reduced from 3rem */
    font-weight: 600;
    font-size: 0.8125rem; /* Reduced from 0.875rem */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-back-compact {
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border); /* Reduced from 2px */
}

.btn-back-compact:hover {
    background: var(--border);
    color: var(--text-primary);
    transform: translateX(-1px); /* Reduced from -2px */
}

.btn-next-compact {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.25); /* Reduced shadow */
}

.btn-next-compact:hover {
    transform: translateY(-1px) scale(1.01); /* Reduced transform */
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35); /* Reduced shadow */
}

/* Animations - Same */
@keyframes step2FadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive Design - Tighter */
@media (max-width: 768px) {
    .step2-main-grid {
        grid-template-columns: 1fr;
        gap: 1rem; /* Reduced from 1.5rem */
    }
    
    .system-summary-card,
    .addons-section-compact {
        padding: 1rem; /* Reduced from 1.25rem */
    }
    
    .compact-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem; /* Reduced from 0.75rem */
    }
    
    .addons-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem; /* Reduced from 0.75rem */
    }
    
    .addon-card-compact {
        padding: 0.75rem; /* Reduced from 1rem */
        min-height: auto;
    }
    
    .step2-footer {
        flex-direction: column;
        gap: 0.75rem; /* Reduced from 1rem */
        align-items: stretch;
    }
    
    .step2-actions {
        flex-direction: column;
        gap: 0.5rem; /* Reduced from 0.75rem */
    }
    
    .btn-back-compact,
    .btn-next-compact {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-note-compact {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .step2-header h4 {
        font-size: 1.375rem; /* Reduced from 1.5rem */
    }
    
    .summary-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem; /* Reduced from 0.75rem */
    }
    
    .feature-row {
        flex-direction: column;
        gap: 0.375rem; /* Reduced from 0.5rem */
    }
    
    .compact-stat {
        padding: 0.5rem 0.375rem; /* Reduced from 0.75rem 0.5rem */
    }
    
    .compact-stat > div:first-child {
        font-size: 1.125rem; /* Reduced from 1.25rem */
    }
    
    .addon-card-compact {
        padding: 0.625rem; /* Reduced from 0.875rem */
    }
    
    .addon-icon-compact {
        width: 1.75rem; /* Reduced from 2rem */
        height: 1.75rem;
        font-size: 0.8125rem; /* Reduced from 1rem */
    }
}

/* Theme-specific enhancements - Same */
[data-theme="tesla-dark"] .system-summary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: #333333;
}

[data-theme="enphase-energy"] .system-summary-card {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.06) 0%, rgba(0, 102, 204, 0.06) 100%);
}

[data-theme="apple-premium"] .step2-redesigned {
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Accessibility enhancements - Same */
@media (prefers-reduced-motion: reduce) {
    .step2-redesigned,
    .addon-card-compact,
    .compact-stat,
    .selection-check {
        animation: none;
        transition: none;
    }
    
    .addon-card-compact:hover,
    .compact-stat:hover,
    .btn-next-compact:hover {
        transform: none;
    }
}

/* High contrast mode - Same */
@media (prefers-contrast: high) {
    .system-summary-card,
    .addons-section-compact,
    .addon-card-compact {
        border-width: 2px; /* Reduced from 3px */
        border-color: var(--text-primary);
    }
    
    .addon-card-compact.selected {
        background: var(--success);
        color: white;
    }
} 

/* ===================================================================== */
/* PREMIUM SOLAR CALCULATOR STYLING - DESKTOP UPGRADE TO MATCH MOBILE   */
/* Date: 2025-01-27 - Professional Quality Enhancement                   */
/* ===================================================================== */

/* Premium CSS Variables */
:root {
  --premium-primary: #2563EB;
  --premium-primary-hover: #1D4ED8;
  --premium-secondary: #10B981;
  --premium-accent: #7C3AED;
  --premium-bg-primary: #FFFFFF;
  --premium-bg-secondary: #F8FAFC;
  --premium-bg-glass: rgba(255, 255, 255, 0.8);
  --premium-text-primary: #0F172A;
  --premium-text-secondary: #64748B;
  --premium-border: #E2E8F0;
  --premium-border-focus: #2563EB;
  --premium-shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --premium-shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --premium-shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --premium-glow: 0 0 20px rgba(37, 99, 235, 0.3);
  --premium-gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --premium-gradient-success: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  --premium-gradient-warning: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

[data-theme="dark"] {
  --premium-bg-primary: #0F172A;
  --premium-bg-secondary: #1E293B;
  --premium-bg-glass: rgba(15, 23, 42, 0.8);
  --premium-text-primary: #F1F5F9;
  --premium-text-secondary: #94A3B8;
  --premium-border: #334155;
  --premium-shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --premium-shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  --premium-shadow-strong: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --premium-glow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Premium Calculator Container */
.premium-solar-calculator {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--premium-bg-primary);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* Trust Indicators */
.trust-indicators-premium {
  background: var(--premium-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--premium-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--premium-shadow-soft);
  animation: fadeInUp 0.6s ease-out;
}

.trust-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--premium-text-primary);
  font-size: 1.125rem;
}

.trust-header i {
  color: var(--premium-secondary);
  font-size: 1.25rem;
}

.trust-stats {
  display: flex;
  gap: 2rem;
}

.trust-stat {
  text-align: center;
}

.trust-stat div:first-child {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--premium-primary);
  line-height: 1.2;
}

.trust-stat div:last-child {
  font-size: 0.875rem;
  color: var(--premium-text-secondary);
  margin-top: 0.25rem;
}

/* Premium Calculator Header */
.premium-calculator-header {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.premium-calculator-header h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--premium-text-primary);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--premium-primary), var(--premium-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-calculator-header p {
  font-size: 1.125rem;
  color: var(--premium-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Premium Progress Container */
.premium-progress-container {
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.premium-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--premium-bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.premium-progress-fill {
  height: 100%;
  background: var(--premium-gradient-primary);
  border-radius: 4px;
  transition: width 0.5s ease;
  position: relative;
}

.premium-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-20px); }
  100% { transform: translateX(20px); }
}

.premium-progress-steps {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.premium-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
}

.premium-step span:first-child {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  background: var(--premium-bg-secondary);
  color: var(--premium-text-secondary);
  border: 2px solid var(--premium-border);
  transition: all 0.3s ease;
}

.premium-step.active span:first-child {
  background: var(--premium-gradient-primary);
  color: white;
  border-color: var(--premium-primary);
  box-shadow: var(--premium-glow);
  transform: scale(1.1);
}

.premium-step span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--premium-text-secondary);
  transition: color 0.3s ease;
}

.premium-step.active span:last-child {
  color: var(--premium-primary);
}

/* Premium Error Alert */
.premium-error-alert {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border: 1px solid #fca5a5;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #dc2626;
  font-weight: 500;
  box-shadow: var(--premium-shadow-soft);
  animation: shake 0.5s ease-in-out;
}

.premium-error-alert i {
  font-size: 1.25rem;
  color: #dc2626;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Premium Step Container */
.premium-step-container {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.premium-step-header {
  text-align: center;
  margin-bottom: 2rem;
}

.premium-step-header h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--premium-text-primary);
  margin-bottom: 0.5rem;
}

.premium-step-header p {
  font-size: 1rem;
  color: var(--premium-text-secondary);
  line-height: 1.6;
}

/* Premium Main Grid */
.premium-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .premium-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Premium Input Panel */
.premium-input-panel {
  background: var(--premium-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--premium-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--premium-shadow-medium);
  transition: all 0.3s ease;
}

.premium-input-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--premium-shadow-strong);
}

.premium-input-section {
  margin-bottom: 2rem;
}

.premium-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--premium-text-primary);
  font-size: 1rem;
}

.premium-address-container {
  position: relative;
}

.premium-address-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 2px solid var(--premium-border);
  border-radius: 1rem;
  background: var(--premium-bg-primary);
  color: var(--premium-text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.premium-address-input:focus {
  border-color: var(--premium-border-focus);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.premium-address-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--premium-text-secondary);
  font-size: 1.125rem;
  pointer-events: none;
}

.premium-verification-badge {
  background: var(--premium-gradient-success);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--premium-shadow-soft);
  animation: slideInFromRight 0.5s ease-out;
  margin-top: 0.75rem;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.premium-verify-button {
  background: var(--premium-gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: var(--premium-shadow-medium);
  width: 100%;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.premium-verify-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--premium-shadow-strong), var(--premium-glow);
}

.premium-verify-button:active {
  transform: translateY(0);
}

.premium-bill-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--premium-primary);
  text-align: center;
  margin-bottom: 1rem;
}

.premium-slider-container {
  position: relative;
}

.premium-bill-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--premium-bg-secondary);
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 1rem;
}

.premium-bill-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--premium-gradient-primary);
  cursor: pointer;
  box-shadow: var(--premium-shadow-soft);
  transition: all 0.3s ease;
}

.premium-bill-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: var(--premium-glow);
}

.premium-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--premium-text-secondary);
}

/* Premium Analysis Panel */
.premium-analysis-panel {
  background: var(--premium-bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--premium-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--premium-shadow-medium);
  transition: all 0.3s ease;
}

.premium-analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.premium-analysis-header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--premium-text-primary);
}

.premium-analysis-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--premium-text-secondary);
  animation: pulse 2s infinite;
}

.premium-analysis-status.active .status-indicator {
  background: var(--premium-secondary);
}

.premium-analysis-status.standby span {
  color: var(--premium-text-secondary);
}

.premium-analysis-status.active span {
  color: var(--premium-secondary);
}

/* Satellite Map */
.premium-map-section {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--premium-bg-secondary);
  min-height: 300px;
}

.premium-map-placeholder {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--premium-bg-secondary), var(--premium-bg-primary));
  border: 2px dashed var(--premium-border);
  border-radius: 1rem;
}

.map-placeholder-content {
  text-align: center;
  padding: 2rem;
}

.premium-satellite-icon {
  font-size: 3rem;
  color: var(--premium-primary);
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.map-placeholder-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--premium-text-primary);
  margin-bottom: 0.5rem;
}

.map-placeholder-content p {
  color: var(--premium-text-secondary);
  line-height: 1.6;
}

.premium-satellite-map {
  position: relative;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--premium-bg-secondary);
  border: 2px solid var(--premium-border);
  box-shadow: var(--premium-shadow-medium);
}

.satellite-map-container {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

.premium-map-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}

.premium-data-point {
  background: var(--premium-bg-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: var(--sony-space-sm) var(--sony-space-md);
  border-radius: var(--sony-radius-md);
  box-shadow: var(--sony-shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  text-align: center;
}

.premium-data-point div:first-child {
  font-weight: 700;
  font-size: 1rem;
  color: var(--premium-primary);
  line-height: 1;
}

.premium-data-point div:last-child {
  font-size: 0.75rem;
  color: var(--premium-text-secondary);
  margin-top: 0.25rem;
}

/* Premium Results Section */
.premium-results-section {
  margin-top: 3rem;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.premium-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.premium-results-header h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--premium-text-primary);
}

.premium-confidence-badge {
  background: var(--premium-gradient-success);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--premium-shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.premium-confidence-badge span:first-child {
  font-size: 1.125rem;
  font-weight: 800;
}

.premium-confidence-badge span:last-child {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Premium Metrics Grid */
.premium-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.premium-metric-card {
  background: var(--premium-bg-glass);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid var(--premium-border);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.premium-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--premium-gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.premium-metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--premium-shadow-strong);
}

.premium-metric-card:hover::before {
  transform: scaleX(1);
}

.premium-metric-card.primary {
  background: var(--premium-gradient-primary);
  color: white;
  border: none;
  box-shadow: var(--premium-glow);
}

.premium-metric-card.success {
  background: var(--premium-gradient-success);
  color: white;
  border: none;
}

.premium-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.premium-metric-card:not(.primary):not(.success) .premium-metric-icon {
  background: var(--premium-gradient-primary);
  color: white;
}

.premium-metric-content div:first-child {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.premium-metric-content div:nth-child(2) {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.premium-metric-content div:last-child {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Premium Continue Button */
.premium-continue-button {
  background: var(--premium-gradient-primary);
  color: white;
  border: none;
  padding: 1.25rem 3rem;
  border-radius: 1.25rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--premium-shadow-medium);
  margin: 2rem auto;
  min-width: 240px;
  justify-content: center;
}

.premium-continue-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--premium-shadow-strong), var(--premium-glow);
}

.premium-continue-button i {
  transition: transform 0.3s ease;
}

.premium-continue-button:hover i {
  transform: translateX(5px);
}

/* Premium Reset Section */
.premium-reset-section {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--premium-border);
}

.premium-reset-button {
  background: transparent;
  color: var(--premium-text-secondary);
  border: 2px solid var(--premium-border);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.premium-reset-button:hover {
  background: var(--premium-border);
  color: var(--premium-text-primary);
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Staggered animations for metric cards */
.premium-metric-card {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.premium-metric-card:nth-child(1) { animation-delay: 0.1s; }
.premium-metric-card:nth-child(2) { animation-delay: 0.2s; }
.premium-metric-card:nth-child(3) { animation-delay: 0.3s; }
.premium-metric-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
  .premium-solar-calculator {
    padding: 1rem;
  }
  
  .trust-indicators-premium {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .trust-stats {
    gap: 1rem;
  }
  
  .premium-calculator-header h3 {
    font-size: 2rem;
  }
  
  .premium-metrics-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .premium-input-panel,
  .premium-analysis-panel {
    padding: 1.5rem;
  }
} 

/* ═══════════════════════════════════════════════════════════════════════════════
   SONY-LEVEL SOLAR CALCULATOR - SOPHISTICATED PROFESSIONAL INTERFACE
   Created: 2025-01-27 | Version: 2.0
   Purpose: Clean, minimal, Sony-quality interface that's industry-leading
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  /* Sony-Level Color System */
  --sony-primary: #000000;
  --sony-secondary: #1a1a1a;
  --sony-accent: #2196F3;
  --sony-success: #4CAF50;
  --sony-warning: #FF9800;
  --sony-error: #F44336;
  
  /* Sophisticated Grays */
  --sony-gray-50: #fafafa;
  --sony-gray-100: #f5f5f5;
  --sony-gray-200: #eeeeee;
  --sony-gray-300: #e0e0e0;
  --sony-gray-400: #bdbdbd;
  --sony-gray-500: #9e9e9e;
  --sony-gray-600: #757575;
  --sony-gray-700: #616161;
  --sony-gray-800: #424242;
  --sony-gray-900: #212121;
  
  /* Professional Typography */
  --sony-font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --sony-font-mono: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
  
  /* Sophisticated Spacing */
  --sony-space-xs: 0.25rem;
  --sony-space-sm: 0.5rem;
  --sony-space-md: 1rem;
  --sony-space-lg: 1.5rem;
  --sony-space-xl: 2rem;
  --sony-space-2xl: 3rem;
  
  /* Professional Shadows */
  --sony-shadow-minimal: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sony-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --sony-shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
  --sony-shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.16);
  
  /* Clean Radius System */
  --sony-radius-sm: 0.25rem;
  --sony-radius-md: 0.375rem;
  --sony-radius-lg: 0.5rem;
  --sony-radius-xl: 0.75rem;
  
  /* Sophisticated Animations */
  --sony-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --sony-transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --sony-transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --sony-gray-50: #212121;
    --sony-gray-100: #424242;
    --sony-gray-200: #616161;
    --sony-gray-300: #757575;
    --sony-gray-400: #9e9e9e;
    --sony-gray-500: #bdbdbd;
    --sony-gray-600: #e0e0e0;
    --sony-gray-700: #eeeeee;
    --sony-gray-800: #f5f5f5;
    --sony-gray-900: #fafafa;
  }
}

/* Sony Solar Calculator Container */
.sony-solar-calculator {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sony-space-2xl);
  background: white;
  min-height: 100vh;
  font-family: var(--sony-font-primary);
  color: var(--sony-gray-900);
  line-height: 1.6;
}

/* Sony Header */
.sony-header {
  text-align: center;
  margin-bottom: var(--sony-space-2xl);
  padding-bottom: var(--sony-space-xl);
  border-bottom: 1px solid var(--sony-gray-200);
}

.sony-trust-badge {
  display: inline-block;
  background: var(--sony-gray-100);
  color: var(--sony-gray-700);
  padding: var(--sony-space-xs) var(--sony-space-md);
  border-radius: var(--sony-radius-lg);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  margin-bottom: var(--sony-space-lg);
  border: 1px solid var(--sony-gray-200);
}

.sony-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--sony-primary);
  margin: 0 0 var(--sony-space-sm) 0;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.sony-subtitle {
  font-size: 1rem;
  color: var(--sony-gray-600);
  margin: 0;
  font-weight: 400;
}

/* Sophisticated Progress Indicator */
.sony-progress {
  margin-bottom: var(--sony-space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sony-space-lg);
}

.sony-progress-track {
  width: 100%;
  max-width: 400px;
  height: 2px;
  background: var(--sony-gray-200);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.sony-progress-fill {
  height: 100%;
  background: var(--sony-accent);
  border-radius: 1px;
  transition: width var(--sony-transition-slow);
  position: relative;
}

.sony-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--sony-accent));
  opacity: 0.6;
}

.sony-step-indicators {
  display: flex;
  gap: var(--sony-space-md);
}

.sony-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sony-gray-300);
  transition: all var(--sony-transition-normal);
}

.sony-step-dot.active {
  background: var(--sony-accent);
  transform: scale(1.25);
}

/* Error Display */
.sony-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: var(--sony-space-md);
  border-radius: var(--sony-radius-md);
  margin-bottom: var(--sony-space-xl);
  font-size: 0.875rem;
  text-align: center;
}

/* Step Container */
.sony-step {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sony-step-content {
  display: flex;
  flex-direction: column;
  gap: var(--sony-space-xl);
}

.sony-step-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--sony-primary);
  margin: 0;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Form Sections */
.sony-section {
  display: flex;
  flex-direction: column;
  gap: var(--sony-space-sm);
}

.sony-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sony-gray-700);
  letter-spacing: 0.01em;
}

.sony-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sony-space-sm);
}

.sony-input {
  width: 100%;
  padding: var(--sony-space-md);
  border: 1px solid var(--sony-gray-300);
  border-radius: var(--sony-radius-md);
  font-size: 1rem;
  font-family: var(--sony-font-primary);
  background: white;
  transition: all var(--sony-transition-fast);
  outline: none;
}

.sony-input:focus {
  border-color: var(--sony-accent);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.sony-input:disabled {
  background: var(--sony-gray-100);
  color: var(--sony-gray-500);
  cursor: not-allowed;
}

.sony-verified {
  width: 24px;
  height: 24px;
  background: var(--sony-success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Buttons */
.sony-analyze-btn,
.sony-continue-btn,
.sony-back-btn,
.sony-submit-btn {
  padding: var(--sony-space-md) var(--sony-space-xl);
  border: none;
  border-radius: var(--sony-radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--sony-font-primary);
  cursor: pointer;
  transition: all var(--sony-transition-fast);
  outline: none;
  letter-spacing: 0.01em;
}

.sony-analyze-btn,
.sony-continue-btn,
.sony-submit-btn {
  background: var(--sony-primary);
  color: white;
}

.sony-analyze-btn:hover,
.sony-continue-btn:hover,
.sony-submit-btn:hover {
  background: var(--sony-secondary);
  transform: translateY(-1px);
  box-shadow: var(--sony-shadow-soft);
}

.sony-analyze-btn:active,
.sony-continue-btn:active,
.sony-submit-btn:active {
  transform: translateY(0);
}

.sony-analyze-btn:disabled,
.sony-continue-btn:disabled,
.sony-submit-btn:disabled {
  background: var(--sony-gray-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sony-back-btn {
  background: transparent;
  color: var(--sony-gray-600);
  border: 1px solid var(--sony-gray-300);
}

.sony-back-btn:hover {
  background: var(--sony-gray-100);
  border-color: var(--sony-gray-400);
}

/* Bill Control */
.sony-bill-control {
  display: flex;
  flex-direction: column;
  gap: var(--sony-space-md);
  padding: var(--sony-space-lg);
  background: var(--sony-gray-50);
  border: 1px solid var(--sony-gray-200);
  border-radius: var(--sony-radius-lg);
}

.sony-bill-amount {
  font-size: 2rem;
  font-weight: 300;
  color: var(--sony-primary);
  text-align: center;
  font-family: var(--sony-font-mono);
}

.sony-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--sony-gray-200);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.sony-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sony-accent);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: var(--sony-shadow-soft);
  transition: all var(--sony-transition-fast);
}

.sony-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--sony-shadow-medium);
}

.sony-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sony-accent);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: var(--sony-shadow-soft);
  transition: all var(--sony-transition-fast);
}

.sony-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--sony-gray-500);
  font-weight: 500;
}

/* Map Section */
.sony-map-section {
  background: var(--sony-gray-50);
  border: 1px solid var(--sony-gray-200);
  border-radius: var(--sony-radius-lg);
  overflow: hidden;
  box-shadow: var(--sony-shadow-minimal);
}

.sony-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sony-space-md) var(--sony-space-lg);
  background: white;
  border-bottom: 1px solid var(--sony-gray-200);
}

.sony-map-header span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sony-gray-700);
}

.sony-live-indicator {
  background: var(--sony-success);
  color: white;
  padding: var(--sony-space-xs) var(--sony-space-sm);
  border-radius: var(--sony-radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
}

.sony-live-indicator::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--sony-success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.sony-satellite-map {
  width: 100%;
  height: 300px;
  position: relative;
  background: var(--sony-gray-200);
}

.sony-map-data {
  position: absolute;
  bottom: var(--sony-space-md);
  left: var(--sony-space-md);
  right: var(--sony-space-md);
  display: flex;
  gap: var(--sony-space-md);
}

.sony-data-point {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: var(--sony-space-sm) var(--sony-space-md);
  border-radius: var(--sony-radius-md);
  box-shadow: var(--sony-shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  text-align: center;
}

.sony-data-point span:first-child {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sony-primary);
  font-family: var(--sony-font-mono);
  line-height: 1.2;
}

.sony-data-point span:last-child {
  display: block;
  font-size: 0.6875rem;
  color: var(--sony-gray-600);
  font-weight: 500;
  margin-top: var(--sony-space-xs);
}

/* Results Section */
.sony-results {
  background: var(--sony-gray-50);
  border: 1px solid var(--sony-gray-200);
  border-radius: var(--sony-radius-lg);
  padding: var(--sony-space-xl);
  box-shadow: var(--sony-shadow-minimal);
}

.sony-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sony-space-xl);
}

.sony-results-header h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--sony-primary);
  margin: 0;
}

.sony-confidence {
  background: var(--sony-success);
  color: white;
  padding: var(--sony-space-xs) var(--sony-space-sm);
  border-radius: var(--sony-radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.sony-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sony-space-md);
  margin-bottom: var(--sony-space-xl);
}

.sony-metric {
  background: white;
  padding: var(--sony-space-lg);
  border-radius: var(--sony-radius-md);
  border: 1px solid var(--sony-gray-200);
  text-align: center;
  transition: all var(--sony-transition-normal);
}

.sony-metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--sony-shadow-soft);
}

.sony-metric.primary {
  border-color: var(--sony-accent);
  background: rgba(33, 150, 243, 0.02);
}

.sony-metric.success {
  border-color: var(--sony-success);
  background: rgba(76, 175, 80, 0.02);
}

.sony-metric span:first-child {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--sony-primary);
  font-family: var(--sony-font-mono);
  line-height: 1.2;
}

.sony-metric span:last-child {
  display: block;
  font-size: 0.875rem;
  color: var(--sony-gray-600);
  font-weight: 500;
  margin-top: var(--sony-space-sm);
}

/* Step 2 Styling */
.sony-summary {
  background: var(--sony-gray-50);
  border: 1px solid var(--sony-gray-200);
  border-radius: var(--sony-radius-lg);
  padding: var(--sony-space-lg);
  margin-bottom: var(--sony-space-xl);
}

.sony-specs {
  display: flex;
  justify-content: center;
  gap: var(--sony-space-lg);
  flex-wrap: wrap;
}

.sony-specs span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sony-gray-700);
  padding: var(--sony-space-xs) var(--sony-space-md);
  background: white;
  border: 1px solid var(--sony-gray-200);
  border-radius: var(--sony-radius-sm);
}

.sony-addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sony-space-md);
  margin-bottom: var(--sony-space-xl);
}

.sony-addon {
  background: white;
  border: 2px solid var(--sony-gray-200);
  border-radius: var(--sony-radius-lg);
  padding: var(--sony-space-lg);
  cursor: pointer;
  transition: all var(--sony-transition-normal);
  text-align: center;
}

.sony-addon:hover {
  border-color: var(--sony-gray-400);
  transform: translateY(-1px);
  box-shadow: var(--sony-shadow-soft);
}

.sony-addon.selected {
  border-color: var(--sony-accent);
  background: rgba(33, 150, 243, 0.02);
}

.sony-addon-icon {
  font-size: 2rem;
  margin-bottom: var(--sony-space-md);
  display: block;
}

.sony-addon span:nth-child(2) {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sony-primary);
  margin-bottom: var(--sony-space-sm);
}

.sony-addon span:last-child {
  display: block;
  font-size: 0.875rem;
  color: var(--sony-gray-600);
}

/* Step 3 Styling */
.sony-form {
  display: flex;
  flex-direction: column;
  gap: var(--sony-space-lg);
  margin-bottom: var(--sony-space-xl);
}

.sony-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sony-space-lg);
}

.sony-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sony-space-sm);
}

.sony-radio-group {
  display: flex;
  gap: var(--sony-space-lg);
}

.sony-radio {
  display: flex;
  align-items: center;
  gap: var(--sony-space-sm);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--sony-gray-700);
}

.sony-radio input[type="radio"] {
  margin: 0;
  accent-color: var(--sony-accent);
}

/* Navigation */
.sony-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sony-space-lg);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .sony-solar-calculator {
    padding: var(--sony-space-lg);
  }
  
  .sony-title {
    font-size: 2rem;
  }
  
  .sony-metrics {
    grid-template-columns: 1fr;
  }
  
  .sony-addons {
    grid-template-columns: 1fr;
  }
  
  .sony-form-row {
    grid-template-columns: 1fr;
  }
  
  .sony-radio-group {
    flex-direction: column;
    gap: var(--sony-space-md);
  }
  
  .sony-nav {
    flex-direction: column;
  }
  
  .sony-specs {
    flex-direction: column;
    align-items: center;
  }
  
  .sony-map-data {
    position: static;
    margin-top: var(--sony-space-md);
    padding: var(--sony-space-md);
    background: white;
    border-top: 1px solid var(--sony-gray-200);
  }
}

@media (max-width: 480px) {
  .sony-solar-calculator {
    padding: var(--sony-space-md);
  }
  
  .sony-title {
    font-size: 1.75rem;
  }
  
  .sony-metric span:first-child {
    font-size: 1.5rem;
  }
  
  .sony-bill-amount {
    font-size: 1.75rem;
  }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
  :root {
    --sony-gray-200: #cccccc;
    --sony-gray-300: #999999;
    --sony-gray-400: #666666;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .sony-step-dot,
  .sony-metric,
  .sony-addon,
  .sony-analyze-btn,
  .sony-continue-btn,
  .sony-back-btn,
  .sony-submit-btn {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SONY COMPACT SOLAR CALCULATOR - PROFESSIONAL EFFICIENT INTERFACE
   Created: 2025-01-27 | Version: 3.0
   Purpose: Compact, logical, professional Sony-quality interface
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  /* Compact Sony Color System */
  --sony-dark: #000000;
  --sony-dark-secondary: #1a1a1a;
  --sony-light: #ffffff;
  --sony-light-secondary: #f8f9fa;
  --sony-blue: #2563EB;
  --sony-green: #10B981;
  --sony-orange: #F59E0B;
  --sony-red: #EF4444;
  
  /* Efficient Grays */
  --sony-gray-100: #f5f5f5;
  --sony-gray-200: #e5e5e5;
  --sony-gray-300: #d4d4d4;
  --sony-gray-400: #a3a3a3;
  --sony-gray-500: #737373;
  --sony-gray-600: #525252;
  --sony-gray-700: #404040;
  --sony-gray-800: #262626;
  --sony-gray-900: #171717;
  
  /* Compact Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  
  /* Efficient Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Professional Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Compact Typography */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
  :root {
    --sony-dark: #ffffff;
    --sony-dark-secondary: #f8f9fa;
    --sony-light: #000000;
    --sony-light-secondary: #1a1a1a;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COMPACT CALCULATOR CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */

.sony-compact-calculator {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-lg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--sony-dark);
  background: var(--sony-light);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COMPACT HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */

.compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--sony-gray-200);
}

.compact-header h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin: 0;
  color: var(--sony-dark);
}

.compact-progress {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.progress-track {
  width: 120px;
  height: 4px;
  background: var(--sony-gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--sony-blue);
  transition: width 0.3s ease;
}

.compact-progress span {
  font-size: var(--text-sm);
  color: var(--sony-gray-600);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ERROR DISPLAY
   ═══════════════════════════════════════════════════════════════════════════════ */

.compact-error {
  background: #FEF2F2;
  color: var(--sony-red);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid #FECACA;
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP CONTAINERS
   ═══════════════════════════════════════════════════════════════════════════════ */

.compact-step {
  animation: fadeIn 0.3s ease;
}

.compact-step h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-lg);
  color: var(--sony-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TWO-COLUMN LAYOUT (STEP 1)
   ═══════════════════════════════════════════════════════════════════════════════ */

.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.control-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.map-column {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INPUT GROUPS
   ═══════════════════════════════════════════════════════════════════════════════ */

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.input-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--sony-gray-700);
}

.input-row {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.compact-input {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--sony-gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--sony-light);
  color: var(--sony-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.compact-input:focus {
  outline: none;
  border-color: var(--sony-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.verify-check {
  color: var(--sony-green);
  font-weight: 600;
  font-size: var(--text-lg);
}

.analyze-btn {
  padding: var(--space-sm) var(--space-md);
  background: var(--sony-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.analyze-btn:hover {
  background: #1D4ED8;
}

.analyze-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BILL CONTROL
   ═══════════════════════════════════════════════════════════════════════════════ */

.bill-value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--enterprise-primary);
  margin-bottom: var(--space-4);
}

.enterprise-slider {
  width: 100%;
  height: 4px;
  background: var(--enterprise-gray-200);
  border-radius: var(--radius-2);
  outline: none;
  appearance: none;
  margin: var(--space-4) 0;
  cursor: pointer;
}

.enterprise-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--enterprise-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.enterprise-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.enterprise-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--enterprise-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.range-indicators {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-2xs);
  color: var(--enterprise-gray-400);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-map {
  background: var(--enterprise-white);
  border: 1px solid var(--enterprise-gray-200);
  border-radius: var(--radius-4);
  overflow: hidden;
  height: 240px;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  background: var(--enterprise-gray-50);
  border-bottom: 1px solid var(--enterprise-gray-200);
}

.map-header span:first-child {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
}

.map-header span:last-child {
  font-size: var(--text-2xs);
  color: var(--enterprise-success);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.map-container {
  height: 200px;
  position: relative;
  background: var(--enterprise-gray-100);
}

.map-data-overlay {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-3);
  font-size: var(--text-xs);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-data-overlay span:first-child {
  display: block;
  font-weight: 600;
  color: var(--enterprise-black);
  margin-bottom: var(--space-1);
}

.map-data-overlay span:last-child {
  display: block;
  color: var(--enterprise-gray-500);
  font-weight: 500;
}

.map-empty {
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--enterprise-gray-50);
  border: 1px dashed var(--enterprise-gray-300);
  border-radius: var(--radius-4);
  color: var(--enterprise-gray-400);
}

.map-empty div:first-child {
  font-size: 32px;
  margin-bottom: var(--space-4);
  opacity: 0.6;
}

.map-empty span {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESULTS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-results {
  background: var(--enterprise-gray-900);
  color: var(--enterprise-white);
  padding: var(--space-16);
  border-radius: var(--radius-6);
  margin-top: var(--space-20);
  box-shadow: var(--shadow-lg);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
}

.results-header h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0;
  color: var(--enterprise-white);
}

.results-header div:last-child {
  background: var(--enterprise-success);
  color: var(--enterprise-white);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.025em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-4);
  padding: var(--space-10);
  text-align: center;
  transition: all 0.15s ease;
}

.metric:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.metric.primary {
  background: linear-gradient(135deg, var(--enterprise-primary), #0056d6);
  border: none;
}

.metric.success {
  background: linear-gradient(135deg, var(--enterprise-success), #059669);
  border: none;
}

.metric div:first-child {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--enterprise-white);
  margin-bottom: var(--space-2);
  letter-spacing: -0.025em;
}

.metric div:nth-child(2) {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-white);
  margin-bottom: var(--space-1);
}

.metric div:last-child {
  font-size: var(--text-xs);
  opacity: 0.8;
  color: var(--enterprise-white);
  font-weight: 400;
}

.enterprise-continue {
  width: 100%;
  height: 44px;
  background: var(--enterprise-primary);
  color: var(--enterprise-white);
  border: none;
  border-radius: var(--radius-4);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  letter-spacing: 0.025em;
}

.enterprise-continue:hover {
  background: #0056d6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP 2 - ENTERPRISE OPTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

.system-summary {
  display: flex;
  gap: var(--space-16);
  padding: var(--space-8) var(--space-12);
  background: var(--enterprise-gray-50);
  border-radius: var(--radius-4);
  margin-bottom: var(--space-16);
  border: 1px solid var(--enterprise-gray-200);
}

.system-summary span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--enterprise-gray-700);
}

.enterprise-addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.addon-option {
  padding: var(--space-12);
  border: 1px solid var(--enterprise-gray-300);
  border-radius: var(--radius-4);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--enterprise-white);
}

.addon-option:hover {
  border-color: var(--enterprise-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.addon-option.selected {
  border-color: var(--enterprise-primary);
  background: rgba(0, 106, 255, 0.05);
  box-shadow: 0 0 0 3px var(--enterprise-primary-glow);
}

.addon-option span:first-child {
  display: block;
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.addon-option span:last-child {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP 3 - ENTERPRISE CONTACT
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.consultation-type {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-8);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
}

.radio-label input[type="radio"] {
  margin: 0;
  accent-color: var(--enterprise-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */

.step-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-button {
  height: 40px;
  padding: 0 var(--space-16);
  border-radius: var(--radius-4);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.025em;
}

.nav-button.secondary {
  background: var(--enterprise-white);
  color: var(--enterprise-gray-700);
  border: 1px solid var(--enterprise-gray-300);
}

.nav-button.secondary:hover {
  background: var(--enterprise-gray-50);
  border-color: var(--enterprise-gray-400);
}

.nav-button.primary {
  background: var(--enterprise-primary);
  color: var(--enterprise-white);
  border: 1px solid var(--enterprise-primary);
}

.nav-button.primary:hover {
  background: #0056d6;
}

.nav-button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

@keyframes enterpriseFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .enterprise-solar-calculator {
    padding: var(--space-8);
  }
  
  .enterprise-header {
    flex-direction: column;
    gap: var(--space-8);
    align-items: flex-start;
  }
  
  .enterprise-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .enterprise-addons {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .consultation-type {
    flex-direction: column;
    gap: var(--space-8);
  }
  
  .step-navigation {
    flex-direction: column;
  }
  
  .system-summary {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .enterprise-solar-calculator {
    padding: var(--space-6);
  }
  
  .enterprise-map,
  .map-empty {
    height: 200px;
  }
  
  .map-container {
    height: 160px;
  }
  
  .enterprise-header h1 {
    font-size: var(--text-xl);
  }
  
  .enterprise-results {
    padding: var(--space-12);
  }
  
  .progress-track {
    width: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DARK MODE SUPPORT
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  .enterprise-solar-calculator {
    background: var(--enterprise-white);
    color: var(--enterprise-black);
  }
  
  .enterprise-header {
    border-bottom-color: var(--enterprise-gray-200);
  }
  
  .enterprise-input {
    background: var(--enterprise-white);
    border-color: var(--enterprise-gray-200);
    color: var(--enterprise-black);
  }
  
  .enterprise-map {
    background: var(--enterprise-white);
    border-color: var(--enterprise-gray-200);
  }
  
  .map-header {
    background: var(--enterprise-gray-100);
    border-bottom-color: var(--enterprise-gray-200);
  }
  
  .map-empty {
    background: var(--enterprise-gray-100);
    border-color: var(--enterprise-gray-200);
  }
  
  .enterprise-results {
    background: var(--enterprise-gray-900);
    color: var(--enterprise-white);
  }
  
  .system-summary {
    background: var(--enterprise-gray-100);
    border-color: var(--enterprise-gray-200);
  }
  
  .addon-option {
    background: var(--enterprise-white);
    border-color: var(--enterprise-gray-200);
  }
  
  .nav-button.secondary {
    background: var(--enterprise-white);
    border-color: var(--enterprise-gray-200);
    color: var(--enterprise-black);
  }
  
  .enterprise-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ENTERPRISE SOLAR CALCULATOR - AAA CYBERNETIC UIX INSPIRED
   Created: 2025-01-27 | Version: 4.0
   Purpose: World-class enterprise-grade solar analysis interface
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  /* Enterprise Color System (Light Theme) */
  --enterprise-primary: #006AFF;
  --enterprise-primary-glow: rgba(0, 106, 255, 0.25);
  --enterprise-success: #10B981;
  --enterprise-success-glow: rgba(16, 185, 129, 0.25);
  --enterprise-warning: #F59E0B;
  --enterprise-error: #EF4444;
  
  /* Neutral Palette */
  --enterprise-white: #ffffff;
  --enterprise-black: #000000;
  --enterprise-gray-50: #f9fafb;
  --enterprise-gray-100: #f3f4f6;
  --enterprise-gray-200: #e5e7eb;
  --enterprise-gray-300: #d1d5db;
  --enterprise-gray-400: #9ca3af;
  --enterprise-gray-500: #6b7280;
  --enterprise-gray-600: #4b5563;
  --enterprise-gray-700: #374151;
  --enterprise-gray-800: #1f2937;
  --enterprise-gray-900: #111827;
  
  /* Refined Spacing System */
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-6: 12px;
  --space-8: 16px;
  --space-10: 20px;
  --space-12: 24px;
  --space-16: 32px;
  --space-20: 40px;
  --space-24: 48px;
  
  /* Enterprise Border Radius */
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-3: 6px;
  --radius-4: 8px;
  --radius-6: 12px;
  
  /* Professional Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Enterprise Typography */
  --text-2xs: 10px;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 24px;
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
  :root {
    --enterprise-white: #000000;
    --enterprise-black: #ffffff;
    --enterprise-gray-50: #111827;
    --enterprise-gray-100: #1f2937;
    --enterprise-gray-200: #374151;
    --enterprise-gray-300: #4b5563;
    --enterprise-gray-400: #6b7280;
    --enterprise-gray-500: #9ca3af;
    --enterprise-gray-600: #d1d5db;
    --enterprise-gray-700: #e5e7eb;
    --enterprise-gray-800: #f3f4f6;
    --enterprise-gray-900: #f9fafb;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ENTERPRISE CALCULATOR CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-solar-calculator {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-16);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
  color: var(--enterprise-black);
  background: var(--enterprise-white);
  font-size: var(--text-base);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ENTERPRISE HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--enterprise-gray-200);
}

.enterprise-header h1 {
  font-size: var(--text-2xl);
  font-weight: 600;
  margin: 0;
  color: var(--enterprise-black);
  letter-spacing: -0.025em;
}

.enterprise-progress {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.progress-track {
  width: 80px;
  height: 2px;
  background: var(--enterprise-gray-200);
  border-radius: var(--radius-1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--enterprise-primary);
  transition: width 0.3s ease;
}

.enterprise-progress span {
  font-size: var(--text-xs);
  color: var(--enterprise-gray-500);
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ERROR DISPLAY
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-error {
  background: #fef2f2;
  color: var(--enterprise-error);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-3);
  border: 1px solid #fecaca;
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP CONTAINERS
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-step {
  animation: enterpriseFadeIn 0.2s ease;
}

.enterprise-step h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0 0 var(--space-12);
  color: var(--enterprise-black);
  letter-spacing: -0.025em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ENTERPRISE GRID LAYOUT
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  margin-bottom: var(--space-16);
}

.control-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.map-panel {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FIELD GROUPS
   ═══════════════════════════════════════════════════════════════════════════════ */

.field-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.field-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
  letter-spacing: 0.025em;
}

.enterprise-input-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.enterprise-input {
  flex: 1;
  height: 32px;
  padding: 0 var(--space-8);
  border: 1px solid var(--enterprise-gray-300);
  border-radius: var(--radius-3);
  font-size: var(--text-sm);
  background: var(--enterprise-white);
  color: var(--enterprise-black);
  transition: all 0.15s ease;
  font-weight: 400;
}

.enterprise-input:focus {
  outline: none;
  border-color: var(--enterprise-primary);
  box-shadow: 0 0 0 3px var(--enterprise-primary-glow);
}

.enterprise-input::placeholder {
  color: var(--enterprise-gray-400);
  font-weight: 400;
}

.verification-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--enterprise-success);
  color: var(--enterprise-white);
  border-radius: 50%;
  font-size: var(--text-2xs);
  font-weight: 600;
  flex-shrink: 0;
}

.analyze-button {
  height: 32px;
  padding: 0 var(--space-10);
  background: var(--enterprise-primary);
  color: var(--enterprise-white);
  border: none;
  border-radius: var(--radius-3);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.analyze-button:hover {
  background: #0056d6;
}

.analyze-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BILL CONTROL
   ═══════════════════════════════════════════════════════════════════════════════ */

.bill-value {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--enterprise-primary);
  margin-bottom: var(--space-4);
}

.enterprise-slider {
  width: 100%;
  height: 4px;
  background: var(--enterprise-gray-200);
  border-radius: var(--radius-2);
  outline: none;
  appearance: none;
  margin: var(--space-4) 0;
  cursor: pointer;
}

.enterprise-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--enterprise-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.enterprise-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.enterprise-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--enterprise-primary);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.range-indicators {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-2xs);
  color: var(--enterprise-gray-400);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MAP SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-map {
  background: var(--enterprise-white);
  border: 1px solid var(--enterprise-gray-200);
  border-radius: var(--radius-4);
  overflow: hidden;
  height: 240px;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  background: var(--enterprise-gray-50);
  border-bottom: 1px solid var(--enterprise-gray-200);
}

.map-header span:first-child {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
}

.map-header span:last-child {
  font-size: var(--text-2xs);
  color: var(--enterprise-success);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.map-container {
  height: 200px;
  position: relative;
  background: var(--enterprise-gray-100);
}

.map-data-overlay {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-3);
  font-size: var(--text-xs);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-data-overlay span:first-child {
  display: block;
  font-weight: 600;
  color: var(--enterprise-black);
  margin-bottom: var(--space-1);
}

.map-data-overlay span:last-child {
  display: block;
  color: var(--enterprise-gray-500);
  font-weight: 500;
}

.map-empty {
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--enterprise-gray-50);
  border: 1px dashed var(--enterprise-gray-300);
  border-radius: var(--radius-4);
  color: var(--enterprise-gray-400);
}

.map-empty div:first-child {
  font-size: 32px;
  margin-bottom: var(--space-4);
  opacity: 0.6;
}

.map-empty span {
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESULTS SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-results {
  background: var(--enterprise-gray-900);
  color: var(--enterprise-white);
  padding: var(--space-16);
  border-radius: var(--radius-6);
  margin-top: var(--space-20);
  box-shadow: var(--shadow-lg);
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-12);
}

.results-header h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin: 0;
  color: var(--enterprise-white);
}

.results-header div:last-child {
  background: var(--enterprise-success);
  color: var(--enterprise-white);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.025em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-4);
  padding: var(--space-10);
  text-align: center;
  transition: all 0.15s ease;
}

.metric:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.metric.primary {
  background: linear-gradient(135deg, var(--enterprise-primary), #0056d6);
  border: none;
}

.metric.success {
  background: linear-gradient(135deg, var(--enterprise-success), #059669);
  border: none;
}

.metric div:first-child {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--enterprise-white);
  margin-bottom: var(--space-2);
  letter-spacing: -0.025em;
}

.metric div:nth-child(2) {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-white);
  margin-bottom: var(--space-1);
}

.metric div:last-child {
  font-size: var(--text-xs);
  opacity: 0.8;
  color: var(--enterprise-white);
  font-weight: 400;
}

.enterprise-continue {
  width: 100%;
  height: 44px;
  background: var(--enterprise-primary);
  color: var(--enterprise-white);
  border: none;
  border-radius: var(--radius-4);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  letter-spacing: 0.025em;
}

.enterprise-continue:hover {
  background: #0056d6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP 2 - ENTERPRISE OPTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

.system-summary {
  display: flex;
  gap: var(--space-16);
  padding: var(--space-8) var(--space-12);
  background: var(--enterprise-gray-50);
  border-radius: var(--radius-4);
  margin-bottom: var(--space-16);
  border: 1px solid var(--enterprise-gray-200);
}

.system-summary span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--enterprise-gray-700);
}

.enterprise-addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.addon-option {
  padding: var(--space-12);
  border: 1px solid var(--enterprise-gray-300);
  border-radius: var(--radius-4);
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--enterprise-white);
}

.addon-option:hover {
  border-color: var(--enterprise-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.addon-option.selected {
  border-color: var(--enterprise-primary);
  background: rgba(0, 106, 255, 0.05);
  box-shadow: 0 0 0 3px var(--enterprise-primary-glow);
}

.addon-option span:first-child {
  display: block;
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.addon-option span:last-child {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STEP 3 - ENTERPRISE CONTACT
   ═══════════════════════════════════════════════════════════════════════════════ */

.enterprise-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.consultation-type {
  display: flex;
  gap: var(--space-16);
  margin-top: var(--space-8);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--enterprise-gray-700);
}

.radio-label input[type="radio"] {
  margin: 0;
  accent-color: var(--enterprise-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */

.step-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
}

.back-btn,
.submit-btn {
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--sony-gray-300);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--sony-light);
  color: var(--sony-dark);
}

.back-btn:hover {
  background: var(--sony-gray-100);
}

.submit-btn {
  background: var(--sony-blue);
  color: white;
  border-color: var(--sony-blue);
}

.submit-btn:hover {
  background: #1D4ED8;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .sony-compact-calculator {
    padding: var(--space-md);
  }
  
  .compact-header {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }
  
  .two-column-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .compact-addons {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .consultation-options {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .step-nav {
    flex-direction: column;
  }
  
  .system-summary {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sony-compact-calculator {
    padding: var(--space-sm);
  }
  
  .compact-map,
  .map-placeholder {
    height: 220px;
  }
  
  .map-container {
    height: 160px;
  }
  
  .compact-header h2 {
    font-size: var(--text-xl);
  }
  
  .compact-results {
    padding: var(--space-12);
  }
  
  .progress-track {
    width: 60px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DARK MODE SUPPORT
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  .sony-compact-calculator {
    background: var(--sony-light);
    color: var(--sony-dark);
  }
  
  .compact-header {
    border-bottom-color: var(--sony-gray-700);
  }
  
  .compact-input {
    background: var(--sony-light-secondary);
    border-color: var(--sony-gray-600);
    color: var(--sony-dark);
  }
  
  .compact-map {
    background: var(--sony-light-secondary);
    border-color: var(--sony-gray-700);
  }
  
  .map-header {
    background: var(--sony-gray-800);
    border-bottom-color: var(--sony-gray-700);
  }
  
  .map-placeholder {
    background: var(--sony-gray-800);
    border-color: var(--sony-gray-600);
  }
  
  .compact-results {
    background: var(--sony-dark-secondary);
    color: var(--sony-light);
  }
  
  .compact-summary {
    background: var(--sony-gray-800);
  }
  
  .addon-option {
    background: var(--sony-light-secondary);
    border-color: var(--sony-gray-600);
  }
  
  .back-btn {
    background: var(--sony-light-secondary);
    border-color: var(--sony-gray-600);
    color: var(--sony-dark);
  }
  
  .compact-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
  }
}