/**
 * 购车指南页面样式 - 参照瓜子二手车买车攻略风格
 * 复用 common.css 的 CSS 变量与通用类
 */

/* ========== Hero 横幅 ========== */
.guide-hero {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #0ea5e9 100%);
    color: #fff;
    padding: 56px 20px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guide-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    border-radius: 50%;
}

.guide-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.guide-hero-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.guide-hero-sub {
    font-size: 16px;
    opacity: 0.92;
    max-width: 640px;
    margin: 0 auto 28px;
}

.guide-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.guide-hero-stat {
    text-align: center;
}

.guide-hero-stat .num {
    font-size: 28px;
    font-weight: 800;
}

.guide-hero-stat .label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}

/* ========== 通用区块 ========== */
.guide-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.guide-section {
    padding: 44px 0;
    border-bottom: 1px solid var(--gray-200);
}

.guide-section:last-child {
    border-bottom: none;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-head .kicker {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-head h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 8px 0 6px;
    color: var(--gray-900);
}

.section-head p {
    color: var(--gray-500);
    font-size: 15px;
}

/* ========== 购车流程 ========== */
.flow {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flow-step {
    flex: 1 1 150px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 22px 16px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.flow-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.flow-step .step-no {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    line-height: 34px;
    margin: 0 auto 12px;
}

.flow-step .step-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.flow-step h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.flow-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========== 检测项网格 ========== */
.check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.check-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: var(--transition);
}

.check-card:hover {
    border-color: var(--warning);
    box-shadow: var(--shadow-md);
}

.check-card .ic {
    font-size: 28px;
    margin-bottom: 10px;
}

.check-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.check-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

.check-card .tag {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
}

/* ========== 服务保障 ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card {
    background: linear-gradient(180deg, #fff, var(--gray-100));
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.service-card .ic {
    font-size: 34px;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========== 避坑指南 ========== */
.tip-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tip-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--danger);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.tip-item .ic {
    font-size: 22px;
    flex-shrink: 0;
}

.tip-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.tip-item p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ========== 金融方案 ========== */
.finance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.finance-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    position: relative;
}

.finance-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.finance-card .plan {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.finance-card .down {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin: 6px 0;
}

.finance-card .down small {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}

.finance-card .month {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 14px;
}

.finance-card .feat {
    font-size: 13px;
    color: var(--gray-500);
    text-align: left;
    line-height: 1.8;
}

.finance-card .feat li {
    list-style: none;
    padding-left: 18px;
    position: relative;
}

.finance-card .feat li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 16px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item .answer {
    padding: 0 18px 16px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========== CTA ========== */
.guide-cta {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 40px 24px;
    text-align: center;
    margin: 44px 0 0;
}

.guide-cta h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.guide-cta p {
    opacity: 0.95;
    margin-bottom: 22px;
    font-size: 15px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .guide-hero-title {
        font-size: 26px;
    }
    .check-grid,
    .service-grid,
    .finance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tip-list {
        grid-template-columns: 1fr;
    }
    .section-head h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .check-grid,
    .service-grid,
    .finance-grid {
        grid-template-columns: 1fr;
    }
    .guide-hero-stats {
        gap: 24px;
    }
    .flow-step {
        flex: 1 1 100%;
    }
}
