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

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

body {
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-circle-1 {
    top: 15%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 124, 46, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-circle-2 {
    bottom: 20%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 124, 46, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-circle-3 {
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(143, 191, 110, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-rect-1 {
    top: 40%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: rgba(74, 124, 46, 0.05);
    border-radius: 16px;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    bottom: 10%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(74, 124, 46, 0.05);
}

/* ===== Navigation ===== */
.nav-header {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 124, 46, 0.1);
    box-shadow: 0 1px 0 rgba(74, 124, 46, 0.05);
}

.nav-header.scrolled {
    box-shadow: 0 4px 20px rgba(34, 55, 21, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #3d6625;
}

/* ===== Product Cards ===== */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(34, 55, 21, 0.1);
}

/* ===== Feature Cards ===== */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 55, 21, 0.08);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: rgba(53, 90, 35, 0.6);
}

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
}

.mobile-link:hover {
    padding-left: 0.75rem;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        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; }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #4a7c2e;
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8fbf6e;
}

/* ===== Selection ===== */
::selection {
    background: #8fbf6e;
    color: #111c0a;
}
