/* WellStreak Landing Page Styles */
:root {
    --primary: #FF9500;
    --primary-dark: #E68600;
    --secondary: #5856D6;
    --success: #34C759;
    --text: #1D1D1F;
    --text-secondary: #6E6E73;
    --background: #FFFFFF;
    --background-alt: #F5F5F7;
    --border: #D2D2D7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 20px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

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

/* Hero Section */
.hero {
    padding: 140px 24px 80px;
    background: linear-gradient(180deg, #FFF8F0 0%, #FFFFFF 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), #FF6B00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    margin-bottom: 16px;
}

.app-store-badge img {
    height: 54px;
    transition: transform 0.2s;
}

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

.hero-platforms {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.app-preview {
    width: 300px;
    height: 300px;
    border-radius: 60px;
    box-shadow: 0 40px 80px rgba(255, 149, 0, 0.3);
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: var(--background);
}

.features h2,
.how-it-works h2,
.download h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 60px;
}

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

.feature-card {
    background: var(--background-alt);
    padding: 32px;
    border-radius: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 24px;
    background: var(--background-alt);
}

.conditions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.condition-tag {
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

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

.step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Download Section */
.download {
    padding: 100px 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 100%);
}

.download-content {
    text-align: center;
}

.download-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 32px;
    box-shadow: 0 20px 40px rgba(255, 149, 0, 0.2);
}

.download h2 {
    margin-bottom: 16px;
}

.download p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.app-store-badge.large img {
    height: 64px;
}

/* Footer */
.footer {
    padding: 40px 24px;
    background: var(--text);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        order: -1;
    }

    .app-preview {
        width: 200px;
        height: 200px;
        border-radius: 44px;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .features h2,
    .how-it-works h2,
    .download h2 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .conditions-list {
        gap: 8px;
    }

    .condition-tag {
        padding: 8px 16px;
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* Legal Pages */
.legal-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-date {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--primary);
}
