/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter Tight', sans-serif;
    background-color: black;
    color: white;
    line-height: 1.2;
    overflow-x: hidden;
    height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    height: 100vh;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 1440px;
}

/* Header styles */
.header {
    padding: 60px 60px 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.main {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1320px;
    margin: 0 auto;
}

.header__left {
    width: 528px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo {
    width: 58px;
    height: 58px;
    position: relative;
}

.logo__image {
    width: 62.16px;
    height: 51.98px;
    position: absolute;
    left: -1.19px;
    top: 2px;
    transform: rotate(2deg);
    transform-origin: top left;
    object-fit: contain;
}

.header__text {
    width: 100%;
}

.header__title {
    color: white;
    font-size: 40px;
    font-weight: 500;
    line-height: 46.4px;
    margin-bottom: 4px;
}

.header__subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 40px;
    font-weight: 500;
    line-height: 46.4px;
}

.header__right {
    width: 382px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header__stats {
    opacity: 0.5;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    max-width: 382px;
}

.app-store-link {
    display: inline-block;
    width: fit-content;
}

.app-store-badge {
    width: 144px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* Hero section */
.hero {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.hero__image {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    -webkit-animation: none !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    transition: none !important;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    
    .header__content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .header__right {
        width: 100%;
        gap: 32px;
    }

    .hero__image {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 65vh;
        transform: scale(1.5);
        transform-origin: bottom center;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

@media (max-width: 500px) {
    body {
        height: 100vh;
        overflow: hidden;
    }

    .container {
        height: 100vh;
        overflow: hidden;
    }

    .header {
        padding: 30px 30px 0;
        margin-bottom: 20px;
    }
    
    .header__left {
        width: 100%;
    }
    
    .header__title,
    .header__subtitle {
        font-size: 32px;
        line-height: 38px;
    }
    
    .header__stats {
        font-size: 18px;
    }

    .header__right {
        gap: 32px;
    }
    
    .hero {
        margin: 0;
    }
    
    .hero__image {
        position: fixed;
        bottom: -60px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 65vh;
        transform: scale(2);
        transform-origin: bottom center;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

@media (max-width: 500px) and (max-height: 740px) {
    .hero__image {
        transform: scale(2.0);
        bottom: -130px;
    }
}

@media (max-width: 380px) {
    .hero__image {
        bottom: 30px;
        transform: scale(2);
        transform-origin: center center;
    }

    .header__title,
    .header__subtitle {
        font-size: 24px;
        line-height: 28px;
    }
    
    .header__stats {
        font-size: 14px;
        line-height: 20px;
    }

    .logo__image {
        width: 44.73px;
        height: 41.58px;
    }

    .header__left {
        gap: 8px;
    }
}

img {
    opacity: 1 !important;
    visibility: visible !important;
}
