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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Geometric Shapes for Hero */
.geometric-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid #2dd4bf;
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    border: 2px solid #fbbf24;
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin 25s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #fbbf24;
    opacity: 0.04;
    top: 60%;
    right: 10%;
    animation: float 18s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #2dd4bf 1px, transparent 1px);
    background-size: 20px 20px;
    bottom: 20%;
    right: 25%;
    animation: float 12s ease-in-out infinite reverse;
}

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

@keyframes spin {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

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

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

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(10, 15, 30, 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: #0a0f1e;
}

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

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

/* Selection */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #f0fdf9;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .animate-bounce {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile Menu Transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
