/* Hero Section - Car Charger Focus */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--background-secondary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxl) 0;
    margin-top: 0;
}

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(229, 229, 229, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    min-height: 70vh;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.hero-title-main {
    display: block;
    color: var(--black);
    margin-bottom: var(--spacing-xs);
}

.hero-title-sub {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
}

.hero-description {
    font-size: var(--font-size-xl);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xxl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

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

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Electric Car Company Logos Showcase */
.electric-car-showcase {
    position: relative;
    width: 400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    width: 300px;
    height: 400px;
    background: linear-gradient(145deg, var(--white), var(--background-secondary));
    border-radius: var(--radius-xl);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(26, 115, 232, 0.03) 90deg,
        rgba(26, 115, 232, 0.05) 180deg,
        rgba(26, 115, 232, 0.03) 270deg,
        transparent 360deg
    );
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.logo-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.electric-logo {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--white), var(--background-secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.8);
    border: 2px solid var(--border-color);
}

.electric-logo.active {
    opacity: 1;
    transform: scale(1);
    animation: logoFadeIn 0.8s ease-out;
}

.electric-logo img {
    width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(0.2) contrast(1.1);
    transition: all var(--transition-normal);
}

.logo-container:hover .electric-logo img {
    filter: grayscale(0) contrast(1.2);
    transform: scale(1.05);
}

.logo-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.company-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.company-tagline {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    transition-delay: 0.1s;
}

.electric-logo.active + .logo-info .company-name,
.logo-info.active .company-name {
    opacity: 1;
    transform: translateY(0);
}

.electric-logo.active + .logo-info .company-tagline,
.logo-info.active .company-tagline {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Animation Keyframes */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(-15deg);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95) rotateY(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes logoFadeOut {
    0% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.95) rotateY(15deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) rotateY(30deg);
    }
}

.electric-logo.fade-out {
    animation: logoFadeOut 0.6s ease-in forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--text-secondary);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.scroll-arrow:hover {
    border-color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: rotate(45deg) translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: rotate(45deg) translate3d(0, -8px, 0);
    }
    70% {
        transform: rotate(45deg) translate3d(0, -4px, 0);
    }
    90% {
        transform: rotate(45deg) translate3d(0, -2px, 0);
    }
}

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

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .electric-car-showcase {
        width: 300px;
        height: 400px;
    }
    
    .logo-container {
        width: 250px;
        height: 320px;
    }
    
    .electric-logo {
        width: 150px;
        height: 150px;
    }
    
    .electric-logo img {
        width: 100px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}