/* ===== certification.css - 认证专区页面样式 ===== */

/* Hero 区 */
.cert-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background: rgba(255,255,255,0.15);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 为什么认证很重要 */
.why-cert {
    padding: 60px 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    text-align: center;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    text-transform: capitalize
}

/* EFBE 详解 */
.efbe-detail {
    padding: 60px 0;
    background: var(--bg-light);
}

.tri-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.test-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.test-icon i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.test-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.test-card p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
    text-transform: capitalize
}

.gravity-tests {
    margin-top: 50px;
    text-align: center;
}

.gravity-tests h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.test-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.test-list span {
    background: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    border: 1px solid var(--border);
}

/* SGS 和 ISO 4210 */
.other-cert {
    padding: 60px 0;
    background: white;
}

.cert-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.cert-content {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 20px;
}

.cert-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cert-content h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.cert-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cert-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.cert-content li {
    color: var(--text-light);
    margin-bottom: 8px;
}

.highlight {
    background: white;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text);
}

.highlight strong {
    color: var(--primary);
}

/* 测试流程 */
.test-process {
    padding: 60px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    min-width: 200px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 测试报告 */
.test-reports {
    padding: 60px 0;
    background: white;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.report-card {
    text-align: center;
    padding: 35px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s;
}

.report-card:hover {
    transform: translateY(-5px);
}

.report-icon i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.report-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.report-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.report-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin: 0 10px;
}

.report-link:hover {
    text-decoration: underline;
}

/* FAQ */
.cert-faq {
    padding: 60px 0;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.7;
    border-top: 1px solid var(--border);
}

.faq-item.active .faq-answer {
    display: block;
}

/* CTA */
.cert-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    text-align: center;
    color: white;
}

.cta-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-wrapper p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* 响应式 */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tri-test-grid {
        grid-template-columns: 1fr;
    }
    .cert-row {
        grid-template-columns: 1fr;
    }
    .reports-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== certification.css - 认证专区页面样式 ===== */

/* ===== 按钮样式 ===== */
.btn-primary,
.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 23, 24, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

/* 深色背景上的 outline 按钮 */
.cert-hero .btn-outline,
.cert-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cert-hero .btn-outline:hover,
.cert-cta .btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* 大按钮变体 */
.btn-large {
    padding: 14px 40px;
    font-size: 1.1rem;
}

/* ===== 其余样式 ===== */
/* ... 继续原有样式 ... */

.site-footer{
    margin-top: 0;
}