:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

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

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

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f0f9f0 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.store-btn img {
    height: 50px;
    transition: transform 0.2s;
}

.store-btn:hover img {
    transform: scale(1.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
    margin-top: 40px;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 600px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
}

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

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.screenshot-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.screenshot-gallery img {
    width: 200px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.screenshot-gallery img:hover {
    transform: scale(1.05);
    z-index: 10;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-section .app-buttons {
    justify-content: center;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 0;
}

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

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

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .app-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Legal Pages Content */
.legal-content {
    padding-top: 120px; /* Account for fixed navbar */
    padding-bottom: 80px;
    min-height: 80vh;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--gray);
}

.legal-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--gray);
}

.legal-content li {
    margin-bottom: 5px;
}

/* Providers Section */
.providers {
    padding: 80px 0;
    background-color: var(--white);
}

.provider-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.provider-text {
    flex: 1;
    min-width: 300px;
}

.provider-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.provider-list {
    list-style: none;
    margin-bottom: 30px;
}

.provider-list li {
    margin-bottom: 25px;
    display: block;
}

.provider-title {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.provider-title i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.3rem;
}

.provider-list p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-left: 0;
}

.provider-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.provider-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

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

@media (max-width: 768px) {
    .provider-content {
        flex-direction: column;
    }
    
    .provider-image {
        margin-top: 30px;
    }
}