* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981; /* Healthy Green */
    --card-bg: #1e293b;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space nicely */
    border-radius: 38px; /* Slightly less than the container's 40px to fit inside the border perfectly */
    display: block;
}


/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-btn {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 5%;
    gap: 2rem;
    /* Health-related background with dark gradient overlay for text readability */
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.6)),
                url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-top: 60px; /* Offset for fixed nav */
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.playstore-badge {
    height: 60px;
    transition: transform 0.2s ease;
}

.playstore-badge:hover {
    transform: translateY(-3px);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 60px; /* Offset for fixed nav */
}

/* Updated Mockup for Glassmorphism feel over the new background */
.mockup-placeholder {
    width: 300px;
    height: 600px;
    background: rgba(30, 41, 59, 0.7);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.1);
}

/* --- Features Section --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 5%;
    background: var(--bg-dark);
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(16, 185, 129, 0.3);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 6rem;
        background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.8)),
                    url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
        background-size: cover;
    }
    
    .hero-content { margin-top: 0; }
    .hero-title { font-size: 3rem; }
    
    .hero-image-container { margin-top: 2rem; }
    .mockup-placeholder {
        width: 260px;
        height: 520px;
    }
}