/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

::selection {
    background: rgba(52, 212, 176, 0.3);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1fa888;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

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

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

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 15%;
    right: 5%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(52, 212, 176, 0.08);
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    bottom: 20%;
    left: 3%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(52, 212, 176, 0.04);
    animation: float-reverse 10s ease-in-out infinite;
}

.shape-square-1 {
    top: 30%;
    left: 8%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(52, 212, 176, 0.12);
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-square-2 {
    bottom: 30%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: rgba(52, 212, 176, 0.06);
    border: 1px solid rgba(52, 212, 176, 0.1);
    transform: rotate(20deg);
    animation: float 6s ease-in-out infinite;
}

.shape-triangle-1 {
    top: 60%;
    right: 25%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(52, 212, 176, 0.06);
    animation: float-reverse 7s ease-in-out infinite;
}

.shape-ring-1 {
    top: 45%;
    left: 15%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(52, 212, 176, 0.07);
    animation: spin-slow 15s linear infinite;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== NAVBAR ===== */
#navbar.scrolled {
    background: rgba(6, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: fade-in 0.3s ease-out;
}

/* ===== SELECT STYLING ===== */
select option {
    background: #0a1628;
    color: #ffffff;
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
    outline: 2px solid #34d4b0;
    outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }

    .shape-circle-2 {
        width: 160px;
        height: 160px;
    }

    .shape-square-1 {
        width: 50px;
        height: 50px;
    }

    .shape-ring-1 {
        width: 80px;
        height: 80px;
    }
}
