/* 子页面通用样式 — 供 cases/modules/pain-points/products/about/contact 等页面共用 */

.page-header {
    padding: 140px 24px 60px;
    background: var(--gold-light);
    text-align: center;
}
.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}
.page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}
.content-section {
    padding: 80px 24px;
}
.content-container {
    max-width: 1200px;
    margin: 0 auto;
}
.content-section.alt { background: white; }
.content-section.alt2 { background: var(--gold-light); }
.detail-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s;
}
.detail-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.1);
}
.detail-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.detail-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.tag-p0 { display: inline-block; padding: 2px 10px; background: #ffeaea; color: #c92222; font-size: 12px; border-radius: 12px; font-weight: 500; margin-right: 6px; }
.tag-p1 { display: inline-block; padding: 2px 10px; background: #fff4e6; color: #a86a00; font-size: 12px; border-radius: 12px; font-weight: 500; margin-right: 6px; }
.tag-p2 { display: inline-block; padding: 2px 10px; background: #e8f5e9; color: #2e7d32; font-size: 12px; border-radius: 12px; font-weight: 500; margin-right: 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-detail-image {
    width: 100%; height: 220px; background: var(--gold-light); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 64px; margin-bottom: 20px;
}
.module-detail {
    background: white; border: 1px solid var(--border); border-radius: 16px; padding: 32px; margin-bottom: 24px;
    transition: all 0.3s; scroll-margin-top: 80px;
}
.module-detail:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(201, 162, 39, 0.1); }
.module-detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.module-detail-icon { width: 56px; height: 56px; background: var(--gold-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--gold); flex-shrink: 0; }
.module-detail h3 { font-size: 22px; margin: 0; }
.module-detail p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.product-detail { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 32px; margin-bottom: 24px; transition: all 0.3s; position: relative; }
.product-detail:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(201, 162, 39, 0.1); }
.product-detail h3 { font-size: 24px; margin-bottom: 8px; }
.product-detail .price { font-size: 32px; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.product-detail p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.pain-category { font-size: 20px; font-weight: 600; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.pain-item { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; transition: all 0.3s; }
.pain-item:hover { border-color: var(--gold); }
.pain-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pain-item h4 { font-size: 16px; margin: 0; }
.pain-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ===== 工具类：从内联样式提取 ===== */
.text-center { text-align: center; }
.list-unstyled { list-style: none; padding: 0; }
.text-muted-sm { font-size: 13px; color: var(--text-muted); }
.text-secondary-sm { font-size: 14px; color: var(--text-secondary); }
.text-secondary-sm-mb { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.text-primary-md { font-size: 15px; margin-bottom: 6px; color: var(--text-primary); }
.text-primary-lg { font-size: 16px; margin-bottom: 10px; color: var(--text-primary); }
.stat-number { font-size: 28px; font-weight: 700; color: var(--gold); }
.mb-6 { margin-bottom: 6px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.faq-item { font-size: 14px; color: var(--text-secondary); padding: 5px 0; padding-left: 18px; position: relative; }
.faq-item-lg { font-size: 14px; color: var(--text-secondary); padding: 6px 0; padding-left: 20px; position: relative; }
.faq-bullet { position: absolute; left: 0; color: var(--gold); font-weight: bold; }
.flex-row-gap { display: flex; gap: 20px; align-items: flex-start; }
.meta-item { min-width: 80px; text-align: right; font-weight: 700; color: var(--gold); font-size: 18px; }
.label-block { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text-primary); }

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; }
    .three-col { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 28px; }
    .page-header { padding: 120px 24px 40px; }
}

/* Inline style extraction */
.container-narrow { max-width: 900px; }
.article-cta { text-align: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.section-cta { text-align: center; margin-top: 48px; }
.timeline-body { flex: 1; padding-left: 20px; border-left: 2px solid var(--gold); }
.detail-field { background: var(--bg); padding: 12px; border-radius: 8px; }
.label-muted { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.text-500 { font-size: 15px; font-weight: 500; }
.stat-box { text-align: center; padding: 20px; background: var(--gold-light); border-radius: 12px; }
.stat-number { font-size: 32px; font-weight: 700; color: var(--gold); }
.mt-40 { margin-top: 40px; }
.result-box { margin-top: 20px; padding: 20px; background: var(--gold-light); border-radius: 12px; }
.module-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.mt-24 { margin-top: 24px; }
.p-40 { padding: 40px; }
.teacher-header { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.w-40 { width: 40%; }
.text-gold-sm { color: var(--gold); font-size: 14px; font-weight: 500; }
.avatar-center { width: 60%; display: flex; align-items: center; justify-content: center; }
.avatar-circle { width: 120px; height: 120px; background: var(--gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.text-center-mt-24 { text-align: center; margin-top: 24px; color: var(--text-secondary); font-size: 14px; }
.flex-1 { flex: 1; }
.map-container { width: 100%; height: 400px; border-radius: 12px; overflow: hidden; }
.about-visual { width: 100%; height: 300px; background: var(--gold-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.btn-wide { width: 280px; text-align: center; }
.flex-col-gap-24 { display: flex; flex-direction: column; gap: 24px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.product-featured { border: 2px solid var(--gold); background: linear-gradient(135deg, white 0%, var(--gold-light) 100%); }
.badge-recommend { position: absolute; top: -1px; right: 20px; background: var(--gold); color: white; font-size: 12px; padding: 4px 12px; border-radius: 0 0 8px 8px; font-weight: 500; }
.text-center-p-40 { text-align: center; padding: 40px; }
.mb-0 { margin-bottom: 0 !important; }

.contact-icon-lg { font-size: 48px; margin-bottom: 16px; }
.flex-center-gap-16 { display: flex; justify-content: center; gap: 16px; }
.hidden { display: none !important; }
.pre-wrap-text { font-size: 15px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.contact-icon-lg { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; color: var(--gold); }

.img-cover { width: 100%; height: 100%; object-fit: cover; }
.caption-muted { margin-top: 12px; font-size: 14px; color: var(--text-muted); }
.mb-4 { margin-bottom: 4px; }
.text-body-sm { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.mb-24 { margin-bottom: 24px; }
.btn-fixed { width: 220px; text-align: center; }
.w-full-box { max-width: 100%; box-sizing: border-box; }
.link-gold { color: var(--gold); text-decoration: underline; }

.text-center-muted { width: 100%; text-align: center; margin-bottom: 16px; color: var(--text-secondary); }
.price-note { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.heading-sm { font-size: 16px; margin-bottom: 10px; }
.mt-16 { margin-top: 16px; }
.contact-card-title { font-size: 20px; margin-bottom: 8px; }
.contact-card-label { font-size: 15px; color: var(--text-secondary); margin-bottom: 4px; }
.contact-phone { font-size: 22px; font-weight: 700; color: var(--gold); }
.contact-hint { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.contact-value { font-size: 18px; font-weight: 600; color: var(--text-primary); }
.form-intro { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; background: white; box-sizing: border-box; }
.form-submit { width: 100%; padding: 14px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }
.text-body { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
p.text-body { line-height: 2.2 }
.info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.info-row-last { display: flex; justify-content: space-between; padding: 10px 0; font-size: 15px; }
.text-muted-inline { color: var(--text-secondary); }
.section-title-lg { text-align: center; font-size: 32px; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: 16px; }
.contact-name { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.cta-gradient { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: white; }
.cta-title { font-size: 36px; margin-bottom: 16px; color: white; }
.cta-subtitle { font-size: 18px; margin-bottom: 32px; opacity: 0.9; }
.btn-white { background: white; color: var(--gold); padding: 14px 32px; font-size: 16px; font-weight: 600; border-radius: 8px; }
.btn-outline-white { border-color: white; color: white; padding: 14px 32px; font-size: 16px; font-weight: 600; }

textarea.form-input { resize: vertical; font-family: inherit; }
a.btn-white { text-decoration: none; }

.section-cta-sm { text-align: center; margin-top: 40px; padding: 0 24px; }
.section-cta-bordered { text-align: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.section-cta-bordered .btn { margin: 0 8px; }

.section-cta .btn, .section-cta-sm .btn, .section-cta-bordered .btn { min-width: 220px; text-align: center; }
.modal-sm { max-width: 400px !important; }
.modal-lg { max-width: 560px !important; }
.text-center-mt-8 { text-align: center; margin-top: 8px; }
.btn-group-center { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
