/* ===== BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== GEOMETRIC HERO SHAPES ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(149, 209, 181, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(149, 209, 181, 0.1);
    bottom: 10%;
    left: 5%;
    border: 2px solid rgba(149, 209, 181, 0.2);
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(251, 191, 36, 0.2);
    top: 30%;
    left: 15%;
}

.geo-circle-4 {
    width: 200px;
    height: 200px;
    background: rgba(27, 67, 50, 0.08);
    top: -50px;
    right: 10%;
}

.geo-square {
    position: absolute;
    pointer-events: none;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(149, 209, 181, 0.12);
    top: 20%;
    right: 25%;
    transform: rotate(45deg);
}

.geo-square-2 {
    width: 60px;
    height: 60px;
    background: rgba(27, 67, 50, 0.1);
    bottom: 20%;
    left: 8%;
    transform: rotate(20deg);
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
}

.geo-triangle-1 {
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(149, 209, 181, 0.08);
    top: 60%;
    right: 10%;
    transform: rotate(-15deg);
}

.geo-dots {
    position: absolute;
    pointer-events: none;
    top: 15%;
    left: 45%;
    display: grid;
    grid-template-columns: repeat(4, 8px);
    gap: 12px;
}

.geo-dots-1 span {
    width: 4px;
    height: 4px;
    background: rgba(149, 209, 181, 0.3);
    border-radius: 50%;
}

.geo-line {
    position: absolute;
    pointer-events: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(149, 209, 181, 0.2), transparent);
    width: 200px;
    bottom: 25%;
    left: -50px;
    transform: rotate(-30deg);
}

/* ===== FLOATING STAT CARDS ===== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -1.5s; }
.card-3 { animation-delay: -3s; }
.card-4 { animation-delay: -4.5s; }
.card-5 { animation-delay: -2s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(-0.5deg); }
    75% { transform: translateY(-15px) rotate(0.5deg); }
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    background: rgba(253, 252, 248, 0.98);
    backdrop-filter: blur(16px);
}

.mobile-link {
    display: block;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateX(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== SCROLL REVEAL ===== */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== PRODUCT CARD HOVER ===== */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF7F0;
}
::-webkit-scrollbar-thumb {
    background: #B3D4B0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7DB87A;
}

/* ===== SELECTION ===== */
::selection {
    background: #B3D4B0;
    color: #0F271D;
}
