/* CSS Variables - Based on Legato's color palette */
:root {
    --forest: #2C5530;
    --forest-dark: #1E3A21;
    --sage: #8FB593;
    --peach: #FFB78C;
    --sky: #A8D8EA;
    --lime: #C3E88D;
    --almond: #FFF8F3;
    --text-primary: #2C2C2C;
    --text-secondary: #666666;
    --shadow: rgba(44, 85, 48, 0.1);
}

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

@import url('https://fonts.googleapis.com/css2?family=Metropolis:wght@400;500;600;700&display=swap');

body {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--almond);
}

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

/* Navigation */
.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--forest);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.05) 0%, rgba(143, 181, 147, 0.05) 100%);
}

.hero-title {
    font-size: 4rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--sage);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.app-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coming-soon-text {
    font-size: 1.3rem;
    color: var(--forest);
    text-align: center;
    margin: 1rem 0 0.5rem 0;
    font-weight: 500;
}

.app-buttons img {
    display: block;
    width: 160px;
    height: auto;
}

.app-buttons img[src="google play.webp"] {
    width: 190px;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--forest);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-category {
    background: var(--almond);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

.feature-category.premium {
    background: linear-gradient(135deg, rgba(255, 183, 140, 0.1) 0%, rgba(255, 183, 140, 0.05) 100%);
    border: 2px solid var(--peach);
}

.premium-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--peach);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.category-title {
    color: var(--forest);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item h4 {
    color: var(--forest);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Why Legato Section */
.why-legato {
    padding: 80px 0;
    background: var(--almond);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.benefit h3 {
    color: var(--forest);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: var(--forest-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--sage);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
}