/* ========================================
   SolarShare - Unified Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #1a5f2a;
    --primary-light: #2d8a3e;
    --primary-dark: #0d3d18;
    --secondary-color: #f7b731;
    --secondary-light: #ffd166;
    --accent-color: #3498db;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-cream: #fefcf3;
    --bg-gradient: linear-gradient(135deg, #1a5f2a 0%, #2d8a3e 50%, #3498db 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-medium);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(26, 95, 42, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 95, 42, 0.4);
}

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

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

.btn-white {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
    position: relative;
    gap: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-white);
    transition: var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.header.scrolled .logo {
    color: var(--primary-color);
}


.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white) !important;
    transition: var(--transition-fast);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-white); 
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
		color: var(--text-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 8px 0;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: none;
}

.nav-cta:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    flex-shrink: 0;
    order: 999;
    margin-left: auto;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition-fast);
    transform-origin: center;
}

.header.scrolled .mobile-toggle span {
    background: var(--primary-color);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Close Button */
.mobile-menu-header {
    display: none;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1002;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-text h1 {
    color: var(--text-white);
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--secondary-color);
}

.hero-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, 
        #87CEEB 0%, 
        #87CEEB 30%, 
        #6BB6FF 50%, 
        #4A90A4 70%, 
        #87CEEB 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.1);
}

/* Добавляем облака в фон */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0.6;
    animation: cloud-drift 20s ease-in-out infinite;
    pointer-events: none;
}

/* Добавляем землю/траву внизу */
.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(34, 139, 34, 0.1) 20%,
        rgba(34, 139, 34, 0.3) 50%,
        rgba(34, 139, 34, 0.5) 100%
    );
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    pointer-events: none;
}

@keyframes cloud-drift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-10px); }
}

/* Hero solar image (replaces CSS illustration) */
.hero-image.has-image {
    background: transparent;
    box-shadow: none;
    height: auto;
}

.hero-image.has-image::before,
.hero-image.has-image::after {
    display: none;
}

.hero-solar-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border-radius: var(--border-radius-lg);
}

/* Full image - covers entire block */
.hero-image.full-image {
    height: 450px;
}

.hero-image.full-image .hero-solar-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* Улучшенная анимация солнца */
.sun-animation {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, 
        #FFD700 0%, 
        var(--secondary-color) 50%, 
        rgba(247, 183, 49, 0.8) 100%
    );
    border-radius: 50%;
    box-shadow: 
        0 0 60px var(--secondary-color), 
        0 0 100px rgba(247, 183, 49, 0.5),
        0 0 140px rgba(247, 183, 49, 0.3),
        inset -10px -10px 20px rgba(255, 215, 0, 0.3);
    animation: pulse-sun 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse-sun {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 
            0 0 60px var(--secondary-color), 
            0 0 100px rgba(247, 183, 49, 0.5),
            0 0 140px rgba(247, 183, 49, 0.3),
            inset -10px -10px 20px rgba(255, 215, 0, 0.3);
    }
    50% { 
        transform: scale(1.1); 
        box-shadow: 
            0 0 80px var(--secondary-color), 
            0 0 120px rgba(247, 183, 49, 0.6),
            0 0 160px rgba(247, 183, 49, 0.4),
            inset -10px -10px 20px rgba(255, 215, 0, 0.4);
    }
}

/* Улучшенная иллюстрация дома */
.house-illustration {
    position: relative;
    width: 300px;
    height: 250px;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.house-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 120px;
    background: linear-gradient(180deg, 
        #f8f8f8 0%, 
        #f5f5f5 50%, 
        #e8e8e8 100%
    );
    border-radius: 8px 8px 0 0;
    box-shadow: 
        inset 0 -5px 10px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Добавляем окна в дом */
.house-body::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 40px;
    height: 50px;
    background: linear-gradient(135deg, #87CEEB 0%, #6BB6FF 100%);
    border: 2px solid #4A90A4;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.house-body::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 50px;
    background: linear-gradient(135deg, #87CEEB 0%, #6BB6FF 100%);
    border: 2px solid #4A90A4;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.house-roof {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 130px solid transparent;
    border-right: 130px solid transparent;
    border-bottom: 80px solid #8b4513;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

/* Улучшенные солнечные панели */
.solar-panels {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 4px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.panel {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, 
        #1a237e 0%, 
        #3949ab 50%, 
        #5c6bc0 100%
    );
    border: 1px solid #7986cb;
    border-radius: 2px;
    animation: panel-glow 2s ease-in-out infinite;
    box-shadow: 
        inset 0 2px 5px rgba(255, 255, 255, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes panel-glow {
    0%, 100% { 
        box-shadow: 
            inset 0 2px 5px rgba(255, 255, 255, 0.2),
            0 1px 3px rgba(0, 0, 0, 0.3),
            0 0 5px rgba(247, 183, 49, 0.1);
    }
    50% { 
        box-shadow: 
            inset 0 2px 5px rgba(255, 255, 255, 0.3),
            0 1px 3px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(247, 183, 49, 0.4),
            0 0 25px rgba(247, 183, 49, 0.2);
    }
}

.floating-badge {
    position: absolute;
    background: var(--text-white);
    padding: 16px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 4s ease-in-out infinite;
}

.floating-badge.top-left {
    top: -20px;
    left: -40px;
}

.floating-badge.bottom-right {
    bottom: 40px;
    right: -40px;
    animation-delay: 2s;
}

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

.badge-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
}

.badge-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.badge-text span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--bg-light);
}

.section-cream {
    background: var(--bg-cream);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--text-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .overline {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 95, 42, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.125rem;
}

/* Cards */
.card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
}

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

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

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(26, 95, 42, 0.1), rgba(26, 95, 42, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.card:hover .card-icon {
    background: var(--bg-gradient);
    color: var(--text-white);
    transform: scale(1.1) rotate(5deg);
}

.card h3 {
    margin-bottom: 16px;
}

.card p {
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* How It Works */
.steps-container {
    position: relative;
}

.steps-line {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(26, 95, 42, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px dashed var(--primary-light);
    border-radius: 50%;
    animation: rotate-border 10s linear infinite;
}

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

.step-card h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    background: var(--bg-gradient);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-box .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 8px;
}

.stat-box .label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Calculator Section */
.calculator-section {
    background: var(--bg-cream);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator-form {
    background: var(--text-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 95, 42, 0.1);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #e9ecef 0%);
    outline: none;
    padding: 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(26, 95, 42, 0.3);
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-value {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.calculator-results {
    padding: 40px;
}

.result-card {
    background: var(--bg-gradient);
    color: var(--text-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    text-align: center;
}

.result-card h3 {
    color: var(--text-white);
    margin-bottom: 16px;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    word-break: break-word;
    overflow-wrap: break-word;
}

.result-value span {
    font-size: 1.5rem;
}

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

.result-item {
    background: var(--text-white);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.result-item .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    word-break: break-word;
    overflow-wrap: break-word;
}

.result-item .label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 0;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card > * {
    position: relative;
    z-index: 1;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-white);
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(26, 95, 42, 0.3);
    transition: var(--transition-fast);
    overflow: hidden;
    position: relative;
}

/*
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 3px var(--text-white), 0 0 0 4px rgba(26, 95, 42, 0.2);
}
*/
.team-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.team-card:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.team-card h4 {
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.team-card:hover h4 {
    color: var(--text-white);
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    transition: var(--transition-fast);
}

.team-card:hover .team-role {
    color: var(--secondary-color);
}

.team-card p {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.team-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--text-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 8rem;
    color: rgba(26, 95, 42, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(26, 95, 42, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-text span,
.contact-text a {
    color: var(--text-light);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--text-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.contact-form h3 {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* CTA Section */
.cta-section {
    background: var(--bg-gradient);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
    animation: rotate-bg 60s linear infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-white);
    margin-bottom: 24px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-newsletter input {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-newsletter .btn {
    width: 100%;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Page Headers */
.page-header {
    background: var(--bg-gradient);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: var(--text-white);
    margin-bottom: 20px;
    position: relative;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-content {
    background: var(--text-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    max-width: 450px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border: 4px solid var(--text-white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.timeline-year {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--text-white);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 24px;
    margin: 0;
}

/* Interactive Map Placeholder */
.map-container {
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.map-placeholder svg {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .steps-line {
        display: none;
    }

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

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

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

    .calculator-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

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

    .dashboard-card.full-width {
        grid-column: span 2;
    }

    .dashboard-card.half-width {
        grid-column: span 1;
    }
}

/* Mobile - 768px (Main Mobile Breakpoint) */
@media (max-width: 768px) {
    /* ========================================
       HEADER & NAVIGATION - FIXED ON SCROLL
       ======================================== */

    /* Header - ALWAYS fixed at top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
        max-width: 100vw;
        overflow: visible;
    }

    .header .container {
        overflow: visible;
        max-width: 100%;
        width: 100%;
        padding: 0 16px;
    }

    .header-inner {
        flex-wrap: nowrap;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        min-width: 0;
    }

    /* Logo */
    .logo {
        flex-shrink: 0;
        order: 1;
        z-index: 1002;
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: calc(100% - 70px);
        min-width: 0;
        overflow: hidden;
        font-size: 1.4rem;
    }

    .logo span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .header.scrolled .logo {
        color: var(--primary-color);
    }

    /* Mobile Toggle Button - ALWAYS visible */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        order: 3;
        margin-left: auto;
        flex-shrink: 0;
        z-index: 1002;
        cursor: pointer;
        padding: 10px;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
        background: var(--text-white);
        border-radius: 2px;
        display: block;
        transition: var(--transition-fast);
        transform-origin: center;
    }

    .header.scrolled .mobile-toggle span {
        background: var(--primary-color);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--primary-color);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--primary-color);
    }

    /* Mobile Menu - Slide from right */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--text-white);
        flex-direction: column;
        padding: 80px 24px 40px;
        gap: 0;
        transition: transform 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(100%);
        order: 2;
        display: flex;
        margin: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Nav Links in Mobile Menu */
    .nav-menu .nav-link,
    .nav-menu a {
        color: var(--text-dark);
        font-size: 1.1rem;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        display: block;
        width: 100%;
        text-decoration: none;
        font-weight: 500;
    }

    .nav-menu .nav-link:last-child,
    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link:hover,
    .nav-menu a:hover {
        color: var(--primary-color);
    }

    .nav-menu .nav-link::after {
        display: none;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* Hide CTA button on mobile */
    .nav-cta {
        display: none;
    }

    /* Body scroll lock - WITHOUT position:fixed to prevent scroll jump */
    body.menu-open {
        overflow: hidden;
        touch-action: none;
        -webkit-overflow-scrolling: none;
    }

    html.menu-open {
        overflow: hidden;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* ========================================
       HERO SECTION
       ======================================== */
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0;
        gap: 30px;
    }

    .hero-text {
        order: 1;
        width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
        margin: 0 auto 24px;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        margin-top: 30px;
    }

    .stat-item {
        flex: 0 0 calc(50% - 8px);
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        height: 280px;
        min-height: 280px;
    }

    .hero-image.has-image {
        height: auto;
        min-height: auto;
    }

    .hero-solar-img {
        max-height: 280px;
    }

    .hero-image.full-image {
        height: 280px;
    }

    .hero-image.full-image .hero-solar-img {
        max-height: none;
    }

    .house-illustration {
        width: 180px;
        height: 160px;
    }

    .sun-animation {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }

    .floating-badge {
        display: none;
    }

    /* ========================================
       SECTIONS
       ======================================== */
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-header p {
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }

    /* ========================================
       GRIDS - Single Column on Mobile
       ======================================== */
    .features-grid,
    .steps-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ========================================
       CARDS
       ======================================== */
    .card {
        padding: 24px;
    }

    .card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    /* ========================================
       STEPS
       ======================================== */
    .step-card {
        padding: 20px 16px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .step-number::after {
        width: 65px;
        height: 65px;
    }

    /* ========================================
       STATS SECTION
       ======================================== */
    .stats-section {
        padding: 50px 0;
    }

    .stat-box {
        padding: 20px;
    }

    .stat-box .number {
        font-size: 2rem;
    }

    .stat-box .label {
        font-size: 0.9rem;
    }

    /* ========================================
       CALCULATOR & CONTACT
       ======================================== */
    .calculator-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calculator-form,
    .contact-form {
        padding: 24px;
    }

    .result-card {
        padding: 24px;
    }

    .result-value {
        font-size: 2.5rem;
    }

    .result-value span {
        font-size: 1.25rem;
    }

    .result-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-item {
        padding: 16px;
    }

    .result-item .value {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
    }

    /* ========================================
       TEAM SECTION
       ======================================== */
    .team-card {
        padding: 24px 20px;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
        margin-bottom: 16px;
    }

    /* ========================================
       TESTIMONIALS
       ======================================== */
    .testimonial-card {
        padding: 24px;
    }

    .testimonial-card::before {
        font-size: 5rem;
        top: 15px;
        left: 20px;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    /* ========================================
       CONTACT SECTION
       ======================================== */
    .contact-item {
        gap: 16px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    /* ========================================
       CTA SECTION
       ======================================== */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 260px;
    }

    /* ========================================
       FOOTER
       ======================================== */
    .footer {
        padding: 50px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
        max-width: 100%;
        color: var(--text-white);
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .footer-brand .social-links {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 16px;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-newsletter input {
        padding: 12px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 0;
    }

    .footer-legal {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    /* ========================================
       PAGE HEADERS
       ======================================== */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .page-header p {
        font-size: 1rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    /* ========================================
       TIMELINE
       ======================================== */
    .timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 50px;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        max-width: 100%;
    }

    /* ========================================
       FAQ
       ======================================== */
    .faq-question {
        padding: 18px 20px;
    }

    .faq-question h4 {
        font-size: 1rem;
        padding-right: 12px;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .faq-answer p {
        padding: 0 20px 18px;
        font-size: 0.95rem;
    }

    /* ========================================
       MAP
       ======================================== */
    .map-container {
        height: 280px;
    }

    /* ========================================
       COMPARISON TABLE
       ======================================== */
    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }

    /* ========================================
       DASHBOARD / PLATFORM MOCKUP
       ======================================== */
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-main {
        grid-template-columns: 1fr;
    }

    .dashboard-card.full-width,
    .dashboard-card.half-width {
        grid-column: span 1;
    }

    .mockup-content {
        padding: 20px;
        min-height: 300px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.hidden { display: none; }
.visible { display: block; }

/* Form Success/Error States */
.form-success {
    background: #d4edda;
    color: #155724;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: none;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(26, 95, 42, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--bg-light);
}

.comparison-table .highlight {
    background: rgba(26, 95, 42, 0.05);
}

.check-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.cross-icon {
    color: #dc3545;
    font-size: 1.25rem;
}

/* Revenue Split Circles - How It Works Page */
.revenue-split-circles {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.circle-item {
    text-align: center;
}

.circle-item strong {
    color: white;
    display: block;
}

.circle-item p {
    color: rgba(255,255,255,0.8);
    margin: 4px 0 0;
}

.circle-outer {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.circle-outer.circle-65 {
    background: conic-gradient(var(--secondary-color) 0% 65%, rgba(255,255,255,0.3) 65% 100%);
}

.circle-outer.circle-35 {
    background: conic-gradient(var(--secondary-color) 0% 35%, rgba(255,255,255,0.3) 35% 100%);
}

.circle-inner {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.financial-results {
    padding: 20px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.roi-item {
    margin-top: 20px;
}

/* Product Visualization */
.product-showcase {
    position: relative;
    padding: 60px 0;
}

.platform-mockup {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.mockup-header {
    background: #f1f3f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27ca40; }

.mockup-content {
    padding: 30px;
    min-height: 400px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.dashboard-sidebar {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
}

.sidebar-menu-item {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.sidebar-menu-item:hover,
.sidebar-menu-item.active {
    background: var(--primary-color);
    color: var(--text-white);
}

.dashboard-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius);
}

.dashboard-card.full-width {
    grid-column: span 3;
}

.dashboard-card.half-width {
    grid-column: span 2;
}

.mini-chart {
    height: 100px;
    background: linear-gradient(180deg, rgba(26, 95, 42, 0.1) 0%, transparent 100%);
    border-radius: 8px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 25%, 
        var(--secondary-color) 50%, 
        var(--primary-light) 75%, 
        var(--primary-color) 100%);
    clip-path: polygon(0 100%, 5% 60%, 15% 70%, 25% 40%, 35% 50%, 45% 20%, 55% 35%, 65% 15%, 75% 30%, 85% 10%, 95% 25%, 100% 5%, 100% 100%);
    animation: chart-animation 3s ease-in-out infinite;
}

@keyframes chart-animation {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ========================================
   ABOUT PAGE - Mobile Specific Styles
   ======================================== */
@media (max-width: 768px) {
    /* Our Mission section - text padding */
    .mission-text {
        padding: 20px 16px !important;
    }

    .mission-text p {
        padding-right: 0;
        text-align: left;
    }

    /* Our Vision block */
    .vision-block {
        padding: 0 !important;
    }

    .vision-content {
        padding: 30px 20px !important;
    }

    .vision-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Projected Impact section - single column */
    .impact-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .impact-grid .card {
        padding: 24px 20px !important;
    }

    .impact-grid .card div[style*="font-size: 3rem"] {
        font-size: 2.25rem !important;
    }

    /* Ecosystem section - single column */
    .ecosystem-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .ecosystem-grid .card {
        padding: 24px 20px !important;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens - About page */
    .mission-text {
        padding: 16px 12px !important;
    }

    .vision-content {
        padding: 24px 16px !important;
    }

    .impact-grid .card div[style*="font-size: 3rem"] {
        font-size: 2rem !important;
    }
}

/* ========================================
   HOW IT WORKS PAGE - Mobile Specific Styles
   ======================================== */
@media (max-width: 768px) {
    /* Two Paths section - single column */
    .two-paths-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .two-paths-grid .card {
        padding: 24px 20px !important;
    }

    /* Financial Model section - prevent overflow */
    .calculator-wrapper.financial-model,
    .financial-model {
        gap: 24px !important;
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
    }

    /* Ensure container doesn't overflow */
    .financial-model + .container,
    .section .container {
        overflow-x: hidden;
        max-width: 100%;
    }

    .financial-details {
        padding: 20px 16px !important;
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
    }

    .financial-details * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .financial-details h3 {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    /* Financial rows - proper spacing and prevent overflow */
    .financial-rows {
        margin-bottom: 20px !important;
        overflow: hidden;
    }

    .financial-row {
        padding: 10px 0 !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start;
    }

    .financial-row span {
        font-size: 0.85rem;
        flex: 1 1 auto;
        min-width: 0;
        word-wrap: break-word;
    }

    .financial-row strong {
        font-size: 0.8rem;
        text-align: right;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    /* Net Revenue row - total */
    .financial-total {
        margin: 0 -16px !important;
        padding: 10px 16px !important;
    }

    /* Calculator results - Revenue Split */
    .financial-model .calculator-results,
    .financial-results {
        padding: 20px 16px !important;
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .financial-model .result-card {
        padding: 24px 16px !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    .financial-model .result-card h3 {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    /* Revenue Split circles - make them smaller and stack vertically */
    .revenue-split-circles {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
    }

    .circle-outer {
        width: 90px !important;
        height: 90px !important;
    }

    .circle-inner {
        width: 55px !important;
        height: 55px !important;
        font-size: 0.85rem !important;
    }

    /* Result item - ROI section with proper padding */
    .financial-model .result-item,
    .roi-item {
        padding: 16px !important;
        margin-top: 16px !important;
        box-sizing: border-box;
    }

    .financial-model .result-item .value,
    .roi-item .value {
        font-size: 1.5rem !important;
    }

    .financial-model .result-item .label,
    .roi-item .label {
        font-size: 0.85rem !important;
        line-height: 1.4;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .two-paths-grid .card {
        padding: 20px 16px !important;
    }

    .two-paths-grid .card ul {
        margin-top: 16px !important;
    }

    .two-paths-grid .card ul li {
        font-size: 0.9rem;
    }

    .financial-details {
        padding: 16px 12px !important;
    }

    .financial-details h3 {
        font-size: 1rem;
    }

    .financial-row {
        padding: 8px 0 !important;
    }

    .financial-row span {
        font-size: 0.8rem;
    }

    .financial-row strong {
        font-size: 0.75rem;
    }

    .financial-total {
        margin: 0 -12px !important;
        padding: 8px 12px !important;
    }

    /* Even smaller circles */
    .circle-outer {
        width: 80px !important;
        height: 80px !important;
    }

    .circle-inner {
        width: 50px !important;
        height: 50px !important;
        font-size: 0.75rem !important;
    }

    .financial-model .result-card {
        padding: 20px 12px !important;
    }

    .financial-model .calculator-results,
    .financial-results {
        padding: 16px 12px !important;
    }

    .financial-model .result-item,
    .roi-item {
        padding: 12px !important;
    }

    .financial-model .result-item .value,
    .roi-item .value {
        font-size: 1.25rem !important;
    }

    .financial-model .result-item .label,
    .roi-item .label {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   INVESTORS PAGE - Mobile Specific Styles
   ======================================== */
@media (max-width: 768px) {
    /* Risks section - single column */
    .risks-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .risks-grid .card {
        padding: 24px 20px !important;
    }

    .risks-grid .card ul {
        padding-left: 20px;
    }

    .risks-grid .card ul li {
        margin-bottom: 12px;
        line-height: 1.6 !important;
    }
}

/* Extra Small Screens - 480px */
@media (max-width: 480px) {
    .hero {
        padding: 90px 0 40px;
    }

    .hero-text h1 {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-image {
        height: 220px;
        min-height: 220px;
    }

    .hero-image.has-image {
        height: auto;
        min-height: auto;
    }

    .hero-solar-img {
        max-height: 220px;
    }

    .hero-image.full-image {
        height: 220px;
    }

    .hero-image.full-image .hero-solar-img {
        max-height: none;
    }

    .house-illustration {
        width: 150px;
        height: 130px;
    }

    .sun-animation {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: clamp(1.3rem, 5vw, 1.75rem);
    }

    .container {
        padding: 0 12px;
    }

    .card {
        padding: 20px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .calculator-form,
    .contact-form {
        padding: 20px;
    }

    .result-value {
        font-size: 2rem;
    }

    .result-item .value {
        font-size: 1.25rem;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 24px;
        padding-bottom: 24px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question h4 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 16px 14px;
        font-size: 0.9rem;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 15px;
    }

    .timeline-content {
        padding: 20px;
    }
}
