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

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

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Float animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.animate-in {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }

    .animate-float {
        animation: none;
    }
}

/* Mobile menu */
#mobileMenu.show {
    display: flex;
}

.mobile-link {
    transition: color 0.2s ease;
}

/* Geometric decorative elements */
.geo-triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: #D49A0A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5AD1C;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #D49A0A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Nav scroll state */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Selection color */
::selection {
    background: #D49A0A;
    color: #0A1628;
}
