/* ============================================
   MOBILE STYLES
   max-width: 768px
   ============================================ */

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    body {
        font-size: 16px;
    }

    /* Mobile performance optimization - apply only to specific elements */
    .hero__content-container,
    .benefits__card,
    .features__card,
    .how-it-works-steps__card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    img, video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    body {
        -webkit-overflow-scrolling: touch;
    }

    .animate-on-scroll,
    .hero__content-container,
    .benefits__card,
    .features__card {
        will-change: transform, opacity;
    }

    /* === Reduce border-radius on mobile === */
    .hero__image-container,
    .benefits__card,
    .features__card,
    .library__books-list,
    .library__info-card,
    .highlight__image-container,
    .highlight__info-card,
    .meaning__image-container,
    .meaning__footer-card,
    .features-split__image,
    .features-grid__card,
    .books__card,
    .testimonials__card,
    .cta__footer {
        border-radius: 16px;
    }

    /* === HEADER === */
    .header__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 16px;
        width: 100%;
        max-width: 100%;
        min-height: 56px;
        overflow: visible;
        position: static;
        border-radius: 16px;
        backdrop-filter: none;
        transform: none;
    }

    .header__container--expanded {
        overflow: hidden;
    }

    .header__logo {
        display: flex !important;
        position: relative;
        z-index: 1004;
        flex-shrink: 0;
        order: 1;
    }

    .header__telegram-link--mobile {
        display: flex !important;
        position: relative;
        z-index: 1004;
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
        margin-right: 8px;
    }

    .header__telegram-link--mobile .header__telegram-icon {
        width: 24px;
        height: 24px;
        filter: brightness(0);
    }

    .header__menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 10000;
        flex-shrink: 0;
        order: 3;
    }

    .header__navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        padding: 80px 20px 20px;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 9999;
    }

    .header__navigation.header__navigation--open {
        display: flex !important;
    }

    .header__nav-links-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        flex: 1;
        width: 100%;
    }

    .header__nav-link {
        font-family: 'Onest', sans-serif;
        font-weight: 500;
        font-size: 28px;
        line-height: 1.3;
        text-align: center;
        color: #17181A;
        text-decoration: none;
        width: auto;
        padding: 8px 16px;
        transition: opacity 0.2s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
    }

    .header__navigation.header__navigation--open .header__nav-link {
        animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }

    .header__navigation.header__navigation--open .header__nav-links-wrapper .header__nav-link:nth-child(1) {
        animation-delay: 0.1s;
    }

    .header__navigation.header__navigation--open .header__nav-links-wrapper .header__nav-link:nth-child(2) {
        animation-delay: 0.15s;
    }

    .header__navigation.header__navigation--open .header__nav-links-wrapper .header__nav-link:nth-child(3) {
        animation-delay: 0.2s;
    }

    .header__nav-link:hover {
        opacity: 0.7;
    }

    .header__button--mobile {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 16px 32px;
        background: #346DFF;
        border: none;
        border-radius: 12px;
        font-family: 'Onest', sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
        color: #FFFFFF;
        cursor: pointer;
        transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        text-decoration: none;
        width: 100%;
        max-width: 400px;
        margin: 0;
        flex-shrink: 0;
        opacity: 0;
        transform: translateY(20px);
    }

    .header__navigation.header__navigation--open .header__button--mobile {
        animation: fadeInUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        animation-delay: 0.25s;
    }

    .header__button--mobile:hover {
        background-color: #2A5AE6;
    }

    .header__button--mobile:active {
        background-color: #1E4FD9;
    }

    .header__button-container {
        display: none !important;
    }

    .header__button {
        padding: 14px 20px;
        font-size: 16px;
    }

    /* === HERO === */
    .hero {
        min-height: auto;
        height: auto;
        justify-content: flex-start;
        padding: 100px 0 48px;
        gap: 0;
    }

    /* Порядок на телефоне: заголовок → видео → кнопка «Попробовать».
       Контейнер «растворяем», чтобы кнопка могла встать под видео. */
    .hero__content-container {
        display: contents;
    }

    .hero__text-container {
        order: 1;
        margin-top: 0;
        gap: 20px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hero__image-container { order: 2; margin-top: 32px; }

    .hero__buttons-container {
        order: 3;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 24px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .hero__press { order: 4; }

    .store-links {
        width: 100%;
        gap: 10px;
    }

    .store-btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
        gap: 8px;
        padding: 8px 8px;
    }

    .store-btn__icon {
        width: 22px;
        height: 22px;
    }

    .store-btn__name {
        font-size: 15px;
    }

    .hero__stores {
        margin-bottom: 16px;
    }

    .hero__button--video {
        order: 2;
        width: 100%;
        margin-bottom: 8px;
    }

    .hero__button:not(.hero__button--video) {
        order: 1;
        width: 100%;
    }

    .hero__main-title {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero__subtitle {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
        text-wrap: balance;
        max-width: 36ch;
        margin-inline: auto;
    }

    .hero__main-title { text-wrap: balance; }

    .hero__access-info {
        font-size: 13px;
        padding: 6px 12px;
    }

    .hero__bullets {
        gap: 8px;
        padding-left: 20px;
    }

    .hero__bullets li {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero__note {
        font-size: 12px;
        line-height: 1.4;
    }

    .hero__press {
        gap: 24px;
        padding: 32px 16px 0;
    }

    .hero__press-title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .hero__press-logos {
        gap: 8px;
        width: 100%;
        flex-wrap: wrap;
    }

    .hero__press-logo {
        padding: 16px 20px;
        min-width: 0;
        flex: 1 1 calc(33.333% - 6px);
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero__press-logo-img {
        height: 20px;
        max-width: 100%;
    }

    .hero__press-logo:nth-child(1) .hero__press-logo-img {
        height: 36px;
    }

    .hero__press-logo:nth-child(3) .hero__press-logo-img {
        height: 18px;
    }

    .hero__press-logo:nth-child(4) .hero__press-logo-img {
        height: 20px;
    }

    .hero__image-container {
        display: flex;
        width: calc(100% - 40px);
        margin: 32px 20px 0;
        height: auto;
        border-radius: 16px;
        overflow: hidden;
    }

    .hero__image-container video {
        width: 100%;
        height: auto;
        display: block;
    }

    /* === PHILOSOPHER === */
    .philosopher {
        display: none !important;
    }

    /* === BENEFITS === */
    .benefits {
        padding: 60px 16px;
        gap: 32px;
    }

    .benefits__title {
        font-size: 36px;
    }

    /* Карусель по горизонтали, как «Как это работает»: соседняя карточка выглядывает справа */
    .benefits__cards {
        flex-direction: row !important;
        gap: 12px !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 calc(50% - 50vw) !important;
        padding: 8px 16px 16px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .benefits__cards::-webkit-scrollbar { display: none; }

    .benefits__card {
        padding: 20px;
        gap: 16px;
        flex: 0 0 82% !important;
        width: 82% !important;
        min-width: unset !important;
        scroll-snap-align: start;
    }

    .benefits__dots { display: flex; justify-content: center; gap: 8px; margin-top: -8px; }
    .benefits__dots button {
        width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-full);
        background: var(--color-border); cursor: pointer;
        transition: width var(--transition-base), background var(--transition-base);
    }
    .benefits__dots button.is-active { width: 24px; background: var(--color-primary); }

    .benefits__card-title {
        font-size: 24px;
    }

    .benefits__card-subtitle {
        font-size: 14px;
    }

    .benefits__card-accent {
        width: 56px;
        height: 6px;
    }

    /* === FEATURES === */
    .features {
        padding: 60px 16px;
        gap: 32px;
    }

    .features__title {
        font-size: 36px;
    }

    .features__container {
        flex-direction: column;
        gap: 16px;
    }

    .features__card {
        flex: 1 1 100%;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        padding: 24px;
        gap: 20px;
        box-sizing: border-box;
    }

    .features__card-title {
        font-size: 24px;
        font-weight: 400;
    }

    .features__card-description {
        font-size: 16px;
    }

    /* === FEATURES SPLIT === */
    .features-split {
        padding: 24px 16px;
    }

    .features-split__container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .features-split__title {
        font-size: 32px;
        text-align: center;
    }

    .features-split__content {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .features-split__list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .features-split__item {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 16px;
        gap: 16px;
        background: #FFFFFF;
        border: 1px solid #E8EAED;
        border-radius: 16px;
    }

    .features-split__icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .features-split__icon-img {
        width: 26px;
        height: 26px;
    }

    .features-split__text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .features-split__item-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .features-split__item-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .features-split__image {
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 20px 0;
        background: transparent;
        border-radius: 0;
        overflow: visible;
    }

    .features-split__image-img {
        position: static;
        transform: none;
        width: 90%;
        max-width: 360px;
        max-height: none;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(24, 38, 72, 0.18);
    }

    .features-split.is-visible .features-split__image-img {
        transform: none;
    }

    /* === HOW IT WORKS STEPS === */
    .how-it-works-steps {
        padding: 60px 16px;
        gap: 24px;
        justify-content: center
    }

    .how-it-works-steps__title {
        font-size: 32px;
    }






    /* === LIBRARY === */
    .library {
        padding: 32px 20px 40px;
        gap: 32px;
    }

    .library__title {
        font-size: 36px;
        margin-bottom: 0;
    }

    .library__title-container {
        margin-bottom: 0;
    }

    .library__main-content {
        flex-direction: column;
        gap: 16px;
    }

    .library__books-block {
        width: 100%;
    }

    .library__books-list {
        height: auto;
        padding: 20px 20px 0;
        background: var(--color-bg-light);
        border-radius: 16px;
    }

    .library__books-image--desktop {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 16px 16px 0 0;
    }

    .library__books-image {
        width: 100%;
        height: auto;
        border-radius: 16px 16px 0 0;
    }

    .library__books-carousel {
        display: block;
        width: 100%;
        overflow: hidden;
    }

    .library__books-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0 16px;
        scrollbar-width: none;
    }

    .library__books-scroll::-webkit-scrollbar {
        display: none;
    }

    .library__book-cover {
        flex: 0 0 auto;
        width: 130px;
        height: 185px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(18, 18, 25, 0.18);
        scroll-snap-align: start;
    }

    .library__info-section {
        gap: 12px;
        margin-top: 16px;
    }

    .library__info-card {
        padding: 20px;
        gap: 12px;
    }

    .library__info-title {
        font-size: 18px;
    }

    .library__info-description {
        font-size: 16px;
    }

    /* === HIGHLIGHT === */
    /* === EPUB UPLOAD === */
    .epub-upload {
        padding: 32px 16px;
        gap: 32px;
    }

    .epub-upload__title {
        font-size: 36px;
    }

    .epub-upload__main-content {
        flex-direction: column;
        gap: 16px;
    }

    .epub-upload__info-cards {
        flex-direction: column;
        gap: 16px;
        order: 2;
    }

    .epub-upload__image-block {
        width: 100%;
        order: 1;
    }

    .epub-upload__image-container {
        height: 240px;
    }

    .epub-upload__info-card {
        padding: 24px;
    }

    .epub-upload__info-title {
        font-size: 18px;
    }

    .epub-upload__info-description {
        font-size: 16px;
    }

    .highlight {
        padding: 32px 16px;
        gap: 32px;
    }

    .highlight__title {
        font-size: 36px;
    }

    .highlight__main-content {
        flex-direction: column;
        gap: 16px;
    }

    .highlight__image-block {
        width: 100%;
        order: 1;
    }

    .highlight__info-cards {
        order: 2;
    }

    .highlight__image-container {
        padding: 0px 20px 0px 20px;
        min-height: 240px;
        background: var(--color-bg-light);
        border-radius: 16px;
        height: auto;
    }

    .highlight__image {
        padding: 0;
        border-radius: 16px 16px 0 0;
        width: 100%;
        height: auto;
    }

    .highlight__info-cards {
        gap: 16px;
    }

    .highlight__info-card {
        padding: 24px;
    }

    .highlight__info-title {
        font-size: 18px;
    }

    .highlight__info-description {
        font-size: 16px;
    }

    /* === MEANING === */
    .meaning {
        padding: 32px 16px;
        gap: 32px;
    }

    .meaning__title {
        font-size: 36px;
    }

    .meaning__content {
        gap: 16px;
    }

    .meaning__image-container {
        padding: 20px 20px 0;
        min-height: 240px;
        background: var(--color-bg-light);
        border-radius: 16px;
        height: auto;
    }

    .meaning__images {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .meaning__image-wrap {
        width: 100%;
        flex: 0 0 auto;
    }

    .meaning__images .meaning__image {
        width: 100%;
        height: auto;
        border-radius: 16px 16px 0 0;
    }

    .features-split__image {
        min-height: 240px;
    }

    .meaning__footer {
        gap: 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .meaning__footer-card {
        padding: 24px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .meaning__footer-title {
        font-size: 18px;
    }

    .meaning__footer-text {
        font-size: 16px;
    }

    /* === FEATURES GRID === */
    .features-grid {
        padding: 60px 16px;
        margin-top: 0;
        gap: 32px;
    }

    .features-grid__title {
        font-size: 36px;
    }

    .features-grid__container {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid__card {
        flex: 1 1 100%;
        padding: 40px 20px;
    }

    .features-grid__text {
        font-size: 18px;
    }

    /* === BOOKS === */
    .books {
        padding: 32px 16px;
        gap: 32px;
        background: #FFFFFF;
    }

    .books::before {
        display: none;
    }

    .books__wrapper {
        padding: 0;
        overflow: hidden;
    }

    .books__scroll-btn {
        display: none !important;
    }

    .books__scroll-btn--left {
        left: 8px;
    }

    .books__scroll-btn--right {
        right: 8px;
    }

    .books__title {
        font-size: 36px;
    }

    .books__container {
        justify-content: flex-start !important;
        gap: 16px !important;
        height: auto !important;
        overflow-x: auto !important;
        padding: 8px 16px 16px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .books__container::-webkit-scrollbar {
        display: none;
    }

    .books__card {
        flex: 0 0 auto !important;
        width: 180px !important;
        height: 250px !important;
        min-height: 250px !important;
        padding: 0 !important;
        border-radius: 18px !important;
        box-shadow: none !important;
        scroll-snap-align: start;
        cursor: pointer !important;
        transform: none !important;
        pointer-events: auto;
    }

    .books__card:hover {
        transform: none !important;
        transition: none !important;
    }

    .books__card::before,
    .books__card-content,
    .books__card-spine-icons,
    .books__card-name,
    .books__card-description {
        display: none !important;
    }

    .books__card--featured,
    .books__card--purple,
    .books__card--cyan,
    .books__card--yellow,
    .books__card--blue,
    .books__card--pink,
    .books__card--purple-pink {
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .books__card--featured { background-image: url('../img/book_onegin.webp') !important; }
    .books__card--purple { background-image: url('../img/book_geroy.webp') !important; }
    .books__card--cyan { background-image: url('../img/book_otci.webp') !important; }
    .books__card--yellow { background-image: url('../img/book_prestuplenie.webp') !important; }
    .books__card--blue { background-image: url('../img/book_voina.webp') !important; }
    .books__card--pink { background-image: url('../img/book_dushi.webp') !important; }
    .books__card--purple-pink { background-image: url('../img/book_oblomov.webp') !important; }

    .books__button {
        font-size: 16px;
        font-weight: 500;
    }

    /* === TESTIMONIALS === */
    .testimonials {
        padding: 32px 16px;
        gap: 32px;
    }

    .testimonials__title {
        font-size: 36px;
        padding: 0;
    }

    .testimonials__container {
        padding: 0;
    }

    .testimonials__card {
        width: 360px;
        min-width: 360px;
        height: 420px;
        min-height: 420px;
    }

    .testimonials__avatar {
        width: 48px;
        height: 48px;
    }

    .testimonials__text {
        font-size: 16px;
    }

    .testimonials__name {
        font-size: 18px;
    }

    .testimonials__scroll-btn {
        width: 40px;
        height: 40px;
        display: none !important;
    }

    .testimonials__scroll-btn--left {
        left: 8px;
    }

    .testimonials__scroll-btn--right {
        right: 8px;
    }

    /* === SUBSCRIPTION === */
    .subscription {
        padding: 60px 16px;
        gap: 32px;
    }

    .subscription__title {
        font-size: 36px;
    }

    /* Карусель тарифов: свайп по горизонтали, второй тариф выглядывает справа */
    .subscription__container {
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        width: 100vw;
        max-width: 100vw;
        margin: 0 calc(50% - 50vw);
        padding: 8px 16px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .subscription__container::-webkit-scrollbar { display: none; }

    .subscription__card {
        flex: 0 0 85%;
        min-height: auto;
        width: 85%;
        padding: 20px;
        gap: 24px;
        scroll-snap-align: start;
        box-sizing: border-box;
    }

    .subscription__name {
        font-size: 20px;
    }

    .subscription__price {
        font-size: 28px;
    }

    .subscription__card:nth-child(2) .subscription__price,
    .subscription__card:nth-child(3) .subscription__price {
        font-size: 36px;
    }

    .subscription__price-frequency {
        font-size: 14px;
    }

    .subscription__feature-text {
        font-size: 16px;
    }

    .subscription__button {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

    /* === FAQ === */
    .faq {
        padding: 32px 16px;
        gap: 32px;
    }

    .faq__title {
        font-size: 36px;
    }

    .faq__question {
        font-size: 20px;
    }

    .faq__answer {
        font-size: 16px;
    }

    .faq__content {
        padding: 20px;
        gap: 16px;
    }

    /* === NOT DOING === */
    .not-doing {
        padding: 32px 16px;
        gap: 32px;
    }

    .not-doing__title {
        font-size: 36px;
    }

    .not-doing__title-accent {
        white-space: nowrap;
    }

    /* Карусель «Что Интуиция не делает» */
    .not-doing__grid {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 12px;
        width: 100vw;
        max-width: 100vw;
        margin: 0 calc(50% - 50vw);
        padding: 8px 16px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .not-doing__grid::-webkit-scrollbar { display: none; }

    .not-doing__item {
        flex: 0 0 82%;
        padding: 24px;
        scroll-snap-align: start;
        box-sizing: border-box;
    }

    /* Точки под каруселями */
    .m-dots { display: flex; justify-content: center; gap: 8px; margin-top: -8px; }
    .m-dots button {
        width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-full);
        background: var(--color-border); cursor: pointer;
        transition: width var(--transition-base), background var(--transition-base);
    }
    .m-dots button.is-active { width: 24px; background: var(--color-primary); }

    /* === CTA === */
    .cta {
        height: 100vh;
        min-height: 100vh;
    }

    .cta__content {
        padding: 60px 16px 100px;
        height: 100vh;
        min-height: 100vh;
    }

    .cta__icon {
        width: 120px;
        height: 120px;
    }

    .cta__title {
        font-size: 40px;
    }

    .cta__note {
        font-size: 12px;
    }

    .cta__footer {
        bottom: 16px;
        left: 16px;
        right: 16px;
        transform: none;
        width: auto;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .cta__footer-text {
        font-size: 16px;
        text-align: left;
    }

    .cta__footer-link {
        font-size: 14px;
        text-align: left;
    }

    .cta__button {
        font-size: 16px;
    }

    /* === VIDEO SECTION === */
    .video-section {
        padding: 60px 16px;
        border-radius: 0;
        gap: 32px;
    }

    .video-section__title {
        font-size: 32px;
    }

    .video-section__image-wrapper {
        border-radius: 16px;
    }

    .video-section__play-button {
        width: 96px;
        height: 96px;
    }

    .video-section__play-icon {
        width: 32px;
        height: 32px;
    }

    .video-modal__content {
        width: 95%;
    }

    .video-modal__close {
        top: -40px;
        width: 36px;
        height: 36px;
    }

    .video-modal__close img {
        width: 20px;
        height: 20px;
    }

    /* === TELEGRAM POPUP === */
    .telegram-popup {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .telegram-popup__content {
        max-width: none;
        padding: 24px;
    }

    .telegram-popup__icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .telegram-popup__icon img {
        width: 28px;
        height: 28px;
    }

    .telegram-popup__title {
        font-size: 20px;
    }

    .telegram-popup__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .telegram-popup__button {
        padding: 14px 20px;
        font-size: 15px;
    }

    .telegram-popup__button-icon {
        width: 18px;
        height: 18px;
    }
}

/* === Small Mobile (max-width: 480px) === */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    body {
        font-size: 14px;
    }

    .header__container {
        padding: 12px;
    }

    .header__navigation {
        padding: 70px 16px 16px;
    }

    .header__nav-link {
        font-size: 24px;
    }

    .header__button--mobile {
        font-size: 16px;
        padding: 14px 28px;
    }

    .header__button-container {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    .hero {
        padding: 90px 0 40px;
        min-height: auto;
    }

    .hero__content-container {
        padding: 0 16px;
        gap: 20px;
    }

    .hero__main-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero__subtitle {
        font-size: 14px;
        line-height: 1.45;
    }

    .hero__access-info {
        font-size: 12px;
        padding: 6px 12px 6px 10px;
    }

    .hero__image-container {
        min-height: 200px;
        margin: 32px 16px 0;
    }

    .hero__button {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
    }

    .benefits,
    .features,
    .how-it-works-steps {
        padding: 32px 20px;
    }

    .benefits__container,
    .features__container {
        gap: 12px;
    }

    .benefits__card {
        padding: 20px;
        gap: 12px;
        border-radius: 20px;
    }

    .benefits__card-icon {
        width: 40px;
        height: 40px;
    }

    .features__card {
        padding: 20px;
        gap: 16px;
        min-height: 200px !important;
        height: auto !important;
    }

    .features__card-icon {
        width: 40px;
        height: 40px;
    }

    /* Features Split on small mobile */
    .features-split__title {
        font-size: 28px;
    }

    .features-split__item {
        padding: 14px;
        gap: 12px;
    }

    .features-split__icon {
        width: 44px;
        height: 44px;
    }

    .features-split__item-title {
        font-size: 16px;
    }

    .features-split__item-description {
        font-size: 13px;
    }

    .features-split__image-img {
        width: 95%;
        max-width: 400px;
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(24, 38, 72, 0.16);
    }

    .benefits__title,
    .features__title,
    .library__title,
    .highlight__title,
    .meaning__title,
    .features-grid__title,
    .books__title,
    .testimonials__title,
    .subscription__title,
    .faq__title {
        font-size: 32px;
        line-height: 1.2;
    }

    .benefits__card-title {
        font-size: 20px;
        font-weight: 400;
    }

    .benefits__card-subtitle {
        font-size: 13px;
    }

    .features__card-title {
        font-size: 20px;
        font-weight: 400;
    }

    .library__info-title,
    .highlight__info-title,
    .meaning__footer-title {
        font-size: 18px;
    }

    .library__info-description,
    .highlight__info-description,
    .meaning__footer-text,
    .features__card-description,
    .testimonials__text,
    .faq__answer {
        font-size: 16px;
    }

    .philosopher__text {
        font-size: 24px;
    }

    .cta__title {
        font-size: 40px;
    }

    .faq__question {
        font-size: 20px;
    }

    .testimonials__card {
        width: 340px;
        min-width: 340px;
        height: 420px;
        min-height: 420px;
    }

    .testimonials__avatar {
        width: 48px;
        height: 48px;
    }

    .testimonials__name {
        font-size: 18px;
    }

    .books__card-name {
        font-size: 20px;
    }

    .books__card-description {
        font-size: 16px;
    }

    .subscription__name {
        font-size: 18px;
    }

    .subscription__container {
        gap: 16px;
    }

    .subscription__card {
        padding: 20px;
    }

    .subscription__price {
        font-size: 28px;
    }

    .subscription__card:nth-child(2) .subscription__price,
    .subscription__card:nth-child(3) .subscription__price {
        font-size: 36px;
    }

    .subscription__price-frequency {
        font-size: 14px;
    }

    .subscription__feature-text {
        font-size: 15px;
    }

    .subscription__button {
        padding: 14px 20px;
        font-size: 15px;
    }

    .cta__footer-text {
        font-size: 16px;
    }
}
