/* ─── Base & Typography ─── */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #06122A;
}

::selection {
    background-color: rgba(212, 168, 67, 0.3);
    color: #fff;
}

/* ─── Geometric Background Shapes ─── */
.geo-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 67, 0.06);
    top: -100px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 67, 0.04);
    bottom: 10%;
    left: -80px;
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.03);
    top: 60%;
    right: 5%;
}

.geo-diamond {
    width: 80px;
    height: 80px;
    background: rgba(212, 168, 67, 0.05);
    transform: rotate(45deg);
    top: 40%;
    left: 3%;
}

.geo-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(212, 168, 67, 0.08);
    bottom: 25%;
    right: 12%;
}

/* ─── Parallax Accent Shapes ─── */
.parallax-slow {
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-fast {
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-med {
    will-change: transform;
    transition: transform 0.1s linear;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #D4A843;
    transition: width 0.25s ease;
}

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

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #D4A843;
    color: #0A1F44;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #E8C46E;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: rgba(212, 168, 67, 0.5);
    color: #D4A843;
    background: rgba(212, 168, 67, 0.05);
    transform: translateY(-2px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0A1F44;
    color: #D4A843;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: #06122A;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 31, 68, 0.4);
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #0A1F44;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 2px solid #0A1F44;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-gold-outline:hover {
    background: #0A1F44;
    color: #D4A843;
    transform: translateY(-2px);
}

/* ─── Cards ─── */
.card {
    will-change: transform;
}

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default visible state for reduced-motion / no-JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Mobile Menu ─── */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

.mobile-link {
    display: block;
}

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

::-webkit-scrollbar-track {
    background: #06122A;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.5);
}

/* ─── Focus Visible ─── */
*:focus-visible {
    outline: 2px solid #D4A843;
    outline-offset: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .btn-primary,
    .btn-secondary,
    .btn-gold,
    .btn-gold-outline {
        width: 100%;
        justify-content: center;
    }
}
