/* Electric Car Tablet Showcase */
.electric-car-showcase {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Animated background elements */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
    pointer-events: none;
}

.circle1 { 
    top: 10%; 
    left: 15%; 
    width: 300px; 
    height: 300px; 
    background: rgba(26, 115, 232, 0.1); 
}

.circle2 { 
    bottom: 20%; 
    right: 20%; 
    width: 500px; 
    height: 500px; 
    background: rgba(26, 115, 232, 0.08); 
    animation-delay: 2s; 
}

.circle3 { 
    top: 60%; 
    left: 10%; 
    width: 200px; 
    height: 200px; 
    background: rgba(26, 115, 232, 0.12); 
    animation-delay: 4s; 
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
    }
    50% { 
        transform: translateY(-20px) scale(1.05); 
    }
}

/* Tablet wrapper */
.tablet-wrapper {
    position: relative;
    z-index: 10;
    perspective: 1000px;
}

/* Tablet design */
.tablet {
    position: relative;
    width: 600px;
    height: 450px;
    border-radius: 1.2rem;
    padding: 10px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid #505050;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4),
        0 0 0 0.5px rgba(255,255,255,0.15) inset,
        0 2px 4px rgba(255,255,255,0.1) inset;
    transition: transform 0.3s ease;
}

.tablet:hover {
    transform: rotateY(2deg) rotateX(1deg);
}

.tablet-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease;
    background: #000;
}

/* Status bar */
.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 500;
    z-index: 20;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wifi-icon {
    width: 18px;
    height: 12px;
    position: relative;
}

.wifi-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: currentColor;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    opacity: 0.8;
}

.battery {
    width: 28px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 3px;
    position: relative;
    opacity: 0.8;
}

.battery::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 3px;
    width: 2px;
    height: 8px;
    background: currentColor;
    border-radius: 0 2px 2px 0;
}

.battery-fill {
    width: 80%;
    height: 100%;
    background: #22c55e;
    border-radius: 1px;
}

/* Brand content */
.brand-content {
    text-align: center;
    transition: all 0.4s ease;
    z-index: 10;
}

.brand-content.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
}

.brand-logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.brand-logo img {
    max-width: 90px;
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.brand-tagline {
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.8;
    font-weight: 400;
    line-height: 1.3;
}

/* Page indicators */
.page-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255,255,255,0.3);
}

.indicator.active {
    width: 25px;
    border-radius: 4px;
}

/* Home indicator */
.home-indicator {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    border-radius: 2px;
    opacity: 0.6;
    background: currentColor;
}

/* Camera */
.camera {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    box-shadow: 0 0 3px rgba(255,255,255,0.2);
    z-index: 20;
}

/* Electric car specific styles */
.electric-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-info {
    text-align: center;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.company-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive design */
@media (max-width: 900px) {
    .electric-car-showcase {
        padding: var(--spacing-xl);
    }
    
    .tablet {
        width: 80vw;
        height: 60vw;
        max-width: 600px;
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .electric-car-showcase {
        padding: var(--spacing-lg);
        min-height: 350px;
    }
    
    .tablet {
        width: 85vw;
        height: 63.75vw;
        max-width: 500px;
        max-height: 375px;
    }
    
    .brand-logo {
        font-size: 2.5rem;
        min-height: 45px;
    }
    
    .brand-logo img {
        max-width: 70px;
        max-height: 45px;
    }
    
    .brand-name {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .company-name {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }
    
    .company-tagline {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .tablet {
        width: 90vw;
        height: 67.5vw;
        max-width: 400px;
        max-height: 300px;
    }
    
    .brand-logo {
        font-size: 2rem;
        min-height: 35px;
    }
    
    .brand-logo img {
        max-width: 60px;
        max-height: 35px;
    }
    
    .brand-name {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .brand-tagline {
        font-size: 0.8rem;
    }
    
    .company-name {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .company-tagline {
        font-size: 0.8rem;
    }
    
    .page-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .indicator.active {
        width: 20px;
    }
    
    .home-indicator {
        width: 80px;
        height: 2px;
        bottom: 4px;
    }
    
    .bg-circle {
        display: none;
    }
}
