/* Enhanced Mobile-optimized Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, 
        rgba(5, 5, 5, 0.98) 0%, 
        rgba(20, 20, 20, 0.95) 25%,
        rgba(15, 15, 15, 0.92) 50%, 
        rgba(25, 25, 25, 0.94) 75%,
        rgba(8, 8, 8, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

/* Enhanced background for better visual appeal */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(255, 215, 0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(0, 255, 136, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 25% 75%, rgba(78, 205, 196, 0.05) 0%, transparent 30%);
    opacity: 0.8;
    z-index: 1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    25% { transform: scale(1.05) rotate(0.5deg); opacity: 0.9; }
    50% { transform: scale(1.02) rotate(-0.3deg); opacity: 0.85; }
    75% { transform: scale(1.03) rotate(0.2deg); opacity: 0.9; }
}

/* Disable heavy animations on mobile */
@media (max-width: 768px) {
    .hero-background {
        background: rgba(26, 26, 26, 0.3);
        opacity: 0.8;
    }
}

/* Simplified floating elements for better mobile performance */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: var(--gold);
    opacity: 0.4;
    font-size: 1.5rem;
}

/* Static positioning on mobile for performance */
@media (min-width: 769px) {
    .floating-icon {
        animation: float 6s ease-in-out infinite;
    }

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

.floating-icon:nth-child(1) { top: 15%; left: 8%; color: #FFD700; }
.floating-icon:nth-child(2) { top: 25%; right: 12%; color: #00ff88; }
.floating-icon:nth-child(3) { bottom: 25%; left: 15%; color: #00ccff; }
.floating-icon:nth-child(4) { bottom: 15%; right: 8%; color: #FFD700; }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
}

.brand-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.main-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00ff88 0%, #00ccff 25%, #FFD700 50%, #ff6b6b 75%, #ffd700 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 255, 136, 0.7);
    margin-bottom: 20px;
    letter-spacing: 5px;
    animation: logoGlow 4s ease-in-out infinite, gradientShift 8s ease-in-out infinite;
    position: relative;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 50% 0%; }
}

@keyframes logoGlow {
    0%, 100% { 
        text-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
        transform: scale(1.02);
    }
}

.brand-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--silver);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Enhanced Image Gallery with Real Images */
.showcase-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.6));
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    background: rgba(42, 42, 42, 0.9);
    border-radius: 25px;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.3);
    transition: all 0.4s ease;
    aspect-ratio: 16/11;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.5s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15);
}

/* Image loading optimization */
.gallery-image {
    will-change: transform, opacity;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .gallery-image {
        transition: none !important;
        animation: none !important;
    }
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.85), rgba(0, 204, 255, 0.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

.gallery-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Interactive Stats with Animation */
.interactive-stats {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.12) 0%, transparent 70%);
    position: relative;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
    border: 3px solid rgba(0, 255, 136, 0.4);
    border-radius: 25px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.15), transparent);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.stat-box:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 25px 50px rgba(0, 255, 136, 0.4);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #00ff88, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 15px;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.stat-label {
    color: var(--silver);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Enhanced CTA Section */
.enhanced-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><circle cx="200" cy="200" r="300" fill="%23FFD700" opacity="0.05"/><circle cx="1600" cy="800" r="400" fill="%2300ff88" opacity="0.08"/><circle cx="1000" cy="400" r="200" fill="%2300ccff" opacity="0.06"/></svg>');
    background-size: cover;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #00ff88, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--silver);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cta-btn {
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #FFD700, #ffed4a);
    color: var(--primary-black);
    border: 3px solid transparent;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--silver);
    border: 3px solid var(--silver);
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.cta-btn-primary:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.cta-btn-secondary:hover {
    background: var(--silver);
    color: var(--primary-black);
}

/* Features showcase with images */
.feature-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

.feature-item p {
    color: var(--silver);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-logo { 
        font-size: 3.2rem; 
        letter-spacing: 3px;
        text-shadow: 0 0 40px rgba(0, 255, 136, 0.8);
    }
    .gallery-grid { 
        grid-template-columns: 1fr; 
        gap: 25px; 
        padding: 0 10px;
    }
    .stats-container { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        padding: 0 15px;
    }
    .cta-buttons { 
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
        width: 100%;
    }
    .feature-showcase { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
        margin-top: 30px;
    }
    .cta-content h2 { 
        font-size: 2.8rem; 
        line-height: 1.2;
    }
    .hero-content {
        padding: 0 15px;
    }
    .brand-tagline {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .main-logo { 
        font-size: 2rem; 
        letter-spacing: 2px;
    }
    .brand-tagline {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    .stats-container { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .stat-box {
        padding: 30px 20px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .feature-showcase { 
        grid-template-columns: 1fr; 
        gap: 12px;
    }
    .feature-item {
        padding: 20px 15px;
    }
    .feature-item i {
        font-size: 2rem;
    }
    .cta-content h2 { 
        font-size: 1.8rem; 
        line-height: 1.2;
    }
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    .cta-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .main-logo { 
        font-size: 1.8rem; 
        letter-spacing: 1px;
    }
    .hero-content {
        padding: 0 15px;
    }
    .gallery-grid {
        gap: 15px;
    }
    .gallery-title {
        font-size: 1.2rem;
    }
}