/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; }

/* ─── NAV ─── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #D4AF61;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#site-header.scrolled #nav-bg { background: rgba(6, 11, 24, 0.92); backdrop-filter: blur(12px); }
#site-header.scrolled { border-bottom: 1px solid rgba(255,255,255,0.05); }

/* ─── MOBILE MENU ─── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu .menu-line.active:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#mobile-menu .menu-line.active:nth-child(2) { opacity: 0; }
#mobile-menu .menu-line.active:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 24px; }

/* ─── HERO ─── */
#hero { position: relative; }

/* ─── FEATURE CARDS ─── */
.feature-card {
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF61, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.feature-card:hover::before { opacity: 1; }

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── GOLD LINE ANIMATION ─── */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.gold-shimmer {
    background: linear-gradient(90deg, #D4AF61, #F0D48A, #D4AF61);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #060B18; }
::-webkit-scrollbar-thumb { background: #162A4A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF61; }

/* ─── SELECTION ─── */
::selection { background: rgba(212, 175, 97, 0.3); color: #fff; }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
