/* ─── Base & Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ─── Hero Geometric Shapes ─── */
.hero-geo {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(167,196,122,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -80px;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(251,191,36,0.12);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float-medium 6s ease-in-out infinite;
}

.shape-circle-3 {
    width: 100px;
    height: 100px;
    background: rgba(86,125,56,0.1);
    border-radius: 50%;
    top: 40%;
    right: 8%;
    animation: float-slow 7s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(63,96,40,0.07);
    border: 2px solid rgba(63,96,40,0.1);
    border-radius: 24px;
    top: 20%;
    left: 2%;
    transform: rotate(15deg);
    animation: float-medium 9s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(251,191,36,0.08);
    top: 60%;
    right: 3%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

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

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

/* ─── Scroll Indicator ─── */
.scroll-dot {
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 0; }
    50% { top: 24px; }
}

/* ─── Step Cards ─── */
.step-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ─── Feature Items ─── */
.feature-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ─── Mobile Menu ─── */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(63,96,40,0.1);
}

/* ─── FAQ ─── */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
    max-height: 300px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-icon.rotated {
    transform: rotate(45deg);
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-on-scroll.delay-1 { transition-delay: 0.1s; }
    .reveal-on-scroll.delay-2 { transition-delay: 0.2s; }
    .reveal-on-scroll.delay-3 { transition-delay: 0.3s; }
    .reveal-on-scroll.delay-4 { transition-delay: 0.4s; }
}

/* ─── Navbar scroll state ─── */
#navbar.scrolled {
    background: rgba(254,253,248,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(44,60,26,0.08);
}

/* ─── Mobile Menu Animation ─── */
#mobile-menu.open {
    animation: menu-in 0.3s ease forwards;
}

@keyframes menu-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .shape-circle-1 { width: 250px; height: 250px; }
    .shape-circle-2 { width: 120px; height: 120px; }
    .shape-circle-3 { display: none; }
    .shape-rect-1 { width: 70px; height: 70px; }
    .shape-triangle { display: none; }
}
