*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0a1628;
    --navy-800: #1e3a5f;
    --navy-700: #2d4f72;
    --navy-600: #3d6084;
    --gold-500: #d4a843;
    --gold-400: #e0b95e;
    --gold-300: #ebcf85;
    --navy-100: #e8edf4;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
header.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    transition: box-shadow 0.3s ease;
}

header.nav-scrolled.scrolled {
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.1);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: white;
    box-shadow: 0 10px 40px rgba(10, 22, 40, 0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.mobile-link {
    border-bottom: 1px solid var(--navy-100);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Hero */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.88) 0%,
        rgba(30, 58, 95, 0.80) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* Product Cards */
@media (prefers-reduced-motion: no-preference) {
    .group:hover .group-hover\:scale-105 {
        transform: scale(1.05);
    }
}

/* Smooth Focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--gold-500);
    color: var(--navy-900);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}
