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

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

:root {
    --primary-color: #5D8A66;
    --primary-light: #e8f0ea;
    --text-color: #1d1d1f;
    --text-secondary: #86868b;
    --bg-color: #f5f5f7;
    --card-bg: #fff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

/* Landing Page */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    text-align: center;
}

.hero-content {
    max-width: 560px;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.hero .tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.device-mockup {
    max-width: 100%;
    width: 480px;
    margin: 24px 0 32px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.12));
}

.app-store-badge {
    height: 50px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Features (optional section) */
.features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 32px 0 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 32px 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid rgba(0,0,0,0.04);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary-color);
}

footer .links {
    margin-bottom: 16px;
}

footer .links a {
    margin: 0 12px;
}

footer .made-in {
    margin-top: 12px;
    font-size: 0.8rem;
}

/* Legal Pages */
.legal-page {
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.legal-page header {
    margin-bottom: 40px;
}

.legal-page .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    transition: opacity 0.2s;
}

.legal-page .back-link:hover {
    opacity: 0.7;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.legal-page .last-updated {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.legal-page section {
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.legal-page p, .legal-page li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.legal-page ul {
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page address {
    font-style: normal;
    background: var(--card-bg);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    line-height: 1.8;
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .hero {
        padding: 40px 20px 32px;
    }

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

    .hero .tagline {
        font-size: 1.1rem;
    }

    .device-mockup {
        width: 340px;
    }

    .app-icon {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .features {
        flex-direction: column;
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .device-mockup {
        width: 520px;
    }
}
