/* Base styles and variables */
:root {
    --primary-color: #14532D;
    --secondary-color: #10B981;
    --accent-color: #34D399;
    --dark-color: #111827;
    --light-color: #FFFFFF;
    --background-color: #F8FAFC;
    --text-color: #374151;
    --heading-color: #111827;
    --border-color: #E5E7EB;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
}

/* Reset and base styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

section h2 {
    text-align: center;
}

section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

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

a:hover {
    color: var(--secondary-color);
}

/* Header and Navigation */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-svg {
    fill: var(--primary-color);
    margin-right: 0.5rem;
}

nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

#menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero section */
.hero {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-text {
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-pattern {
    max-width: 100%;
    height: auto;
    color: var(--primary-color);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
    border: none;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

.text-link {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.text-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

/* Features section */
.features {
    padding: 5rem 2rem;
    background-color: var(--background-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
    max-width: 1200px;
}

.feature-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
    border-image: var(--gradient);
    border-image-slice: 1;
}

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

.feature-icon {
    fill: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* About section */
.about {
    padding: 5rem 2rem;
    background-color: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    padding: 1rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    max-width: 100%;
    height: auto;
}

/* Help section */
.help {
    padding: 5rem 2rem;
    background-color: var(--background-color);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item h3::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Final CTA section */
.final-cta {
    padding: 5rem 2rem;
    background: var(--gradient);
    color: var(--light-color);
    text-align: center;
}

.final-cta h2, .final-cta p {
    color: var(--light-color);
}

.final-cta h2::after {
    background: var(--light-color);
}

.final-cta .btn-primary {
    background: var(--light-color);
    color: var(--primary-color);
    margin-top: 1.5rem;
}

.final-cta .btn-primary:hover {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.footer-logo {
    fill: var(--secondary-color);
    margin-right: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-col a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        grid-row: 1;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1rem;
    }
    
    .hero-text {
        padding: 1rem;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: flex;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--light-color);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    #menu-toggle:checked ~ .nav-list {
        max-height: 300px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
