/* 
 * 原创设计系统 - 麻豆 (bdliyj.cn)
 * 主色调：樱花粉 #FF6B9D，暖珊瑚 #FF8E53
 * 字体：PingFang SC, Microsoft YaHei, sans-serif
 */
:root {
    --primary: #FF6B9D;
    --primary-hover: #E85A8C;
    --secondary: #FF8E53;
    --bg-color: #FDFDFD;
    --text-main: #333333;
    --text-light: #666666;
    --border: #EEEEEE;
    --shadow: 0 4px 12px rgba(255, 107, 157, 0.1);
    --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; background: var(--bg-color); color: var(--text-main); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
ul { list-style: none; }

/* Header */
.header { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; }
.logo-box { display: flex; align-items: center; gap: 10px; }
.logo-box img { height: 40px; border-radius: 50%; }
.logo-box h1 { font-size: 22px; font-weight: bold; color: var(--primary); }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-size: 16px; font-weight: 500; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.search-box { position: relative; width: 200px; }
.search-box input { width: 100%; padding: 8px 15px; border: 1px solid var(--border); border-radius: 20px; outline: none; }
.search-box button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--primary); cursor: pointer; }

/* Hero */
.hero { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero img.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(0.7); border-radius: 0; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero h2 { font-size: 42px; margin-bottom: 20px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 18px; margin-bottom: 30px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.btn { display: inline-block; padding: 12px 30px; background: linear-gradient(90deg, var(--primary), var(--secondary)); color: #fff; border-radius: 30px; font-size: 16px; font-weight: bold; box-shadow: var(--shadow); }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* Section */
.section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.sec-title { text-align: center; font-size: 32px; margin-bottom: 40px; position: relative; }
.sec-title::after { content: ''; width: 60px; height: 4px; background: var(--primary); display: block; margin: 10px auto 0; border-radius: 2px; }

/* Video Grid */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { position: relative; padding-top: 56.25%; overflow: hidden; border-radius: 0; }
.card-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; border-radius: 0; }
.card:hover .card-img img { transform: scale(1.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(255,107,157,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.play-btn::after { content: ''; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; margin-left: 4px; }
.card:hover .play-btn { opacity: 1; }
.card-info { padding: 15px; }
.card-info h3 { font-size: 16px; margin-bottom: 8px; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }

/* Experts */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 30px; }
.expert-card { display: flex; gap: 20px; background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.expert-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.expert-info h3 { font-size: 20px; color: var(--primary); margin-bottom: 5px; }
.expert-info p.role { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }

/* FAQ & Comments */
.faq-list, .comment-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 15px; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.faq-item h4 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.comment-item { background: #fff; margin-bottom: 15px; padding: 20px; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.05); border-left: 4px solid var(--primary); }

/* Breadcrumb */
.breadcrumb { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }

/* Footer */
.footer { background: #fff; padding: 60px 20px 20px; margin-top: 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 18px; margin-bottom: 20px; color: var(--text-main); }
.footer-col p, .footer-col a { color: var(--text-light); font-size: 14px; margin-bottom: 10px; display: block; }
.footer-col a:hover { color: var(--primary); }
.qrcode-box { display: flex; gap: 15px; }
.qrcode-item { text-align: center; font-size: 12px; color: var(--text-light); }
.qrcode-item img { width: 100px; height: 100px; background: #eee; margin-bottom: 5px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-light); font-size: 14px; }

/* Video Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; align-items: center; justify-content: center; }
.modal-content { background: #000; width: 90%; max-width: 800px; border-radius: var(--radius); position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: #fff; }
.close-modal { position: absolute; top: -40px; right: 0; color: #fff; font-size: 30px; cursor: pointer; }

@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 15px; gap: 15px; }
    .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero h2 { font-size: 28px; }
    .expert-card { flex-direction: column; text-align: center; align-items: center; }
}
