﻿/* ===== 通用量具博物馆 样式表 ===== */

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5f8a;
    --accent: #c8963e;
    --accent-light: #e0b86a;
    --bg: #fafaf8;
    --bg-dark: #f0ede8;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; }

/* ===== 导航栏 ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26, 58, 92, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 24px;
    transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { background: rgba(26, 58, 92, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 8px 0; flex-wrap: wrap; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.2rem; font-weight: 700; }
.nav-logo i { color: var(--accent); font-size: 1.4rem; }
.nav-menu { display: flex; list-style: none; gap: 4px; flex-wrap: wrap; justify-content: center; padding: 4px 0; }
.nav-link {
    color: rgba(255,255,255,0.8); padding: 6px 10px; border-radius: 4px;
    font-size: 0.85rem; transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ===== 英雄区域 ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(26,58,92,0.85), rgba(13,31,51,0.9)), url('../images/building_facade.png');
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(13,31,51,0.4) 100%); }
.hero-content { position: relative; text-align: center; color: var(--white); padding: 0 24px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: 0.05em; margin-bottom: 16px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.3rem); color: rgba(255,255,255,0.7); margin-bottom: 48px; letter-spacing: 0.1em; }
.hero-stats { display: flex; gap: 48px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.hero-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--white);
    padding: 16px 36px; border-radius: 50px;
    font-size: 1.1rem; font-weight: 600;
    transition: all var(--transition);
}
.hero-btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,150,62,0.4); }

/* ===== 通用标题 ===== */
.section-title {
    text-align: center; font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary); margin-bottom: 16px; font-weight: 700;
}
.section-desc { text-align: center; color: var(--text-light); max-width: 700px; margin: 0 auto 48px; font-size: 1.05rem; }
.section-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--accent); font-weight: 600; font-size: 1rem;
    transition: all var(--transition);
}
.section-more:hover { gap: 12px; color: var(--primary); }

/* ===== 亮点区域 ===== */
.highlights { padding: 100px 0; background: var(--white); }
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.highlight-card {
    background: var(--bg); border-radius: var(--radius); padding: 36px 28px;
    transition: all var(--transition); border: 1px solid transparent;
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.card-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon i { color: var(--accent); font-size: 1.4rem; }
.highlight-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--primary); }
.highlight-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.card-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { color: var(--primary); }

/* ===== 时间轴预览 ===== */
.timeline-preview { padding: 100px 0; background: var(--bg-dark); }
.timeline-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.tl-item { background: var(--white); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--accent); transition: all var(--transition); }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.tl-year { font-size: 1.8rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.tl-text { color: var(--text-light); font-size: 0.95rem; }
.section-more-wrapper { text-align: center; }

/* ===== 博物馆信息 ===== */
.museum-info { padding: 100px 0; background: var(--white); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.info-card { text-align: center; padding: 36px 28px; }
.info-card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 16px; }
.info-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 12px; }
.info-card p { color: var(--text-light); font-size: 0.95rem; }

/* ===== 页脚 ===== */
.footer { background: var(--primary); color: var(--white); padding: 60px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand i { font-size: 1.8rem; color: var(--accent); }
.footer-brand span { font-size: 1.3rem; font-weight: 700; margin-left: 10px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 8px; letter-spacing: 0.05em; }
.footer-links h4 { color: var(--accent); margin-bottom: 16px; font-size: 1rem; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); font-size: 0.9rem; padding: 4px 0; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* ===== 内页通用 ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0d1f33 100%);
    padding: 140px 0 60px; text-align: center; color: var(--white);
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.6); font-size: 1.1rem; }
.page-body { padding: 60px 0; }

/* ===== 发展史页面 - 时间轴 ===== */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 3px; background: var(--accent); transform: translateX(-50%);
}
.tl-node {
    position: relative; width: 50%; padding: 20px 40px; margin-bottom: 30px;
}
.tl-node:nth-child(odd) { left: 0; text-align: right; }
.tl-node:nth-child(even) { left: 50%; text-align: left; }
.tl-node::before {
    content: ''; position: absolute; top: 28px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--accent); border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}
.tl-node:nth-child(odd)::before { right: -8px; }
.tl-node:nth-child(even)::before { left: -8px; }
.tl-node-year { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.tl-node-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin: 4px 0; }
.tl-node-desc { color: var(--text-light); font-size: 0.95rem; }
.tl-node-img { margin-top: 12px; border-radius: var(--radius); overflow: hidden; background: var(--bg-dark); min-height: 120px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.85rem; }

/* ===== 分类页面 ===== */
.category-section { margin-bottom: 60px; }
.category-section h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); display: inline-block; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.type-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid #e8e8e8; transition: all var(--transition); }
.type-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.type-card h3 { color: var(--primary); font-size: 1.15rem; margin-bottom: 8px; }
.type-card .type-spec { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.type-card p { color: var(--text-light); font-size: 0.93rem; }
.type-img { width: 100%; height: 160px; background: var(--bg-dark); border-radius: var(--radius); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.85rem; }

/* ===== 常识页面 ===== */
.knowledge-section { margin-bottom: 60px; }
.knowledge-section h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); display: inline-block; }
.step-list { list-style: none; counter-reset: step; }
.step-list li {
    counter-increment: step; padding: 16px 20px 16px 56px;
    position: relative; margin-bottom: 12px;
    background: var(--white); border-radius: var(--radius); border: 1px solid #e8e8e8;
}
.step-list li::before {
    content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.info-box { background: linear-gradient(135deg, #f8f4eb, #faf8f2); border-left: 4px solid var(--accent); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
.info-box h4 { color: var(--accent); margin-bottom: 8px; }
.info-box p, .info-box ul { color: var(--text-light); font-size: 0.95rem; }
.info-box ul { padding-left: 20px; }
.info-box li { margin-bottom: 4px; }

/* ===== 图片展馆 ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--bg-dark); position: relative; cursor: pointer; }
.gallery-img { width: 100%; height: 220px; object-fit: contain; background: #fff; display: block; transition: all var(--transition); }
.gallery-item:hover .gallery-img { transform: scale(1.03); }
.gallery-caption { padding: 16px; background: var(--white); }
.gallery-caption h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 4px; }
.gallery-caption p { font-size: 0.82rem; color: var(--text-light); }

/* ===== 关于页面 ===== */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { font-size: 1.5rem; color: var(--primary); margin: 32px 0 16px; }
.about-content p { color: var(--text-light); font-size: 1rem; margin-bottom: 16px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 16px; }
    .nav-menu.active { display: flex; }
    .nav-toggle { display: block; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 2rem; }
    .timeline::before { left: 20px; }
    .tl-node { width: 100%; left: 0 !important; text-align: left !important; padding-left: 56px; padding-right: 20px; }
    .tl-node::before { left: 12px !important; right: auto !important; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
}

/* ==================== 新增页面样式 ==================== */

/* --- 全球量具地图 --- */
.country-section {
    margin-bottom: 50px;
}
.country-section.featured-country {
    background: linear-gradient(135deg, rgba(200,150,62,0.08), rgba(26,58,92,0.08));
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid var(--accent);
}
.country-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.country-flag {
    font-size: 2.5rem;
}
.country-title h2 {
    margin: 0;
    color: var(--primary);
    font-size: 1.6rem;
}
.featured-tag {
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.brand-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s, box-shadow 0.2s;
}
.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.brand-card.featured-card {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, #fff9f0, #fff);
}
.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
.brand-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.2rem;
}
.brand-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}
.brand-tagline {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
}
.brand-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* --- 时间轴 --- */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
}
.timeline-dot {
    position: absolute;
    left: 20px;
    top: 18px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary);
    z-index: 1;
}
.timeline-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid var(--primary);
}
.timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.timeline-card.expanded {
    border-left-color: var(--accent);
}
.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.timeline-card h3 {
    margin: 0 0 6px 0;
    color: var(--primary);
    font-size: 1.1rem;
}
.timeline-summary {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}
.timeline-detail {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.8;
}
.timeline-detail p {
    margin: 0;
}
[data-era="ancient"] .timeline-dot { background: #c0392b; }
[data-era="ancient"] .timeline-year { background: #c0392b; }
[data-era="modern"] .timeline-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent), 0 0 12px rgba(200,150,62,0.4); }
[data-era="contemporary"] .timeline-dot { background: #27ae60; box-shadow: 0 0 0 3px #27ae60, 0 0 12px rgba(39,174,96,0.4); }

/* --- 量具小课堂 --- */
.classroom-grid {
    display: grid;
    gap: 30px;
}
.classroom-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.classroom-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), #2a5a8c);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.classroom-card h2 {
    color: var(--primary);
    margin: 0 0 4px 0;
}
.classroom-card h4 {
    color: var(--accent);
    margin: 0 0 20px 0;
    font-weight: 400;
}
.classroom-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}
.classroom-content p {
    margin: 0 0 12px 0;
}
.steps-box {
    margin: 16px 0;
}
.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.step-num {
    min-width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.step-text {
    padding-top: 4px;
}
.example-box {
    background: #f0f4f8;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
    border-left: 4px solid var(--accent);
}
.example-box h5 {
    margin: 0 0 8px 0;
    color: var(--primary);
}
.example-box p {
    margin: 4px 0;
}
.example-result {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}
.hint-box {
    background: linear-gradient(135deg, #fff9e6, #fff3cc);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
    border-left: 4px solid #f0ad4e;
}
.hint-box i {
    color: #f0ad4e;
    margin-right: 6px;
}
.selection-table {
    overflow-x: auto;
    margin: 16px 0;
}
.selection-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.selection-table th {
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    text-align: left;
}
.selection-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}
.selection-table tr:hover td {
    background: #f8f8f8;
}
.principles-list {
    display: grid;
    gap: 16px;
}
.principle-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
}
.principle-icon {
    min-width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.principle-item strong {
    color: var(--primary);
}
.principle-item p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #777;
}

/* --- 走进青量 --- */
.aboutqlr-section {
    margin-bottom: 50px;
}
.aboutqlr-section h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aboutqlr-intro p {
    color: #555;
    line-height: 1.9;
    font-size: 0.95rem;
    margin: 0 0 12px 0;
}
.history-timeline {
    max-width: 700px;
}
.history-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.history-year {
    min-width: 100px;
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.history-content h4 {
    margin: 0 0 6px 0;
    color: var(--primary);
}
.history-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}
.bases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.base-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-top: 3px solid var(--accent);
}
.base-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.base-card h4 {
    color: var(--primary);
    margin: 0 0 8px 0;
}
.base-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}
.quality-list {
    display: grid;
    gap: 16px;
    max-width: 700px;
}
.quality-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.quality-item i {
    color: #27ae60;
    font-size: 1.2rem;
    margin-top: 2px;
}
.quality-item strong {
    color: var(--primary);
    display: block;
}
.quality-item p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #777;
}
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-tag {
    background: #f0f4f8;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #dde4ed;
}

/* --- 趣味知识 --- */
.funfacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
}
.funfact-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-top: 4px solid var(--accent);
    transition: transform 0.2s;
}
.funfact-card:hover {
    transform: translateY(-3px);
}
.funfact-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.funfact-card h3 {
    color: var(--primary);
    margin: 0 0 16px 0;
    font-size: 1.15rem;
}
.funfact-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.9rem;
}
.funfact-content p {
    margin: 0 0 10px 0;
}
.funfact-wow {
    background: linear-gradient(135deg, #f0f8ff, #e8f4fd);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--primary);
    border-left: 3px solid var(--accent);
}

/* --- 响应式 --- */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    .funfacts-grid {
        grid-template-columns: 1fr;
    }
    .bases-grid {
        grid-template-columns: 1fr;
    }
    .timeline-container::before {
        left: 16px;
    }
    .timeline-item {
        padding-left: 46px;
    }
    .timeline-dot {
        left: 8px;
    }
}
