/* ============================================
   PRICING PAGE - MODERN REDESIGN
   ============================================ */

/* Sticky header background — match page bg */
.rts-header.header-sticky {
    background: #F4F9FF !important;
}

/* --- Section Header & Title --- */
.pricing-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-section-header .section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 12px;
    line-height: 1.3;
}

.pricing-section-header .section-subtitle {
    font-size: 17px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* --- Period Toggle (used on sub-pages) --- */
.period-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.period-toggle {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 5px;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.period-toggle .toggle-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 50px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.period-toggle .toggle-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.period-toggle .toggle-btn:hover:not(.active) {
    color: #3b82f6;
}

.discount-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 50px;
    padding: 8px 20px;
    animation: discount-pulse 2s ease-in-out infinite;
}

.discount-banner i {
    color: #d97706;
    font-size: 16px;
}

.discount-banner span {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
}

@keyframes discount-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* --- Location Selector --- */
.location-section {
    margin-bottom: 40px;
}

.location-section-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
}

.location-section-title i {
    color: #3b82f6;
    margin-right: 8px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

.location-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}

.location-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.18);
}

.location-card:hover::before {
    transform: scaleX(1);
}

.location-card.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.location-card.active::before {
    transform: scaleX(1);
}

.location-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.5);
}

.location-card .flag-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.location-card .flag-icon svg {
    width: 32px;
    height: 22px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.location-card .loc-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.location-card .loc-speed {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 3px 10px;
}

.location-card .loc-speed i {
    font-size: 10px;
}

.location-card.disabled .loc-speed {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.location-card .loc-badge-soon {
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 20px;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Location Sold Out Banner --- */
.location-soldout-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 24px;
}

.location-soldout-banner > i {
    font-size: 22px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-soldout-banner div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-soldout-banner strong {
    font-size: 15px;
    font-weight: 700;
    color: #991b1b;
}

.location-soldout-banner span {
    font-size: 13px;
    color: #b91c1c;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .location-soldout-banner {
        padding: 14px 16px;
        gap: 10px;
    }
    .location-soldout-banner strong { font-size: 14px; }
    .location-soldout-banner span { font-size: 12px; }
}

/* ============================================
   PRICING TABLE - Row-based Tariff List
   ============================================ */

/* Column grid for header and rows (8 columns) — одинаковые ширины, чтобы шапка совпадала со списком */
.prow-header,
.prow {
    display: grid;
    grid-template-columns: 130px 82px 100px 108px minmax(120px, 1fr) minmax(100px, max-content) 90px 120px;
    align-items: center;
    gap: 0 14px;
}

.prow-header {
    gap: 0 14px;
}

/* Table Header */
.prow-header {
    padding: 10px 18px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 6px;
}

.prow-header-col {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* тот же отступ после «Тариф», что и после названия в строке */
.prow-header-name {
    margin-right: 12px;
}

.prow-header-col i {
    font-size: 12px;
    color: #94a3b8;
}

.prow-header-price {
    justify-content: flex-end;
}

/* Tariff List */
.prow-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Single Row */
.prow {
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
    position: relative;
}

.prow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.prow:hover {
    border-color: #93c5fd;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
    background: #fafbff;
}

.prow:hover::before {
    opacity: 1;
}

/* Column base */
.prow-col {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* Name */
.prow-col-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-right: 12px;
}

.prow-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prow-yearly-hint {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.prow-discount-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #16a34a;
}

.prow-discount-tag i {
    font-size: 9px;
}

/* Values (CPU / RAM / Disk) — не переносить на новую строку */
.prow-val {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.prow-val strong {
    font-weight: 700;
    color: #1e293b;
}

.prow:hover .prow-val {
    background: #eff6ff;
    border-color: #dbeafe;
}

/* Traffic column - visual */
.prow-col-traffic {
    display: flex;
    align-items: center;
}

.prow-traffic-visual {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.prow-traffic-main {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: baseline;
    gap: 3px;
    white-space: nowrap;
    background: #f8fafc;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.prow-traffic-main strong {
    font-weight: 700;
    color: #1e293b;
}

.prow:hover .prow-traffic-main {
    background: #eff6ff;
    border-color: #dbeafe;
}

.prow-traffic-speed {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.prow-traffic-arrow {
    font-size: 10px;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.prow:hover .prow-traffic-arrow {
    color: #3b82f6;
}

.prow-traffic-unlim {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px dashed #bbf7d0;
    border-radius: 6px;
    padding: 4px 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.prow:hover .prow-traffic-unlim {
    background: #dcfce7;
    border-color: #86efac;
}

.prow-traffic-unlim i {
    font-size: 9px;
}

/* Traffic hint icon */
.prow-traffic-hint {
    font-size: 13px;
    color: #cbd5e1;
    cursor: help;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.prow-traffic-visual:hover .prow-traffic-hint {
    color: #3b82f6;
}

/* Custom Tooltip - opens downward */
.prow-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: #1e293b;
    border-radius: 12px;
    padding: 16px 18px;
    z-index: 1000;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.prow-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #1e293b;
}

.prow-traffic-visual:hover .prow-tooltip {
    display: block;
    animation: tooltipIn 0.2s ease;
}

@keyframes tooltipIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.prow-tooltip-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prow-tooltip-title i {
    font-size: 14px;
    color: #60a5fa;
}

.prow-tooltip-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
}

.prow-tooltip-row strong {
    color: #ffffff;
    font-weight: 700;
}

.prow-tooltip-icon {
    font-size: 10px;
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 3px;
    width: 14px;
    text-align: center;
}

.prow-tooltip-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: #94a3b8;
    font-style: italic;
}

/* Extras column (KVM, IPv6, DDoS) */
.prow-col-extras {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.prow-extra {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 2px 6px;
    white-space: nowrap;
    cursor: help;
    transition: all 0.2s ease;
}

.prow-extra i {
    font-size: 9px;
    color: #94a3b8;
}

.prow:hover .prow-extra {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #3b82f6;
}

.prow:hover .prow-extra i {
    color: #3b82f6;
}

/* Price - fixed min width so no overlap with button */
.prow-col-price {
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    min-width: 80px;
}

.prow-price-eur {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.prow-price-rub {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* Action */
.prow-col-action {
    justify-content: flex-end;
    min-width: 110px;
}

.prow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
}

.prow-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

.prow-btn--limited {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.18);
}

.prow-btn--limited:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    color: #ffffff;
}

.prow-btn--sold {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

/* Sold Out Row */
/* Soldout rows — hidden by default when toggle is active */
.prow-list--hide-soldout .prow--soldout {
    display: none;
}

.prow--soldout {
    opacity: 0.45;
    pointer-events: none;
    animation: soldoutFadeIn 0.4s ease both;
}

@keyframes soldoutFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 0.45; transform: translateY(0); }
}

.prow--soldout .prow-title,
.prow--soldout .prow-price-eur {
    text-decoration: line-through;
    color: #9ca3af;
}

.prow--soldout .prow-val,
.prow--soldout .prow-val strong {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.prow--soldout .prow-traffic-main,
.prow--soldout .prow-traffic-main strong,
.prow--soldout .prow-traffic-unlim {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.prow--soldout .prow-extra {
    color: #9ca3af;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

/* Toggle soldout button */
.prow-soldout-toggle {
    display: none; /* shown by JS only if soldout rows exist */
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 0;
    padding: 12px 24px;
    background: transparent;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    letter-spacing: 0.2px;
}

.prow-soldout-toggle:hover {
    border-color: #93c5fd;
    color: #3b82f6;
    background: rgba(59,130,246,0.03);
}

.prow-soldout-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.prow-soldout-toggle--open {
    border-style: solid;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.prow-soldout-toggle--open:hover {
    border-color: #fca5a5;
    color: #ef4444;
    background: rgba(239,68,68,0.03);
}

.prow-soldout-toggle--open i {
    transform: rotate(180deg);
}

/* ======= RESPONSIVE ======= */

/* Tablet: cards layout */
@media (max-width: 1100px) {
    .prow-header {
        display: none;
    }

    .prow-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .prow {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 16px;
        border-radius: 12px;
    }

    .prow-col-name { flex: 1 1 50%; order: 1; }
    .prow-col-price { flex: 0 0 auto; order: 2; margin-left: auto; }

    .prow-col-cpu,
    .prow-col-ram,
    .prow-col-disk {
        order: 3;
        background: #f8fafc;
        padding: 5px 10px;
        border-radius: 6px;
        border: 1px solid #e5e7eb;
    }

    .prow:hover .prow-col-cpu,
    .prow:hover .prow-col-ram,
    .prow:hover .prow-col-disk {
        background: #eff6ff;
        border-color: #dbeafe;
    }

    .prow-col-cpu::before { content: 'CPU '; font-size: 10px; color: #94a3b8; font-weight: 700; margin-right: 3px; }
    .prow-col-ram::before { content: 'RAM '; font-size: 10px; color: #94a3b8; font-weight: 700; margin-right: 3px; }
    .prow-col-disk::before { content: 'Диск '; font-size: 10px; color: #94a3b8; font-weight: 700; margin-right: 3px; }

    .prow-col-extras { order: 3; flex: 0 0 auto; }

    .prow-col-traffic { flex: 1 0 100%; order: 4; }

    .prow-traffic-visual { flex-wrap: wrap; }

    .prow-tooltip { left: 0; transform: none; width: 270px; }
    .prow-tooltip::after { left: 30px; transform: none; }

    .prow-col-action { flex: 1 0 100%; order: 5; }
    .prow-btn { width: 100%; justify-content: center; padding: 10px 20px; }
}

/* Mobile: 1 column cards */
@media (max-width: 768px) {
    .prow-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .prow {
        padding: 14px;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .prow-list {
        gap: 6px;
    }

    .prow {
        padding: 12px;
        gap: 6px;
        border-radius: 10px;
    }

    .prow-title { font-size: 13px; }
    .prow-val { font-size: 12px; }
    .prow-traffic-main { font-size: 12px; }
    .prow-traffic-unlim { font-size: 10px; }
    .prow-price-eur { font-size: 17px; }
    .prow-price-rub { font-size: 11px; }
    .prow-btn { padding: 9px 16px; font-size: 12px; }
}

/* --- Quick Links Section --- */
.pricing-links-section {
    margin-top: 48px;
    margin-bottom: 20px;
}

.pricing-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.pricing-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.pricing-link-btn i {
    font-size: 18px;
    flex-shrink: 0;
}

.pricing-link-btn span {
    white-space: nowrap;
}

/* --- Included Features Section --- */
.included-features-section {
    margin-top: 60px;
    padding: 0;
}

.included-features-header {
    text-align: center;
    margin-bottom: 40px;
}

.included-features-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.included-features-title {
    font-size: 30px;
    font-weight: 800;
    color: #1a1f36;
    margin: 0 0 10px;
    line-height: 1.3;
}

.included-features-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Benefit Cards Grid */
.included-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Benefit Card */
.benefit-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent, #3b82f6);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.benefit-card:hover {
    border-color: var(--accent, #3b82f6);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover::before {
    opacity: 1;
}

/* Benefit Icon */
.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light, #eff6ff);
    transition: all 0.35s ease;
}

.benefit-icon i {
    font-size: 20px;
    color: var(--accent, #3b82f6);
    transition: all 0.35s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--accent, #3b82f6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.benefit-card:hover .benefit-icon i {
    color: #ffffff;
}

/* Benefit Body */
.benefit-body {
    flex: 1;
    min-width: 0;
}

.benefit-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.benefit-desc {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Override ALL base tab__btn styles inside period toggle */
.pricing-comparison .period-toggle .tab__btn,
.rts-pricing-plan__tab .period-toggle .tab__btn,
.pricing__tab .period-toggle .tab__btn,
.period-toggle .toggle-btn.tab__btn {
    border: none !important;
    background: transparent !important;
    padding: 12px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

.pricing-comparison .period-toggle .tab__btn.active,
.rts-pricing-plan__tab .period-toggle .tab__btn.active,
.pricing__tab .period-toggle .tab__btn.active,
.period-toggle .toggle-btn.tab__btn.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

.period-toggle .toggle-btn.tab__btn:hover:not(.active) {
    color: #3b82f6 !important;
    background: transparent !important;
}

/* Hide old rts-pricing-plan__tab elements if they exist */
.pricing-comparison .rts-pricing-plan__tab.pricing__tab {
    display: none;
}

/* --- Tab Content — override style.css overflow-x:scroll --- */
.rts-pricing-plan.pricing-comparison .tab__content {
    display: none;
    overflow: visible !important;
}

.rts-pricing-plan.pricing-comparison .tab__content.open {
    display: block;
    overflow: visible !important;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .location-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 10px;
    }

    .period-toggle .toggle-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

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

@media (max-width: 768px) {
    .pricing-section-header .section-title {
        font-size: 24px;
    }

    .location-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 8px;
    }

    .location-card {
        padding: 14px 8px;
    }

    .location-card .flag-icon svg {
        width: 26px;
        height: 18px;
    }

    .location-card .loc-name {
        font-size: 13px;
    }

    .included-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .included-features-title {
        font-size: 24px;
    }

    .benefit-card {
        padding: 20px 16px;
    }

    .pricing-links-container {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-link-btn {
        justify-content: center;
    }

    .discount-banner {
        padding: 6px 14px;
    }

    .discount-banner span {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .pricing-section-header .section-title {
        font-size: 20px;
    }

    .pricing-section-header .section-subtitle {
        font-size: 14px;
    }

    .period-toggle .toggle-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

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

    .location-card .flag-icon svg {
        width: 24px;
        height: 16px;
    }

    .included-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .included-features-title {
        font-size: 20px;
    }

    .included-features-subtitle {
        font-size: 14px;
    }

    .benefit-card {
        padding: 18px 14px;
        gap: 12px;
    }

    .benefit-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 10px;
    }

    .benefit-icon i {
        font-size: 18px;
    }

    .benefit-title {
        font-size: 14px;
    }

    .benefit-desc {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .location-card {
        padding: 12px 6px;
    }

    .period-toggle .toggle-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ============================================
   ARTICLE / INFO SECTION
   ============================================ */
.article-section {
    background: #f8fafc;
}

/* Hero Intro */
.article-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.article-hero-title {
    font-size: 30px;
    font-weight: 800;
    color: #1a1f36;
    margin: 0 0 16px;
    line-height: 1.35;
}

.article-hero-text {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Two-column grid */
.article-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* Article Block (card container) */
.article-block {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    transition: box-shadow 0.3s ease;
}

.article-block:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.article-block--highlight {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Block Header */
.article-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.article-block-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--block-accent, #3b82f6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.article-block-icon i {
    font-size: 20px;
    color: #ffffff;
}

.article-block-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.article-block-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 16px;
}

.article-block-cta {
    font-size: 15px;
    color: #92400e;
    margin: 0;
    line-height: 1.6;
}

/* Article List (advantages) */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}

.article-list li:hover {
    background: #eff6ff;
    border-color: #dbeafe;
}

.article-list-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e7ff;
    margin-top: 2px;
}

.article-list-icon i {
    font-size: 16px;
    color: #4f46e5;
}

.article-list li strong {
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
}

.article-list-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.article-legacy {
    max-width: 980px;
    margin: 0 auto 32px;
}

.article-legacy-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 32px 36px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.article-legacy-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 18px;
    line-height: 1.35;
}

.article-legacy-card p {
    font-size: 16px;
    color: #374151;
    line-height: 1.8;
    margin: 0 0 14px;
}

.article-legacy-card ul {
    margin: 0 0 14px 18px;
    padding: 0;
}

.article-legacy-card li {
    margin: 6px 0;
}

.article-legacy-card hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 22px 0;
}

/* Tariff Mini Cards */
.tariff-cards-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tariff-mini {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    transition: all 0.25s ease;
}

.tariff-mini:hover {
    border-color: #c4b5fd;
    background: #faf5ff;
}

.tariff-mini--custom {
    border-style: dashed;
    border-color: #d1d5db;
    background: #fefce8;
}

.tariff-mini--custom:hover {
    border-color: #fbbf24;
    background: #fffbeb;
}

.tariff-mini-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.tariff-mini-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.tariff-mini-price {
    font-size: 14px;
    font-weight: 700;
    color: #7c3aed;
    background: #ede9fe;
    padding: 3px 12px;
    border-radius: 20px;
}

.tariff-mini--custom .tariff-mini-price {
    color: #d97706;
    background: #fef3c7;
}

.tariff-mini-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.55;
}

.tariff-mini-desc strong {
    color: #374151;
}

/* Use Case Tags */
.usecase-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.usecase-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #166534;
    transition: all 0.25s ease;
}

.usecase-tag:hover {
    background: #dcfce7;
    border-color: #86efac;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.1);
}

.usecase-tag i {
    font-size: 15px;
    color: #16a34a;
    flex-shrink: 0;
}

/* FAQ Header */
/* ============================================
   NEW FAQ SECTION
   ============================================ */
.fn-faq {
    margin-top: 48px;
    margin-bottom: 0;
}

.fn-faq-header {
    text-align: center;
    margin-bottom: 36px;
}

.fn-faq-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fn-faq-badge i { font-size: 11px; }

.fn-faq-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px;
}

.fn-faq-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}

/* FAQ Items */
.fn-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.fn-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.fn-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.fn-faq-item.fn-faq-item--open {
    border-color: #93c5fd;
    box-shadow: 0 4px 16px rgba(59,130,246,0.08);
}

.fn-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.fn-faq-question:hover {
    background: #fafbff;
}

.fn-faq-question-text {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0;
}

.fn-faq-item--open .fn-faq-question-text {
    color: #2563eb;
}

.fn-faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.fn-faq-item--open .fn-faq-icon {
    background: #2563eb;
    color: #fff;
    transform: rotate(180deg);
}

.fn-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.fn-faq-item--open .fn-faq-answer {
    max-height: 300px;
}

.fn-faq-answer-inner {
    padding: 0 22px 20px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* Legacy fallback */
.article-faq-header {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 32px;
}

.article-faq-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1f36;
    margin: 0;
}

/* --- Article Responsive --- */
@media (max-width: 991px) {
    .article-columns {
        grid-template-columns: 1fr;
    }

    .article-hero-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .article-hero-title {
        font-size: 22px;
    }

    .article-hero-text {
        font-size: 15px;
    }

    .article-block {
        padding: 24px 20px;
    }

    .article-block-title {
        font-size: 18px;
    }

    .article-list li {
        padding: 12px 14px;
    }

    .usecase-tag {
        padding: 10px 14px;
        font-size: 13px;
    }

    .article-faq-title { font-size: 22px; }
    .fn-faq-title { font-size: 24px; }
    .fn-faq-question { padding: 16px 18px; }
    .fn-faq-question-text { font-size: 14px; }
}

@media (max-width: 576px) {
    .article-hero {
        margin-bottom: 32px;
    }

    .article-hero-title {
        font-size: 20px;
    }

    .article-block {
        padding: 20px 16px;
    }

    .article-block-header {
        gap: 10px;
        margin-bottom: 18px;
    }

    .article-block-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .article-block-icon i {
        font-size: 17px;
    }

    .article-block-title {
        font-size: 17px;
    }

    .article-list li {
        flex-direction: column;
        gap: 8px;
    }

    .usecase-tag {
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .article-faq-title { font-size: 20px; }
    .article-faq-header { margin-top: 32px; margin-bottom: 24px; }
    .fn-faq-title { font-size: 20px; }
    .fn-faq { margin-top: 32px; }
    .fn-faq-question { padding: 14px 16px; }
    .fn-faq-question-text { font-size: 13px; }
    .fn-faq-answer-inner { font-size: 13px; padding: 0 16px 16px; }
    .fn-faq-icon { width: 26px; height: 26px; font-size: 10px; }
}

/* ============================================
   HI-CPU PROMO BLOCK
   ============================================ */
.hicpu-promo {
    position: relative;
    background: linear-gradient(135deg, #fff7ed 0%, #fff1e6 40%, #fef3ec 100%);
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 48px 40px;
    margin-top: 40px;
    overflow: hidden;
    color: #1e293b;
}

.hicpu-promo::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hicpu-promo::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hicpu-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hicpu-promo-badge i {
    font-size: 13px;
}

.hicpu-promo-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hicpu-promo-title span {
    background: linear-gradient(135deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hicpu-promo-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.6;
}

/* Benchmark comparison bars */
.hicpu-benchmarks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.hicpu-bench-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.hicpu-bench-card:hover {
    border-color: #fdba74;
    box-shadow: 0 4px 16px rgba(249,115,22,0.1);
}

.hicpu-bench-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.hicpu-bench-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hicpu-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hicpu-bar-cpu {
    font-size: 11px;
    font-weight: 600;
    width: 80px;
    flex-shrink: 0;
    text-align: right;
}

.hicpu-bar-cpu--intel { color: #3b82f6; }
.hicpu-bar-cpu--amd { color: #ea580c; }

.hicpu-bar-track {
    flex: 1;
    height: 24px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.hicpu-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 11px;
    font-weight: 700;
    transition: width 1s ease;
}

.hicpu-bar-fill--intel {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    color: #fff;
}

.hicpu-bar-fill--amd {
    background: linear-gradient(90deg, #f97316, #fb923c);
    color: #fff;
}

.hicpu-bench-gain {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    margin-top: 8px;
}

.hicpu-bench-gain i {
    font-size: 10px;
}

/* Real-world acceleration examples */
.hicpu-realworld {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.hicpu-rw-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.hicpu-rw-card:hover {
    border-color: #fdba74;
    box-shadow: 0 4px 16px rgba(249,115,22,0.1);
    transform: translateY(-2px);
}

.hicpu-rw-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.hicpu-rw-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.hicpu-rw-boost {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hicpu-rw-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

/* CTA button */
.hicpu-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249,115,22,0.3);
    position: relative;
    z-index: 1;
}

.hicpu-promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249,115,22,0.4);
    color: #fff;
    text-decoration: none;
}

.hicpu-promo-cta i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.hicpu-promo-cta:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1100px) {
    .hicpu-promo {
        padding: 36px 28px;
    }
    .hicpu-benchmarks {
        grid-template-columns: 1fr;
    }
    .hicpu-realworld {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hicpu-promo {
        padding: 28px 20px;
    }
    .hicpu-promo-title {
        font-size: 22px;
    }
    .hicpu-realworld {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .hicpu-rw-boost {
        font-size: 18px;
    }
    .hicpu-bar-cpu {
        width: 60px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .hicpu-promo {
        padding: 24px 16px;
        border-radius: 14px;
    }
    .hicpu-promo-title {
        font-size: 19px;
    }
    .hicpu-realworld {
        grid-template-columns: 1fr;
    }
    .hicpu-promo-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* ============================================
   INDEX PAGE — Card Plan Overrides
   ============================================ */
.rts-pricing-plan .card-plan {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.rts-pricing-plan .card-plan:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 8px 32px rgba(59,130,246,0.1);
}

.rts-pricing-plan .card-plan.active {
    border-color: #3b82f6;
    box-shadow: 0 8px 32px rgba(59,130,246,0.15);
}

.rts-pricing-plan .card-plan.active .popular-tag {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.rts-pricing-plan .card-plan .card-plan__package {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rts-pricing-plan .card-plan .card-plan__package .icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}

.rts-pricing-plan .card-plan .card-plan__package .icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.rts-pricing-plan .card-plan .package__name {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.rts-pricing-plan .card-plan .card-plan__price {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin: 12px 0 16px;
}

.rts-pricing-plan .card-plan .card-plan__price sub {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.rts-pricing-plan .card-plan .card-plan__cartbtn a {
    display: block;
    max-width: 100% !important;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(37,99,235,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rts-pricing-plan .card-plan .card-plan__cartbtn a:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
    color: #fff !important;
}

/* Отключаем стандартный hover override из style.css */
.rts-pricing-plan .card-plan:hover .card-plan__cartbtn a,
.rts-pricing-plan .card-plan.active .card-plan__cartbtn a {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    color: #fff !important;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-item:last-child {
    border-bottom: none;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-item .text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-item .text i {
    font-size: 20px !important;
    width: 24px;
    text-align: center;
    margin-right: 4px;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-trigered {
    padding: 10px 0 4px;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-trigered .text {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    cursor: pointer;
    transition: color 0.2s;
}

.rts-pricing-plan .card-plan .card-plan__feature--list-trigered .text:hover {
    color: #1d4ed8;
}

/* Tab buttons override */
.rts-pricing-plan .plan__tab .tab__button .tab__button__item .tab__price {
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    transition: all 0.25s ease;
}

.rts-pricing-plan .plan__tab .tab__button .tab__button__item .tab__price.active {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 2px 10px rgba(37,99,235,0.25);
}

.rts-pricing-plan .plan__tab .discount p {
    color: #16a34a;
    font-weight: 700;
    font-size: 13px;
}

/* View all button */
.view-plan-btn {
    text-align: center;
    margin-top: 32px;
}

.view-plan-btn .btn.long-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(37,99,235,0.25);
    border: none;
}

.view-plan-btn .btn.long-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 6px 24px rgba(37,99,235,0.35);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================
   TARIFF WIZARD
   ============================================ */
.fn-wizard-section {
    padding: 60px 0 0;
}

.fn-wizard {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    max-width: 720px;
    margin: 0 auto 48px;
    position: relative;
    overflow: hidden;
}

/* Progress bar */
.fn-wiz-progress {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 32px;
}

.fn-wiz-progress-step {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: #e5e7eb;
    transition: background 0.4s ease;
}

.fn-wiz-progress-step.active {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.fn-wiz-progress-step.done {
    background: #22c55e;
}

/* Step content */
.fn-wiz-step {
    display: none;
    animation: fnWizFadeIn 0.35s ease;
}

.fn-wiz-step.active {
    display: block;
}

@keyframes fnWizFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fn-wiz-question {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fn-wiz-hint {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

/* Option buttons */
.fn-wiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.fn-wiz-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.fn-wiz-opt:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

.fn-wiz-opt i {
    font-size: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.fn-wiz-opt span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fn-wiz-opt-sub {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

/* Back button */
.fn-wiz-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 8px 16px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
}

.fn-wiz-back:hover { color: #2563eb; }
.fn-wiz-back i { font-size: 11px; }

/* Result card */
.fn-wiz-result {
    text-align: center;
}

.fn-wiz-result-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.fn-wiz-result-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.fn-wiz-result-line {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.fn-wiz-result-line strong { color: #1e293b; }

.fn-wiz-result-specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.fn-wiz-spec {
    text-align: center;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    min-width: 90px;
}

.fn-wiz-spec-val {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 4px;
}

.fn-wiz-spec-label {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fn-wiz-result-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
    margin-top: 8px;
}

.fn-wiz-result-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 6px 24px rgba(37,99,235,0.4);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.fn-wiz-restart {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 16px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}

.fn-wiz-restart:hover { color: #2563eb; }

/* ============================================
   TARIFF COMPARISON CARDS
   ============================================ */
.fn-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.fn-compare-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
}

.fn-compare-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 20px rgba(59,130,246,0.08);
}

.fn-compare-card--highlight {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59,130,246,0.1);
}

.fn-compare-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fn-compare-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.fn-compare-cpu {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.fn-compare-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.4;
}

.fn-compare-row i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 12px;
}

.fn-compare-row i.fa-check { color: #22c55e; }
.fn-compare-row i.fa-minus { color: #cbd5e1; }

.fn-compare-row span { color: #475569; }

.fn-compare-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: gap 0.2s;
}

.fn-compare-link:hover { gap: 10px; color: #1d4ed8; }
.fn-compare-link i { font-size: 11px; }

/* Responsive */
@media (max-width: 768px) {
    .fn-wizard { padding: 28px 20px; }
    .fn-wiz-question { font-size: 18px; }
    .fn-wiz-options { grid-template-columns: 1fr; }
    .fn-compare-grid { grid-template-columns: 1fr; }
    .fn-wiz-result-specs { gap: 10px; }
    .fn-wiz-spec { min-width: 70px; padding: 10px 12px; }
}

@media (max-width: 576px) {
    .fn-wizard { padding: 20px 16px; border-radius: 14px; }
    .fn-wiz-question { font-size: 16px; }
    .fn-wiz-opt { padding: 12px 14px; font-size: 13px; }
}

/* ============================================
   PRICING CARDS v2 — 2026 Redesign
   ============================================ */

/* --- Controls Row --- */
.pc-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

/* --- Period Switch (pill toggle) --- */
.pc-period-switch {
    position: relative;
    display: inline-flex;
    background: #0f172a;
    border-radius: 12px;
    padding: 4px;
    gap: 0;
}

.pc-period-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 10px;
    transition: color 0.3s;
    white-space: nowrap;
    font-family: inherit;
}

.pc-period-btn.active {
    color: #fff;
}

.pc-period-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 12px rgba(37,99,235,0.4);
}

.pc-period-save {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    margin-left: 4px;
    letter-spacing: 0.3px;
    vertical-align: middle;
    line-height: 1.4;
}

/* --- Plan Type Switcher --- */
.pc-type-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.pc-type-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.pc-type-btn:hover {
    border-color: #93c5fd;
    background: #f8faff;
}

.pc-type-btn.active {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15), 0 4px 16px rgba(59,130,246,0.08);
}

.pc-type-btn.pc-type-btn--hicpu.active {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.15), 0 4px 16px rgba(249,115,22,0.08);
}

.pc-type-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    transition: all 0.3s;
    flex-shrink: 0;
}

.pc-type-btn.active .pc-type-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.pc-type-btn.pc-type-btn--hicpu.active .pc-type-icon {
    background: linear-gradient(135deg, #ea580c, #f97316);
    box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.pc-type-icon i {
    font-size: 16px;
    color: #64748b;
    transition: color 0.3s;
}

.pc-type-btn.active .pc-type-icon i {
    color: #fff;
}

.pc-type-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.pc-type-label {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.pc-type-desc {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.pc-type-badge {
    position: absolute;
    top: -7px;
    right: -5px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}

/* Panel */
.pc-panel { width: 100%; }

/* ============================================
   Card v2 — dark accent bar + glass feel
   ============================================ */
.pc2 {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pc2:hover {
    border-color: #93c5fd;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(59,130,246,0.15);
}

.pc2--hicpu:hover {
    border-color: #fdba74;
    box-shadow: 0 20px 40px -12px rgba(249,115,22,0.15);
}

/* Top accent bar */
.pc2-accent {
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    flex-shrink: 0;
}

.pc2--hicpu .pc2-accent {
    background: linear-gradient(90deg, #f97316, #ef4444);
}

/* Featured card */
.pc2--featured {
    border-color: #3b82f6;
    box-shadow: 0 8px 30px -8px rgba(59,130,246,0.18);
}

.pc2--featured.pc2--hicpu {
    border-color: #f97316;
    box-shadow: 0 8px 30px -8px rgba(249,115,22,0.18);
}

.pc2--featured .pc2-accent {
    height: 5px;
}

/* Badge */
.pc2-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.pc2--hicpu .pc2-badge {
    background: linear-gradient(135deg, #ea580c, #ef4444);
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}

/* Body */
.pc2-body {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Name */
.pc2-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

/* Price */
.pc2-price {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.pc2-price span {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0;
}

/* Specs list */
.pc2-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pc2-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.pc2-specs li:last-child {
    border-bottom: none;
}

.pc2-specs li i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    flex-shrink: 0;
}

.pc2-specs li b {
    font-weight: 700;
    color: #0f172a;
}

.pc2:hover .pc2-specs li i {
    color: #3b82f6;
}

.pc2--hicpu:hover .pc2-specs li i {
    color: #f97316;
}

/* Button */
.pc2-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #0f172a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: auto;
    letter-spacing: 0.3px;
}

.pc2-btn:hover {
    background: #2563eb;
    box-shadow: 0 6px 20px rgba(37,99,235,0.3);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.pc2-btn i {
    font-size: 11px;
    transition: transform 0.25s;
}

.pc2-btn:hover i {
    transform: translateX(3px);
}

.pc2-btn--hicpu:hover {
    background: #ea580c;
    box-shadow: 0 6px 20px rgba(249,115,22,0.3);
}

/* ============================================
   Common Features v2
   ============================================ */
.pc2-features {
    margin-top: 24px;
    padding: 18px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.pc2-features-title {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pc2-features-title i {
    font-size: 14px;
    color: #22c55e;
}

.pc2-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pc2-feat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.pc2-feat:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #2563eb;
}

.pc2-feat i {
    font-size: 12px;
    color: #3b82f6;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991px) {
    .pc-type-switcher {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .pc-type-btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pc-period-btn {
        padding: 9px 22px;
        font-size: 13px;
    }
    .pc2-body {
        padding: 18px 16px 16px;
        gap: 12px;
    }
    .pc2-name { font-size: 16px; }
    .pc2-price { font-size: 22px; }
    .pc2-specs li { padding: 7px 0; font-size: 13px; }
    .pc2-btn { padding: 10px 16px; font-size: 12px; }
    .pc2-features { padding: 14px 16px; }
    .pc2-feat { font-size: 11px; padding: 5px 10px; }
}

@media (max-width: 576px) {
    .pc-type-btn {
        padding: 10px 16px;
        gap: 10px;
    }
    .pc-type-icon { width: 34px; height: 34px; }
    .pc-type-label { font-size: 14px; }
    .pc-type-desc { font-size: 10px; }
    .pc-period-btn { padding: 8px 18px; font-size: 12px; }
    .pc2-body { padding: 16px 14px 14px; }
    .pc2-name { font-size: 15px; }
    .pc2-price { font-size: 20px; }
    .pc2-specs li { padding: 6px 0; font-size: 12px; gap: 8px; }
    .pc2-btn { padding: 10px 14px; }
    .pc2-features { padding: 12px; margin-top: 16px; }
    .pc2-features-title { font-size: 12px; }
    .pc2-feat { font-size: 11px; padding: 4px 8px; }
}
