:root {
    --primary: #7b2cbf;
    --secondary: #9d4edd;
    --accent: #c77dff;
    --background: #10002b;
    --surface: #240046;
    --text: #e0aaff;
    --text-secondary: #c8a8e9;
    --success: #06ffa5;
    --warning: #ffb300;
    --error: #ff3860;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--background) !important;
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: -2; /* Behind particles but above default body */
}

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(16, 0, 43, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(157, 78, 221, 0.3);
            z-index: 1000;
            padding: 1rem 0;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--secondary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .logo:hover {
            color: var(--accent);
            text-shadow: 0 0 20px var(--glow);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            transition: color 0.3s ease;
            font-weight: 500;
        }

        .nav-links a:hover {
            color: var(--secondary);
        }

        .cart-icon {
            position: relative;
            background: var(--primary);
            color: white;
            padding: 0.5rem;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cart-icon::before {
            content: "";
            width: 20px;
            height: 20px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 4V2a1 1 0 0 1 2 0v2h6V2a1 1 0 1 1 2 0v2h1a3 3 0 0 1 3 3v2H3V7a3 3 0 0 1 3-3h1zM3 12v6a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-6H3zm6.5 2a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3z'/%3E%3C/svg%3E") no-repeat center;
        }

        .cart-icon:hover {
            background: var(--secondary);
            transform: scale(1.1);
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--success);
            color: var(--background);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        /* Particles Background */
        .particles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        

        .cta-button {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            padding: 1rem 2.5rem;
            font-size: 1.2rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4);
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        /* Features Section */
        .features-section {
            padding: 5rem 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--secondary);
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: rgba(157, 78, 221, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(157, 78, 221, 0.3);
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(157, 78, 221, 0.3);
            border-color: var(--secondary);
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 1rem;
            display: block;
        }

        .shield-icon {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239d4edd'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E") no-repeat center;
        }

        .update-icon {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239d4edd'%3E%3Cpath d='M12 4V1l-4 4 4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z'/%3E%3C/svg%3E") no-repeat center;
        }

        .support-icon {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239d4edd'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center;
        }

        .custom-icon {
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239d4edd'%3E%3Cpath d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E") no-repeat center;
        }

        .feature-card h3 {
            color: var(--secondary);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        /* Products Section */
        .products-section {
            padding: 5rem 0;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .product-card {
            background: rgba(36, 0, 70, 0.6);
            border: 1px solid rgba(157, 78, 221, 0.3);
            border-radius: 15px;
            padding: 2rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(157, 78, 221, 0.2);
            border-color: var(--secondary);
        }

        .product-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--success);
            color: var(--background);
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .product-card h3 {
            color: var(--secondary);
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        .product-price {
            font-size: 2rem;
            font-weight: bold;
            color: var(--accent);
            margin: 1rem 0;
        }

        .product-features {
            list-style: none;
            margin: 1rem 0;
        }

        .product-features li {
            padding: 0.3rem 0;
            color: var(--text-secondary);
        }

        .product-features li::before {
            content: "✓";
            color: var(--success);
            font-weight: bold;
            margin-right: 0.5rem;
        }

        .add-to-cart {
            width: 100%;
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .add-to-cart:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }

        /* Footer */
        .footer {
            background: rgba(16, 0, 43, 0.8);
            padding: 3rem 0 1rem;
            border-top: 1px solid rgba(157, 78, 221, 0.3);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer h4 {
            color: var(--secondary);
            margin-bottom: 1rem;
        }

        .footer a {
            color: var(--text-secondary);
            text-decoration: none;
            display: block;
            margin: 0.5rem 0;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: var(--secondary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(157, 78, 221, 0.2);
            color: var(--text-secondary);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .nav-links {
                display: none;
            }
            
            .features-grid,
            .products-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Loading Animation */
        .loader {
            border: 3px solid rgba(157, 78, 221, 0.3);
            border-top: 3px solid var(--secondary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 1rem auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Legal page styles */
.legal-section {
    padding: 100px 0 80px;
    min-height: 100vh;
    background: var(--background);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(36, 0, 70, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

        .legal-section-block {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .legal-section-block:last-of-type {
            border-bottom: none;
            margin-bottom: 20px;
        }

.legal-section-block h2 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section-block h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 20px 0 10px;
    font-weight: 600;
}

        .legal-section-block h2 i {
            font-size: 1.2rem;
        }

        .legal-section-block h3 {
            color: #ffffff;
            font-size: 1.2rem;
            margin: 20px 0 10px;
            font-weight: 600;
        }

.legal-section-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-section-block ul {
    color: var(--text-secondary);
    margin: 15px 0;
    padding-left: 20px;
}

        .legal-section-block li {
            margin-bottom: 8px;
            line-height: 1.6;
        }

        .legal-section-block li i {
            color: #ff6b35;
            margin-right: 8px;
            width: 16px;
        }

        .legal-section-block strong {
            color: #ffffff;
            font-weight: 600;
        }

.legal-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(157, 78, 221, 0.3);
    text-align: center;
    background: rgba(157, 78, 221, 0.05);
    border-radius: 10px;
    padding: 30px;
}

.legal-footer p {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

        .legal-footer em {
            color: #cccccc;
            font-style: italic;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .legal-content {
                margin: 0 20px;
                padding: 30px 25px;
            }

            .legal-section-block h2 {
                font-size: 1.3rem;
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .legal-section-block h2 i {
                margin-bottom: 5px;
            }
        }

        @media (max-width: 480px) {
            .legal-content {
                margin: 0 15px;
                padding: 25px 20px;
            }

            .legal-section-block {
                margin-bottom: 30px;
                padding-bottom: 20px;
            }

            .legal-section-block h2 {
                font-size: 1.2rem;
            }

            .legal-section-block p,
            .legal-section-block li {
                font-size: 0.95rem;
            }
        }

        /* Animation for legal content */
        .legal-section-block {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .legal-section-block:nth-child(1) { animation-delay: 0.1s; }
        .legal-section-block:nth-child(2) { animation-delay: 0.2s; }
        .legal-section-block:nth-child(3) { animation-delay: 0.3s; }
        .legal-section-block:nth-child(4) { animation-delay: 0.4s; }
        .legal-section-block:nth-child(5) { animation-delay: 0.5s; }
        .legal-section-block:nth-child(6) { animation-delay: 0.6s; }
        .legal-section-block:nth-child(7) { animation-delay: 0.7s; }
        .legal-section-block:nth-child(8) { animation-delay: 0.8s; }
        .legal-section-block:nth-child(9) { animation-delay: 0.9s; }
        .legal-section-block:nth-child(10) { animation-delay: 1.0s; }
        .legal-section-block:nth-child(11) { animation-delay: 1.1s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Hover effects for better interactivity */
        .legal-section-block:hover {
            transform: translateY(-2px);
            transition: transform 0.3s ease;
        }

        .legal-section-block h2:hover {
            color: #ff8c42;
            transition: color 0.3s ease;
        }

        /* Scrollbar styling for the legal content */
        .legal-content::-webkit-scrollbar {
            width: 8px;
        }

        .legal-content::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
        }

        .legal-content::-webkit-scrollbar-thumb {
            background: #ff6b35;
            border-radius: 4px;
        }

        .legal-content::-webkit-scrollbar-thumb:hover {
            background: #ff8c42;
        }

/* Shop page styles */
.shop-section {
    padding: 5rem 0;
}

/* Enhanced product cards */
.product-icon i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.product-features li i {
    color: var(--success);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card, .product-card {
        padding: 1.5rem;
    }
}

[data-theme="light"] .product-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .legal-content {
    background: var(--surface) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .footer {
    background: rgba(255, 255, 255, 0.8) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* light mode */
:root[data-theme="light"] {
    --primary: #5a189a;
    --secondary: #7b2cbf;
    --accent: #9d4edd;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text: #212529;
    --text-secondary: #495057;
    --success: #06ffa5;
    --warning: #ffb300;
    --error: #ff3860;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(157, 78, 221, 0.1);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(30deg);
}

.features-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.features-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-header h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

.feature-specs {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.feature-specs li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.features-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Pulse animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Shop Page Specific */
.shop-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.shop-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h2 {
    font-size: 2.5rem;
    color: var(--accent);
}

.shop-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tab-btn {
    background: rgba(157, 78, 221, 0.2);
    border: none;
    color: var(--text);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    color: white;
}

.product-card {
    background: rgba(36, 0, 70, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.3);
    border-color: var(--secondary);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin: 1rem 0;
}

.price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.product-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: var(--success);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.shop-benefits {
    padding: 5rem 0;
    background: rgba(36, 0, 70, 0.3);
    margin-top: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(157, 78, 221, 0.2);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* Enhanced animations */
@keyframes glitch-effect {
    0% { transform: translate(0) scale(1); }
    10% { transform: translate(-2px, 2px) scale(1.02); }
    20% { transform: translate(-4px, -2px) scale(0.98); }
    30% { transform: translate(4px, 2px) scale(1.01); }
    40% { transform: translate(2px, -2px) scale(0.99); }
    50% { transform: translate(-2px, 2px) scale(1.02); }
    60% { transform: translate(-4px, -2px) scale(0.98); }
    70% { transform: translate(4px, 2px) scale(1.01); }
    80% { transform: translate(-2px, -2px) scale(0.99); }
    90% { transform: translate(2px, 2px) scale(1.01); }
    100% { transform: translate(0) scale(1); }
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        text-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    }
    50% { 
        transform: scale(1.05); 
        text-shadow: 0 0 30px rgba(157, 78, 221, 0.8);
    }
    100% { 
        transform: scale(1); 
        text-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .maintenance-countdown {
        padding: 1.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        width: 100%;
    }
}

/* Footer */
        .footer {
            margin-top: 6rem;
            padding: 3rem 0;
            text-align: center;
            border-top: 1px solid var(--border);
            background: rgba(10, 0, 20, 0.5);
        }

        .footer p {
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--secondary);
        }