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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d1f1a;
    background-color: #fefcfb;
}

/* Design System Colors */
:root {
    /* Core Colors */
    --farm-green: hsl(120, 35%, 25%);
    --farm-green-light: hsl(120, 25%, 35%);
    --earth-brown: hsl(25, 35%, 45%);
    --earth-brown-light: hsl(25, 25%, 65%);
    --golden-harvest: hsl(45, 85%, 65%);
    --golden-harvest-light: hsl(45, 75%, 75%);
    --sky-blue: hsl(200, 50%, 70%);

    /* UI Colors */
    --background: hsl(35, 20%, 98%);
    --foreground: hsl(25, 15%, 15%);
    --muted: hsl(35, 15%, 92%);
    --muted-foreground: hsl(25, 10%, 45%);
    --border: hsl(35, 20%, 85%);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--farm-green), var(--farm-green-light));
    --gradient-earth: linear-gradient(135deg, var(--earth-brown), var(--earth-brown-light));
    --gradient-golden: linear-gradient(135deg, var(--golden-harvest), var(--golden-harvest-light));

    /* Shadows */
    --shadow-soft: 0 4px 20px -4px hsla(25, 15%, 15%, 0.1);
    --shadow-farm: 0 10px 30px -10px hsla(120, 35%, 25%, 0.2);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    text-decoration: none;
    color: var(--earth-brown);
    font-weight: 500;
    font-size: 14px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.language-option:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-farm);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

.text-accent {
    color: var(--farm-green);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-lg {
    font-size: 16px;
    padding: 14px 28px;
    min-width: 180px;
}

.btn-harvest {
    background: var(--gradient-golden);
    color: var(--earth-brown);
    font-weight: 600;
}

.btn-harvest:hover {
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, 
        hsla(120, 35%, 15%, 0.85), 
        var(--background)
    );
    z-index: 11;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        hsla(120, 35%, 15%, 0.95),
        hsla(120, 35%, 15%, 0.85)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 80px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-accent {
    display: block;
    color: var(--golden-harvest);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

/* Problem Solution Section */
.problem-solution-section {
    padding: 120px 0 80px;
    background: var(--background);
    position: relative;
    z-index: 12;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.problem-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.problem-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.problem-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: hsla(120, 35%, 25%, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--farm-green);
}

.problem-title {
    font-size: 20px;
    font-weight: 700;
}

.problem-text {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 16px;
}

.solution-highlight {
    border-left: 4px solid var(--golden-harvest);
    padding-left: 16px;
}

.solution-text {
    font-weight: 500;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: hsla(35, 15%, 92%, 0.3);
}

.features-grid {
    display: grid;
    gap: 48px;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.feature-reverse {
    direction: rtl;
}

.feature-reverse > * {
    direction: ltr;
}

@media (max-width: 1024px) {
    .feature-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-reverse {
        direction: ltr;
    }
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    box-shadow: var(--shadow-soft);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: hsla(120, 35%, 25%, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--farm-green);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-benefit {
    border-left: 4px solid var(--golden-harvest);
    padding-left: 16px;
}

.benefit-text {
    font-weight: 500;
    line-height: 1.6;
}

.feature-image {
    position: relative;
}

.feature-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.feature-placeholder {
    width: 100%;
    height: 300px;
    background: var(--muted);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 14px;
    box-shadow: var(--shadow-soft);
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--farm-green);
}

.feature-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        hsla(120, 35%, 25%, 0.2),
        transparent
    );
    border-radius: 12px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.benefit-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    transition: var(--transition-smooth);
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.benefit-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-primary:hover i {
    transform: translateX(4px);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--golden-harvest);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: var(--earth-brown);
    color: white;
    padding: 48px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--golden-harvest);
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-section-title {
    font-weight: 600;
    color: var(--golden-harvest);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: white;
}

.footer-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 32px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-slogan {
    color: var(--golden-harvest);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.footer-link:focus {
    outline: 2px solid var(--golden-harvest);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}