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

:root {
    --primary-green: #00C851;
    --dark-green: #00A441;
    --light-green: #E8F5E9;
    --danger-red: #EF4444;
    --warning-orange: #F59E0B;
    --gray: #6B7280;
    --dark-gray: #374151;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --black: #111827;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --max-width: 1200px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

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

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

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

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

.cta-button-small {
    background: var(--primary-green);
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.cta-button-small:hover {
    background: var(--dark-green);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(74, 222, 128, 0.25);
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.35);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-green);
    color: var(--dark-green);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--dark-gray);
}

/* How It Works Preview */
.how-it-works-preview {
    padding: 5rem 0;
    background: var(--light-gray);
}

.how-it-works-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.color-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.code-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.color-dot.green { background: var(--primary-green); }
.color-dot.orange { background: var(--warning-orange); }
.color-dot.red { background: var(--danger-red); }
.color-dot.gray { background: var(--gray); }

.learn-more {
    display: block;
    text-align: center;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s;
}

.learn-more:hover {
    color: var(--dark-green);
}

/* Trust Section */
.trust {
    padding: 5rem 0;
}

.trust h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 3rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-item h4 {
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--light-green);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--gray);
}

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: var(--gray);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .color-codes {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .features h2,
    .trust h2,
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .feature {
        padding: 1.5rem;
    }
}