:root {
    --primary: #FF6B6B;
    --secondary: #00BFA5;
    --background: #F9F9F9;
    --surface: #FFFFFF;
    --text-primary: #2E2E2E;
    --text-secondary: #8A8A8A;
    --border: #E0E0E0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
}

main, section {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Catch-all to prevent any horizontal overflow on mobile */
@media (max-width: 768px) {
    html {
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
        position: relative;
    }
    
    /* Ensure all direct children of body respect viewport */
    body > * {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Prevent any element from causing overflow */
    div, p, h1, h2, h3, h4, h5, h6, span, a, img {
        max-width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Prevent horizontal scrolling - STRICT */
html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(0, 191, 165, 0.95));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.header-logo {
    filter: brightness(0) invert(1);
}


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



.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    opacity: 0.95;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 1;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    overflow: hidden;
    color: white;
    min-height: auto;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero-text {
    flex: 1;
    max-width: 800px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-logo {
    margin-bottom: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-logo img {
    height: 180px;
    width: auto;
    max-width: 100%;
    max-width: calc(100vw - 80px);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    box-sizing: border-box;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
    width: 100%;
}


.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.store-badge {
    display: inline-block;
    min-height: 44px;
}

.store-badge img {
    height: 70px;
    width: auto;
    max-width: 100%;
    display: block;
}

/* Features Section */
.features {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--background), var(--surface));
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 60px;
    color: var(--text-primary);
}

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

.feature-card {
    padding: 32px;
    background: var(--surface);
    border-radius: 24px;
    text-align: center;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 107, 107, 0.1);
}

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

.icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Download CTA */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.download-cta h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.download-cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.download-cta .cta-buttons {
    justify-content: center;
}

/* Footer */
footer {
    background-color: #2E2E2E;
    color: white;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo img {
    height: 32px;
    width: auto;
    margin-bottom: 8px;
    filter: brightness(0) invert(1);
    object-fit: contain;
    max-width: 200px;
    aspect-ratio: auto;
}

.footer-logo p {
    color: #8A8A8A;
    font-size: 14px;
}

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

.footer-links a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    html {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    * {
        max-width: 100vw;
    }
    
    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
    
    nav {
        height: 56px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        font-size: 16px;
        max-width: calc(100% - 60px);
        overflow: hidden;
        flex-shrink: 1;
    }
    
    .logo img {
        height: 28px;
        max-width: 100%;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 16px;
        white-space: nowrap;
    }
    
    .nav-links .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero {
        padding: 40px 0 30px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
        position: relative;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        padding: 0;
        margin: 0 auto;
        overflow-x: hidden;
    }
    
    .hero-logo {
        margin-bottom: 24px;
        padding: 16px 20px;
        border-radius: 12px;
        width: fit-content;
        max-width: calc(100vw - 32px);
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-logo img {
        height: 110px;
        max-width: calc(100vw - 72px);
        width: auto;
        box-sizing: border-box;
    }

    .hero-text h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 14px;
        padding: 0 16px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
    
    .hero-text p {
        font-size: 16px;
        margin-bottom: 28px;
        padding: 0 16px;
        line-height: 1.6;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }

    .cta-buttons {
        justify-content: center;
        gap: 10px;
        padding: 0 16px;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
    }
    
    .store-badge {
        width: 100%;
        max-width: 180px;
        box-sizing: border-box;
    }
    
    .store-badge img {
        height: 45px;
        width: 100%;
        max-width: 100%;
        object-fit: contain;
        box-sizing: border-box;
    }

    .features {
        padding: 40px 0;
    }
    
    .features h2 {
        font-size: 24px;
        margin-bottom: 28px;
        padding: 0 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .icon {
        font-size: 32px;
        margin-bottom: 14px;
    }

    .download-cta {
        padding: 50px 0;
    }
    
    .download-cta h2 {
        font-size: 24px;
        margin-bottom: 12px;
        padding: 0 16px;
    }
    
    .download-cta p {
        font-size: 16px;
        margin-bottom: 24px;
        padding: 0 16px;
        line-height: 1.6;
    }
    
    .download-cta .cta-buttons {
        padding: 0 12px;
        flex-direction: column;
        align-items: center;
    }

    footer {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 14px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    html, body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero {
        padding: 30px 0 24px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-logo {
        padding: 14px 18px;
        margin-bottom: 20px;
        max-width: calc(100vw - 24px);
        box-sizing: border-box;
    }
    
    .hero-logo img {
        height: 100px;
        max-width: calc(100vw - 68px);
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-text h1 {
        font-size: 22px;
        margin-bottom: 12px;
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-text p {
        font-size: 15px;
        margin-bottom: 24px;
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .cta-buttons {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .store-badge {
        max-width: 160px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .store-badge img {
        height: 40px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .features {
        padding: 36px 0;
    }
    
    .features h2 {
        font-size: 22px;
        margin-bottom: 24px;
        padding: 0 12px;
    }
    
    .feature-grid {
        gap: 18px;
        padding: 0 12px;
    }
    
    .feature-card {
        padding: 22px;
    }
    
    .feature-card h3 {
        font-size: 17px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .download-cta {
        padding: 40px 0;
    }
    
    .download-cta h2 {
        font-size: 22px;
        padding: 0 12px;
    }
    
    .download-cta p {
        font-size: 15px;
        padding: 0 12px;
    }
}

