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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid rgba(245, 158, 11, 0.08);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(245, 158, 11, 0.12);
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    bottom: 20%;
    right: 12%;
    transform: rotate(20deg);
    animation: float-slow 12s ease-in-out infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(245, 158, 11, 0.06);
    top: 40%;
    right: 5%;
    animation: float-slow 18s ease-in-out infinite reverse;
}

.geo-diamond-1 {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.08);
    top: 60%;
    left: 15%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite reverse;
}

.geo-ring-1 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(245, 158, 11, 0.05);
    border-radius: 50%;
    bottom: 15%;
    right: 20%;
    animation: float-slow 22s ease-in-out infinite;
}

.geo-dot-group-1 {
    width: 8px;
    height: 8px;
    background: rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    top: 20%;
    left: 25%;
    box-shadow: 
        20px 30px 0 rgba(245, 158, 11, 0.2),
        40px 10px 0 rgba(245, 158, 11, 0.15),
        -15px 50px 0 rgba(245, 158, 11, 0.25),
        50px 60px 0 rgba(245, 158, 11, 0.1);
    animation: float-slow 10s ease-in-out infinite;
}

.geo-dot-group-2 {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    bottom: 30%;
    left: 40%;
    box-shadow: 
        30px -20px 0 rgba(255, 255, 255, 0.15),
        -25px 40px 0 rgba(255, 255, 255, 0.1),
        45px 30px 0 rgba(255, 255, 255, 0.2);
    animation: float-slow 14s ease-in-out infinite reverse;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(31, 12, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1f0c17;
}
::-webkit-scrollbar-thumb {
    background: #6b2f5b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}
