/* style.css */
:root {
    --primary-green: #26a541;
    --primary-dark: #1b7a30;
    --accent-gold: #d4a017;
    --neutral-light: #f8f9f0;
    --text-dark: #2d2d2d;
    --text-muted: #555;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3c1a, #2d5a27);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(38, 165, 65, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(38, 165, 65, 0.55);
}

.btn-primary i {
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

/* ---------- Legacy Section ---------- */
.legacy-section {
    padding: 5rem 0;
    background: var(--neutral-light);
}

.legacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.legacy-content h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.legacy-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.legacy-content > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.founder-quote {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 6px solid var(--primary-green);
    font-style: italic;
    position: relative;
}

.founder-quote p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.founder-quote footer {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ---------- Features Grid ---------- */
.features-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--neutral-light);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid #e9f0e6;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
}

.feature-icon {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    transition: color var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------- Social Proof ---------- */
.social-proof {
    background: var(--primary-green);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.social-proof-text {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.social-proof p {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* ---------- Scroll Reveal Base ---------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    .hero-subheadline {
        font-size: 1rem;
    }
    .btn-primary {
        padding: 0.75rem 1.8rem;
    }
}