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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Navbar transitions */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

.nav-logo-color {
    color: #0a1628;
}

#navbar:not(.scrolled) .nav-logo-color {
    color: #0a1628;
}

.nav-link {
    color: #0a1628;
}

#navbar:not(.scrolled) .nav-link {
    color: #0a1628;
}

.nav-link-border {
    border-color: #0a1628;
    color: #0a1628;
}

#navbar:not(.scrolled) .nav-link-border {
    border-color: #0a1628;
    color: #0a1628;
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    color: #0a1628;
}

/* Hero animations */
.hero-eyebrow,
.hero-headline,
.hero-sub,
.hero-cta,
.hero-trust,
.hero-image {
    opacity: 1;
    transform: none;
}

/* Scroll reveal - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Scroll line animation */
@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* Image hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Selection */
::selection {
    background: #c8a45e;
    color: #ffffff;
}

/* Focus */
a:focus-visible,
button:focus-visible {
    outline: 1px solid #c8a45e;
    outline-offset: 4px;
}

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Mobile menu button animations */
#menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menu-btn.active span:nth-child(2) {
    opacity: 0;
}

#menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.5rem;
}

/* Subtle image parallax on scroll */
@media (prefers-reduced-motion: no-preference) {
    .hero-image img {
        transition: transform 0.3s ease;
    }
}
