/* ========================================
   ПРЕМИУМ-ДОСТУП - СТИЛИ
   ======================================== */


body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 0;
}

.premium-page {
    padding: 60px 0 0 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Заголовок */
.premium-header {
    text-align: center;
    margin-bottom: 60px;
}

.premium-header h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.premium-header .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* Преимущества */
.premium-benefits {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 колонок = удобно делить на 3 и на 2 */
    gap: 30px;
    margin-bottom: 80px;
}

/* Первый ряд: 3 карточки, каждая занимает 2 из 6 колонок */
.benefit-card {
    grid-column: span 2;
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Второй ряд: 4-я и 5-я карточки — по центру.
   4-я начинается со 2-й колонки, 5-я — с 4-й, каждая шириной 2 колонки → 2+2 по центру */
.benefit-card:nth-child(4) {
    grid-column: 2 / span 2;
}
.benefit-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Планшет: 2 карточки в ряд (сбрасываем ручное позиционирование) */
@media (max-width: 900px) {
    .premium-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .benefit-card,
    .benefit-card:nth-child(4),
    .benefit-card:nth-child(5) {
        grid-column: auto;
    }
}

/* Мобильный: все карточки подряд в один столбец */
@media (max-width: 600px) {
    .premium-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    .benefit-card,
    .benefit-card:nth-child(4),
    .benefit-card:nth-child(5) {
        grid-column: auto;
    }
    .benefit-card {
        padding: 30px 24px;
    }
}


/* Секция оплаты */
.payment-section {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.price-card {
    background: white;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.price-tag {
    margin-bottom: 40px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #6B7AA1;
    display: block;
}

.price-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Форма */
.payment-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #6B7AA1;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.btn-pay {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #6B7AA1 0%, #5A6890 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 122, 161, 0.4);
}

.secure-payment {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* FAQ */
.premium-faq {
    max-width: 800px;
    margin: 0 auto;
}

.premium-faq h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .premium-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .premium-header h1 {
        font-size: 2rem;
    }

    .premium-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-card {
        padding: 40px 30px;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

/* ========================================
   СТРАНИЦА УСПЕШНОЙ ОПЛАТЫ
   ======================================== */

.premium-success-page {
    padding: 80px 0 0 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.success-card {
    background: white;
    padding: 60px;
    border-radius: 24px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.success-card h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.success-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Блок с кодом */
.premium-code-block {
    background: #f5f7fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.premium-code-block label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.code-display code {
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #6B7AA1;
    border: 2px solid #6B7AA1;
    letter-spacing: 2px;
}

.btn-copy {
    background: #6B7AA1;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    transform: scale(1.1);
}

.premium-code-block small {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Информация */
.premium-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 40px;
    text-align: left;
}

.info-item {
    background: #f5f7fa;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item strong {
    color: var(--text-dark);
}

.info-item span {
    color: var(--text-light);
}

/* Кнопки действий */
.success-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-catalog,
.btn-home {
    flex: 1;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-catalog {
    background: linear-gradient(135deg, #6B7AA1 0%, #5A6890 100%);
    color: white;
}

.btn-catalog:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 122, 161, 0.4);
}

.btn-home {
    background: white;
    color: #6B7AA1;
    border: 2px solid #6B7AA1;
}

.btn-home:hover {
    background: #6B7AA1;
    color: white;
}

/* Примечание */
.success-note {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.success-note p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .success-card {
        padding: 40px 30px;
    }

    .success-card h1 {
        font-size: 2rem;
    }

    .code-display {
        flex-direction: column;
    }

    .success-actions {
        flex-direction: column;
    }
}

/* ========================================
   СТРАНИЦА АКТИВАЦИИ КОДА
   ======================================== */

.premium-activate-page {
    padding: 60px 0 0 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.activate-card {
    background: white;
    padding: 60px;
    border-radius: 24px;
    max-width: 650px;
    margin: 0 auto 40px auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.activate-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.activate-card h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.activate-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Форма активации */
.activate-form {
    margin-bottom: 40px;
}

.code-input {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-activate {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4);
}

/* Ошибка */
.error-message {
    background: #fee;
    color: #c33;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #c33;
}

/* Помощь */
.activate-help {
    background: #f5f7fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.activate-help h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.activate-help p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.activate-help a {
    color: #6B7AA1;
    text-decoration: underline;
}

/* Преимущества */
.activate-benefits {
    background: #f5f7fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.activate-benefits h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.activate-benefits ul {
    list-style: none;
    padding: 0;
}

.activate-benefits li {
    color: var(--text-light);
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Примечание */
.activate-note {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.activate-note p {
    margin: 0;
    color: #856404;
}

.link-buy {
    color: #6B7AA1;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #6B7AA1;
}

.link-buy:hover {
    color: #5A6890;
    border-color: #5A6890;
}

/* Адаптивность */
@media (max-width: 768px) {
    .activate-card {
        padding: 40px 30px;
    }

    .activate-card h1 {
        font-size: 2rem;
    }
}

/* ========================================
   БЛОК ПРЕИМУЩЕСТВ ПРЕМИУМ-ПОИСКА
   ======================================== */
.premium-search-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
}

.search-highlight-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: searchPulse 2s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.premium-search-highlight h2 {
    font-size: 28px;
    color: #78350f;
    margin-bottom: 12px;
    font-weight: 700;
}

.search-highlight-text {
    font-size: 16px;
    color: #92400e;
    line-height: 1.6;
    margin-bottom: 20px;
}

.search-highlight-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.feature-tag {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #78350f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========================================
   КНОПКА "ВВЕСТИ ПРОМОКОД" (РОЗОВАЯ)
   ======================================== */
.promo-code-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.promo-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.btn-promo-code {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.btn-promo-code:hover {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 768px) {
    .premium-search-highlight {
        padding: 24px 16px;
    }
    
    .premium-search-highlight h2 {
        font-size: 22px;
    }
    
    .search-highlight-text {
        font-size: 14px;
    }
    
    .feature-tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}
/* ============================================
   ОФФЕР "цена вырастет с 1 сентября"
   Дописать в конец css/premium.css
   (палитра — под светлый дизайн сайта: #667eea → #764ba2)
   ============================================ */

/* ===== Оффер-баннер (над блоком покупки) ===== */
.premium-offer-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 32px 36px;
    width: 100%;        /* во всю ширину контейнера — как верхние блоки */
    margin: 0 0 32px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 30px rgba(118, 75, 162, 0.28);
    box-sizing: border-box;
}
.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.offer-title {
    font-size: 30px;
    margin: 0 0 14px;
    color: #ffffff !important;
    font-weight: 700;
}
.offer-old {
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 500;
    margin-right: 8px;
}
.offer-now {
    color: #FFE066;
    font-weight: 800;
}
.offer-text {
    font-size: 15px;
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 18px;
    color: #ffffff !important;
}
.offer-text strong { color: #FFE066 !important; font-weight: 700; }
.offer-countdown {
    display: inline-flex;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.18);
    padding: 10px 22px;
    border-radius: 12px;
}
.offer-countdown b { color: #FFE066; }

/* Цена в блоке покупки — старая зачёркнутая + подсказка */
.price-old {
    display: block;
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 1.6rem;
    color: #9aa3bd;
    margin-bottom: 2px;
}
.price-hint {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #db2777;
    font-weight: 600;
}

@media (max-width: 768px) {
    .premium-offer-banner { padding: 24px 18px; }
    .offer-title { font-size: 24px; }
    .offer-text { font-size: 14px; }
}
