/* Global Styles */
:root {
    --primary: #1976D2;
    --background: #FFFFFF;
    --surface: #F7F7F7;
    --text-primary: #2D2D2D;
    --text-secondary: #666666;
    --border: #E0E0E0;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
}

.text-content {
    max-width: 800px;
    margin: 64px auto;
    padding: 0 24px;
}

.text-content h1 {
    font-size: 48px;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.text-content h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.text-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.text-content li {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    background-color: var(--background);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    padding: 12px;
    padding-inline: 32px;
    gap: 24px;
    border-radius: 10px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.login-btn {
    padding: 10px 24px;
    background-color: var(--surface);
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.login-btn:hover {
    background-color: #EEE;
}

/* Make buttons bigger globally as requested */
.login-btn {
    padding: 12px 32px;
    font-size: 18px;
}

/* Mobile Device Specific Overrides (Script Detected) */
.is-mobile-device .header .login-btn {
    padding: 14px 28px;
    font-size: 20px;
    font-weight: 700;
}


/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 24px;
    background: radial-gradient(circle at 50% 10%, #FFF5F0 0%, #FFFFFF 60%);
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    color: var(--text-primary);
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
}

.download-buttons {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    /* Keep side by side even on small screens */
    justify-content: center;
}

/* Desktop Alignment: Grid for perfect button-to-image alignment */
@media (min-width: 769px) {

    .download-buttons,
    .showcase-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        column-gap: 24px;
        max-width: 600px;
        /* Constrain width to keep them close */
        width: 100%;
        /* Force full width to ensure alignment */
        margin-left: auto;
        margin-right: auto;
    }

    .download-buttons {
        gap: 0px;
        margin-bottom: 0;
        /* Remove bottom margin to bring close to images if needed, or keep it */
        margin-bottom: 20px;
    }

    .showcase-container {
        margin-top: 0;
    }
}

.store-badge {
    height: 60px;
    /* Bigger store badges */
    transition: transform 0.2s;
}

.store-badge:hover {
    transform: translateY(-2px);
}

/* Device Showcase */
.showcase-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.showcase-img {
    width: 280px;
    /* Approximate phone width */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    padding: 64px 48px;
    border-top: 1px solid var(--border);
    margin-top: 80px;
    background-color: #FAFAFA;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-links-empty {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.footer-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.footer-link:hover {
    color: var(--primary);
}

.copyright {
    color: #999;
    font-size: 14px;
    margin-top: 32px;
}

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

    .header {
        padding: 12px 16px;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }

    .logo-container {
        padding: 8px 12px;
        gap: 12px;
    }

    .logo-img {
        height: 32px;
    }

    .header .login-btn {
        width: auto;
        margin-inline: 0;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .showcase-container {
        gap: 16px;
        flex-direction: row;
        /* Ensure side-by-side */
        flex-wrap: nowrap;
        /* Prevent wrapping */
        overflow-x: auto;
        /* Allow scroll if too tight, though we'll fit them */
        justify-content: center;
    }

    .showcase-img {
        width: 45%;
        /* Fit side by side */
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .header .login-btn {
        width: 90%;
        margin-top: 4px;
        box-sizing: border-box;
    }

    .header {
        flex-direction: column;
    }

    .logo-container {
        width: 90%;
        justify-content: center;
        box-sizing: border-box;
    }
}