/* Evelyn Landing Page — Global Styles */

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

:root {
    --primary-vn: #2D9B8F;
    --primary-id: #FF6B35;
    --primary-br: #E8735F;
    --accent: #FFC857;
    --text-dark: #2C3E50;
    --text-light: #F5F5F5;
    --bg-cream: #FFFBF0;
    --border-light: #E8E8E8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-vn);
    color: var(--primary-vn);
}

.lang-btn.active {
    background: var(--primary-vn);
    color: white;
    border-color: var(--primary-vn);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-vn);
}

.hero-content .tagline {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-content .subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--border-light);
}

.feature-item .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-vn);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-vn);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-vn);
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Features Section */
.features {
    padding: 80px 60px;
    background: white;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.features h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 40px;
    background: var(--bg-cream);
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-vn);
    box-shadow: 0 8px 24px rgba(45, 155, 143, 0.1);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Privacy Section */
.privacy {
    padding: 80px 60px;
    background: var(--bg-cream);
}

.privacy h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-vn);
}

.privacy-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-vn);
}

.privacy-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Story Section */
.story {
    padding: 80px 60px;
    background: white;
    border-top: 1px solid var(--border-light);
}

.story h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.9;
}

.story-content strong {
    color: var(--primary-vn);
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--primary-vn) 0%, #1f7a6f 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button-large {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: var(--primary-vn);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button-large:hover {
    background: transparent;
    color: white;
}

/* Footer */
footer {
    padding: 40px 60px;
    background: var(--text-dark);
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        flex-direction: column;
        gap: 5px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 30px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content .tagline {
        font-size: 24px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .features,
    .privacy,
    .story,
    .cta {
        padding: 60px 30px;
    }

    .features h2,
    .privacy h2,
    .story h2,
    .cta h2 {
        font-size: 36px;
    }

    .feature-grid,
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

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

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

    .cta-button,
    .cta-button-large {
        padding: 12px 30px;
        font-size: 14px;
    }

    .features h2,
    .privacy h2,
    .story h2,
    .cta h2 {
        font-size: 28px;
    }

    .feature-card h3,
    .privacy-item h4 {
        font-size: 18px;
    }
}
