/* Logo image glow */
.logo-image { position: relative; display: flex; align-items: center; }

.logo-image::before {
    content: ''; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%,-50%); width: 110px; height: 70px;
    background: radial-gradient(circle, rgba(0,212,255,0.30), rgba(0,212,255,0.12) 40%, transparent 70%);
    filter: blur(12px); border-radius: 20px; z-index: 0;
    animation: pulseGlow 2.8s ease-in-out infinite;
}

.logo-img { position: relative; z-index: 1; display: block; height:56px; object-fit:contain; }

@keyframes pulseGlow {
    0% { transform: translate(-50%,-50%) scale(0.95); opacity: 0.8; }
    50% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(0.95); opacity: 0.8; }
}

/* Carousel inside product card */
.product-carousel { position: relative; width: 100%; height: 100%; }

.carousel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.35s ease; }

.carousel-img.active { opacity: 1; }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.45); color: white; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; }

.carousel-btn.prev { left: 8px; }

.carousel-btn.next { right: 8px; }

.product-image > i { font-size: 6rem; color: var(--primary); opacity: 0.6; transition: all 0.4s; }

.product-card:hover .product-image > i { transform: scale(1.1); opacity: 1; }

.product-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.42); display: flex; align-items: center; justify-content: center;
    gap: 1rem; opacity: 0; transition: opacity 0.3s;
}

.overlay-btn {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.94); border: none;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.3s; color: var(--dark); font-size: 0.85rem;
}

.overlay-btn i { color: inherit; font-size: 0.85rem; opacity: 1; transform: none; }

.product-card:hover .overlay-btn i { transform: none; opacity: 1; }

.hero {
            margin-top: 80px; min-height: 90vh; display: flex; align-items: center;
            position: relative; overflow: hidden;
            background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #0d1b2a 100%);
        }

.hero::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle at 20% 50%, rgba(0,212,255,0.08) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255,107,53,0.06) 0%, transparent 50%);
        }

.hero-grid {
            position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background-image: linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
            background-size: 50px 50px; animation: gridMove 20s linear infinite;
        }

@keyframes gridMove { 0% { transform: translate(0,0); } 100% { transform: translate(50px,50px); } }

.hero-container {
            max-width: 1400px; margin: 0 auto; padding: 2rem;
            display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
            position: relative; z-index: 2;
        }

.hero-content h1 {
            font-family: 'Orbitron', sans-serif; font-size: 3.5rem; font-weight: 900;
            line-height: 1.1; margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

.hero-content h1 span {
            display: block; font-size: 1.2rem; font-weight: 400; color: var(--primary);
            -webkit-text-fill-color: var(--primary); margin-top: 0.5rem; letter-spacing: 4px;
        }

.hero-content p {
            font-size: 1.1rem; color: var(--text-muted); line-height: 1.8;
            margin-bottom: 2rem; max-width: 500px;
        }

.hero-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem 1rem;
            margin-bottom: 2rem;
        }

.hero-badges .badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--text);
            font-weight: 700;
            line-height: 1.25;
        }

.hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

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

.hero-figure {
            width: 400px; height: 500px;
            background: linear-gradient(135deg, var(--card), var(--card-hover));
            border-radius: 20px; border: 1px solid var(--border);
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
            animation: float 6s ease-in-out infinite;
        }

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

.hero-figure::before {
            content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
            background: linear-gradient(45deg, transparent, rgba(0,212,255,0.1), transparent);
            animation: shine 3s infinite;
        }

@keyframes shine { 0% { transform: translateX(-100%) rotate(45deg); } 100% { transform: translateX(100%) rotate(45deg); } }

.hero-figure i { font-size: 8rem; color: var(--primary); opacity: 0.8; z-index: 2; }

.hero-figure-text { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; color: white; margin-top: 1rem; z-index: 2; }

.hero-figure-sub { color: var(--text-muted); font-size: 0.9rem; z-index: 2; }

.orbit-ring {
            position: absolute; width: 500px; height: 500px;
            border: 1px solid rgba(0,212,255,0.2); border-radius: 50%;
            animation: rotate 20s linear infinite;
        }

.orbit-ring::before {
            content: ''; position: absolute; width: 12px; height: 12px;
            background: var(--primary); border-radius: 50%; top: -6px; left: 50%;
            transform: translateX(-50%); box-shadow: 0 0 20px var(--primary);
        }

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

.stats-bar { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; position: relative; z-index: 3; }

.stats-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }

.stat-item { text-align: center; padding: 1rem; }

.stat-number { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--primary); display: block; }

.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.5rem; }

.products-section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-header h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }

.section-header h2 span { color: var(--primary); }

.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.filters { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; flex-wrap: wrap; }

.filter-btn {
            background: rgba(18,18,26,0.92);
            border: 1px solid var(--border);
            border-radius: 999px;
            color: var(--text);
            cursor: pointer;
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            font-weight: 600;
            min-height: 38px;
            padding: 0.55rem 1.05rem;
            transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
        }

.filter-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: 0 0 18px rgba(0,212,255,0.16);
            transform: translateY(-1px);
        }

.filter-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--dark);
            box-shadow: 0 0 22px rgba(0,212,255,0.32);
        }

.features-section { background: var(--card); padding: 5rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.features-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }

.feature-card { text-align: center; padding: 2rem; border-radius: 16px; transition: all 0.3s; }

.feature-card:hover { background: var(--card-hover); transform: translateY(-5px); }

.feature-icon {
            width: 70px; height: 70px;
            background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,212,255,0.05));
            border-radius: 20px; display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1.5rem; font-size: 1.8rem; color: var(--primary); border: 1px solid rgba(0,212,255,0.2);
        }

.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.newsletter { padding: 5rem 2rem; max-width: 800px; margin: 0 auto; text-align: center; }

.newsletter h2 { font-family: 'Orbitron', sans-serif; font-size: 2rem; margin-bottom: 1rem; }

.newsletter p { color: var(--text-muted); margin-bottom: 2rem; }

.newsletter-form { display: flex; gap: 1rem; max-width: 500px; margin: 0 auto; }

.newsletter-form input {
            flex: 1; background: var(--card); border: 1px solid var(--border); border-radius: 10px;
            padding: 1rem 1.5rem; color: var(--text); outline: none; font-size: 1rem;
        }

.newsletter-form input:focus { border-color: var(--primary); }

footer { background: var(--darker); border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }

.footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.footer-brand .logo-text { font-size: 1.3rem; margin-bottom: 1rem; display: block; }

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }

.social-links { display: flex; gap: 1rem; }

.social-links a {
            width: 40px; height: 40px; border-radius: 10px; background: var(--card); border: 1px solid var(--border);
            display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all 0.3s;
        }

.social-links a:hover { background: var(--primary); color: var(--dark); border-color: var(--primary); }

.footer-links h4 { font-size: 1rem; margin-bottom: 1.5rem; color: white; }

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 0.8rem; }

.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }

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

.footer-bottom {
            max-width: 1400px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border);
            display: flex; justify-content: space-between; align-items: center;
            color: var(--text-muted); font-size: 0.85rem;
        }

@media (max-width: 1024px) {
            .hero-container { grid-template-columns: 1fr; text-align: center; }
            .hero-content p { margin: 0 auto 2rem; }
            .hero-badges, .hero-buttons { justify-content: center; }
            .hero-visual { display: none; }
            .stats-container, .features-container { grid-template-columns: repeat(2,1fr); }
            .footer-container { grid-template-columns: repeat(2,1fr); }
        }

@media (max-width: 768px) {
            header { background: rgba(10,10,15,0.98); }
            .header-container {
                        position: relative;
                        padding: 0.75rem 1rem;
                        min-height: 88px;
                        gap: 0.75rem;
                    }
            .header-actions { gap: 0.75rem; }
            .logo-img { height: 52px; }
            .cart-btn {
                        width: 40px;
                        height: 40px;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        padding: 0;
                    }
            #userMenuContainer .btn {
                        min-height: 42px;
                        padding: 0.65rem 1rem;
                        border-radius: 10px;
                        white-space: nowrap;
                    }
            .mobile-menu-btn {
                        width: 40px;
                        height: 40px;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        flex-shrink: 0;
                    }
            .mobile-menu-btn.active { color: var(--primary); }
            .site-nav {
                        position: absolute;
                        top: 100%;
                        left: auto;
                        right: 1rem;
                        width: 50vw;
                        display: none;
                        grid-template-columns: 1fr;
                        gap: 0.35rem;
                        padding: 0.75rem 1rem 1rem;
                        background: rgba(5,5,8,0.98);
                        border-top: 1px solid var(--border);
                        border-left: 1px solid var(--border);
                        border-right: 1px solid var(--border);
                        border-bottom: 1px solid var(--border);
                        border-radius: 0 0 12px 12px;
                        box-shadow: 0 18px 32px rgba(0,0,0,0.38);
                    }
            .site-nav.open { display: grid; }
            .site-nav a {
                        width: 100%;
                        padding: 0.75rem 0.8rem;
                        border-radius: 10px;
                        background: rgba(18,18,26,0.86);
                        font-size: 0.9rem;
                    }
            .site-nav a::after { display: none; }
            .site-nav a:hover,
            .site-nav a.active {
                        background: rgba(0,212,255,0.12);
                        color: var(--primary);
                    }
            .hero {
                        margin-top: 88px;
                        min-height: auto;
                        padding: 4rem 1.25rem 3.25rem;
                    }
            .hero-container { padding: 0; }
            .hero-content h1 {
                        font-size: 2.05rem;
                        line-height: 1.08;
                        margin-bottom: 1.15rem;
                    }
            .hero-content h1 span {
                        font-size: 0.95rem;
                        line-height: 1.45;
                        letter-spacing: 3px;
                        margin-top: 0.65rem;
                    }
            .hero-content p {
                        font-size: 1rem;
                        line-height: 1.7;
                        max-width: 320px;
                        margin: 0 auto 1.75rem;
                    }
            .hero-badges {
                        flex-direction: column;
                        align-items: center;
                        gap: 0.35rem;
                        margin-bottom: 1.35rem;
                    }
            .hero-badges .badge { justify-content: center; }
            .hero-buttons {
                        flex-direction: column;
                        align-items: center;
                        gap: 0.75rem;
                    }
            .hero-buttons .btn {
                        width: min(100%, 240px);
                        min-height: 46px;
                        padding: 0.85rem 1rem;
                    }
            .stats-container, .features-container { grid-template-columns: 1fr; }
            .products-grid { grid-template-columns: 1fr; }
            .footer-container { grid-template-columns: 1fr; }
            .footer-bottom {
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        gap: 0.75rem;
                        text-align: center;
                    }
            .footer-bottom p {
                        width: 100%;
                        line-height: 1.45;
                    }
            .newsletter-form { flex-direction: column; }
        }

.fade-in { animation: fadeIn 0.6s ease forwards; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.slide-in { animation: slideIn 0.5s ease forwards; }

@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
