/* --- ОБЩИЕ СТИЛИ И СВЕТЛЫЕ ПЕРЕМЕННЫЕ --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-main: #ffffff;
    --bg-section: #f8f9fa;
    --card-bg: #ffffff;
    --accent-orange: #e06a3b;
    --accent-pink: #ff2e93;
    --text-main: #131622;
    --text-muted: #5a6075;
    --border-color: rgba(0, 0, 0, 0.08);
    --gradient-primary: linear-gradient(135deg, #e06a3b 0%, #ff2e93 100%);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-bg {
    background-color: var(--bg-section);
    padding: 80px 0 0px 0;
}
@media (max-width: 768px) {
            .section-bg {
                padding: 64px 0 0 0;
            }
        }

/* ===== КНОПКИ (ИСПРАВЛЕНО: УБРАНО 100% ШИРИНЫ ИЗ БАЗОВЫХ СТИЛЕЙ) ===== */
.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(224, 106, 59, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(224, 106, 59, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: white;
}

/* ===== БЛОК 1: ЧТО ТАКОЕ PRINKER ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-card {
    background: var(--bg-section);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.about-image-stub {
    max-width: 550px;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.about-image-stub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== БЛОК 2: ПРИЛОЖЕНИЕ И БЕЗОПАСНОСТЬ ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 46, 147, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-pink);
    font-weight: 800;
    font-size: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== БЛОК 3: ТАБЛИЦА СРАВНЕНИЯ ===== */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.table-hint {
    display: none;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
    table-layout: fixed;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.compare-table th {
    background: #fdfdfd;
    font-weight: 800;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table .row-title {
    font-weight: 600;
    color: var(--text-muted);
    width: 30%;
}

.compare-table .model-head {
    font-size: 17px;
    font-weight: 800;
    display: block;
}

.compare-table .model-sub {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
}

.compare-table tbody tr:hover td {
    background-color: rgba(0, 0, 0, 0.01);
}

/* ===== БЛОК 4: ТАРИФЫ ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.price-card.featured {
    border-color: var(--accent-pink);
    box-shadow: 0 15px 35px rgba(255, 46, 147, 0.05);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.price-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-main);
}

.price-target {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    color: var(--text-main);
}

.price-value span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-list li {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
    line-height: 1.4;
}

.price-list li::before {
    content: "•";
    color: var(--accent-pink);
    font-weight: 900;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

.price-list li.disabled {
    color: #a0a5b5;
    text-decoration: line-through;
}

.price-list li.disabled::before {
    color: #c0c5d5;
}

/* Кнопка внутри карточки тарифа должна быть 100% ширины */
.price-card .promo-btn {
    width: 100%;
    margin-top: auto;
}

/* ==========================================
   ЕДИНАЯ АДАПТИВНОСТЬ
   ========================================== */

/* 1. Планшеты горизонтальные / Маленькие ноутбуки (≤1024px) */
@media (max-width: 1024px) {
    .pricing-grid {
        gap: 16px;
    }
    .price-card {
        padding: 25px 20px;
    }
}

/* 2. Планшеты (≤968px) */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image-stub {
        order: -1;
        max-width: 100%;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

/* 3. Мобильные устройства (≤768px) */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .table-hint {
        display: block;
    }

    .table-wrapper {
        border-radius: 16px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .compare-table .model-head {
        font-size: 15px;
    }
}

/* 4. Маленькие смартфоны (≤576px) */
@media (max-width: 576px) {
    .about-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .price-value {
        font-size: 30px;
    }
}

/* 5. Очень узкие экраны (≤480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .about-metrics {
        grid-template-columns: 1fr;
    }

    .metric-card {
        padding: 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .price-value {
        font-size: 26px;
    }

    /* На совсем узких экранах кнопки в секциях тоже удобно делать 100% */
    .about-text .promo-btn {
        width: 100%;
    }
}