/* CSS Variables for Theming */
:root {
    --color-primary: #1F4529; /* Deep Green */
    --color-primary-light: #2A5C37;
    --color-accent: #479F66; /* Fresh/soft green */
    --color-accent-light: #E8F5E9;
    --color-bg: #FFFFFF;
    --color-bg-light: #F7F5F2; /* Warm off-white */
    --color-text: #1A1A1A; /* Dark charcoal */
    --color-text-light: #525252;
    --color-border: #E5E5E5;
    
    --font-main: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 24px 48px rgba(0,0,0,0.12);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

p.subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* 1. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo, .header.scrolled .nav a {
    color: var(--color-primary);
}

.header.scrolled .menu-toggle {
    color: var(--color-primary);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.05em;
    transition: var(--transition);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* 2. Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-bg, .visual-bg, .cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-img, .visual-bg img, .cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay, .visual-overlay, .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(31,69,41,0.6));
}

.hero-content {
    max-width: 800px;
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 3. Problem Section */
.section-header {
    margin-bottom: 4rem;
}

.card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--color-accent-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* 4. Core Education Section */
.course-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.course-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
    background: var(--color-accent-light);
}

.course-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.course-card h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--color-text);
}

/* 5. Why TEN11 */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
}

.benefit-icon {
    font-size: 1.75rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* 6. How It Works */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
    width: 30%;
    text-align: center;
    background: var(--color-bg-light);
    padding: 1rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--color-bg-light);
}

/* 7. Featured Visual Section */
.featured-visual {
    position: relative;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.visual-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* 8. Farmer-Friendly Education */
.simple-card {
    text-align: center;
}

/* 9. FAQ */
.faq-section {
    padding-bottom: 8rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* 10. Final CTA */
.final-cta {
    position: relative;
    padding: 8rem 0;
}

.cta-content h2 {
    color: #fff;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* 11. Footer */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-links nav {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.9);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.email-link {
    font-size: 1.125rem;
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }

.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .split-container {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        flex-direction: column;
        align-items: center;
        padding-top: 0;
        gap: 2rem;
    }
    
    .timeline::before {
        top: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    
    .timeline-item {
        width: 100%;
        max-width: 350px;
        background: transparent;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav a {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .header.scrolled .menu-toggle, .header .menu-toggle.active {
        color: var(--color-primary);
    }
    
    .header .menu-toggle.active {
        color: #fff;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links nav {
        flex-direction: column;
        gap: 1rem;
    }
}
