/* ===== 页面 Hero ===== */
.page-hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a3a7a 100%);
    padding: 60px 40px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(26, 115, 232, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(26, 115, 232, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #8bb3f0;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 18px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.page-hero h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.page-hero h1 span {
    color: #64b5f6;
}

.page-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 测试项目详情 ===== */
.test-detail-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.test-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.test-detail-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid #1a73e8;
}

.test-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.test-detail-card .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.test-detail-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 8px;
}

.test-detail-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.test-detail-card .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.test-detail-card .meta .tag {
    display: inline-block;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 12px;
    padding: 2px 14px;
    border-radius: 12px;
    font-weight: 500;
}

.test-detail-card .meta .tag.green {
    background: #e6f7ec;
    color: #0d7a3e;
}

.test-detail-card .meta .tag.orange {
    background: #fff3e6;
    color: #c76b1c;
}

.test-detail-card .meta .tag.purple {
    background: #f0e8ff;
    color: #6b3fa0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .page-hero {
        padding: 40px 16px 30px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .test-detail-section {
        padding: 30px 16px;
    }

    .test-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .test-detail-card {
        padding: 20px 16px;
    }

    .test-detail-card h4 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .test-detail-grid {
        grid-template-columns: 1fr;
    }
}