/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: #fdfcfa;
    color: #1f3614;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== BACKGROUND SHAPES ===== */
.bg-shapes {
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.04;
    pointer-events: none;
}

.shape.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #2f5021;
    top: 10%;
    right: -100px;
}

.shape.rect-1 {
    width: 200px;
    height: 200px;
    background: #4a7a34;
    top: 60%;
    left: -50px;
    transform: rotate(15deg);
}

.shape.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #6a964e;
    top: 40%;
    right: 10%;
}

.shape.circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #8fb676;
    bottom: 20%;
    left: 5%;
}

.shape.rect-2 {
    width: 100px;
    height: 100px;
    background: #3a6328;
    top: 80%;
    right: 20%;
    transform: rotate(-15deg);
}

.shape.dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #2f5021 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 25%;
    left: 15%;
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.hero-geo {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle {
    border-radius: 50%;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid #8fb676;
    top: 10%;
    left: -50px;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-square {
    background: #b9d0ab;
    border-radius: 12px;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    transform: rotate(25deg);
    animation: float-medium 6s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #b9d0ab;
}

.geo-triangle-1 {
    bottom: 25%;
    left: 8%;
    animation: float-slow 7s ease-in-out infinite reverse;
}

.geo-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dce8d8;
}

.geo-dot-1 { width: 20px; height: 20px; top: 30%; left: 20%; animation: float-medium 5s ease-in-out infinite; }
.geo-dot-2 { width: 14px; height: 14px; top: 60%; right: 15%; animation: float-slow 6s ease-in-out infinite; }
.geo-dot-3 { width: 24px; height: 24px; bottom: 30%; left: 30%; animation: float-medium 7s ease-in-out infinite reverse; }

.geo-rect {
    background: #dce8d8;
    border-radius: 4px;
}

.geo-rect-1 {
    width: 80px;
    height: 30px;
    top: 50%;
    right: 25%;
    transform: rotate(45deg);
    animation: float-slow 5s ease-in-out infinite;
}

.geo-rect-2 {
    width: 50px;
    height: 80px;
    bottom: 20%;
    left: 25%;
    transform: rotate(-20deg);
    animation: float-medium 6s ease-in-out infinite reverse;
}

.geo-cross {
    position: relative;
    width: 30px;
    height: 30px;
}

.geo-cross::before,
.geo-cross::after {
    content: '';
    position: absolute;
    background: #dce8d8;
    border-radius: 2px;
}

.geo-cross::before {
    width: 100%;
    height: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.geo-cross::after {
    width: 8px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.geo-cross-1 {
    top: 15%;
    right: 30%;
    animation: float-medium 4s ease-in-out infinite;
}

.geo-cross-2 {
    bottom: 35%;
    left: 15%;
    animation: float-slow 5s ease-in-out infinite reverse;
}

/* ===== ANIMATIONS ===== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

/* ===== NAVBAR ===== */
.nav {
    background: rgba(253, 252, 250, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(47, 80, 33, 0.08);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(31, 54, 20, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a7a34;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 300px;
}

.mobile-nav-link {
    position: relative;
    padding-left: 0;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2f5021;
    color: #fdfcfa;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #3a6328;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 80, 33, 0.25);
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fdfcfa;
    color: #1f3614;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    background: #dce8d8;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fdfcfa;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    border: 2px solid rgba(253, 252, 250, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(253, 252, 250, 0.15);
    border-color: rgba(253, 252, 250, 0.7);
    transform: translateY(-3px);
}

/* ===== BADGES ===== */
.badge-green {
    background: rgba(74, 122, 52, 0.1);
    color: #3a6328;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.badge-light {
    background: rgba(253, 252, 250, 0.15);
    color: #dce8d8;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* ===== HERO BADGE ===== */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

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

/* ===== PRODUCT CARDS ===== */
.card-product {
    background: #fdfcfa;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(47, 80, 33, 0.08);
    transition: all 0.4s ease;
}

.card-product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(31, 54, 20, 0.12);
    border-color: rgba(74, 122, 52, 0.2);
}

.card-product-img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.card-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-product:hover .card-product-img img {
    transform: scale(1.05);
}

.card-product-tag {
    font-family: 'DM Sans', sans-serif;
}

/* ===== INPUT FIELDS ===== */
.input-field {
    background: #faf7f0;
    border: 2px solid #e8d9b4;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #1f3614;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: #b9d0ab;
}

.input-field:focus {
    border-color: #4a7a34;
    background: #fdfcfa;
    box-shadow: 0 0 0 4px rgba(74, 122, 52, 0.1);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-geo.geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .hero-geo.geo-square-1 {
        width: 80px;
        height: 80px;
    }
    
    .hero-geo.geo-triangle-1 {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 69px;
    }
}
