/* Base & Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.nav-scrolled {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(24, 71, 38, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 0;
    text-decoration: none;
}

/* Floating stat cards */
.stat-card {
    animation: float 4s ease-in-out infinite;
    transform: translateY(0);
}

.stat-card:nth-child(2) {
    animation-delay: -1.3s;
}

.stat-card:nth-child(3) {
    animation-delay: -2.6s;
}

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

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.25s ease;
}

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

/* Decorative leaf pattern */
.leaf-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c-1 3-4 5-4 9a3 3 0 0 0 6 0c0-4-3-6-4-9h0z' fill='%23184726' fill-opacity='0.03'/%3E%3C/svg%3E");
}

/* Product card hover */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Smooth scroll offset for sticky nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #184726;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #85bc90;
}

/* Selection */
::selection {
    background: #dceee0;
    color: #0c2513;
}
