.lead-card {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.lead-body {
    padding: 1.2rem 2.25rem;
}

.lead-body > :first-child {
    margin-top: 0;
}

.lead-body h1 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--c-text);
    text-align: center;
}

.lead-stats {
    padding: 0 2.25rem 0.8rem;
    margin: 0 -2.25rem 0.5rem;
    border-bottom: 2px dashed var(--c-border);
}

.cms-txt {
    color: #475569;
    line-height: 1.85;
    font-size: 0.95rem;
}

.cms-txt h2 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--c-text);
}

.cms-txt h3,
.cms-txt h4 {
    color: var(--c-text);
    text-align: center;
}

.cms-txt p {
    color: var(--c-muted);
    line-height: 1.85;
    text-indent: 2em;
}

.cms-txt p.center {
    text-align: center;
    text-indent: 0;
    background: var(--c-bg-soft);
    padding: 10px;
    border-radius: 6px;
}

.cms-txt a {
    color: var(--c-primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--c-primary);
    transition: all 0.2s ease;
}

.cms-txt a:hover {
    color: var(--c-primary-dark);
    border-bottom-style: solid;
    background: rgba(6, 182, 212, 0.08);
    padding: 0 2px;
    margin: 0 -2px;
    border-radius: 2px;
}

.cms-txt ul,
.cms-txt ol {
    padding-left: 0;
    list-style: none;
}

.cms-txt li {
    margin-bottom: 0.6rem;
    color: var(--c-muted);
    line-height: 1.8;
}

.looking-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px;
    background: var(--c-bg-soft);
    border-radius: 6px;
    text-align: center;
}

.lg-ip {
    font-size: 0.95rem;
    color: #475569;
}

.lg-ip strong {
    color: var(--c-text);
    font-weight: 600;
}

.cms-txt .lg-test a {
    display: inline-block;
    padding: 4px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #dc2626;
    background: #fffafa;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cms-txt .lg-test a:hover {
    background: #fff5f5;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
    transform: translateY(-1px);
}

.pricing-head {
    padding-top: 15px;
}

.pricing {
    padding: 0 40px 15px;
}

.faq-section {
    padding: 15px 40px;
}

.page-nav-wrap {
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tab-box {
    margin-bottom: 1.5rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.tab-wrap {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--c-primary) #f1f5f9;
}

.tab-wrap::-webkit-scrollbar {
    height: 4px;
}

.tab-wrap::-webkit-scrollbar-thumb {
    background: var(--c-primary);
    border-radius: 2px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
}

.crumb-home {
    font-size: 0.875rem;
    color: var(--c-muted);
    text-decoration: none;
}

.crumb-home:hover {
    color: var(--c-primary-dark);
}

.crumb-sep {
    color: #cbd5e1;
}

.tab {
    display: flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-muted);
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 22px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
}

.tab:hover,
.tab.active {
    color: #fff;
    background: var(--g-primary);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.tab.active {
    cursor: default;
}

.region-sec {
    margin-bottom: 1.5rem;
    scroll-margin-top: 170px;
}

.tbl-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06);
}

.tbl {
    width: 100%;
    border-collapse: collapse;
}

.tbl-cap {
    display: table-caption;
    caption-side: top;
    padding: 1rem 1.75rem;
    background: #fff;
    border-bottom: 2px solid var(--c-border);
    text-align: center;
}

.tbl-cap strong {
    margin-right: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-text);
}

.cfg-num {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: var(--g-primary);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(6, 182, 212, 0.2);
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    border-radius: 4px;
}

.badge.merged {
    color: #1a73e8;
    background: #e8f4fd;
    font-weight: 500;
}

.tbl th {
    padding: 0.9rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-text);
    text-align: left;
    text-transform: uppercase;
    background: var(--c-bg-soft);
    border-bottom: 1px solid var(--c-border);
}

.tbl td {
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.tbl th:first-child,
.tbl td:first-child {
    padding-left: 1.75rem;
}

.tbl tbody tr {
    background: #fff;
    transition: all 0.2s;
}

.tbl tbody tr:hover {
    background: rgba(6, 182, 212, 0.03);
}

.tbl tbody tr:last-child td {
    border-bottom: none;
}

.tbl .tier-badge {
    margin-left: 0.5rem;
}

.td-price {
    font-weight: bold;
}

.btn-buy {
    display: inline-block;
    padding: 0.5rem 1.15rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: var(--g-primary);
    border-radius: 22px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.empty {
    padding: 3rem;
    text-align: center;
    background: var(--c-bg-soft);
    border-radius: 14px;
}

.empty p {
    font-size: 1rem;
    color: #94a3b8;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
    box-sizing: border-box;
}

.rec {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 14px 16px;
    background: var(--c-bg-soft);
    border: 1px solid #cbd5e1;
    border-left-width: 4px;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.rec:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

.rec-child {
    border-left-color: var(--c-primary);
}

.rec-child:hover {
    border-left-color: var(--c-primary-dark);
}

.rec-related {
    border-left-color: #7dd3fc;
}

.rec-related:hover {
    border-left-color: #38bdf8;
}

.rec-tit {
    font-size: 14px;
    font-weight: 600;
    color: #1a73e8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec:hover .rec-tit {
    color: var(--c-primary-dark);
}

.rec-txt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
    word-break: break-word;
}

@media (max-width: 768px) {
    .lead-card {
        border-radius: 10px;
    }

    .lead-body {
        padding: 0.75rem 0.5rem 0.5rem;
    }

    .lead-body h1 {
        margin: 0 0 0.4rem;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .lead-stats {
        padding: 0 0.5rem 0.5rem;
        margin: 0 -0.5rem;
    }

    .cms-txt {
        font-size: 0.7rem;
        line-height: 1.6;
    }

    .cms-txt h2 {
        margin: 0;
        font-size: 0.8rem;
        font-weight: 700;
    }

    .cms-txt h3,
    .cms-txt h4,
    .cms-txt p {
        font-size: 0.7rem;
    }

    .cms-txt a {
        font-weight: 600;
    }

    .cms-txt li {
        font-size: 0.78rem;
    }

    .looking-glass {
        gap: 4px;
        padding: 8px 10px;
        border-radius: 4px;
    }

    .lg-ip {
        font-size: 0.75rem;
    }

    .cms-txt .lg-test a {
        padding: 3px 12px;
        font-size: 0.72rem;
        border-radius: 4px;
    }

    .pricing-head {
        padding-top: 12px;
    }

    .pricing {
        padding: 0 0 12px;
    }

    .faq-section {
        padding: 12px 0;
    }

    .page-nav-wrap {
        top: 50px;
    }

    .tab-box {
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }

    .tabs {
        gap: 0.35rem;
        padding: 0.45rem 0.6rem;
    }

    .crumb-home {
        font-size: 0.7rem;
    }

    .tab {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 14px;
    }

    .region-sec {
        margin-bottom: 1rem;
        scroll-margin-top: 140px;
    }

    .tbl-wrap {
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .tbl-cap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .tbl-cap strong {
        margin: 0;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .tbl-cap .cfg-num {
        flex-shrink: 0;
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }

    .tbl {
        display: block;
    }

    .tbl thead {
        display: none;
    }

    .tbl tbody {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .tbl tbody tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.4rem;
        padding: 0.75rem;
        background: var(--c-bg-soft);
        border: 1px solid var(--c-border);
        border-radius: 10px;
    }

    .tbl tbody tr:hover {
        background: #f1f5f9;
        border-color: rgba(6, 182, 212, 0.3);
    }

    .tbl td,
    .tbl td:first-child {
        display: inline-flex;
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        line-height: 1.3;
        color: var(--c-text);
        background: #fff;
        border: 1px solid var(--c-border);
        border-radius: 4px;
    }

    .tbl td:empty {
        display: none;
    }

    .tbl .td-line,
    .tbl td[data-label="DDoS"] {
        color: #fff;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        border-color: transparent;
    }

    .tbl .td-line .badge {
        padding: 0;
        font-size: 0.7rem;
        color: #fff;
        background: transparent;
    }

    .tbl .td-price {
        order: 11;
        width: 100%;
        margin-top: 0.5rem;
        padding: 8px 0 0;
        background: transparent;
        border: none;
        border-top: 1px solid var(--c-border);
        border-radius: 0;
    }

    .price-current {
        font-size: 1rem;
        color: #ea580c;
    }

    .tbl .td-act {
        order: 12;
        margin-left: auto;
        margin-top: -30px;
        padding: 0;
        background: transparent;
        border: none;
    }

    .tbl .tier-badge {
        margin-left: 0.3rem;
    }

    .btn-buy {
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
        border-radius: 20px;
    }

    .btn-buy:hover {
        transform: none;
    }

    .empty {
        padding: 2rem 1rem;
    }

    .empty p {
        font-size: 0.875rem;
    }

    .rec-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-top: 8px;
    }

    .rec {
        gap: 4px;
        padding: 6px 8px;
        border-left-width: 3px;
        border-radius: 6px;
    }

    .rec:hover {
        transform: none;
    }

    .rec-tit {
        font-size: 11px;
    }

    .rec-txt {
        font-size: 10px;
        -webkit-line-clamp: 1;
    }
}

@media print {
    .inner-hero,
    .faq-section,
    .rec-grid,
    .page-nav-wrap,
    .btn-buy,
    header,
    footer {
        display: none !important;
    }

    body,
    .tbl-cap,
    .tbl th {
        color: #000;
        background: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .pricing {
        padding: 0;
    }

    .tbl-wrap {
        border: 1px solid #333;
        box-shadow: none;
    }

    .tbl td {
        border-bottom: 1px solid #ddd;
    }
}
