/* Mobile-First Responsive Stylesheet */

:root {
    --brand-celeste-100: #d6f9f4;
    --brand-celeste-200: #bcf7ea;
    --text-primary: #0f0f0f;
    --font-family-headline: 'Anton', Impact, 'Arial Black', sans-serif;
    --font-family-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html,
body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-family-body);
    color: var(--text-primary);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Background Swoop */
.bg-swoop-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-swoop {
    width: 100%;
    height: 100%;
    display: block;
}

/* Page Layout */
.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 24px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

/* Hero Section (Mobile First) */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    width: 100%;
    flex: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.hero-title {
    font-family: var(--font-family-headline);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.app-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-link {
    display: inline-block;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.badge-link:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

.badge-img {
    height: 44px;
    width: auto;
    display: block;
}

.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.phone-mockup {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

/* Desktop Styles */
@media (min-width: 900px) {
    .page-wrapper {
        padding: 28px 48px 48px;
    }

    .header {
        padding-bottom: 32px;
    }

    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 64px;
    }

    .hero-content {
        align-items: flex-start;
        max-width: 580px;
    }

    .hero-title {
        font-size: 44px;
        line-height: 1.15;
        letter-spacing: 0.4px;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .app-badges {
        justify-content: flex-start;
        gap: 16px;
    }

    .badge-img {
        height: 50px;
    }

    .hero-phone {
        max-width: 440px;
        justify-content: flex-end;
    }

    .phone-mockup {
        max-height: 680px;
    }
}
