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

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

body {
    margin: 0;
    overflow-x: hidden;
}

/* ─── Hero Gradient ─── */
.hero-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(15, 28, 63, 0.9) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(200, 164, 78, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 40%, rgba(200, 164, 78, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, #060b1a 0%, #0f1c3f 40%, #1a2240 60%, #0f1c3f 80%, #060b1a 100%);
}

/* ─── Scroll Line Animation ─── */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: #c8a44e;
    color: #0f1c3f;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
    background: #d4b05a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 164, 78, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #d8dce8;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(216, 220, 232, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
    border-color: rgba(200, 164, 78, 0.5);
    color: #c8a44e;
    transform: translateY(-2px);
}

/* ─── Menu Items ─── */
.menu-item {
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 28, 63, 0.6);
    transition: padding-left 0.3s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    padding-left: 8px;
}

.menu-item h3 {
    transition: color 0.3s ease;
}

.menu-item:hover h3 {
    color: #c8a44e;
}

/* ─── Navigation ─── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c8a44e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ─── Header States ─── */
header.scrolled {
    background: rgba(6, 11, 26, 0.95);
    backdrop-blur: 12px;
    border-bottom: 1px solid rgba(200, 164, 78, 0.08);
}

header.scrolled .nav-link {
    color: #b0b8d0;
}

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

#mobile-menu.open #bar1 {
    transform: translateY(6px) rotate(45deg);
}

#mobile-menu.open #bar2 {
    opacity: 0;
}

#mobile-menu.open #bar3 {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}

/* ─── Scroll Reveal ─── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ─── Focus Styles ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 1px solid rgba(200, 164, 78, 0.5);
    outline-offset: 2px;
}

/* ─── Selection ─── */
::selection {
    background: rgba(200, 164, 78, 0.2);
    color: #f0f2f8;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #060b1a;
}

::-webkit-scrollbar-thumb {
    background: #1a2240;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a3656;
}

/* ─── Form Focus States ─── */
input:focus,
select:focus,
textarea:focus {
    background: rgba(15, 28, 63, 0.5);
}

/* ─── Mobile Menu Animation ─── */
.mobile-link {
    position: relative;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(200, 164, 78, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mobile-link:hover::before {
    width: 120px;
    height: 40px;
}

/* ─── Image Hover ─── */
.group:hover img {
    filter: brightness(1.05);
}

/* ─── Divider ─── */
div.w-8.h-px.bg-gold-400\/20 {
    margin: 0 auto;
}
