/* =====================================================
   ITDR Gateway Enhanced — 产品页新增 Section 专属样式
   ===================================================== */

/* =====================================================
   Section: 三大威胁背景 (threat-card)
   ===================================================== */
.threat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(54, 201, 88, 0.5);
    border-radius: 4px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.threat-card:hover {
    border-color: rgba(54, 201, 88, 0.5);
    border-left-color: #36c958;
    background: rgba(54, 201, 88, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(54, 201, 88, 0.08);
}

.threat-card-icon {
    color: #36c958;
    margin-bottom: 16px;
}

.threat-card-title {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.threat-card-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    margin-bottom: 14px;
}

.threat-card-tools {
    display: inline-block;
    font-size: 12px;
    color: rgba(54, 201, 88, 0.7);
    font-style: italic;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

/* =====================================================
   Section: ITDR vs 传统方案 (itdr-compare-table)
   ===================================================== */
.compare-table-wrapper {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.itdr-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.itdr-compare-table th {
    background: rgba(54, 201, 88, 0.1);
    color: #36c958;
    font-weight: 600;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(54, 201, 88, 0.2);
    letter-spacing: 0.5px;
    font-size: 13px;
}

.itdr-compare-table th:first-child {
    width: 22%;
}

.itdr-compare-table td {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
    vertical-align: middle;
    line-height: 1.5;
}

.itdr-compare-table td:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
    letter-spacing: 0.3px;
}

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

.itdr-compare-table tr:hover td {
    background: rgba(255, 255, 255, 0.018);
}

.compare-no {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 77, 79, 0.85);
    font-size: 13px;
}

.compare-yes {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #36c958;
    font-size: 13px;
    font-weight: 600;
}

/* 手机端对比表横向滚动 */
.compare-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =====================================================
   Section: 四层纵深防御架构 (arch-layer-card)
   ===================================================== */
.arch-layer-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 28px 22px 24px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.arch-layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(54, 201, 88, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 4px 4px 0 0;
}

.arch-layer-card:hover {
    border-color: rgba(54, 201, 88, 0.35);
    background: rgba(54, 201, 88, 0.035);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(54, 201, 88, 0.08);
}

.arch-layer-card:hover::before {
    opacity: 1;
}

.arch-layer-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(54, 201, 88, 0.12);
    border: 2px solid rgba(54, 201, 88, 0.35);
    color: #36c958;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.arch-layer-en {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(54, 201, 88, 0.65);
    margin-bottom: 5px;
    font-weight: 500;
}

.arch-layer-cn {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.arch-layer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.arch-layer-list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
    padding: 5px 0 5px 16px;
    position: relative;
    line-height: 1.55;
}

.arch-layer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(54, 201, 88, 0.5);
}

.arch-layer-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(54, 201, 88, 0.1);
    border: 1px solid rgba(54, 201, 88, 0.28);
    color: #36c958;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 架构流程指示器 */
.arch-flow-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.arch-flow-step {
    display: flex;
    align-items: center;
    gap: 0;
}

.arch-flow-node {
    background: rgba(54, 201, 88, 0.1);
    border: 1px solid rgba(54, 201, 88, 0.3);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.arch-flow-node strong {
    color: #36c958;
}

.arch-flow-arrow {
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, rgba(54, 201, 88, 0.4), rgba(54, 201, 88, 0.2));
    position: relative;
    flex-shrink: 0;
}

.arch-flow-arrow::after {
    content: '›';
    position: absolute;
    right: -2px;
    top: -9px;
    color: rgba(54, 201, 88, 0.5);
    font-size: 16px;
}

/* =====================================================
   Section: 客户实战案例 (case-card)
   ===================================================== */
.case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
    border-color: rgba(54, 201, 88, 0.3);
    background: rgba(54, 201, 88, 0.025);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(54, 201, 88, 0.07);
}

.case-card-industry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(54, 201, 88, 0.1);
    border: 1px solid rgba(54, 201, 88, 0.22);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #36c958;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.case-card-icon {
    color: #36c958;
}

.case-card-bg {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.65;
    margin-bottom: 18px;
}

.case-card-results {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.case-card-results li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    padding: 5px 0 5px 20px;
    position: relative;
    line-height: 1.5;
}

.case-card-results li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 5px;
    color: #36c958;
    font-size: 11px;
    font-weight: 700;
}

.case-stat-highlight {
    color: #36c958;
    font-weight: 700;
}

/* =====================================================
   Section: 公司实力与资质 (company-stat-card, cert-badge)
   ===================================================== */
.company-stat-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    height: 100%;
    transition: all 0.3s ease;
}

.company-stat-card:hover {
    border-color: rgba(54, 201, 88, 0.3);
    background: rgba(54, 201, 88, 0.025);
    transform: translateY(-3px);
}

.company-stat-num {
    font-size: 46px;
    font-weight: 800;
    color: #36c958;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.company-stat-label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
    line-height: 1.5;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 16px 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    border-color: rgba(54, 201, 88, 0.25);
    background: rgba(54, 201, 88, 0.02);
}

.cert-badge-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(54, 201, 88, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #36c958;
}

.cert-badge-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    line-height: 1.4;
}

.cert-badge-sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 3px;
    line-height: 1.4;
}

/* =====================================================
   响应式适配
   ===================================================== */
@media (max-width: 991px) {
    .arch-flow-bar {
        gap: 4px;
        margin-top: 32px;
    }

    .arch-flow-arrow {
        width: 16px;
    }

    .arch-flow-node {
        padding: 6px 10px;
        font-size: 11.5px;
    }
}

@media (max-width: 767px) {
    .threat-card,
    .case-card,
    .arch-layer-card {
        margin-bottom: 16px;
    }

    .arch-flow-bar {
        display: none;
    }

    .company-stat-num {
        font-size: 38px;
    }

    .itdr-compare-table {
        font-size: 12.5px;
    }

    .itdr-compare-table th,
    .itdr-compare-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .threat-card,
    .case-card,
    .arch-layer-card,
    .company-stat-card,
    .cert-badge {
        border-radius: 4px;
        padding: 22px 18px;
    }
}

/* 性能优化 */
.threat-card,
.arch-layer-card,
.case-card,
.company-stat-card,
.cert-badge {
    will-change: transform;
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .threat-card,
    .arch-layer-card,
    .case-card,
    .company-stat-card,
    .cert-badge {
        transition: border-color 0.2s ease !important;
    }

    .threat-card:hover,
    .arch-layer-card:hover,
    .case-card:hover,
    .company-stat-card:hover {
        transform: none !important;
    }
}
