* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    background: #0A0E20;
}

body {
    overflow-x: hidden;
}

.landing-page {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    background: #0A0E20;
}

.ios-store {
    min-height: 100vh;
    padding: 24px 18px 40px;
    color: #1d1d1f;
    background: #fff;
}

.ios-store[hidden], .landing-page > [hidden] {
    display: none;
}

.ios-store-hero {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ios-store-logo {
    width: 82px;
    height: 82px;
    border-radius: 18px;
    object-fit: cover;
}

.ios-store-meta h1 {
    margin: 0 0 6px;
    font-size: 22px;
}

.ios-store-meta p, .ios-store-info p {
    margin: 4px 0;
    color: #6e6e73;
    font-size: 13px;
}

.ios-store-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.ios-install, .ios-online {
    width: 112px;
    height: 34px;
    object-fit: contain;
    cursor: pointer;
}

.ios-store-preview {
    display: block;
    width: 100%;
    margin-top: 24px;
    object-fit: contain;
}

.ios-store-info {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d2d2d7;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 103px;
    object-fit: fill;
    cursor: pointer;
}

.hero-carousel {
    position: absolute;
        top: 80px;
    right: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    cursor: pointer;
}

.hero-carousel .swiper-wrapper, .hero-slide {
    width: 100%;
    height: 100%;
}

.hero {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.download-actions {
    position: fixed;
    bottom: 20px;
    right: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
    min-height: 70px;
    padding: 8px 10px;
}

.download-button, .online-button {
    display: block;
    width: 48%;
    max-width: none;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
}

.download-button[hidden], .online-button[hidden] {
    display: none;
}

.online-button:not([hidden]) {
    display: block;
}

.bottom-fixed {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
}

.footer-img {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    cursor: pointer;
}

.download-button[data-device="down"] {
    transform-origin: center;
    animation: breathing-scale 2.4s ease-in-out infinite;
}

@keyframes breathing-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@media (min-width: 401px) {
    .download-actions {
        right: auto;
        left: 50%;
        width: 400px;
        transform: translateX(-50%);
    }
}
@media (min-width: 401px) { .header { right: auto; left: 50%; width: 400px; transform: translateX(-50%); } }
