/* 基础样式重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Helvetica, Arial, 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; }
a { text-decoration: none; color: #d32f2f; transition: color 0.3s ease; }
a:hover { color: #b71c1c; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: #212529; margin-bottom: 10px; }
.btn-primary { display: inline-block; padding: 12px 24px; background-color: #d32f2f; color: #fff; border-radius: 4px; font-weight: bold; }
.btn-primary:hover { background-color: #b71c1c; color: #fff; }

/* 头部样式 */
.site-header { background-color: #1a1a1a; padding: 15px 0; color: #fff; position: sticky; top: 0; z-index: 1000; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo-wrapper a { display: flex; align-items: center; color: #fff; gap: 10px; }
.logo-wrapper h1 { font-size: 1.5rem; margin: 0; }
.main-nav ul { display: flex; gap: 20px; }
.main-nav a { color: #ddd; font-weight: 500; }
.main-nav a:hover { color: #fff; }
.search-box { display: flex; }
.search-box input { padding: 8px 12px; border: none; border-radius: 4px 0 0 4px; width: 200px; }
.search-box button { padding: 8px 15px; background-color: #d32f2f; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }

/* 首页 Banner */
.hero-banner { height: 500px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.hero-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; }
.hero-content h2 { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

/* 面包屑 */
.breadcrumb { padding: 20px 0; font-size: 0.9rem; color: #666; }
.breadcrumb a { color: #666; }

/* 核心模块 */
.core-modules { padding: 60px 20px; }
.module-header { text-align: center; margin-bottom: 40px; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.module-card { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.module-card:hover { transform: translateY(-5px); }
.module-card h3 { color: #d32f2f; margin-bottom: 15px; font-size: 1.5rem; }

/* 视频展示区 */
.video-showcase { padding: 60px 20px; background: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.video-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); cursor: pointer; transition: box-shadow 0.3s; }
.video-card:hover { box-shadow: 0 8px 15px rgba(0,0,0,0.2); }
.video-card:hover .play-overlay { opacity: 1; }
.video-thumbnail { height: 180px; background-size: cover; background-position: center; position: relative; }
.play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.play-btn { color: #fff; font-size: 1.2rem; font-weight: bold; border: 2px solid #fff; padding: 8px 16px; border-radius: 20px; }
.video-duration { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.8); color: #fff; padding: 2px 6px; font-size: 0.8rem; border-radius: 4px; }
.video-info { padding: 15px; }
.video-info h4 { margin-bottom: 10px; font-size: 1.1rem; color: #333; }
.video-stats { display: flex; justify-content: space-between; color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.video-tags .tag { display: inline-block; background: #eee; color: #555; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; margin-right: 5px; }

/* 评论区 */
.community-reviews { padding: 60px 20px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: 8px; border-left: 4px solid #d32f2f; }
.stars { color: #f39c12; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-style: italic; color: #555; margin-bottom: 15px; }
.review-card .user { font-weight: bold; color: #333; display: block; text-align: right; }

/* 专家团队 */
.expert-team { padding: 60px 20px; background: #fff; }
.team-content { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.team-img { flex: 1; min-width: 300px; max-width: 100%; border-radius: 8px; }
.team-info { flex: 1; min-width: 300px; }
.team-info p { font-size: 1.1rem; margin-bottom: 20px; }
.expert-links a { display: inline-block; margin-right: 15px; padding: 10px 20px; border: 1px solid #d32f2f; color: #d32f2f; border-radius: 4px; }
.expert-links a:hover { background: #d32f2f; color: #fff; }

/* 合作伙伴 */
.partners { padding: 60px 20px; text-align: center; }
.partner-logos { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.partner-logo { font-size: 1.5rem; font-weight: bold; color: #999; padding: 20px 40px; background: #fff; border-radius: 8px; }

/* FAQ */
.faq-section { padding: 60px 20px; background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.faq-item h4 { color: #212529; margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { color: #666; }

/* 随机导航模块 */
.random-nav { margin-top: 30px; padding: 20px; background: #f9f9f9; border-radius: 8px; }
.random-nav h3 { margin-bottom: 15px; font-size: 1.2rem; border-bottom: 2px solid #d32f2f; display: inline-block; padding-bottom: 5px; }
.random-nav ul { display: flex; flex-wrap: wrap; gap: 15px; }
.random-nav a { background: #fff; padding: 8px 15px; border-radius: 20px; border: 1px solid #ddd; color: #555; }
.random-nav a:hover { border-color: #d32f2f; color: #d32f2f; }

/* 底部样式 */
.site-footer { background-color: #1a1a1a; color: #ccc; padding: 60px 0 20px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.brand-info img { margin-bottom: 15px; }
.contact-info li { margin-bottom: 10px; }
.qr-codes { display: flex; gap: 20px; margin-bottom: 20px; }
.qr-item span { display: block; text-align: center; margin-top: 5px; font-size: 0.9rem; }
.social-share button { background: #333; color: #fff; border: none; padding: 5px 10px; margin: 0 5px 5px 0; border-radius: 4px; cursor: pointer; }
.social-share button:hover { background: #d32f2f; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 0.9rem; }
.update-time { margin-top: 10px; color: #888; }

/* 响应式适配 */
@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 15px; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; }
    .hero-content h2 { font-size: 2rem; }
    .team-content { flex-direction: column; }
}
