/* =========================================
   1. CORE SYSTEM
   ========================================= */
:root {
    --bg: #030303;
    --glass: rgba(10, 10, 10, 0.85);
    --border: rgba(255, 255, 255, 0.15);
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --text-main: #ffffff;
    --text-dim: #888888;
    --font-head: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* BACKGROUND FX */
.noise-overlay {
    position: fixed; inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04; pointer-events: none; z-index: 999;
}

.cyber-grid {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) scale(2.5);
    transform-origin: top center;
    opacity: 0.6; z-index: -1;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { 0% { background-position: 0 0; } 100% { background-position: 0 100px; } }

/* =========================================
   2. FLOATING BACKGROUND ASSETS
   ========================================= */
.floating-assets {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1; overflow: hidden;
}
.floater {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(10, 10, 10, 0.6);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(2px);
    animation: fallAndSpin linear infinite;
}
.floater.card::after {
    content: ''; position: absolute; top: 15px; left: 10px; width: 20px; height: 15px;
    background: rgba(255, 255, 255, 0.1); border-radius: 2px;
}
.floater.card { width: 100px; height: 60px; border-radius: 6px; }
.floater.tag { width: 60px; height: 60px; border-radius: 50%; }
.floater.left { left: 5%; }
.floater.right { right: 5%; }
.t1 { animation-duration: 15s; animation-delay: 0s; top: -10%; }
.t2 { animation-duration: 20s; animation-delay: -5s; top: -20%; }
.t3 { animation-duration: 18s; animation-delay: -8s; top: -15%; }
.t4 { animation-duration: 22s; animation-delay: -10s; top: -15%; }
.t5 { animation-duration: 25s; animation-delay: -12s; top: -25%; }
.t6 { animation-duration: 19s; animation-delay: -7s; top: -20%; }

/* Premium 3D Floating Brand Objects */
.floater-3d {
    position: absolute;
    pointer-events: none;
    animation: premiumFallAndSpin linear infinite;
    transform-style: preserve-3d;
    will-change: transform;
}

.floater-3d.nfc-chip {
    width: 80px;
    height: 80px;
    left: 8%;
}

.chip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: chipFloat 4s ease-in-out infinite;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    border: 2px solid rgba(212,175,55,0.4);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(212,175,55,0.3), inset 0 0 20px rgba(212,175,55,0.1);
}

.chip-circuit {
    position: absolute;
    inset: 10px;
    background: linear-gradient(90deg, transparent 40%, rgba(212,175,55,0.6) 50%, transparent 60%);
    background-size: 4px 4px;
    animation: circuitPulse 2s ease-in-out infinite;
    border-radius: 4px;
}

.chip-glow {
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(212,175,55,0.4), transparent 70%);
    border-radius: 10px;
    animation: glowPulse 3s ease-in-out infinite;
    filter: blur(8px);
}

.floater-3d.geometric-shape {
    width: 60px;
    height: 60px;
    right: 12%;
}

.shape-inner {
    width: 100%;
    height: 100%;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: shapeRotate 8s linear infinite;
    box-shadow: 0 0 25px rgba(212,175,55,0.2);
}

.floater-3d.brand-logo {
    width: auto;
    height: auto;
    left: 10%;
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: rgba(212,175,55,0.3);
    font-weight: 700;
    animation: logoFloat 6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(212,175,55,0.5);
}

.floater-3d.tag-advanced {
    width: 70px;
    height: 70px;
    right: 8%;
}

.tag-rings {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(212,175,55,0.3);
    position: relative;
    animation: ringsPulse 3s ease-in-out infinite;
}

.tag-rings::before,
.tag-rings::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(212,175,55,0.2);
    inset: -10px;
    animation: ringsExpand 2s ease-in-out infinite;
}

.tag-rings::after {
    inset: -20px;
    animation-delay: 0.5s;
}

@keyframes premiumFallAndSpin {
    0% { transform: translateY(-20vh) rotate(0deg) rotateX(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg) rotateX(360deg); opacity: 0; }
}

@keyframes chipFloat {
    0%, 100% { transform: translateY(0) rotateZ(0deg); }
    50% { transform: translateY(-10px) rotateZ(5deg); }
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

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

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-15px) scale(1.05); opacity: 0.5; }
}

@keyframes ringsPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(212,175,55,0.2); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(212,175,55,0.4); }
}

@keyframes ringsExpand {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0; transform: scale(1.3); }
}

@keyframes fallAndSpin {
    0% { transform: translateY(-120px) rotate(0deg); opacity: 0; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.glass-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(10, 10, 10, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); box-sizing: border-box;
}
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: white; text-decoration: none; letter-spacing: -1px; }
.logo span { color: var(--gold); }
.nav-right { display: flex; gap: 25px; align-items: center; }
.nav-link { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-link:hover { color: white; text-shadow: 0 0 10px white; }
.nav-icon, .cart-trigger { color: white; font-size: 1.2rem; cursor: pointer; transition: 0.3s; position: relative; }
.nav-icon:hover, .cart-trigger:hover { color: var(--gold); transform: scale(1.1); }
#cart-count {
    position: absolute; top: -5px; right: -8px; background: var(--gold); color: black;
    font-size: 0.6rem; width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold;
}

/* =========================================
   4. HERO & CONTROLS
   ========================================= */
.shop-hero {
    min-height: 85vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    position: relative; 
    z-index: 5;
    background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(3,3,3,1) 90%);
    overflow: hidden;
}

/* Premium Hero 3D Background */
.hero-3d-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
    filter: blur(60px);
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb.orb-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 10%;
    animation-duration: 10s;
}

.hero-orb.orb-2 {
    width: 400px;
    height: 400px;
    bottom: 15%;
    right: 15%;
    animation-duration: 12s;
    animation-delay: -2s;
}

.hero-grid-3d {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212,175,55,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    transform: perspective(800px) rotateX(65deg);
    transform-origin: center;
    animation: gridFlow 20s linear infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(30px, -30px) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-20px, 20px) scale(0.9); opacity: 0.7; }
}

@keyframes gridFlow {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 60px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: heroStatReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-stat-item:nth-child(2) {
    animation-delay: 1.1s;
}

.hero-stat-item:nth-child(3) {
    animation-delay: 1.3s;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 30px var(--gold-glow);
}

.stat-label {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes heroStatReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.hero-title { 
    font-family: var(--font-head); 
    font-size: 4.5rem; 
    line-height: 0.9; 
    margin: 0; 
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTitleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
@keyframes heroTitleReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
.gold-text { 
    color: var(--gold); 
    text-shadow: 0 0 30px var(--gold-glow);
    animation: goldPulse 3s ease-in-out infinite;
}
@keyframes goldPulse {
    0%, 100% {
        text-shadow: 0 0 30px var(--gold-glow), 0 0 40px rgba(212,175,55,0.2);
    }
    50% {
        text-shadow: 0 0 40px var(--gold-glow), 0 0 60px rgba(212,175,55,0.4);
    }
}
.tech-tag {
    font-family: var(--font-tech); 
    font-size: 0.7rem; 
    color: var(--gold);
    border: 1px solid var(--gold); 
    padding: 5px 15px; 
    border-radius: 50px;
    display: inline-block; 
    margin-bottom: 20px; 
    background: rgba(212, 175, 55, 0.05);
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    animation: tagSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    transition: all 0.3s ease;
}
.tech-tag:hover {
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 20px rgba(212,175,55,0.3);
    transform: scale(1.05);
}
@keyframes tagSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.hero-desc { 
    font-size: 1.1rem; 
    color: var(--text-dim); 
    margin-top: 20px; 
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroDescFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}
@keyframes heroDescFade {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Premium Reveal Animations */
.fade-in { 
    opacity: 0; 
    animation: premiumFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}
.fade-in-delay { 
    opacity: 0; 
    animation: premiumFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards; 
}
@keyframes premiumFadeIn { 
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
        filter: blur(8px);
    } 
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    } 
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-row {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-row.active {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky HUD */
.sticky-controls { 
    position: sticky; 
    top: 85px; 
    z-index: 90; 
    padding: 10px 5%; 
    display: flex; 
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.sticky-controls.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.glass-hud {
    background: var(--glass); 
    backdrop-filter: blur(20px);
    border: 1px solid var(--border); 
    padding: 12px 25px; 
    border-radius: 50px;
    display: flex; 
    gap: 20px; 
    align-items: center; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: glassHudEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes glassHudEntry {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.glass-hud:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.1);
    border-color: rgba(212,175,55,0.3);
}
.search-container input {
    background: transparent; border: none; color: white;
    font-family: var(--font-tech); padding-left: 25px; outline: none; width: 150px;
}
.filter-btn {
    background: transparent; 
    border: 1px solid #333; 
    color: #666;
    padding: 8px 20px; 
    border-radius: 20px; 
    cursor: pointer;
    font-family: var(--font-tech); 
    font-size: 0.7rem; 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}
.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.filter-btn.active, 
.filter-btn:hover { 
    border-color: var(--gold); 
    color: var(--gold); 
    background: rgba(212,175,55,0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,175,55,0.2);
}
.filter-btn.active::before,
.filter-btn:hover::before {
    width: 200px;
    height: 200px;
}
.filter-btn.active {
    background: rgba(212,175,55,0.12);
    box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

/* =========================================
   5. TITANIUM CARD ENGINE (Zig-Zag) - PREMIUM ANIMATIONS
   ========================================= */
/* =========================================
   FEATURED SHOWCASE SECTION - PREMIUM 3D
   ========================================= */
.featured-showcase {
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
}

.featured-3d-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-product-3d {
    perspective: 2000px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-card-3d {
    width: 400px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    animation: featuredCardFloat 6s ease-in-out infinite;
}

.featured-card-3d:hover {
    transform: rotateY(15deg) rotateX(5deg) scale(1.05);
    animation-play-state: paused;
}

.featured-card-3d .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    backface-visibility: hidden;
    border: 2px solid rgba(212,175,55,0.3);
    background: linear-gradient(135deg, rgba(10,10,10,0.9), rgba(30,30,30,0.9));
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212,175,55,0.2);
}

.featured-card-3d .card-face.front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(212,175,55,0.3), transparent 60%);
    border-radius: 18px;
    filter: blur(20px);
    animation: glowBreath 3s ease-in-out infinite;
    z-index: -1;
}

.card-pattern {
    width: 80%;
    height: 60%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(212,175,55,0.1) 10px,
        rgba(212,175,55,0.1) 20px
    );
    border-radius: 8px;
}

.featured-card-3d .card-face.back {
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-info {
    font-family: var(--font-head);
    font-size: 4rem;
    color: rgba(212,175,55,0.1);
    font-weight: 700;
}

.card-edge {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.2);
    transform: translateZ(2px);
}

.featured-content {
    padding: 40px;
}

.featured-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212,175,55,0.1);
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

.featured-title {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 25px 0;
    letter-spacing: -2px;
}

.featured-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 40px;
}

.btn-featured {
    background: white;
    color: black;
    padding: 18px 45px;
    font-family: var(--font-head);
    font-weight: 700;
    border: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn-featured:hover::before {
    transform: scale(1);
}

.btn-featured:hover {
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212,175,55,0.4);
}

@keyframes featuredCardFloat {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
}

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

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.2); }
    50% { box-shadow: 0 0 40px rgba(212,175,55,0.4); }
}

.showcase-container { 
    padding: 100px 5%; 
    max-width: 1400px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 5;
    min-height: 500px;
}

/* Premium Loading Animation */
.loading-text {
    text-align: center;
    padding: 100px 20px;
    color: #666;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 3px;
    position: relative;
    animation: loadingPulse 2s ease-in-out infinite;
}

.loading-text::before,
.loading-text::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    animation: loadingDot 1.5s ease-in-out infinite;
}

.loading-text::before {
    left: calc(50% - 30px);
    animation-delay: 0s;
}

.loading-text::after {
    left: calc(50% + 30px);
    animation-delay: 0.3s;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes loadingDot {
    0%, 100% { 
        transform: translateY(-50%) scale(0.8);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
        box-shadow: 0 0 15px rgba(212,175,55,0.6);
    }
}

/* Smooth Product Grid Transitions */
.shop-row {
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.3s ease;
}

.shop-row.filtered-out {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    filter: blur(5px);
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}

/* =========================================
   PREMIUM PRODUCT GRID - MODERN LAYOUT
   ========================================= */
.showcase-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    padding: 100px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.shop-row {
    display: flex;
    flex-direction: column;
    background: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.shop-row.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.shop-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.shop-row:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212,175,55,0.2);
}

.shop-row:hover::before {
    opacity: 1;
}

/* Premium Staggered Reveal Animations */
.row-image-box, .row-content { 
    opacity: 0; 
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-row.active .row-image-box { 
    animation: premiumSlideInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}
.shop-row.active .row-content { 
    animation: premiumSlideInFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.shop-row:nth-child(even).active .row-image-box { 
    animation: premiumSlideInScaleReverse 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}
.shop-row:nth-child(even).active .row-content { 
    animation: premiumSlideInFadeReverse 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

/* Premium Keyframe Animations */
@keyframes premiumSlideInScale { 
    from { 
        opacity: 0; 
        transform: translateX(-80px) scale(0.9) rotateY(-10deg);
        filter: blur(10px);
    } 
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1) rotateY(0deg);
        filter: blur(0);
    } 
}

@keyframes premiumSlideInScaleReverse { 
    from { 
        opacity: 0; 
        transform: translateX(80px) scale(0.9) rotateY(10deg);
        filter: blur(10px);
    } 
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1) rotateY(0deg);
        filter: blur(0);
    } 
}

@keyframes premiumSlideInFade { 
    from { 
        opacity: 0; 
        transform: translateX(60px) translateY(20px);
        filter: blur(5px);
    } 
    to { 
        opacity: 1; 
        transform: translateX(0) translateY(0);
        filter: blur(0);
    } 
}

@keyframes premiumSlideInFadeReverse { 
    from { 
        opacity: 0; 
        transform: translateX(-60px) translateY(20px);
        filter: blur(5px);
    } 
    to { 
        opacity: 1; 
        transform: translateX(0) translateY(0);
        filter: blur(0);
    } 
}

/* 3D Container - Premium Mobile-Optimized */
.row-image-box { 
    width: 100%;
    height: 350px;
    perspective: 1500px;
    position: relative;
    transform-style: preserve-3d;
    background: linear-gradient(135deg, #0a0a0a, #050505);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}
.digital-twin {
    position: relative; 
    transform-style: preserve-3d; 
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    border-radius: 14px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.1);
    animation: auraBreath 6s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.digital-twin:hover,
.digital-twin:active {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0,0,0,0.95), 0 0 60px rgba(212,175,55,0.4), 0 0 100px rgba(212,175,55,0.2);
}

@keyframes auraBreath { 
    0%, 100% { 
        box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 30px rgba(212,175,55,0.1), 0 0 50px rgba(212,175,55,0.05); 
    } 
    50% { 
        box-shadow: 0 30px 70px rgba(0,0,0,1), 0 0 50px rgba(212,175,55,0.3), 0 0 80px rgba(212,175,55,0.15); 
    } 
}

/* Ensure smooth animations are GPU-accelerated */
.digital-twin {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Premium Spotlight Effect */
.spotlight {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.3) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 15;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.row-image-box:hover .spotlight,
.row-image-box:active .spotlight {
    opacity: 1;
    animation: spotlightMove 3s ease-in-out infinite;
}
@keyframes spotlightMove {
    0%, 100% { transform: translate(-50%, -50%) translate(0, 0); }
    25% { transform: translate(-50%, -50%) translate(20px, 20px); }
    50% { transform: translate(-50%, -50%) translate(-10px, 10px); }
    75% { transform: translate(-50%, -50%) translate(10px, -10px); }
}

.twin-inner { 
    width: 100%; 
    height: 100%; 
    position: relative; 
    transform-style: preserve-3d; 
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.8s ease; 
    border-radius: inherit;
    will-change: transform;
}
.twin-inner.flipped { 
    transform: rotateY(180deg) scale(1.05);
    animation: flipGlow 0.8s ease;
}
@keyframes flipGlow {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3) drop-shadow(0 0 20px rgba(212,175,55,0.6)); }
    100% { filter: brightness(1); }
}

.twin-face {
    position: absolute; inset: 0; width: 100%; height: 100%;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    border-radius: 14px !important; overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #050505); border: 1px solid rgba(255,255,255,0.1);
}
.twin-front { z-index: 2; transform: rotateY(0deg); }
.twin-back { transform: rotateY(180deg); background-size: cover; background-position: center; background-color: #080808; display: flex; flex-direction: column; }

/* Image Layers */
.twin-layer { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.twin-base { background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 1; }
.twin-layer[style*="noise.svg"] { z-index: 2; mix-blend-mode: overlay; }
.twin-glare { background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8), transparent 60%); opacity: 0; mix-blend-mode: overlay; z-index: 10; }
.twin-back > div:not(.twin-layer) { z-index: 20; position: relative; }

.twin-front::after {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -150%; 
    width: 150%; 
    height: 100%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(212,175,55,0.2) 50%, rgba(255,255,255,0.15) 55%, transparent 70%);
    transform: skewX(-25deg); 
    animation: premiumSheen 6s infinite; 
    pointer-events: none; 
    z-index: 15;
    will-change: left;
}
@keyframes premiumSheen { 
    0%, 75% { left: -150%; opacity: 0; } 
    80% { opacity: 1; } 
    100% { left: 150%; opacity: 0; } 
}

.digital-twin.shape-card { 
    width: 90%; 
    max-width: 320px; 
    height: 200px;
    margin: 0 auto;
}
.digital-twin.shape-tag { 
    width: 220px; 
    height: 220px; 
    border-radius: 50% !important;
    margin: 0 auto;
}
.digital-twin.shape-tag .twin-inner, .digital-twin.shape-tag .twin-face { 
    border-radius: 50% !important; 
}

/* Premium Content Layout */
.row-content { 
    padding: 35px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row-cat { 
    color: var(--gold); 
    font-family: var(--font-tech); 
    font-size: 0.75rem; 
    letter-spacing: 3px; 
    text-transform: uppercase;
    margin: 0;
    opacity: 0.8;
}

.row-title { 
    font-family: var(--font-head); 
    font-size: 1.8rem; 
    margin: 0; 
    line-height: 1.2;
    color: white;
    transition: color 0.3s ease;
}

.shop-row:hover .row-title {
    color: var(--gold);
}

.row-desc { 
    color: var(--text-dim); 
    font-size: 0.9rem; 
    line-height: 1.7; 
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.row-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.row-price { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--gold);
    font-family: var(--font-head);
    margin: 0;
    text-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.row-actions {
    display: flex;
    gap: 12px;
    margin: 0;
}

.btn-buy {
    background: white; 
    color: black; 
    padding: 12px 24px;
    font-family: var(--font-tech); 
    font-weight: 600; 
    font-size: 0.75rem;
    border: none;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
    cursor: pointer; 
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    will-change: transform, box-shadow, background;
    text-transform: uppercase;
    flex: 1;
    max-width: 140px;
}
.btn-buy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212,175,55,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}
.btn-buy:hover,
.btn-buy:active { 
    background: var(--gold); 
    transform: translateY(-4px) scale(1.02); 
    box-shadow: 0 8px 30px rgba(212,175,55,0.5), 0 0 40px rgba(212,175,55,0.3);
}
.btn-buy:hover::before,
.btn-buy:active::before {
    width: 300px;
    height: 300px;
}
.btn-buy:active {
    transform: translateY(-2px) scale(0.98);
}

.gold-foil {
    background: linear-gradient(135deg, #D4AF37, #FEE799, #D4AF37);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(212,175,55,0.3); font-weight: 700;
}
.flip-hint {
    position: absolute; 
    bottom: 15px; 
    right: 15px; 
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-family: var(--font-tech);
    background: rgba(0,0,0,0.6);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite; 
    pointer-events: none; 
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.4);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    letter-spacing: 1px;
    z-index: 20;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

@keyframes pulse { 0%{opacity:0.4} 50%{opacity:0.8} 100%{opacity:0.4} }

/* =========================================
   6. PREMIUM DRAWERS
   ========================================= */
.drawer {
    position: fixed; top: 0; right: -420px; width: 100%; max-width: 420px; height: 100%;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px);
    border-left: 1px solid var(--gold); z-index: 300; 
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex; flex-direction: column; box-shadow: -10px 0 50px rgba(0,0,0,0.8);
}
.drawer.open { right: 0; }

.drawer-header {
    padding: 25px; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border); background: rgba(20,20,20,0.5);
}
.drawer-header h2 { margin: 0; font-family: var(--font-head); font-size: 1.2rem; color: white; letter-spacing: 1px; }
.close-btn { background: none; border: none; color: #666; font-size: 1.5rem; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: white; transform: rotate(90deg); }

.cart-items { flex: 1; padding: 25px; overflow-y: auto; }
.cart-item {
    display: flex; gap: 15px; margin-bottom: 20px; padding: 15px;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border);
    border-radius: 12px; transition: 0.3s;
}
.cart-item:hover { border-color: var(--gold); background: rgba(255,255,255,0.05); }
.cart-img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid #333; }

.cart-footer { padding: 30px 25px; background: rgba(15,15,15,0.9); border-top: 1px solid var(--border); }
.coupon-wrapper { display: flex; gap: 10px; margin-bottom: 20px; }
.coupon-wrapper input {
    flex: 1; background: transparent; border: none; border-bottom: 1px solid #444;
    color: white; font-family: var(--font-tech); padding: 10px; outline: none; transition: 0.3s;
}
.coupon-wrapper input:focus { border-color: var(--gold); }
.coupon-wrapper button {
    background: transparent; border: 1px solid var(--gold); color: var(--gold);
    padding: 5px 15px; font-family: var(--font-tech); font-size: 0.7rem; cursor: pointer;
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-family: var(--font-tech); font-size: 0.9rem; color: #aaa; }
.summary-row.total { font-family: var(--font-head); font-size: 1.2rem; color: white; margin-top: 15px; padding-top: 15px; border-top: 1px solid #333; }
.checkout-btn {
    width: 100%; padding: 18px; margin-top: 25px;
    background: var(--gold); color: black; border: none;
    font-family: var(--font-head); font-weight: bold; font-size: 1rem;
    cursor: pointer; transition: 0.3s; letter-spacing: 1px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.checkout-btn:hover { background: white; box-shadow: 0 0 20px var(--gold-glow); }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 200; display: none; backdrop-filter: blur(5px); }

.drawer-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

/* =========================================
   COMPLETE ACCOUNT SYSTEM STYLES
   ========================================= */
.account-dashboard {
    padding: 30px;
}

.account-header {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.account-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #FEE799);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(212,175,55,0.3);
    flex-shrink: 0;
    overflow: hidden;
}

.account-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-initial {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    font-family: var(--font-head);
}

.account-info {
    flex: 1;
}

.account-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    color: white;
}

.account-email {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-family: var(--font-tech);
    margin: 0 0 10px 0;
}

.account-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-tech);
    letter-spacing: 1px;
}

.account-nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.account-tab {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 10px 20px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.account-tab:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.account-tab.active {
    color: var(--gold);
    background: rgba(212,175,55,0.1);
}

.tab-badge {
    background: var(--gold);
    color: black;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
}

.account-view-content {
    min-height: 300px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.stat-card-account {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-card-account:hover {
    border-color: rgba(212,175,55,0.4);
    background: rgba(212,175,55,0.05);
}

.stat-icon-account {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(212,175,55,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
}

.stat-value-account {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
}

.stat-label-account {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recent-orders-section {
    margin-top: 40px;
}

.section-title-account {
    font-family: var(--font-head);
    font-size: 1rem;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.orders-list, .orders-list-full {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: rgba(212,175,55,0.4);
    background: rgba(212,175,55,0.05);
    transform: translateX(5px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-id {
    font-family: var(--font-tech);
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: var(--font-tech);
    font-weight: 600;
    letter-spacing: 1px;
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-date {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-total {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
}

.order-items-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-item-preview {
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-body);
}

.order-item-more {
    color: var(--gold);
    font-size: 0.75rem;
    font-family: var(--font-tech);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.btn-account-primary {
    background: var(--gold);
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-account-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212,175,55,0.4);
}

.btn-account-secondary {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.btn-account-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.account-footer-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.address-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.address-header h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    margin: 0;
    color: white;
}

.default-badge {
    background: rgba(212,175,55,0.2);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-family: var(--font-tech);
    letter-spacing: 1px;
}

.address-details {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.address-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-address-action {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: var(--font-tech);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-address-action:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.settings-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.settings-group {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
}

.settings-title {
    font-family: var(--font-head);
    font-size: 1rem;
    color: white;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-family: var(--font-tech);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setting-input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.setting-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212,175,55,0.05);
}

.setting-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.setting-toggle label:first-child {
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--gold);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.btn-account-danger {
    background: transparent;
    border: 1px solid rgba(244,67,54,0.5);
    color: #F44336;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-tech);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-account-danger:hover {
    background: rgba(244,67,54,0.1);
    border-color: #F44336;
}

/* =========================================
   7. MISC UI & FOOTER
   ========================================= */
.newsletter-box { text-align: center; padding: 60px 20px; border: 1px solid var(--border); background: rgba(10,10,10,0.8); backdrop-filter: blur(10px); border-radius: 20px; margin: 100px 5%; }
.newsletter-input { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.newsletter-input input { background: rgba(255,255,255,0.05); border: 1px solid #333; color: white; padding: 15px 20px; border-radius: 5px; outline: none; width: 300px; font-family: var(--font-tech); }
.newsletter-input button { background: white; color: black; border: none; padding: 15px 30px; font-weight: bold; cursor: pointer; border-radius: 5px; font-family: var(--font-head); }

.faq-section { max-width: 800px; margin: 100px auto; padding: 0 20px; }
.faq-item { border-bottom: 1px solid #333; padding: 20px 0; cursor: pointer; }
.faq-q { display: flex; justify-content: space-between; font-family: var(--font-tech); font-size: 1rem; color: #ddd; }
.faq-q span { color: var(--gold); margin-right: 15px; }
.faq-a { max-height: 0; overflow: hidden; transition: 0.3s; color: #888; margin-top: 0; font-size: 0.9rem; line-height: 1.6; }
.faq-item.active .faq-a { max-height: 200px; margin-top: 15px; }

.auth-modal {
    display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(10,10,10,0.95); padding: 40px; border: 1px solid var(--gold);
    border-radius: 20px; z-index: 2000; text-align: center; width: 90%; max-width: 350px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8); backdrop-filter: blur(10px);
}
.auth-input { width: 100%; padding: 12px; background: #000; border: 1px solid #333; color: white; margin-bottom: 10px; border-radius: 4px; }
.auth-btn-submit { width: 100%; padding: 12px; background: var(--gold); border: none; font-weight: bold; cursor: pointer; margin-top: 10px; font-family: var(--font-head); }
.auth-btn-google { width: 100%; padding: 12px; background: white; border: none; font-weight: bold; cursor: pointer; margin-bottom: 20px; }
.close-auth { background: none; border: none; color: #666; margin-top: 20px; cursor: pointer; text-decoration: underline; }

.celebration-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.celebration-overlay.active { display: flex; animation: fadeIn 0.5s ease; }
.celebration-card { text-align: center; background: #111; padding: 40px; border: 1px solid var(--gold); border-radius: 20px; box-shadow: 0 0 50px var(--gold-glow); }
.celeb-btn { background: var(--gold); border: none; padding: 10px 30px; font-weight: bold; margin-top: 20px; cursor: pointer; font-family: var(--font-head); }

.tech-divider { width: 2px; height: 100px; background: linear-gradient(transparent, var(--gold), transparent); margin: 0 auto 50px; }
.section-title { text-align: center; font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 60px; }
.blueprint-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 5%; }
/* =========================================
   PREMIUM STATS SECTION - 3D CARDS
   ========================================= */
.stats-section {
    padding: 150px 5%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(212,175,55,0.03), transparent 70%);
}

.stats-3d-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(212,175,55,0.02) 50px,
        rgba(212,175,55,0.02) 100px
    );
    opacity: 0.5;
    animation: statsBgShift 20s linear infinite;
}

@keyframes statsBgShift {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.stats-grid-3d {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.stat-card-3d {
    background: rgba(10,10,10,0.8);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card-3d::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(212,175,55,0.3), transparent, rgba(212,175,55,0.1));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.stat-card-3d:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(212,175,55,0.4);
}

.stat-card-3d:hover::before {
    opacity: 1;
}

.stat-icon-3d {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(212,175,55,0.1);
    border: 2px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.5s ease;
    transform: translateZ(20px);
}

.stat-card-3d:hover .stat-icon-3d {
    transform: translateZ(40px) rotateY(360deg) scale(1.1);
    background: rgba(212,175,55,0.2);
    box-shadow: 0 0 30px rgba(212,175,55,0.5);
}

.stat-number-large {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin: 20px 0 15px;
    text-shadow: 0 0 30px var(--gold-glow);
    transform: translateZ(10px);
}

.stat-label-large {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    transform: translateZ(5px);
}

.stat-subtitle {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-body);
    transform: translateZ(5px);
}

/* =========================================
   ENHANCED TECH CARDS - 3D
   ========================================= */
.tech-card { 
    background: rgba(255,255,255,0.02); 
    border: 1px solid var(--border); 
    padding: 30px; 
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
}

.tech-card-3d .tech-card-inner {
    position: relative;
    z-index: 2;
}

.tech-card:hover { 
    border-color: var(--gold); 
    background: rgba(212,175,55,0.08);
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(212,175,55,0.3);
}

.tech-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(30px);
    z-index: 1;
}

.tech-card:hover .tech-glow {
    opacity: 1;
}

.tech-header { 
    display: flex; 
    justify-content: space-between; 
    color: var(--gold); 
    margin-bottom: 20px; 
    font-family: var(--font-tech); 
    font-size: 0.8rem;
    transform: translateZ(10px);
}

.tech-header i {
    font-size: 1.2rem;
    animation: techIconPulse 3s ease-in-out infinite;
}

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

.tech-card h3 { 
    font-family: var(--font-head); 
    margin: 0 0 10px 0; 
    font-size: 1.2rem;
    transform: translateZ(5px);
}

.tech-card p { 
    color: #888; 
    font-size: 0.9rem; 
    line-height: 1.5;
    transform: translateZ(5px);
}

/* =========================================
   PROCESS/TIMELINE SECTION - 3D
   ========================================= */
.process-section {
    padding: 150px 5%;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.02) 50%, transparent);
}

.process-3d-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-timeline-3d {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
    position: relative;
}

.process-timeline-3d::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3) 20%, rgba(212,175,55,0.5) 50%, rgba(212,175,55,0.3) 80%, transparent);
    z-index: 1;
    animation: timelineFlow 3s ease-in-out infinite;
}

@keyframes timelineFlow {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.process-step-3d {
    position: relative;
    z-index: 2;
    text-align: center;
    transform-style: preserve-3d;
}

.step-number-3d {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(10,10,10,0.9);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.2);
}

.step-number-3d::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(212,175,55,0.2);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.process-step-3d:hover .step-number-3d {
    transform: translateZ(50px) rotateY(360deg) scale(1.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 50px rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.1);
}

.process-step-3d:hover .step-number-3d::before {
    opacity: 1;
    animation: stepRingPulse 2s ease-in-out infinite;
}

@keyframes stepRingPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0; }
}

.step-content h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin: 0 0 15px 0;
    color: white;
    transform: translateZ(10px);
}

.step-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    transform: translateZ(5px);
}

.step-connector {
    position: absolute;
    top: 60px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(212,175,55,0.5), transparent);
    z-index: 1;
}

.process-step-3d:last-child .step-connector {
    display: none;
}

/* =========================================
   TESTIMONIALS SECTION - 3D CARDS
   ========================================= */
.testimonials-section {
    padding: 150px 5%;
    position: relative;
    overflow: hidden;
}

.testimonials-3d-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212,175,55,0.05), transparent 70%);
    z-index: 0;
}

.testimonials-section .section-title {
    position: relative;
    z-index: 10;
}

.testimonials-grid-3d {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.testimonial-card-3d {
    background: rgba(10,10,10,0.8);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.testimonial-card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.testimonial-card-3d:hover {
    transform: translateY(-20px) rotateX(3deg) rotateY(3deg);
    border-color: var(--gold);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212,175,55,0.4);
}

.testimonial-card-3d:hover::before {
    opacity: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    transform: translateZ(10px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212,175,55,0.2);
    border: 2px solid rgba(212,175,55,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    transition: all 0.6s ease;
}

.testimonial-card-3d:hover .testimonial-avatar {
    transform: translateZ(30px) scale(1.1) rotateY(360deg);
    box-shadow: 0 0 30px rgba(212,175,55,0.6);
}

.testimonial-info h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: white;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
    font-family: var(--font-tech);
}

.testimonial-content {
    position: relative;
    transform: translateZ(5px);
}

.quote-icon {
    font-family: var(--font-head);
    font-size: 4rem;
    color: rgba(212,175,55,0.2);
    line-height: 0;
    margin-bottom: 15px;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin: 30px 0 20px;
    padding-left: 30px;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    padding-left: 30px;
}

.testimonial-rating i {
    color: var(--gold);
    font-size: 0.9rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

.testimonial-rating i:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-rating i:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-rating i:nth-child(4) {
    animation-delay: 0.6s;
}

.testimonial-rating i:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.testimonial-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(212,175,55,0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: blur(40px);
    z-index: -1;
}

.testimonial-card-3d:hover .testimonial-glow {
    opacity: 1;
}

.marquee-strip { background: var(--gold); color: black; padding: 10px 0; overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-weight: bold; margin: 100px 0; transform: rotate(-1deg); }
.marquee-content { display: inline-block; animation: scroll 20s linear infinite; }
@keyframes scroll { from {transform:translateX(0)} to {transform:translateX(-50%)} }

/* =========================================
   PREMIUM FOOTER - 3D ENHANCED
   ========================================= */
.TAPD-footer.premium-footer {
    border-top: 1px solid rgba(212,175,55,0.2);
    padding: 100px 5% 30px;
    background: linear-gradient(180deg, #030303 0%, #010101 100%);
    margin-top: 150px;
    position: relative;
    overflow: hidden;
}

.footer-3d-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212,175,55,0.05), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212,175,55,0.03), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo span {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.footer-tagline {
    color: var(--gold);
    font-family: var(--font-head);
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 15px 0 25px 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(212,175,55,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-icon:hover {
    border-color: var(--gold);
    background: rgba(212,175,55,0.15);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(212,175,55,0.3);
}

.social-icon:hover::before {
    opacity: 1;
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-family: var(--font-head);
    font-size: 0.85rem;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 25px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-body);
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 15px;
}

.footer-link:hover::before {
    width: 10px;
}

.footer-bottom {
    position: relative;
    z-index: 10;
    margin-top: 40px;
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.75rem;
    font-family: var(--font-body);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-bottom-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.footer-bottom-link:hover {
    color: var(--gold);
}

.footer-separator {
    color: var(--text-dim);
    font-size: 0.75rem;
}

.footer-system-status {
    text-align: center;
    color: rgba(212,175,55,0.5);
    font-family: var(--font-tech);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   8. MOBILE OPTIMIZATION (Premium Mobile Animations)
   ========================================= */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; line-height: 1.1; }
    .hero-desc { font-size: 0.9rem; padding: 0 20px; }
    
    /* Premium Grid Mobile */
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 80px 20px;
    }
    
    .shop-row {
        margin-bottom: 0;
        transform: translateY(30px) scale(0.95);
    }
    
    .shop-row.active {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    /* Premium Mobile Card Reveal */
    .row-image-box { 
        width: 100%; 
        height: 320px; 
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        perspective: 1200px;
        opacity: 0;
        transform: scale(0.9) translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
    }
    
    .shop-row.active .row-image-box {
        opacity: 1;
        transform: scale(1) translateY(0);
        animation: mobileCardPop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }
    
    @keyframes mobileCardPop {
        0% {
            opacity: 0;
            transform: scale(0.8) translateY(50px) rotateY(-15deg);
            filter: blur(15px);
        }
        60% {
            transform: scale(1.05) translateY(-10px) rotateY(5deg);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0) rotateY(0deg);
            filter: blur(0);
        }
    }
    
    /* Enhanced 3D Cards for Mobile */
    .digital-twin.shape-card { 
        position: relative;
        width: 320px !important;
        height: 200px !important;
        left: auto !important;
        margin: 0 !important;
        transform: rotateX(8deg) rotateY(0deg) scale(1);
        transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    }
    
    .digital-twin.shape-card:active {
        transform: rotateX(5deg) rotateY(0deg) scale(0.98) translateY(5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 40px rgba(212,175,55,0.3);
    }
    
    .digital-twin.shape-tag { 
        width: 220px !important; 
        height: 220px !important; 
        left: auto !important;
        margin: 0 !important;
        transform: rotateX(8deg) rotateY(0deg) scale(1);
        transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
    }
    
    .digital-twin.shape-tag:active {
        transform: rotateX(5deg) rotateY(0deg) scale(0.96) translateY(5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 40px rgba(212,175,55,0.3);
    }
    
    /* Premium Content Reveal */
    .row-content {
        padding: 25px;
        text-align: left;
    }
    
    .row-title { 
        font-size: 1.5rem;
    }
    
    .row-desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .row-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .row-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .btn-buy {
        flex: 0 0 auto;
        padding: 10px 20px;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav-column {
        margin-bottom: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    @keyframes textFadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Enhanced Mobile UI */
    .glass-hud { 
        width: 95%; 
        border-radius: 20px; 
        flex-direction: row;
        padding: 12px 15px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .glass-hud:active {
        transform: scale(0.98);
    }
    
    .search-container input { 
        width: 100px; 
        transition: width 0.3s ease, background 0.3s ease;
    }
    
    .search-container input:focus {
        width: 140px;
        background: rgba(255,255,255,0.05);
    }
    
    .filter-btn {
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .filter-btn:active {
        transform: scale(0.95);
    }
    
    .drawer { width: 100%; max-width: 100%; }
    
    /* Account System Mobile */
    .account-dashboard {
        padding: 20px;
    }
    
    .account-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .account-nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .account-tab {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .order-card {
        padding: 15px;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav-column {
        margin-bottom: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Premium Mobile Button Animations */
    .btn-buy {
        padding: 16px 35px;
        font-size: 0.85rem;
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    }
    
    .btn-buy:active {
        transform: translateY(-2px) scale(0.97);
    }
    
    /* Reduce floating assets on mobile for performance */
    .floating-assets { 
        opacity: 0.3; 
        animation-duration: 25s;
    }
    
    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
    }
    
    /* Featured Showcase Mobile */
    .featured-3d-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .featured-product-3d {
        height: 350px;
    }
    
    .featured-card-3d {
        width: 280px;
        height: 175px;
    }
    
    .featured-title {
        font-size: 2.2rem;
    }
    
    /* Stats Section Mobile */
    .stats-grid-3d {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card-3d {
        padding: 30px 20px;
    }
    
    .stat-number-large {
        font-size: 2.5rem;
    }
    
    .stat-icon-3d {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Hero Stats Mobile */
    .hero-stats {
        gap: 30px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Process Timeline Mobile */
    .process-timeline-3d {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .process-timeline-3d::before {
        display: none;
    }
    
    .step-connector {
        display: none;
    }
    
    .step-number-3d {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid-3d {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial-card-3d {
        padding: 30px;
    }
}
/* =========================================
   9. PERFORMANCE OPTIMIZATIONS & REDUCED MOTION
   ========================================= */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .digital-twin,
    .twin-inner,
    .twin-front::after,
    .spotlight,
    .floating-assets {
        animation: none !important;
    }
}

/* GPU Acceleration for Smooth 60fps Animations */
.digital-twin,
.twin-inner,
.row-image-box,
.btn-buy,
.filter-btn,
.shop-row {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimize for Mobile Performance */
@media (max-width: 900px) {
    /* Reduce complex animations on mobile */
    .twin-front::after {
        animation-duration: 8s;
    }
    
    .auraBreath {
        animation-duration: 8s;
    }
    
    /* Disable parallax on low-end devices */
    @media (hover: none) and (pointer: coarse) {
        .row-image-box:hover .spotlight {
            animation: none;
        }
    }
}

/* =========================================
   10. FINAL POLISH & ANIMATION FIXES
   ========================================= */

/* --- FIX 1: BRING ANIMATION TO FRONT --- */
/* This moves the falling cards/tags ABOVE the black background sections 
   so they don't disappear when you scroll down. */
.floating-assets {
    z-index: 90 !important; /* Sits on top of content, below Menu */
    opacity: 0.6 !important; /* Slightly visible but not distracting */
    pointer-events: none; /* Clicks go through them */
    display: block !important;
}

/* optimized fall animation */
@keyframes fallAndSpin {
    0% { transform: translateY(-20vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* --- FIX 2: MOBILE UI CLEANUP (Screenshots Fix) --- */
@media (max-width: 900px) {

    /* HERO SECTION (Screenshot 3 Fix) */
    /* Fixes "Engineered Perfection" being too huge */
    .hero-title {
        font-size: 2.2rem !important; 
        line-height: 1.1;
        padding: 0 10px;
    }
    
    /* SYSTEM CORE (Screenshot 2 Fix) */
    /* Fixes the grid looking squashed */
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 40px;
    }
    
    .blueprint-grid {
        display: grid;
        grid-template-columns: 1fr; /* Force 1 column */
        gap: 20px;
        padding: 0 20px;
    }
    
    .tech-card {
        padding: 25px;
        background: rgba(255, 255, 255, 0.03);
    }

    /* NEWSLETTER & SEARCH (Screenshot 1 Fix) */
    /* Fixes the "Secure Your Access" box and Search Bar spacing */
    .newsletter-box {
        margin: 60px 20px 100px 20px; /* More breathing room */
        padding: 40px 20px;
    }
    
    .newsletter-input {
        flex-direction: column; /* Stack input and button */
        gap: 15px;
        width: 100%;
    }
    
    .newsletter-input input,
    .newsletter-input button {
        width: 100% !important; /* Full width for easy tapping */
        max-width: 100%;
    }

    /* Fix the Floating Search Bar (HUD) */
    .sticky-controls {
        top: 75px; /* Adjust slightly for mobile nav */
        padding: 0 10px;
    }
    
    .glass-hud {
        width: 100%;
        padding: 10px 15px;
        flex-wrap: wrap; /* Allow wrapping if needed */
        justify-content: center;
        gap: 12px;
    }
    
    .search-container { width: 100%; display: flex; justify-content: center; }
    .search-container input { 
        width: 100%; 
        text-align: center; 
        font-size: 0.9rem;
    }
    
    /* Hide filters on tiny screens to save space if needed, 
       or style them smaller */
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.65rem;
    }
}
