/* ===== CSS VARIABLES / DESIGN SYSTEM ===== */
:root {
    /* Colors */
    --primary: #7FB069;
    --primary-dark: #5A8A4C;
    --secondary-sky: #A8DADC;
    --warm-beige: #F1E4D8;
    --text: #264653;
    --background: #FAFBFC;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;

    /* Border Radius */
    --radius-button: 26px;
    --radius-card: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(38, 70, 83, 0.08);
    --shadow-md: 0 4px 16px rgba(38, 70, 83, 0.12);
    --shadow-lg: 0 8px 24px rgba(38, 70, 83, 0.15);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    height: 42px;
    width: 42px;
    object-fit: contain;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.logo-image-footer {
    height: 120px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--secondary-sky) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-tagline {
    font-size: 20px;
    color: var(--text);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-button);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

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

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

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--spacing-lg);
}

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

.feature-card {
    background: white;
    border: 1px solid rgba(127, 176, 105, 0.1);
    border-radius: var(--radius-card);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    font-size: 16px;
    color: var(--text);
    opacity: 0.8;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: var(--spacing-xl) 0;
    background-color: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

.step p {
    font-size: 16px;
    color: var(--text);
    opacity: 0.8;
    max-width: 350px;
    margin: 0 auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta-content > p {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.email-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto var(--spacing-sm);
}

.email-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-button);
    font-size: 16px;
    outline: none;
}

.email-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-subtext {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        gap: var(--spacing-sm);
    }

    .nav-menu a {
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    /* Sections */
    .section-title {
        font-size: 28px;
    }

    .features, .how-it-works, .cta-section {
        padding: var(--spacing-lg) 0;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Steps Grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Email Form */
    .email-form {
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .logo-icon {
        height: 36px;
        width: 36px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-image-footer {
        height: 100px;
    }

    .nav-menu {
        gap: var(--spacing-xs);
    }
}
