/* ============================================
   Eco Car Page Styles
   Yangi Avlod Avtomobili - Energy Efficient Cars
   Green theme with eco-friendly design
   ============================================ */

/* ============ Eco Variables ============ */
.eco-car-page {
    --eco-primary: #00ff88;
    --eco-secondary: #00d4aa;
    --eco-accent: #ffb547;
    --eco-dark: #1a472a;
    --eco-darker: #0a1f1a;
    --eco-light: #2d8b5a;
    --eco-blue: #00d4ff;

    --eco-bg: #0a0e12;
    --eco-card: rgba(26, 71, 42, 0.3);
    --eco-border: rgba(0, 255, 136, 0.2);

    --eco-gradient: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
    --eco-gradient-dark: linear-gradient(135deg, var(--eco-dark), var(--eco-darker));
}

/* ============ 3D Canvas Container ============ */
.car-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ============ Loading Screen ============ */
.eco-car-page .loading-screen {
    background: radial-gradient(ellipse at center, var(--eco-darker) 0%, #050a08 100%);
}

.car-loader {
    animation: carBounce 1.5s ease-in-out infinite;
}

@keyframes carBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.car-svg {
    filter: drop-shadow(0 10px 30px rgba(0, 255, 136, 0.3));
}

.eco-car-page .loading-progress-bar.eco-bar {
    background: var(--eco-gradient);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.eco-car-page .loading-text {
    color: var(--eco-primary);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* ============ Hero Section ============ */
.eco-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 26, 0.8) 0%,
        rgba(10, 31, 26, 0.6) 40%,
        rgba(8, 18, 15, 0.65) 100%
    );
}

.eco-effects {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Hero Grid Layout */
.eco-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.energy-waves {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 300px at 70% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 400px 200px at 30% 70%, rgba(0, 212, 170, 0.08) 0%, transparent 50%);
    animation: wavesPulse 8s ease-in-out infinite;
}

@keyframes wavesPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.leaf-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(0, 255, 136, 0.4), transparent),
        radial-gradient(2px 2px at 25% 45%, rgba(0, 212, 170, 0.3), transparent),
        radial-gradient(2px 2px at 40% 15%, rgba(0, 255, 136, 0.5), transparent),
        radial-gradient(2px 2px at 55% 60%, rgba(0, 212, 170, 0.4), transparent),
        radial-gradient(2px 2px at 70% 35%, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(2px 2px at 85% 75%, rgba(0, 212, 170, 0.5), transparent),
        radial-gradient(2px 2px at 95% 10%, rgba(0, 255, 136, 0.4), transparent);
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-100px) translateX(50px); }
}

.circuit-lines {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 100px,
            rgba(0, 255, 136, 0.1) 100px,
            rgba(0, 255, 136, 0.1) 101px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(0, 255, 136, 0.1) 100px,
            rgba(0, 255, 136, 0.1) 101px
        );
}

.eco-hero .container {
    position: relative;
    z-index: 2;
    /* Override competition-page.css grid - hero-grid handles layout */
    display: block;
}

.eco-hero .hero-content {
    max-width: 600px;
    text-align: left;
}

.eco-hero .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.eco-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

.eco-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Visual - Right Side */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eco-car-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.08) 0%, rgba(0, 255, 136, 0.02) 50%, transparent 70%);
    padding: 20px;
    border-radius: 20px;
}

.hero-car-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5))
            drop-shadow(0 0 30px rgba(0, 255, 136, 0.2));
    animation: carFloat 5s ease-in-out infinite, carGlowPulse 5s ease-in-out infinite;
}

@keyframes carFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes carGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5))
                drop-shadow(0 0 30px rgba(0, 255, 136, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(0, 255, 136, 0.65))
                drop-shadow(0 0 40px rgba(0, 255, 136, 0.3));
    }
}

.car-particles {
    position: absolute;
    inset: -50px;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(0, 255, 136, 0.6), transparent),
        radial-gradient(2px 2px at 30% 70%, rgba(0, 212, 170, 0.5), transparent),
        radial-gradient(3px 3px at 50% 30%, rgba(0, 255, 136, 0.4), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(0, 212, 170, 0.6), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(0, 255, 136, 0.5), transparent);
    animation: floatParticles 8s linear infinite;
    pointer-events: none;
}

@keyframes floatParticles {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-30px) rotate(5deg); }
}

/* ============ Eco Badges ============ */
.eco-badge {
    background: rgba(0, 255, 136, 0.15) !important;
    border: 1px solid rgba(0, 255, 136, 0.4) !important;
    color: var(--eco-primary) !important;
}

.badge-eco {
    background: var(--eco-gradient) !important;
    border: none !important;
    color: var(--eco-darker) !important;
    font-weight: 700;
}

/* ============ Eco Title ============ */
.eco-title {
    text-align: left;
}

.eco-title .title-eco {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    background: var(--eco-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    font-weight: 700;
}

.eco-title .title-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-primary);
    text-shadow: 0 0 60px rgba(0, 255, 136, 0.4);
    line-height: 1.1;
}

/* ============ Eco Stats ============ */
.eco-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.eco-stats .stat-item {
    background: rgba(26, 71, 42, 0.4);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.eco-stats .stat-item:hover {
    background: rgba(26, 71, 42, 0.6);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-5px);
}

.eco-stats .stat-item.highlight {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 170, 0.1));
    border-color: var(--eco-primary);
}

.eco-stats .stat-icon {
    color: var(--eco-primary);
    margin-bottom: 8px;
}

.eco-stats .stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--eco-primary);
    display: block;
}

.eco-stats .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============ Eco Buttons ============ */
.btn-eco {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--eco-gradient);
    border: none;
    border-radius: 12px;
    color: var(--eco-darker);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.btn-eco:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
    color: var(--eco-darker);
}

.btn-outline-eco {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--eco-primary);
    border-radius: 12px;
    color: var(--eco-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-eco:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-3px);
    color: var(--eco-primary);
}

/* ============ Scroll Indicator ============ */
.eco-scroll {
    color: var(--eco-primary);
}

.eco-scroll .scroll-arrow svg {
    stroke: var(--eco-primary);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ============ Overview Section ============ */
.eco-overview {
    background: linear-gradient(180deg, var(--eco-bg) 0%, #0d1912 100%);
    position: relative;
}

.eco-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--eco-primary), transparent);
}

.eco-overview .overview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.eco-overview .overview-card {
    margin-bottom: 0;
}

.eco-card {
    background: var(--eco-card);
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.eco-card:hover {
    background: rgba(26, 71, 42, 0.5);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 255, 136, 0.12);
}

.eco-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 14px;
    color: var(--eco-primary);
    transition: all 0.4s ease;
}

.eco-icon svg {
    width: 26px;
    height: 26px;
}

.eco-card:hover .eco-icon {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

.eco-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--eco-primary);
}

.eco-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============ Features Showcase ============ */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(10, 31, 26, 0.5);
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateX(10px);
}

.feature-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--eco-dark);
    opacity: 0.5;
    line-height: 1;
}

.feature-content h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--eco-primary);
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ Specs Section ============ */
.specs-section {
    background: var(--eco-bg);
    position: relative;
    overflow: hidden;
}

.specs-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* ============ Car Blueprint ============ */
.car-blueprint {
    position: relative;
}

.blueprint-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.2));
}

.car-body-outline {
    animation: carGlow 3s ease-in-out infinite;
}

@keyframes carGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6)); }
}

.animate-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease-out forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

.dim-text {
    font-family: 'JetBrains Mono', monospace;
}

/* ============ Specs Grid ============ */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spec-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--eco-card);
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.spec-card:hover {
    background: rgba(26, 71, 42, 0.5);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-5px);
}

.spec-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    color: var(--eco-primary);
    flex-shrink: 0;
}

.spec-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.spec-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ Zones Section ============ */
.zones-section {
    background: linear-gradient(180deg, #0d1912 0%, var(--eco-bg) 100%);
}

.zones-map {
    margin: 50px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.zones-svg {
    width: 100%;
    height: auto;
}

.zone {
    cursor: pointer;
    transition: all 0.3s ease;
}

.zone:hover {
    filter: brightness(1.2);
}

.zone-a:hover rect {
    fill: rgba(255, 181, 71, 0.3);
}

.zone-b:hover ellipse {
    stroke-width: 4;
}

.zone-c:hover rect {
    fill: rgba(0, 212, 255, 0.3);
}

/* Zone Details */
.zones-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.zone-detail {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--eco-card);
    border: 1px solid var(--eco-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.zone-detail:hover {
    border-color: var(--zone-color, var(--eco-primary));
    transform: translateY(-5px);
}

.zone-letter {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--zone-color, var(--eco-primary));
    line-height: 1;
    opacity: 0.8;
}

.zone-info h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.zone-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zone-info li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.zone-info li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--zone-color, var(--eco-primary));
    border-radius: 50%;
    opacity: 0.7;
}

/* ============ Scoring Section ============ */
.scoring-section {
    background: var(--eco-bg);
    position: relative;
}

.scoring-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.scoring-category {
    background: var(--eco-card);
    border: 1px solid var(--eco-border);
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
}

.main-criteria {
    border-color: rgba(0, 255, 136, 0.4);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--eco-border);
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--eco-gradient);
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--eco-darker);
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(10, 31, 26, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    border-color: rgba(0, 255, 136, 0.3);
    background: rgba(10, 31, 26, 0.7);
}

.criteria-item.highlight {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 212, 170, 0.1));
    border-color: rgba(0, 255, 136, 0.3);
}

.criteria-rank {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.2);
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--eco-primary);
    flex-shrink: 0;
}

.criteria-content {
    flex: 1;
}

.criteria-content h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.criteria-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.criteria-value {
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--eco-primary);
    font-weight: 600;
    white-space: nowrap;
}

.criteria-value.points {
    background: rgba(255, 181, 71, 0.15);
    color: var(--eco-accent);
}

/* Winner Box */
.winner-box {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 170, 0.05));
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
}

.winner-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--eco-gradient);
    border-radius: 50%;
    color: var(--eco-darker);
    flex-shrink: 0;
    animation: trophyGlow 2s ease-in-out infinite;
}

@keyframes trophyGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.6); }
}

.winner-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--eco-primary);
    margin-bottom: 12px;
}

.winner-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.winner-content strong {
    color: var(--eco-primary);
}

.winner-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============ Gallery Section ============ */
.gallery-section {
    background: linear-gradient(180deg, var(--eco-bg) 0%, #0d1912 100%);
}

.eco-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.eco-gallery .gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.eco-gallery .gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.eco-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eco-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 212, 170, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eco-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--eco-darker);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.eco-gallery .gallery-item:hover .gallery-zoom {
    transform: scale(1);
}

/* ============ CTA Section ============ */
.eco-cta {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--eco-dark), var(--eco-darker));
    overflow: hidden;
}

.eco-cta .cta-bg {
    position: absolute;
    inset: 0;
}

.cta-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(3px 3px at 20% 30%, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(3px 3px at 40% 60%, rgba(0, 212, 170, 0.3), transparent),
        radial-gradient(3px 3px at 60% 20%, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(3px 3px at 80% 50%, rgba(0, 212, 170, 0.3), transparent);
    animation: ctaParticles 15s linear infinite;
}

@keyframes ctaParticles {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
}

.eco-cta .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.cta-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cta-badges .badge {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ============ Responsive Design ============ */
@media (max-width: 1200px) {
    .eco-hero .hero-grid {
        gap: 40px;
    }

    .eco-car-visual {
        max-width: 450px;
    }

    .specs-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .car-blueprint {
        max-width: 600px;
        margin: 0 auto;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .eco-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .eco-hero .hero-content {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .eco-title {
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .eco-stats {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: 2;
    }

    .eco-car-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .eco-overview .overview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features-showcase {
        grid-template-columns: 1fr;
    }

    .zones-details {
        grid-template-columns: 1fr;
    }

    .scoring-grid {
        grid-template-columns: 1fr;
    }

    .eco-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .eco-gallery .gallery-item {
        height: 220px;
    }

    .eco-gallery .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .eco-hero {
        padding: 100px 0 60px;
    }

    .eco-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .eco-stats .stat-item {
        padding: 16px 12px;
    }

    .eco-stats .stat-number {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .winner-box {
        flex-direction: column;
        text-align: center;
    }

    .zone-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .eco-gallery {
        grid-template-columns: 1fr;
    }

    .eco-gallery .gallery-item {
        height: 250px;
        aspect-ratio: auto;
    }

    .eco-gallery .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .eco-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .criteria-item {
        flex-direction: column;
        text-align: center;
    }

    .criteria-rank {
        margin: 0 auto;
    }

    .criteria-value {
        margin-top: 10px;
    }
}

/* ============ Section Headers ============ */
.eco-car-page .section-badge.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 30px;
    color: var(--eco-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.eco-car-page .section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.eco-car-page .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ Animation Reveal ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}

/* ============ Custom Scrollbar ============ */
.eco-car-page::-webkit-scrollbar {
    width: 10px;
}

.eco-car-page::-webkit-scrollbar-track {
    background: var(--eco-darker);
}

.eco-car-page::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--eco-primary), var(--eco-secondary));
    border-radius: 5px;
}

.eco-car-page::-webkit-scrollbar-thumb:hover {
    background: var(--eco-primary);
}
