/* ================================================
   听海文化官网 v1.0 · 静态站样式
   ================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body { color: var(--text); line-height: 1.7; background: var(--bg); }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 22px; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

:root {
  --primary: #c8102e;          /* 听海红 - 替换为品牌色 */
  --primary-dark: #a00d24;
  --primary-light: #f8e6e9;
  --text: #333;
  --text-light: #666;
  --text-mute: #999;
  --bg: #fff;
  --bg-alt: #f7f8fa;
  --bg-dark: #1a1a1a;
  --border: #eee;
  --gold-1: #d4a843;
  --gold-2: #f0d175;
  --grad-dark-1: #1a1a1a;
  --grad-dark-2: #333;
  --container: 1200px;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --radius: 8px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; color: var(--text); margin-bottom: 8px; font-weight: 600; }
.section-title p { color: var(--text-mute); font-size: 14px; letter-spacing: 2px; }

/* ==================== 顶部 nav ==================== */
.topbar { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow); }
.topbar-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 70px; display: flex; align-items: center; gap: 32px; }
.topbar-logo img { height: 36px; }
.topbar-nav { flex: 1; display: flex; gap: 24px; }
.topbar-nav a { font-size: 15px; color: var(--text); padding: 8px 0; position: relative; }
.topbar-nav a:hover, .topbar-nav a.active { color: var(--primary); }
.topbar-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--primary); }
.topbar-tel { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 4px; font-size: 14px; }
.topbar-tel:hover { background: var(--primary-dark); }
.topbar-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.topbar-burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: .3s; }

/* ==================== 抽屉 ==================== */
.drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-mask { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; width: 280px; height: 100%; background: #fff; transform: translateX(100%); transition: transform .3s; padding: 60px 0 24px; display: flex; flex-direction: column; gap: 4px; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a { padding: 14px 24px; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--border); }
.drawer-panel a.active { color: var(--primary); background: var(--primary-light); }
.drawer-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; font-size: 28px; line-height: 1; color: var(--text-light); }
.drawer-info { margin-top: auto; padding: 24px; font-size: 13px; color: var(--text-mute); }
.drawer-info div { margin-bottom: 4px; }

/* ==================== 路由容器 ==================== */
main#app { min-height: 60vh; }
.page { display: none; }
.page.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==================== 首页 banner ==================== */
.banner { position: relative; height: 520px; overflow: hidden; }
.banner-img { width: 100%; height: 100%; object-fit: cover; }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.5)); }
.banner-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; color: #fff; width: 90%; max-width: 800px; }
.banner-content h1 { font-size: 56px; font-weight: 700; letter-spacing: 4px; margin-bottom: 12px; }
.banner-content h2 { font-size: 28px; font-weight: 400; margin-bottom: 16px; }
.banner-content p { font-size: 16px; opacity: .9; }

/* ==================== 数据卡 ==================== */
.data-section { background: var(--bg-alt); padding: 50px 0; }
.data-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.data-item { text-align: center; padding: 24px 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s; }
.data-item:hover { transform: translateY(-4px); }
.data-item-feature { background: var(--primary); color: #fff; }
.data-item-feature .data-num { color: #fff; }
.data-item-feature .data-label { color: rgba(255,255,255,.9); }
.data-num { font-size: 36px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.data-label { font-size: 14px; color: var(--text-light); }

/* ==================== 关于我们 ==================== */
.about-text { max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text-light); line-height: 2; text-align: justify; }
.about-text-large { max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text-light); line-height: 2; }
.lead-text { max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text-light); line-height: 2; text-align: center; }

/* ==================== 业务矩阵 ==================== */
.business-section { background: var(--bg-alt); }
.business-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.business-item { background: #fff; padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); transition: all .3s; position: relative; overflow: hidden; }
.business-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(200,16,46,.15); }
.business-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
.business-item:hover::before { transform: scaleX(1); }
.business-num { font-size: 40px; font-weight: 700; color: var(--primary-light); margin-bottom: 12px; line-height: 1; }
.business-item h3 { font-size: 20px; margin-bottom: 12px; color: var(--text); }
.business-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ==================== 产品矩阵 ==================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-section-alt { background: var(--bg-alt); }
.product-card { background: #fff; padding: 40px 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-card-large { max-width: 100%; }
.product-tag { display: inline-block; padding: 4px 12px; background: var(--primary-light); color: var(--primary); border-radius: 4px; font-size: 12px; margin-bottom: 16px; }
.product-card h3 { font-size: 28px; margin-bottom: 8px; color: var(--text); }
.product-sub { font-size: 14px; color: var(--text-mute); margin-bottom: 24px; }
.product-data { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.product-data > div { text-align: center; }
.product-data .num { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.product-data p { font-size: 12px; color: var(--text-mute); }
.product-desc { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.product-btn { display: inline-block; padding: 10px 24px; background: var(--primary); color: #fff; border-radius: 4px; font-size: 14px; }
.product-btn:hover { background: var(--primary-dark); }

.product-detail-block { margin-top: 24px; }
.product-detail-block h4 { font-size: 18px; margin-bottom: 12px; color: var(--text); }
.product-detail-block p, .product-detail-block li { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.product-detail-block ul { margin-left: 20px; }
.product-detail-block li { margin-bottom: 6px; }

.myh-advantages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.myh-item { padding: 20px; background: var(--bg-alt); border-radius: var(--radius); }
.myh-num { font-size: 24px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.myh-item h5 { font-size: 16px; margin-bottom: 8px; }
.myh-item p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

.myh-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roadmap-item { padding: 20px; background: var(--bg-alt); border-radius: var(--radius); position: relative; }
.roadmap-stage { font-size: 12px; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.roadmap-item h5 { font-size: 15px; margin-bottom: 8px; }
.roadmap-item p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ==================== 案例 ==================== */
.case-section { background: var(--bg-alt); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-item { background: #fff; padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.case-title { font-size: 20px; color: var(--text); margin-bottom: 8px; }
.case-meta { font-size: 13px; color: var(--text-mute); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.case-desc { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.case-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.case-data > div { text-align: center; }
.case-data > div:not(:last-child) { border-right: 1px solid var(--border); }
.case-data span { display: block; font-size: 22px; font-weight: 700; color: var(--primary); }
.case-data p { font-size: 12px; color: var(--text-mute); margin-top: 4px; }

.case-banner-section { padding: 0; }
.case-banner-section img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }

/* ==================== 达人入驻 ==================== */
.talent-section { }
.talent-text { max-width: 800px; margin: 0 auto 32px; text-align: center; color: var(--text-light); }
.talent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.talent-item { aspect-ratio: 1; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; }
.talent-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.talent-item:hover img { transform: scale(1.05); }

/* ==================== 一键内容分发 ==================== */
.issue-section { background: var(--bg-alt); text-align: center; }
.issue-section h2 { font-size: 32px; color: var(--text); margin-bottom: 16px; }
.issue-section > .container > p { max-width: 800px; margin: 0 auto 32px; color: var(--text-light); }
.issue-img { max-width: 900px; margin: 0 auto; }
.issue-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ==================== 5 步流程 ==================== */
.step-section { }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step-item { text-align: center; padding: 24px 12px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-item p { font-size: 14px; color: var(--text); }

/* ==================== 荣誉墙 ==================== */
.honor-section { background: var(--bg-alt); }
.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.honor-item { background: #fff; padding: 32px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.honor-badge { display: inline-block; padding: 8px 20px; background: var(--bg-alt); color: var(--primary); font-size: 22px; font-weight: 700; border-radius: 6px; margin-bottom: 16px; }
.honor-badge-gold { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: var(--bg); }
.honor-name { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.honor-sub { font-size: 13px; color: var(--text-mute); }
.honor-more { text-align: center; }
.honor-more a { color: var(--primary); font-size: 16px; }
.honor-more a:hover { text-decoration: underline; }

/* 荣誉独立页样式 */
.honor-grid-large { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honor-card { background: #fff; padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.honor-card-big { grid-column: span 3; background: linear-gradient(135deg, var(--grad-dark-1), var(--grad-dark-2)); color: var(--bg); }
.honor-card-big .honor-desc { color: rgba(255,255,255,.85); }
.honor-card-big .honor-meta { color: rgba(255,255,255,.6); }
.honor-card-big .honor-badge { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); }
.honor-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 12px 0; }
.honor-meta { font-size: 12px; color: var(--text-mute); padding-top: 12px; border-top: 1px solid var(--border); }

/* ==================== 平台列表 ==================== */
.platform-section { background: var(--bg-alt); }
.platform-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 16px; align-items: center; justify-items: center; }
.platform-grid-large { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.platform-item { aspect-ratio: 1; max-width: 80px; display: flex; align-items: center; justify-content: center; padding: 8px; }
.platform-item img { max-width: 100%; max-height: 100%; }

/* ==================== 联系信息 ==================== */
.contact-section { }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.contact-item { background: #fff; padding: 32px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--primary); }
.contact-label { font-size: 14px; color: var(--text-mute); margin-bottom: 12px; }
.contact-value { font-size: 18px; color: var(--text); font-weight: 500; }

/* ==================== 关于听海 ==================== */
.page-banner { height: 320px; background-size: cover; background-position: center; background-color: var(--bg-alt); }

.history-section { background: var(--bg-alt); }
.history-list { max-width: 800px; margin: 0 auto; position: relative; }
.history-list::before { content: ''; position: absolute; top: 0; bottom: 0; left: 80px; width: 2px; background: var(--border); }
.history-item { display: flex; gap: 32px; margin-bottom: 24px; position: relative; }
.history-year { flex-shrink: 0; width: 80px; text-align: center; font-size: 22px; font-weight: 700; color: var(--primary); padding: 8px 0; background: #fff; border-radius: var(--radius); border: 2px solid var(--primary); position: relative; z-index: 1; }
.history-item p { flex: 1; background: #fff; padding: 12px 20px; border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; color: var(--text-light); line-height: 1.7; align-self: center; }
.history-item-now .history-year { background: var(--primary); color: #fff; }

.team-section { }
.team-text { max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text-light); line-height: 2; }

/* ==================== 招聘 ==================== */
.jobs-section { background: var(--bg-alt); }
.job-item { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; }
.job-head { padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.job-name { font-size: 22px; color: var(--text); margin-bottom: 8px; }
.job-meta { font-size: 13px; color: var(--text-mute); }
.job-content p { margin-bottom: 8px; }
.job-content ol { margin-left: 20px; margin-bottom: 12px; }
.job-content li { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 6px; }
.job-cta { text-align: center; padding: 32px 0; }
.job-cta a { color: var(--primary); font-weight: 600; }

/* ==================== 行业动态 ==================== */
.dynamic-list { max-width: 900px; margin: 0 auto; }
.dynamic-item { padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; transition: transform .2s; }
.dynamic-item:hover { transform: translateX(4px); }
.dynamic-time { font-size: 13px; color: var(--text-mute); margin-bottom: 8px; }
.dynamic-item h3 { font-size: 18px; color: var(--text); margin-bottom: 12px; }
.dynamic-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ==================== 4 大壁垒 ==================== */
.cert-section { background: var(--bg-alt); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-item { background: #fff; padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.cert-num { font-size: 32px; font-weight: 700; color: var(--primary-light); margin-bottom: 12px; }
.cert-item h4 { font-size: 18px; color: var(--text); margin-bottom: 12px; }
.cert-item p { font-size: 13px; color: var(--text-light); line-height: 1.8; }

/* ==================== 平台保障 ==================== */
.ensure-section { }
.ensure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ensure-item { background: #fff; padding: 32px 24px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.ensure-num { font-size: 36px; color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.ensure-item h3 { font-size: 20px; margin-bottom: 12px; }
.ensure-item p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ==================== 标签列表 ==================== */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag { display: inline-block; padding: 8px 20px; background: #fff; color: var(--text); border-radius: 100px; font-size: 14px; box-shadow: var(--shadow); }

/* ==================== footer ==================== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.85); padding: 48px 0 0; margin-top: 60px; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 200px 1fr 160px; gap: 48px; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.footer-col h4 { font-size: 16px; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; line-height: 1.8; }
.footer-col a:hover { color: #fff; }
.footer-qr img { width: 100px; height: 100px; border-radius: 4px; margin-bottom: 8px; }
.footer-qr p { font-size: 12px; color: rgba(255,255,255,.5); }
.footer-bottom { text-align: center; padding: 24px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.5); }

/* ==================== 返回顶部 ==================== */
.back-top { position: fixed; right: 24px; bottom: 80px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--bg); font-size: 20px; display: none; align-items: center; justify-content: center; z-index: 50; box-shadow: 0 4px 12px rgba(200,16,46,.4); }
.back-top.show { display: flex; }
.back-top:hover { background: var(--primary-dark); }

/* ==================== 404 页面 ==================== */
.not-found { text-align: center; padding: 120px 24px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.not-found .code { font-size: 120px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 16px; letter-spacing: -4px; }
.not-found .title { font-size: 24px; color: var(--text); margin-bottom: 12px; }
.not-found .desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.not-found .btn { display: inline-block; padding: 12px 32px; background: var(--primary); color: var(--bg); text-decoration: none; border-radius: 4px; font-size: 14px; transition: background .2s; }
.not-found .btn:hover { background: var(--primary-dark); }
.not-found .links { margin-top: 24px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.not-found .links a { color: var(--text-light); font-size: 13px; }
.not-found .links a:hover { color: var(--primary); }

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .data-grid { grid-template-columns: repeat(3, 1fr); }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-data { grid-template-columns: repeat(2, 1fr); }
  .honor-grid, .honor-grid-large { grid-template-columns: repeat(2, 1fr); }
  .honor-card-big { grid-column: span 2; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-nav, .topbar-tel { display: none; }
  .topbar-burger { display: flex; }
  .banner { height: 360px; }
  .banner-content h1 { font-size: 32px; letter-spacing: 2px; }
  .banner-content h2 { font-size: 18px; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 24px; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .business-grid { grid-template-columns: 1fr; }
  .myh-advantages, .myh-roadmap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ensure-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
  .platform-grid, .platform-grid-large { grid-template-columns: repeat(3, 1fr); }
  .talent-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr; }
  .page-banner { height: 200px; }
  .history-list::before { left: 50%; }
  .history-item { flex-direction: column; gap: 12px; }
  .history-year { width: auto; }
}
