:root {
    --primary: #0f6ef9;
    --primary-dark: #0a52c9;
    --accent: #4dd0e1;
    --bg: #0d1117;
    --surface: #1c2430;
    --muted: #a5b0c4;
    --glow: rgba(77, 208, 225, 0.4);
    --glow-strong: rgba(77, 208, 225, 0.8);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: #fff;
}

.section {
    padding: 4rem 0;
}

.section-spotlight {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 4rem 2rem;
    background: #05070d;
    box-sizing: border-box;
}

.section-spotlight .section-heading,
.section-spotlight .carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.section-spotlight .carousel-card {
    max-width: 1400px;
    width: 100%;
}

.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-heading p {
    color: var(--muted);
}

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

.feature-card {
    background: rgba(28, 36, 48, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
                0 0 40px var(--glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: var(--muted);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(77, 208, 225, 0.15);
    color: var(--accent);
    margin-bottom: 0.9rem;
    font-size: 0.875rem;
    letter-spacing: 0.4px;
}

.glossy-badge {
    background: linear-gradient(135deg, rgba(77, 208, 225, 0.25), rgba(15, 110, 249, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(77, 208, 225, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px var(--glow);
}

.glossy-btn {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glossy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glossy-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
}

.glossy-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4),
                0 0 30px var(--glow);
}

.glossy-card {
    background: rgba(28, 36, 48, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(77, 208, 225, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

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

.process-step {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    text-align: center;
    min-height: 200px;
}

.process-step h4 {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--muted);
}

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

.testimonial-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
}

.testimonial-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.testimonial-card h5 {
    font-weight: 600;
}

.cta-band {
    background: linear-gradient(135deg, rgba(15, 110, 249, 0.9), rgba(77, 208, 225, 0.8), rgba(13, 17, 23, 0.95));
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 50px var(--glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-band h3 {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.cta-band p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.cta-band .btn {
    min-width: 200px;
    position: relative;
    z-index: 1;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Hero Section with Full-Screen Carousel */
.hero-section {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 4rem;
}

.hero-carousel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    width: 100%;
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    animation: zoomIn 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 110, 249, 0.75), rgba(13, 17, 23, 0.85));
    backdrop-filter: blur(1px);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 2rem;
    background: rgba(13, 17, 23, 0.4);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px var(--glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-title {
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5),
                 0 0 30px var(--glow);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    min-width: 150px;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 30px var(--glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.hero-stats .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-stack {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-mark {
    width: 56px;
    height: 56px;
}

.logo-copy {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
}

.logo-copy span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

.floating-chip {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    background: rgba(77, 208, 225, 0.1);
    animation: drift 10s ease-in-out infinite;
    box-shadow: 0 0 30px var(--glow),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.chip-one {
    top: -30px;
    left: -20px;
}

.chip-two {
    bottom: -30px;
    right: 10%;
    animation-delay: 2s;
}

.chip-three {
    top: 50%;
    right: -30px;
    animation-delay: 4s;
}

@keyframes drift {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0.8;
    }
    50% {
        transform: translate3d(10px, -15px, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.8;
    }
}

.carousel-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(77, 208, 225, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.carousel-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 208, 225, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.carousel-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6),
                0 0 60px var(--glow-strong),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--accent);
}

.carousel-card:hover::after {
    opacity: 1;
}

.carousel-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    background: #0d1117;
    filter: brightness(1.1) contrast(1.05);
    transition: transform 0.4s ease;
}

.carousel-card:hover img {
    transform: scale(1.05);
}

.carousel-card-body {
    padding: 2rem;
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
}

/* EV Model Cards */
.ev-model-card {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.ev-model-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(1.1) saturate(1.2);
    transition: transform 0.5s ease;
}

.ev-model-card:hover img {
    transform: scale(1.1);
}

.ev-model-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 17, 23, 0.95), rgba(13, 17, 23, 0.7), transparent);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.ev-model-info h4 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ev-model-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.carousel-card-body h3 {
    margin-bottom: 0.75rem;
}

.hero .btn {
    color: var(--primary);
}

.hero-buttons .btn-light:hover {
    color: #08398c;
}

.footer {
    background: #0a0f16;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    color: #f1f5fb;
}

.footer h5,
.footer h6 {
    margin-bottom: 0.75rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

/* Enhanced Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                0 0 20px var(--glow);
    border-color: var(--accent);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--glow);
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-slide {
        height: 70vh;
    }
    
    .hero-content-wrapper {
        height: 70vh;
    }
    
    .hero-content {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 100px;
        padding: 1rem;
    }
    
    .ev-model-card img {
        height: 300px;
    }
    
    .carousel-card img {
        height: 300px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Additional Glow Effects */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--glow);
    }
    50% {
        box-shadow: 0 0 40px var(--glow-strong);
    }
}

.glossy-card:hover {
    animation: pulse 2s ease-in-out infinite;
}
