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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0f1f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Geometric background shapes */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(20, 184, 166, 0.05);
    top: 40%;
    right: 5%;
    animation: rotateShape 25s linear infinite;
    transform-origin: center;
}

.geo-square {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(20, 184, 166, 0.08);
    top: 60%;
    left: 8%;
    animation: rotateShape 30s linear infinite;
    transform-origin: center;
}

.geo-ring {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(94, 234, 212, 0.06);
    border-radius: 50%;
    top: 15%;
    left: 15%;
    animation: floatShape 18s ease-in-out infinite;
}

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

@keyframes rotateShape {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Reveal animations (below the fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .geo-circle-1,
    .geo-circle-2,
    .geo-triangle,
    .geo-square,
    .geo-ring {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        transition: none;
    }
}
