/* proxy-products.html — detailed product comparison matrix */

.pp-section { padding: 64px 0 72px; }
.pp-section--alt { background: #f8f9fc; }

/* Hero stats panel — platform / coverage / protocols */
.pp-hero-panel {
    max-width: 780px;
    margin: 18px auto 22px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pp-hero-panel-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pp-hero-panel-row + .pp-hero-panel-row {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pp-hero-panel-row--platform {
    gap: 32px;
}

.pp-hero-panel-row--coverage {
    flex-wrap: nowrap;
    gap: 8px;
}

@media (max-width: 899px) {
    .pp-hero-panel-row--coverage {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 6px;
    }

    .pp-hero-panel-row--coverage .pp-hero-panel-divider {
        display: none;
    }
}

@media (min-width: 900px) {
    .pp-hero-panel-row--coverage .pp-hero-metric {
        padding: 0 14px;
    }

    .pp-hero-metric-value {
        font-size: 1.42rem;
    }

    .pp-hero-metric-label {
        font-size: 0.72rem;
    }
}

.pp-hero-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 0 20px;
    text-align: center;
    gap: 6px;
}

.pp-hero-panel-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.24);
    flex-shrink: 0;
}

.pp-hero-metric-value {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.pp-hero-metric-label {
    font-size: 0.76rem;
    font-weight: 500;
    opacity: 0.88;
    margin-top: 0;
    line-height: 1.35;
}

.pp-hero-panel-row--protocols {
    gap: 12px;
}

.pp-hero-protocols-label {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.82;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-right: 6px;
}

.pp-hero-protocol-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 13px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
}

@media (max-width: 720px) {
    .pp-hero-panel {
        padding: 16px 14px;
    }

    .pp-hero-panel-row--coverage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 8px;
    }

    .pp-hero-panel-row--coverage .pp-hero-metric {
        padding: 0 6px;
    }

    .pp-hero-metric-value {
        font-size: 1.35rem;
    }

    .pp-hero-panel-row--protocols {
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .pp-hero-panel-row--platform .pp-hero-metric {
        padding: 0 12px;
    }

    .pp-hero-protocol-pill {
        padding: 4px 10px;
        font-size: 0.74rem;
    }
}

.pp-pricing-footnote {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    text-align: center;
}

.pp-pricing-footnote-star {
    margin-right: 3px;
}

.pp-pricing-links {
    margin: 10px 0 0;
    font-size: 0.88rem;
}

.pp-matrix-shell {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.pp-matrix-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 993px) {
    .pp-matrix-scroll {
        overflow-x: visible;
    }
}

.pp-matrix-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0 0 12px;
}

.pp-matrix {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.pp-matrix th,
.pp-matrix td {
    padding: 9px 5px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    vertical-align: middle;
    text-align: center;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.pp-matrix tbody tr:last-child td,
.pp-matrix tbody tr:last-child th {
    border-bottom: none;
}

.pp-matrix-corner {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 10.5%;
    min-width: 0;
    max-width: none;
    text-align: left !important;
    font-weight: 700;
    font-size: 0.76rem;
    color: var(--text);
    background: #fff;
    box-shadow: 4px 0 12px rgba(15, 23, 42, 0.04);
    padding-left: 10px !important;
    padding-right: 8px !important;
}

.pp-matrix-row-label {
    position: sticky;
    left: 0;
    z-index: 2;
    text-align: left !important;
    font-weight: 600;
    font-size: 0.74rem;
    color: var(--text);
    background: #fafbfc;
    box-shadow: 4px 0 12px rgba(15, 23, 42, 0.03);
    padding-left: 10px !important;
    padding-right: 8px !important;
}

.pp-matrix tbody tr:nth-child(even) .pp-matrix-row-label {
    background: #f6f7fa;
}

.pp-matrix-group th {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px 4px 8px;
    border-bottom: none;
    color: #fff;
    line-height: 1.25;
}

.pp-net-res { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.pp-net-mobile { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.pp-net-biz { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); }
.pp-net-dc { background: linear-gradient(135deg, #475569 0%, #334155 100%); }

.pp-product-head {
    min-width: 0;
    background: #fafbfc;
    border-bottom: 1px solid var(--border);
    padding: 10px 4px !important;
}

.pp-product-head-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pp-product-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.pp-product-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    max-width: none;
    hyphens: auto;
}

.pp-product-price {
    font-size: 0.64rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1.2;
}

.pp-cell-text {
    color: var(--text-secondary);
    font-size: 0.72rem;
    line-height: 1.3;
}

.pp-cell-yes {
    color: #389e0d;
    font-weight: 800;
    font-size: 0.92rem;
}

.pp-cell-no {
    color: #cbd5e1;
    font-weight: 600;
}

.pp-cell-maybe {
    color: #667eea;
    font-weight: 700;
    font-size: 0.72rem;
}

.pp-trust {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: 100%;
}

.pp-trust--high { background: rgba(82, 196, 26, 0.12); color: #389e0d; }
.pp-trust--mobile { background: rgba(17, 153, 142, 0.12); color: #0d9488; }
.pp-trust--biz { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.pp-trust--speed { background: rgba(71, 85, 105, 0.12); color: #475569; }

.pp-matrix-actions td {
    padding: 12px 4px 14px;
    background: #fafbfc;
    vertical-align: top;
}

.pp-matrix-actions .pp-matrix-row-label {
    background: #f3f4f8;
}

.pp-btn-buy {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pp-btn-buy:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.35);
}

.pp-btn-learn {
    display: block;
    margin-top: 6px;
    font-size: 0.64rem;
    font-weight: 600;
    color: #667eea;
    text-decoration: none;
    line-height: 1.25;
}

.pp-btn-learn:hover { text-decoration: underline; }

.pp-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin: 0 0 28px;
}

.pp-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pp-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.pp-legend-dot--res { background: linear-gradient(135deg, #667eea, #764ba2); }
.pp-legend-dot--mobile { background: linear-gradient(135deg, #11998e, #38ef7d); }
.pp-legend-dot--biz { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.pp-legend-dot--dc { background: linear-gradient(135deg, #64748b, #334155); }

.pp-network-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 36px;
}

.pp-network-card {
    border-radius: 14px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    background: #fff;
    text-align: left;
}

.pp-network-card h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-network-card p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.pp-network-card--res { border-top: 3px solid #667eea; }
.pp-network-card--mobile { border-top: 3px solid #11998e; }
.pp-network-card--biz { border-top: 3px solid #2563eb; }
.pp-network-card--dc { border-top: 3px solid #64748b; }

.pp-pick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.pp-pick-grid .scenario-card {
    height: 100%;
    margin: 0;
}

@media (max-width: 992px) {
    .pp-network-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-matrix {
        min-width: 880px;
        table-layout: auto;
    }
    .pp-matrix-scroll-hint { display: block; }
}

@media (max-width: 640px) {
    .pp-network-cards { grid-template-columns: 1fr; }
    .pp-pick-grid { grid-template-columns: 1fr; }
    .pp-matrix-scroll-hint { display: block; }
    .pp-section { padding: 48px 0 56px; }
}
