@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;700;900&display=swap');

/* ========================================
   CSS VARIABLES & RESET
======================================== */
:root {
    --black: #000000;
    --deep-black: #0a0a0b;
    --gold: #D4AF37;
    --rich-gold: #FFD700;
    --champagne: #F4E4A6;
    --ivory: #FAF9F6;
    --pearl: #F8F6F0;
    --glass-bg: rgba(212, 175, 55, 0.08);
    --glass-border: rgba(212, 175, 55, 0.25);
    --text-light: #FAF9F6;
    --text-dark: #000000;
    --text-muted: #666666;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #D4AF37 25%, #F4E4A6 50%, #D4AF37 75%, #FFD700 100%);
    --gradient-black: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    --gradient-premium: linear-gradient(45deg, #FFD700, #FFA500, #FFD700, #F4E4A6, #FFD700);
    --font-tech: 'Orbitron', monospace;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --shadow-luxury: 0 20px 60px rgba(212, 175, 55, 0.4);
    --shadow-premium: 0 30px 80px rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Prevents horizontal scroll and layout shifts */
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ivory);
    color: var(--text-dark);
    font-family: var(--font-sans);
}

/* ========================================
   HEADER (STATIC & UNIFORM)
======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
    z-index: 1000;
    /* This is the final, static style. No .header-scrolled needed. */
    padding: 0.75rem 0;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(40px) saturate(200%);
    box-shadow: 0 15px 60px rgba(212, 175, 55, 0.15);
    border-bottom: 2px solid var(--gold);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        gap: 2.5rem;
        z-index: 1001;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 2rem; color: var(--ivory); }
    .nav-links a:hover, .nav-links a:hover::after { color: var(--gold); text-shadow: none; transform: none; width: auto; }
    .mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
    .products-section, .testimonials-section { padding: 6rem 0; }
    .newsletter-section { padding: 5rem 0; }
    .newsletter-form { flex-direction: column; padding: 1rem; border-radius: 30px; background: transparent; border: none; backdrop-filter: none; }
    .newsletter-input, .newsletter-button { width: 100%; padding: 1.2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
    .footer-section a { justify-content: center; padding-left: 0; }
    .footer-section a:hover { transform: none; }
    .footer-section a::before { display: none; }
    .back-to-top { bottom: 2rem; right: 2rem; width: 60px; height: 60px; }
}

@media (max-width: 480px) {
    .container, .nav-container { padding: 0 1.5rem; }
    .product-card, .testimonial-card { padding: 2rem 1.5rem; }
    .cta-button { padding: 1rem 2.5rem; font-size: 1rem; }
}