/* 基础重置与变量 */
:root {
    --primary-color: #00E5FF; /* 霓虹青色 */
    --primary-dark: #00B8D4;
    --secondary-color: #FF007F; /* 霓虹粉色 */
    --dark-bg: #0A1628; /* 深海蓝背景 */
    --darker-bg: #050B14;
    --light-bg: #112240;
    --text-main: #E0E6ED;
    --text-muted: #8892B0;
    --white: #FFFFFF;
    --border-color: #1E3A8A;
    --shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; line-height: 1.6; color: var(--text-main); background-color: var(--dark-bg); }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--secondary-color); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* 布局工具 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 { font-size: 36px; color: var(--white); margin-bottom: 15px; text-shadow: 0 0 10px rgba(0,229,255,0.3); }
.section-header p { color: var(--text-muted); font-size: 18px; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--darker-bg); }
.mb-2 { margin-bottom: 10px; } .mb-3 { margin-bottom: 20px; } .mb-4 { margin-bottom: 30px; } .mb-5 { margin-bottom: 50px; }
.mt-2 { margin-top: 10px; } .mt-3 { margin-top: 20px; } .mt-4 { margin-top: 30px; } .mt-5 { margin-top: 50px; }
.w-100 { width: 100%; }
.rounded-img { border-radius: 12px; }
.shadow { box-shadow: var(--shadow); }

/* 网格系统 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.flex-col-6 { width: 50%; padding: 0 15px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* 按钮样式 */
.btn { display: inline-block; padding: 10px 24px; border-radius: 30px; font-weight: bold; text-align: center; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background: linear-gradient(45deg, var(--primary-color), var(--primary-dark)); color: var(--darker-bg); box-shadow: 0 0 15px rgba(0,229,255,0.4); }
.btn-primary:hover { background: linear-gradient(45deg, var(--primary-dark), var(--primary-color)); color: var(--darker-bg); transform: translateY(-2px); box-shadow: 0 0 25px rgba(0,229,255,0.6); }
.btn-outline { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: rgba(0,229,255,0.1); color: var(--white); border-color: var(--white); }
.btn-lg { padding: 14px 36px; font-size: 18px; }
.btn-sm { padding: 6px 16px; font-size: 14px; }

/* 头部导航 */
.header { background-color: rgba(5, 11, 20, 0.95); backdrop-filter: blur(10px); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; border-bottom: 1px solid var(--border-color); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: bold; color: var(--white); }
.logo img { border-radius: 8px; }
.nav-menu ul { display: flex; gap: 30px; }
.nav-menu a { color: var(--text-main); font-weight: 500; padding: 10px 0; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-color); }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.search-toggle { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-main); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; position: relative; }
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background-color: var(--white); position: absolute; transition: var(--transition); }
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* 搜索框 */
.search-bar { display: none; background-color: var(--light-bg); padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.search-bar.show { display: block; animation: slideDown 0.3s ease; }
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.search-form { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; }
.search-form input { flex: 1; padding: 12px 20px; border: 1px solid var(--border-color); border-radius: 30px; font-size: 16px; background-color: var(--darker-bg); color: var(--white); }
.search-form input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 10px rgba(0,229,255,0.2); }

/* 面包屑 */
.breadcrumb-wrap { padding: 20px 0; margin-top: 80px; border-bottom: 1px solid var(--border-color); }
.breadcrumb { font-size: 14px; color: var(--text-muted); }
.breadcrumb a { color: var(--primary-color); }
.breadcrumb span { color: var(--text-main); }

/* Hero区域 */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 80px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(5,11,20,0.7), rgba(5,11,20,0.9)); z-index: -1; }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-title { font-size: 56px; color: var(--white); margin-bottom: 20px; line-height: 1.2; text-shadow: 0 0 20px rgba(0,229,255,0.5); }
.hero-title span { color: var(--primary-color); }
.hero-subtitle { font-size: 24px; color: var(--text-main); margin-bottom: 40px; }
.hero-actions { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.hero-tags { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.tag { background-color: rgba(0,229,255,0.1); color: var(--primary-color); padding: 6px 16px; border-radius: 20px; font-size: 14px; border: 1px solid rgba(0,229,255,0.3); }

/* 动漫卡片 */
.card { background-color: var(--light-bg); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: var(--transition); border: 1px solid var(--border-color); }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--primary-color); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.card:hover .play-overlay { opacity: 1; }
.play-btn { width: 60px; height: 60px; background-color: var(--primary-color); color: var(--darker-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 5px; box-shadow: 0 0 20px rgba(0,229,255,0.6); }
.duration { position: absolute; bottom: 10px; right: 10px; background-color: rgba(0,0,0,0.8); color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 20px; margin-bottom: 10px; color: var(--white); }
.card-body h4 { font-size: 16px; margin-bottom: 10px; color: var(--white); }
.card-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.card-meta { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border-color); padding-top: 15px; }

/* 列表与盒子 */
.feature-list { margin-bottom: 30px; }
.feature-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }
.feature-box { background-color: var(--light-bg); padding: 40px 20px; border-radius: 12px; border: 1px solid var(--border-color); transition: var(--transition); }
.feature-box:hover { border-color: var(--primary-color); box-shadow: var(--shadow); transform: translateY(-5px); }
.icon-wrapper { font-size: 48px; margin-bottom: 20px; text-shadow: 0 0 15px rgba(0,229,255,0.5); }
.feature-box h3 { color: var(--white); margin-bottom: 15px; }

/* 专家卡片 */
.expert-card { display: flex; background-color: var(--light-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); }
.expert-img { width: 40%; object-fit: cover; }
.expert-info { width: 60%; padding: 30px; }
.expert-info h3 { color: var(--white); font-size: 24px; margin-bottom: 5px; }
.expert-title { color: var(--primary-color); font-weight: bold; margin-bottom: 15px; }
.expert-actions { margin-top: 20px; display: flex; gap: 10px; }

/* 合作伙伴 */
.4q67l { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.9sshxlhm { padding: 15px 30px; background-color: var(--darker-bg); border-radius: 8px; font-weight: bold; color: var(--text-muted); border: 1px solid var(--border-color); transition: var(--transition); }
.9sshxlhm:hover { color: var(--primary-color); border-color: var(--primary-color); box-shadow: 0 0 10px rgba(0,229,255,0.2); }

/* 步骤指南 */
.step-item { text-align: center; padding: 30px 20px; background-color: var(--darker-bg); border-radius: 12px; position: relative; border: 1px solid var(--border-color); }
.step-num { width: 50px; height: 50px; background: linear-gradient(45deg, var(--primary-color), var(--primary-dark)); color: var(--darker-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; margin: 0 auto 20px; box-shadow: 0 0 15px rgba(0,229,255,0.5); }
.step-item h4 { color: var(--white); margin-bottom: 15px; font-size: 20px; }

/* 评价卡片 */
.review-card { background-color: var(--darker-bg); padding: 30px 20px; border-radius: 12px; border: 1px solid var(--border-color); }
.review-stars { color: #FFD700; font-size: 20px; margin-bottom: 15px; }
.review-text { font-style: italic; margin-bottom: 20px; color: var(--text-main); }
.review-author { color: var(--primary-color); font-weight: bold; text-align: right; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: var(--darker-bg); border-radius: 8px; margin-bottom: 15px; overflow: hidden; border: 1px solid var(--border-color); }
.faq-q { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background-color: var(--light-bg); }
.faq-q h3 { font-size: 18px; color: var(--white); margin: 0; }
.toggle-icon { font-size: 24px; color: var(--primary-color); font-weight: bold; transition: transform 0.3s; }
.faq-item.active .toggle-icon { transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; opacity: 0; transition: all 0.3s ease; }
.faq-item.active .faq-a { padding: 20px; max-height: 500px; opacity: 1; border-top: 1px solid var(--border-color); }

/* 联系信息 */
.contact-info-box { background-color: var(--light-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); }
.contact-info-box li { margin-bottom: 15px; border-bottom: 1px dashed var(--border-color); padding-bottom: 15px; }
.contact-info-box li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.contact-info-box strong { color: var(--primary-color); display: inline-block; width: 100px; }

/* 底部 */
.footer { padding: 60px 0 20px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--white); }
.footer-logo img { border-radius: 8px; }
.footer-desc { color: var(--text-muted); margin-bottom: 20px; }
.footer h3 { color: var(--white); margin-bottom: 20px; font-size: 18px; position: relative; padding-bottom: 10px; }
.footer h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: var(--primary-color); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.contact-list li { margin-bottom: 12px; color: var(--text-muted); }
.contact-list strong { color: var(--white); }
.qrcode-wrap { display: flex; gap: 20px; }
.qrcode-item { text-align: center; }
.qrcode-item img { border-radius: 8px; margin-bottom: 10px; border: 2px solid var(--border-color); }
.qrcode-item span { display: block; font-size: 14px; color: var(--text-muted); }
.social-share { margin-top: 20px; }
.share-label { color: var(--white); margin-right: 10px; }
.share-icon { display: inline-block; margin-right: 10px; color: var(--primary-color); cursor: pointer; }
.share-icon:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 14px; }

/* 返回顶部 */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary-color); color: var(--darker-bg); border: none; border-radius: 50%; font-size: 24px; cursor: pointer; display: none; z-index: 99; box-shadow: 0 0 15px rgba(0,229,255,0.5); transition: var(--transition); }
.back-to-top.visible { display: block; animation: fadeIn 0.3s; }
.back-to-top:hover { transform: translateY(-5px); background-color: var(--white); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 响应式设计 */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .expert-card { flex-direction: column; }
    .expert-img { width: 100%; height: 250px; }
    .expert-info { width: 100%; }
}

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .flex-col-6 { width: 100%; padding: 0; margin-bottom: 30px; }
    .hero-title { font-size: 40px; }
    .mobile-menu-btn { display: block; }
    .nav-menu { position: absolute; top: 80px; left: 0; width: 100%; background-color: rgba(5,11,20,0.98); padding: 20px; border-bottom: 1px solid var(--border-color); display: none; }
    .nav-menu.show { display: block; }
    .nav-menu ul { flex-direction: column; gap: 15px; text-align: center; }
    .header-actions .btn { display: none; }
}

@media (max-width: 576px) {
    .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .section { padding: 50px 0; }
}
