/* Сброс некоторых стилей по умолчанию */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #E9E1D4;
    color: #000;
    line-height: 1.5;
}

/* Контейнер с центральным позиционированием и отступами */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Блок "Hero" (верхняя часть страницы) */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
}

.hero-title2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 16px;
    color: #0000006d;
    margin-bottom: 80px;
}

.hero-info {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 500px;
    margin-top: 150px;
    margin-bottom: 50px;
}

/* Кнопка App Store */
.appstore-btn {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.appstore-btn img {
    height: 54px;
    transition: transform 0.2s ease;
}

.appstore-btn img:hover {
    transform: scale(1.05);
}

.hero-phone-container {
    position: relative;
    width: 400px;
    max-width: 90%;
    margin: 40px 0;
    margin-bottom: 100px;
}

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

.volume-bar {
    position: absolute;
    width: 83px;
    height: 307px;
    background-color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform-origin: bottom center;
    clip-path: inset(70% 0 0 0);
    transition: clip-path 0.15s linear;
}

.volume-bar.animate {
    transition: clip-path 0.15s linear;
}

/* Описание приложения */
.app-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.app-description p+p {
    margin-top: 1em;
}

/* Нижний блок (футер) */
.footer {
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
    color: #000000;
}

.footer-nav {
    margin: 10px 0;
}

.footer-nav a {
    color: #000000;
    text-decoration: none;
    margin: 0 10px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: #939393;
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .app-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .volume-bar {
        width: 62px;
        height: 230px;
    }

    .hero-phone-container {
        width: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .app-description {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .volume-bar {
        width: 70px;
        height: 260px;
    }

    .hero-phone-container {
        width: 350px;
    }
}