/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

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

.shape-circle-1 {
    top: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(45, 212, 191, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-circle-2 {
    bottom: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(45, 212, 191, 0.15);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
}

.shape-square-1 {
    top: 30%;
    left: 5%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(45, 212, 191, 0.2);
    transform: rotate(45deg);
    animation: spin-slow 12s linear infinite;
}

.shape-triangle-1 {
    bottom: 30%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(45, 212, 191, 0.12);
    animation: float 5s ease-in-out infinite;
}

.shape-ring-1 {
    top: 60%;
    right: 5%;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(45, 212, 191, 0.2);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite reverse;
}

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

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

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

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

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #1e293b !important;
}

.nav-scrolled .nav-logo-text {
    color: #0f172a !important;
}

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

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

/* Button focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}
