:root {
    /* Theme Colors extracted from mobile app */
    --primary: #3a86ff;
    --primary-light: #e8f4f8;
    --background: #f5f0e8;
    --background-secondary: #e8f4f8;
    /* Using secondary bg for variation */
    --text: #1e3a5f;
    --text-secondary: #666666;
    --accent: #34d399;
    --card-bg: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    --header-bg: #1e3a5f;
    /* App's header color */

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-left: var(--spacing-md);
    font-weight: 500;
    transition: color 0.2s;
}

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

.cta-button {
    background-color: var(--header-bg);
    /* Matching the "blue color" of the app (Header) */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 134, 255, 0.3);
    color: white;
}

/* Hero Section */
.hero {
    padding: var(--spacing-lg) 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--background), white);
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.hero-image {
    margin-top: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    border: 8px solid white;
}

/* Features Section */
.features {
    padding: var(--spacing-lg) 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--background);
    padding: var(--spacing-md);
    border-radius: 16px;
    transition: transform 0.2s;
}

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

.feature-icon {
    background: var(--primary-light);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* App Showcase/Download */
.download-section {
    background-color: var(--text);
    /* Dark navy background */
    color: white;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.download-section h2 {
    margin-bottom: var(--spacing-md);
}

/* Footer */
footer {
    background-color: var(--background);
    padding: var(--spacing-md) 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    color: var(--text);
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple mobile hide for now, or just show CTA */
    }
}