:root {
    --font-family: "Inter", sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    font-family: "Inter", sans-serif;
}

@media (max-width: 320px) {
    .container {
        min-height: 100dvh;
        padding: 0;
    }

    .download-wrapper {
        padding: 16px 50px;
    }

    .download-content {
        max-width: 400px;
        padding: 16px 24px;
        border-radius: 12px;
    }

    .download-content h1 {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 27px;
        color: #232323;
        margin-bottom: 12px;
    }

    .download-content p {
        font-family: var(--font-family);
        font-weight: 200;
        font-size: 20px;
        color: #232323;
        margin-bottom: 16px;
    }

    .download-content button {
        padding: 10px 24px;
        font-size: 16px;
    }

    .header-download {
        height: 60px;
        padding: 0;
    }

    .header-content {
        flex-direction: column;
        gap: 8px;
    }

    .header-content p {
        display: none;
    }

    .bg-image-wrapper {
        display: none;
    }
}

@media (min-width: 321px) and (max-width: 375px) {
    .container {
        min-height: 100dvh;
        padding: 0;
    }

    .download-wrapper {
        padding: 20px 50px;
    }

    .download-content {
        max-width: 400px;
        padding: 20px 24px;
        border-radius: 12px;
    }

    .download-content h1 {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 27px;
        color: #232323;
        margin-bottom: 14px;
    }

    .download-content p {
        font-family: var(--font-family);
        font-weight: 200;
        font-size: 20px;
        color: #232323;
        margin-bottom: 20px;
    }

    .download-content button {
        padding: 11px 26px;
        font-size: 17px;
    }

    .header-download {
        height: 64px;
        padding: 0;
    }

    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .header-content p {
        display: none;
    }

    .bg-image-wrapper {
        display: none;
    }
}

@media (min-width: 376px) and (max-width: 414px) {
    .container {
        min-height: 100dvh;
        padding: 0;
    }

    .download-wrapper {
        padding: 24px 50px;
    }

    .download-content {
        max-width: 400px;
        padding: 24px 24px;
        border-radius: 14px;
    }

    .download-content h1 {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 27px;
        color: #232323;
        margin-bottom: 16px;
    }

    .download-content p {
        font-family: var(--font-family);
        font-weight: 200;
        font-size: 20px;
        color: #232323;
        margin-bottom: 24px;
    }

    .download-content button {
        padding: 12px 28px;
        font-size: 18px;
    }

    .header-download {
        height: 68px;
        padding: 0;
    }

    .header-content p {
        display: none;
    }

    .bg-image-wrapper {
        display: none;
    }
}

@media (min-width: 321px) and (max-width: 414px) and (-webkit-device-pixel-ratio: 3) {
    .container {
        background-image: url("images/new-design/background-img.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .download-content {
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
}

@media (min-width: 415px) and (max-width: 428px) {
    .container {
        min-height: 100dvh;
        padding: 0;
    }

    .download-wrapper {
        padding: 24px 50px;
    }

    .download-content {
        max-width: 400px;
        padding: 24px 24px;
        border-radius: 14px;
    }

    .download-content h1 {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 27px;
        color: #232323;
        margin-bottom: 16px;
    }

    .download-content p {
        font-family: var(--font-family);
        font-weight: 200;
        font-size: 20px;
        color: #232323;
        margin-bottom: 24px;
    }

    .download-content button {
        padding: 12px 30px;
        font-size: 19px;
    }

    .header-download {
        height: 70px;
        padding: 0;
    }

    .bg-image-wrapper {
        display: none;
    }
}

button {
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
}

a {
    font-family: "Inter", sans-serif;
    text-decoration: none;
    text-underline: none;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

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

.container {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;

    background-image: url("images/new-design/background-img.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.header-download {
    width: 100%;
    height: 70px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-content p {
    display: none;
}

.download-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.download-content {
    width: 100%;
    max-width: 400px;
    padding: 24px;
    margin: auto;

    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.download-content h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 16px;
    color: #232323;
}

.download-content p {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 25px;
    color: #232323;
    margin-bottom: 24px;
}

.download-content button {
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 500px;
    background: #004CDD;
    color: #fff;
}

.download-content span a {
    /* styles for link inside button */
}

.bg-image-wrapper {
    display: none;
}

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

@media (min-width: 768px) {
    .header-content {
        justify-content: space-between;
        max-width: 804px;
        margin: 0 auto;
    }

    .header-content p {
        display: block;
        font-size: 14px;
        font-style: italic;
        font-weight: 500;
        color: #232323;
    }

    .download-content {
        max-width: 624px;
        padding: 32px 40px;
    }

    .download-content h1 {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 36px;
        color: #232323;
    }

    .download-content p {
        font-family: var(--font-family);
        font-weight: 200;
        font-size: 25px;
        color: #232323;
    }

    .bg-image-wrapper {
        display: block;
    }
}

@media (min-width: 1024px) {
    .header-content {
        max-width: 1440px;
        padding: 0 60px;
    }

    .download-content {
        max-width: 806px;
        padding: 40px 50px;
    }

    .download-content h1 {
        font-size: 36px;
    }

    .download-content p {
        font-size: 25px;
    }
}