/* ===== YOUR EXACT UI - PRESERVED ===== */
:root {
    --primary-cyan: #00ffff;
    --primary-red: #ff0030;
    --accent-gold: #ffd700;
    --accent-purple: #9d00ff;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --card-bg: rgba(10, 15, 30, 0.85);
    --premium-bg: rgba(30, 15, 40, 0.9);
    --text-glow: 0 0 10px rgba(0, 255, 255, 0.5);
    --gold-glow: 0 0 15px rgba(255, 215, 0, 0.3);
    
    /* Enhanced typography */
    --font-primary: 'Inter', 'Orbitron', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: #e6f7ff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* ===== MAIN NAVIGATION ===== */
.main-nav {
    width: 100%;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.nav-wrapper {
    max-width: 1440px;
    margin: auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
    -webkit-background-clip: text;
    color: transparent;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #a0e7ff;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-cyan);
}

.nav-links a.active-link {
    color: var(--accent-gold);
}

.brand-name, .brand-title {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 1px;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 48, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.mewtronix-logo-loader {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-red));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

.mewtronix-logo-loader i {
    font-size: 3rem;
    color: white;
}

.loader-text {
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.loader-progress {
    width: 250px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
    width: 0%;
    transition: width 0.2s;
}

/* Header */
.header {
    text-align: center;
    padding: 30px 20px 15px;
    position: relative;
}

.logo-container {
    display: inline-block;
    margin-bottom: 15px;
}

.mewtronix-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s;
}

.mewtronix-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.brand-name {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 5px 0;
}

.brand-tagline {
    font-size: 1rem;
    color: #a0e7ff;
    max-width: 600px;
    margin: 0 auto 15px;
}

.trademark-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.7rem;
}

/* Stats Button */
.stats-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 6px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
    font-family: var(--font-primary);
}

.stats-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 48, 0.1));
    color: var(--primary-cyan);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 48, 0.2));
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.fa-youtube { color: #ff0000; }
.fa-instagram { color: #e4405f; }
.fa-envelope { color: var(--accent-gold); }

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0;
    font-size: 0.8rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a0e7ff;
    background: rgba(0, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.trust-badge i {
    color: var(--accent-gold);
    font-size: 0.7rem;
}

/* Store Controls */
.store-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 60px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    max-width: 900px;
}

.search-box {
    flex: 2;
    min-width: 220px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-cyan);
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-primary);
}

.filter-select {
    flex: 1;
    min-width: 160px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 48, 0.1));
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--accent-gold);
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    font-family: var(--font-primary);
    transition: 0.3s;
}

.cart-btn:hover {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 48, 0.2));
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

.cart-count {
    background: var(--accent-gold);
    color: black;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0 40px;
}

/* Enhanced Product Cards */
.model-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 48, 0.2);
    transition: 0.3s;
    position: relative;
    height: 460px;
    display: flex;
    flex-direction: column;
}

.model-card.free {
    border-color: var(--accent-gold);
}

.model-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, var(--accent-gold), #ff9500);
    color: black;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.7rem;
    z-index: 10;
    box-shadow: var(--gold-glow);
}

.downloaded-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #00c851;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    z-index: 10;
}

.model-preview {
    width: 100%;
    height: 180px;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

model-viewer {
    width: 100%;
    height: 100%;
    --progress-bar-color: var(--primary-cyan);
    --progress-bar-height: 2px;
}

.model-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.model-name {
    font-size: 1rem;
    color: var(--primary-cyan);
    margin-bottom: 4px;
    font-weight: 700;
}

.model-category {
    font-size: 0.7rem;
    color: var(--accent-gold);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced technical specs */
.model-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0;
    font-size: 0.7rem;
}

.spec-item {
    background: rgba(0, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    color: #a0e7ff;
}

.spec-item i {
    color: var(--primary-cyan);
    margin-right: 3px;
    font-size: 0.6rem;
}

.commercial-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.6rem;
    color: var(--accent-gold);
    margin: 4px 0;
    width: fit-content;
}

.commercial-badge i {
    font-size: 0.5rem;
}

.model-price {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 8px 0;
    color: white;
}

.model-price.free {
    color: var(--accent-gold);
}

.add-btn {
    margin-top: auto;
    padding: 10px;
    background: linear-gradient(90deg, var(--primary-red), #ff3366);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.add-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #ff3366, var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 0, 48, 0.4);
}

.add-btn.added {
    background: linear-gradient(90deg, #0066cc, #003366);
}

.add-btn.downloaded {
    background: linear-gradient(90deg, #00c851, #007e33);
}

.add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: var(--premium-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.3s;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 2px solid var(--primary-cyan);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.cart-item-info h4 {
    color: var(--primary-cyan);
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.cart-item-price {
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    font-size: 1rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.free-counter {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.8rem;
}

.free-counter span {
    color: var(--accent-gold);
    font-weight: 700;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 700;
}

#cartTotal {
    color: var(--accent-gold);
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--accent-gold), #ffed4e);
    color: black;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: 0.2s;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--gold-glow);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Payment Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--premium-bg);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    border: 2px solid var(--accent-gold);
    position: relative;
}

.modal-header h2 {
    color: var(--primary-cyan);
    margin-bottom: 15px;
}

.payment-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.upi-input input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-family: var(--font-primary);
    margin: 10px 0;
}

.pay-now-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--accent-gold), #ffed4e);
    color: black;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Stats Modal */
.stats-content {
    max-height: 300px;
    overflow-y: auto;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--premium-bg);
    border: 2px solid var(--primary-cyan);
    border-radius: 8px;
    padding: 12px 20px;
    color: white;
    z-index: 3000;
    transform: translateX(400px);
    transition: 0.2s;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: #00c851;
}

.toast.error {
    border-color: var(--primary-red);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    margin-top: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0;
    font-size: 0.8rem;
}

.footer-links a {
    color: #a0e7ff;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary-cyan);
}

.copyright {
    color: #a0e7ff;
    font-size: 0.7rem;
    margin-top: 10px;
}

/* Load More */
.load-more-btn {
    padding: 12px 40px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-red));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    margin: 10px 0;
    font-family: var(--font-primary);
}

/* About Section */
.about-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.about-section h2 {
    color: var(--primary-cyan);
    margin-bottom: 15px;
}

.about-section p {
    color: #a0e7ff;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Policy Content */
.policy-content {
    color: #a0e7ff;
    line-height: 1.8;
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.policy-content h3 {
    color: var(--primary-cyan);
    margin: 15px 0 10px;
    font-size: 1.1rem;
}

.policy-content p {
    margin-bottom: 10px;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 5px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating {
    animation: float 5s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .brand-name { font-size: 2.5rem; }
    .store-controls { flex-direction: column; border-radius: 30px; }
    .models-grid { grid-template-columns: 1fr; }
    .cart-sidebar { max-width: 100%; right: -100%; }
    .stats-btn { position: relative; top: 0; right: 0; margin-top: 10px; display: inline-block; }
    .footer-links { flex-direction: column; gap: 10px; }
}



