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

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Hero Geometric Shapes ─── */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.geo {
    position: absolute;
    opacity: 0.08;
}

.geo-1 {
    top: 8%;
    left: 5%;
    width: 180px;
    height: 180px;
    background: #d4a017;
    border-radius: 50%;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-2 {
    top: 15%;
    right: 10%;
    width: 120px;
    height: 120px;
    border: 3px solid #e6b422;
    transform: rotate(45deg);
    animation: float-medium 6s ease-in-out infinite;
}

.geo-3 {
    bottom: 20%;
    left: 12%;
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #d4a017;
    animation: float-slow 10s ease-in-out infinite;
}

.geo-4 {
    bottom: 30%;
    right: 6%;
    width: 100px;
    height: 100px;
    background: #f0c94d;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float-medium 7s ease-in-out infinite reverse;
}

.geo-5 {
    top: 45%;
    left: 2%;
    width: 60px;
    height: 60px;
    border: 2px solid #e6b422;
    border-radius: 50%;
    animation: float-slow 9s ease-in-out infinite;
}

.geo-6 {
    top: 60%;
    right: 15%;
    width: 140px;
    height: 140px;
    background: transparent;
    border: 2px solid #d4a017;
    border-radius: 50%;
    animation: float-medium 11s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

/* ─── Scroll Reveal ─── */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
}

/* ─── Navbar ─── */
#navbar {
    backdrop-filter: blur(0px);
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ─── Mobile Link ─── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1a3d74;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a017;
}
