/* ===========================
   ЗАГОЛОВОК СТРАНИЦЫ ПОДПИСКИ
   =========================== */

.pricing-hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.pricing-hero__title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.pricing-hero__subtitle {
    font-size: 18px;
    color: #a0a0b0;
}

/* ===========================
   БЛОК ТАРИФОВ
   =========================== */

.pricing {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.pricing__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===========================
   ОДНА КАРТОЧКА
   =========================== */

.pricing__card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing__card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.4);
}

/* ===========================
   ПОПУЛЯРНАЯ КАРТОЧКА
   =========================== */

.pricing__card--popular {
    border-color: #6c5ce7;
    background-color: rgba(108, 92, 231, 0.08);
}

.pricing__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #6c5ce7;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
}

/* ===========================
   НАЗВАНИЕ ПЛАНА И ЦЕНА
   =========================== */

.pricing__plan {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.pricing__price {
    margin-bottom: 24px;
}

.pricing__amount {
    font-size: 36px;
    font-weight: 700;
    color: #6c5ce7;
    display: block;
    margin-bottom: 4px;
}

.pricing__period {
    font-size: 14px;
    color: #a0a0b0;
}
/* ===========================
   СПИСОК ВОЗМОЖНОСТЕЙ
   =========================== */

.pricing__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    text-align: left;
}

.pricing__feature {
    font-size: 14px;
    color: #c0c0d0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing__feature:last-child {
    border-bottom: none;
}

/* ===========================
   КНОПКА ТАРИФА
   =========================== */

.pricing__btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.pricing__btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.pricing__btn--primary {
    background-color: #6c5ce7;
    border-color: #6c5ce7;
}

.pricing__btn--primary:hover {
    background-color: #5a4bd1;
}

/* ===========================
   ЧАСТЫЕ ВОПРОСЫ
   =========================== */

.faq {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.faq__title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.faq__question {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.faq__answer {
    font-size: 14px;
    color: #a0a0b0;
    line-height: 1.6;
}

/* ===========================
   АДАПТАЦИЯ ПОД ПЛАНШЕТЫ
   =========================== */

@media (max-width: 768px) {
    .pricing__cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-hero__title {
        font-size: 28px;
    }

    .pricing-hero__subtitle {
        font-size: 16px;
    }

    .faq__title {
        font-size: 24px;
    }
}

/* ===========================
   АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ
   =========================== */

@media (max-width: 480px) {
    .pricing-hero {
        padding: 40px 16px 30px;
    }

    .pricing-hero__title {
        font-size: 24px;
    }

    .pricing__card {
        padding: 24px 16px;
    }

    .pricing__amount {
        font-size: 28px;
    }
}