:root {
    --primary-black: #000000;
    --text-muted: #666666;
    --bg-gradient: #F9F9F9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--primary-black);
    background: var(--bg-gradient);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-gradient);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo img {
    height: 110px;
    mix-blend-mode: multiply;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-muted);
}

.header-badges {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
    align-items: center;
}

.header-badges img {
    height: 38px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Google Play badge has ~24% built-in whitespace padding, so 1.32x compensates visually */
.header-badges img[alt="Google Play"] {
    height: 54px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-black);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    text-decoration: none;
    color: var(--primary-black);
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.mobile-nav-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mobile-nav-badges img {
    height: 60px;
    width: auto;
}

.mobile-nav-badges img[alt="Google Play"] {
    height: 85px;
}

/* Sections */
section {
    padding: 4rem 2rem;
    background-color: #FFFFFF;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
    background-color: #FFFFFF;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.4;
}

.download-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}

.download-badges img {
    height: 48px;
    width: auto;
    cursor: pointer;
}

.download-badges img[alt="Google Play"] {
    height: 68px;
}

.download-badges img:hover {
    transform: scale(1.05);
}

.hero-mockup {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
}

.curved-arrow {
    flex-shrink: 0;
    margin: 0 -1rem;
    opacity: 0.9;
}

.phone-wrapper {
    width: 280px;
    height: 600px;
    flex-shrink: 0;
}

.phone-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 40px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: none;
}


/* New Features Interactive Layout */
.features-interactive-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.feature-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pagination-dots {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #E2E8F0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background-color: var(--primary-black);
    transform: scale(1.3);
}

.dot:hover {
    background-color: #CBD5E0;
}

.phone-frame {
    width: 100%;
    max-width: 300px;
    position: relative;
    border-radius: 48px;
    background: transparent;
    transition: transform 0.3s ease;
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 9 / 18.5;
    /* Adjusted from 19.5 to match source resolution (1207x2471) */
    object-fit: cover;
    border-radius: 40px;
    transition: opacity 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: none;
}

.feature-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    background: white;
    border: 1px solid #EAEAEA;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    border-color: #00000033;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card.active {
    border-color: #000000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.section-header.center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Why Choose Section */
.why-choose {
    background-color: #fbfbfc;
    padding: 8rem 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.benefit-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 32px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    background: #f5f5f7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

/* Benefit Colors */
.benefit-save .benefit-icon {
    background: #E6FFFA;
    color: #319795;
}

.benefit-ai .benefit-icon {
    background: #FFF5F5;
    color: #E53E3E;
}

.benefit-wellness .benefit-icon {
    background: #FAF5FF;
    color: #805AD5;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: 10rem 2rem;
    text-align: center;
    background-color: var(--primary-black);
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.final-cta p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4rem;
    line-height: 1.4;
}

.download-badges.large img {
    height: 64px;
    width: auto;
}

.download-badges.large img[alt="Google Play"] {
    height: 91px;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: 1fr auto;
        padding: 0.5rem 1.5rem;
    }

    .nav-links,
    .header-badges {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo img {
        height: 75px;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .download-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .download-badges img {
        height: 54px;
    }

    .download-badges img[alt="Google Play"] {
        height: 77px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-interactive-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2.5rem 1.5rem;
    }

    .feature-mockup-container {
        order: -1;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .hero-mockup {
        flex-direction: column;
        gap: 2rem;
    }

    .phone-wrapper {
        width: 80%;
        height: auto;
        max-width: 260px;
    }

    .phone-wrapper img {
        width: 100% !important;
        height: auto !important;
    }

    .final-cta h2 {
        font-size: 2.5rem;
    }

    .final-cta p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}