/* General Body & Typography */
:root {
    --brand-green: #5A9C4E;
    --dark-text: #1F2937;
    --body-text: #374151;
    --light-text: #6B7280;
    --background-light: #F8FAFC;
    --background-white: #FFFFFF;
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    --accent-orange: #F97316;
    --border-light: #E5E7EB;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--background-light);
    color: var(--body-text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--dark-text);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-text);
}

/* Header & Navigation */
.main-header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 8px;
}

.logo-container h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--body-text);
    font-weight: 500;
}

/* App Store Button */
.app-store-button {
    background-color: var(--dark-text);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.app-store-button:hover {
    background-color: #000;
    color: white;
}

.app-store-button.large-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-text);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--dark-text);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6ab35e, #5a9c4e);
    padding: 80px 0;
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: rotate(5deg);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.feature-icon-wrapper.green { background-color: #e7f7ef; color: var(--accent-green); }
.feature-icon-wrapper.blue { background-color: #e9f2fe; color: var(--accent-blue); }
.feature-icon-wrapper.orange { background-color: #fff4e8; color: var(--accent-orange); }

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

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

.cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta p {
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--light-text);
    font-weight: 500;
}

.copyright {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Legal & Contact Pages */
.legal-page, .contact-page {
    padding: 60px 0;
    background-color: var(--background-white);
}

.legal-page .container, .contact-page .container {
    max-width: 800px;
}

.legal-page h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.legal-page h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-page p, .legal-page li {
    line-height: 1.7;
}

.contact-page a {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav, .nav-button {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav.active {
        display: flex;
        position: absolute;
        top: 71px; /* header height */
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .main-header .container.nav-open .hamburger {
        background-color: transparent;
    }
    .main-header .container.nav-open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .main-header .container.nav-open .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }
    
    .hero-image img {
        max-width: 250px;
        transform: rotate(0deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
