/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
}

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

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007AFF;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding-top: 100px;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #007AFF 0%, #00C7BE 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #007AFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: #6e6e73;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-description strong {
    color: #1d1d1f;
    font-weight: 600;
}

.feature-icons {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(0, 122, 255, 0.1);
}

.feature-icon.health .icon {
    background: rgba(255, 59, 48, 0.1);
}

.feature-icon.mental .icon {
    background: rgba(0, 122, 255, 0.1);
}

.feature-icon.nutrition .icon {
    background: rgba(52, 199, 89, 0.1);
}

.feature-icon.fitness .icon {
    background: rgba(255, 149, 0, 0.1);
}

.feature-icon span {
    font-size: 13px;
    font-weight: 500;
    color: #6e6e73;
}

.cta-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    min-width: 240px;
}

.download-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.download-btn.secondary {
    background: linear-gradient(135deg, #007AFF 0%, #00C7BE 100%);
}

.download-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.privacy-note {
    margin-top: 8px;
}

.privacy-note p {
    font-size: 14px;
    color: #6e6e73;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1d1d1f;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f7 0%, #e5e5ea 100%);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 60px 24px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-bubble.user {
    background: #007AFF;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: white;
    color: #1d1d1f;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1d1d1f;
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: #fafafa;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

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

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.feature-card p {
    font-size: 16px;
    color: #6e6e73;
    line-height: 1.5;
}

/* Privacy Promise */
.privacy-promise {
    padding: 80px 0;
    background: linear-gradient(135deg, #007AFF 0%, #00C7BE 100%);
    color: white;
    text-align: center;
}

.privacy-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 500;
}

.check {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1d1d1f;
}

.cta-content p {
    font-size: 18px;
    color: #6e6e73;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: #f5f5f7;
    padding: 60px 0 40px;
}

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

.footer-left p {
    color: #6e6e73;
    margin-top: 8px;
}

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

.footer-links a {
    text-decoration: none;
    color: #6e6e73;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007AFF;
}

.footer-bottom {
    border-top: 1px solid #d2d2d7;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #6e6e73;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav {
        padding: 12px 16px;
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .feature-icons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .privacy-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .privacy-content h2,
    .cta-content h2 {
        font-size: 28px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .feature-icons {
        gap: 16px;
    }
    
    .feature-icon .icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .download-btn {
        min-width: auto;
        width: 100%;
    }
}