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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Navbar */
.nav-scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-default {
    background: transparent;
}

.nav-default .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-default .nav-link:hover {
    color: #ffffff;
}

.nav-default .nav-brand-text {
    color: #ffffff;
}

.nav-default .nav-cta {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.nav-default .nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #04382a 0%, #064e3b 25%, #065f46 40%, #047857 55%, #059669 70%, #10b981 85%, #34d399 100%);
}

/* Hero blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: blob-float 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.5);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(52, 211, 153, 0.4);
    bottom: 20%;
    left: 10%;
    animation-delay: -3s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(110, 231, 183, 0.5);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -20px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

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

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

/* Button hover effects */
a, button {
    -webkit-tap-highlight-color: transparent;
}

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

::-webkit-scrollbar-track {
    background: #f5f5f0;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #74c36e;
}

/* Selection */
::selection {
    background: #064e3b;
    color: #ffffff;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid #064e3b;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-blob {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
