/* ============================================
   АДАПТИВНОСТЬ — ПЛАНШЕТ
   ============================================ */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero .container {
        gap: 40px;
    }

    .hero-phone {
        flex: 0 0 260px;
    }

    .phone-mockup {
        width: 240px;
    }

    .features-grid,
    .reviews-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-table {
        min-width: 750px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
        font-size: 0.82rem;
    }

    .pt-price {
        font-size: 1.2rem;
    }
}

/* ============================================
   АДАПТИВНОСТЬ — МОБИЛЬНЫЙ (768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 72px 0;
    }

    .section-title {
        font-size: 1.65rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    /* Навигация */
    .navbar-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .navbar-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-bg::after {
        background: linear-gradient(
            180deg,
            rgba(10, 15, 36, 0.85) 0%,
            rgba(10, 15, 36, 0.7) 50%,
            rgba(10, 15, 36, 0.5) 100%
        );
    }

    .hero .container {
        text-align: center;
        padding-top: 110px;
        padding-bottom: 60px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Сетки */
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Фичи — иллюстрации на мобильном */
    .feature-card::after {
        width: 140px;
        height: 140px;
        bottom: -15px;
        right: -15px;
        opacity: 0.04;
    }



    .pack-divider {
        display: none;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* Скрываем таблицу, показываем карусель */
    .pricing-table-wrap {
        display: none;
    }

    .pricing-carousel {
        display: block;
        overflow: hidden;
        margin: 0 -24px;
        padding: 0 24px;
    }

    .pricing-referral {
        flex-direction: column;
        text-align: center;
    }

    .pricing-packs {
        flex-direction: column;
    }

    .pack-divider {
        display: none;
    }

    .pricing-extra {
        margin-top: 40px;
        padding: 24px 20px;
    }
}

/* ============================================
   АДАПТИВНОСТЬ — МАЛЕНЬКИЙ МОБИЛЬНЫЙ (480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero {
        min-height: 450px;
    }

    .hero-description {
        font-size: 1rem;
    }


    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .feature-card::after {
        width: 110px;
        height: 110px;
        opacity: 0.03;
    }
}
