/* ============================================================
   FxSound 中国官网  ·  全局样式
   设计语言：扁平 · 现代 · 专业（品牌色取自 FxSound Logo）
   ============================================================ */
:root {
  --brand: #f24162;
  --brand-deep: #d92b4f;
  --brand-soft: #ffe9ee;
  --grad: linear-gradient(135deg, #f83b63 0%, #ff6a3d 100%);
  --ink: #1d1d24;
  --ink-2: #55555f;
  --ink-3: #8a8a95;
  --line: #ececf1;
  --bg: #ffffff;
  --bg-tint: #fdf6f7;
  --bg-dark: #17171c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(29, 29, 36, .06);
  --shadow-md: 0 14px 40px rgba(242, 65, 98, .14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
::selection { background: var(--brand); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--bg-dark); color: #fff; }

/* ---------- 通用标题 ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-tag {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep);
  font-size: 13px; font-weight: 600; letter-spacing: .05em; margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.section--dark .sec-head p { color: rgba(255, 255, 255, .72); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px; font-size: 16px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: var(--font); white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(242, 65, 98, .22); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.btn--light:hover { background: rgba(255, 255, 255, .2); }
.btn--sm { padding: 9px 22px; font-size: 14px; }
.btn svg { flex: none; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
.main-nav { display: flex; gap: 6px; margin-left: 8px; }
.main-nav a {
  padding: 8px 16px; border-radius: 999px; font-size: 15px; color: var(--ink-2);
  font-weight: 500; transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.main-nav a.is-active { color: var(--brand-deep); background: var(--brand-soft); font-weight: 600; }
.header-cta { margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero::before { width: 460px; height: 460px; background: #ffd9e1; top: -160px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: #ffe4d9; bottom: -180px; left: -120px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px;
  color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge b { background: var(--grad); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--ink-2); font-size: 17.5px; margin: 22px 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-3); font-size: 14px; }
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--brand); flex: none; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(23, 23, 28, .28); border: 1px solid rgba(255, 255, 255, .08); }
.hero-media::before {
  content: ""; position: absolute; inset: -14px; border-radius: 30px;
  background: var(--grad); opacity: .16; filter: blur(28px); z-index: -1;
}

/* 跳动均衡条装饰 */
.eq-deco { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq-deco i { width: 3.5px; border-radius: 2px; background: var(--grad); animation: eq 1s ease-in-out infinite; }
.eq-deco i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq-deco i:nth-child(2) { height: 90%; animation-delay: .15s; }
.eq-deco i:nth-child(3) { height: 60%; animation-delay: .3s; }
.eq-deco i:nth-child(4) { height: 100%; animation-delay: .45s; }
.eq-deco i:nth-child(5) { height: 50%; animation-delay: .6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }

/* ---------- 数据条 ---------- */
.stats { background: var(--bg-dark); color: #fff; padding: 54px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: rgba(255, 255, 255, .66); font-size: 14.5px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(29, 29, 36, .09); border-color: #f6cdd6; }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

/* ---------- 使用场景 ---------- */
.scene-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: 38px 32px; min-height: 250px; transition: transform .2s, box-shadow .2s; }
.scene-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(29, 29, 36, .09); }
.scene-card::after {
  content: ""; position: absolute; right: -46px; bottom: -46px; width: 150px; height: 150px;
  border-radius: 50%; background: var(--brand-soft); transition: transform .3s;
}
.scene-card:hover::after { transform: scale(1.35); }
.scene-card .card-icon { position: relative; z-index: 1; }
.scene-card h3, .scene-card p, .scene-card ul { position: relative; z-index: 1; }
.scene-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.scene-tags li { font-size: 12.5px; color: var(--brand-deep); background: var(--brand-soft); border-radius: 999px; padding: 3px 12px; font-weight: 500; }

/* ---------- 用户评价 ---------- */
.review-card { display: flex; flex-direction: column; gap: 16px; }
.review-stars { color: #ffb020; display: flex; gap: 2px; }
.review-text { color: var(--ink); font-size: 15.5px; flex: 1; }
.review-user { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-user img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-soft); }
.review-user b { display: block; font-size: 15px; }
.review-user span { font-size: 13px; color: var(--ink-3); }

/* ---------- CTA 横幅 ---------- */
.cta-banner { position: relative; overflow: hidden; background: var(--bg-dark); border-radius: 28px; padding: 72px 48px; text-align: center; color: #fff; }
.cta-banner::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); opacity: .32; filter: blur(110px); top: -260px; left: 50%; transform: translateX(-50%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-banner p { color: rgba(255, 255, 255, .7); margin: 16px auto 32px; max-width: 560px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; color: rgba(255, 255, 255, .45); font-size: 13px; }

/* ---------- 下载弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 23, 28, .62); backdrop-filter: blur(4px); animation: fadeIn .2s ease; }
.modal-dialog {
  position: relative; background: #fff; border-radius: 24px; width: 100%; max-width: 620px;
  padding: 40px 36px 36px; box-shadow: 0 40px 100px rgba(0, 0, 0, .3); animation: popIn .24s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.96); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: #f3f3f6; color: var(--ink-2); font-size: 18px; cursor: pointer; transition: .15s;
}
.modal-close:hover { background: var(--brand-soft); color: var(--brand); }
.modal-head { text-align: center; margin-bottom: 28px; }
.modal-head h3 { font-size: 24px; }
.modal-head p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qr-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 24px 18px; text-align: center; transition: border-color .2s, box-shadow .2s; }
.qr-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.qr-card img { width: 168px; height: 168px; margin: 0 auto 14px; border-radius: 10px; border: 1px solid var(--line); }
.qr-card b { display: block; font-size: 16px; }
.qr-card span { display: block; color: var(--ink-3); font-size: 13px; margin-top: 5px; }
.modal-links { margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--line); text-align: center; font-size: 14px; color: var(--ink-2); }
.modal-links a { color: var(--brand); font-weight: 600; }
.modal-links a:hover { text-decoration: underline; }

/* ---------- 内页通用 ---------- */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); padding: 72px 0 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #ffd9e1; filter: blur(100px); opacity: .55; top: -200px; right: -140px; }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.01em; }
.page-hero p { color: var(--ink-2); max-width: 680px; margin: 18px auto 0; font-size: 17px; }
.breadcrumb { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand); }

/* 图文分栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 88px; }
.split--rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(23, 23, 28, .16); }
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.split p { color: var(--ink-2); }
.split ul { margin-top: 20px; display: grid; gap: 12px; }
.split ul li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15px; }
.split ul li svg { flex: none; color: var(--brand); margin-top: 4px; }

/* 音效清单（功能页） */
.fx-list { display: grid; gap: 16px; }
.fx-item { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; transition: border-color .2s, transform .2s; }
.fx-item:hover { border-color: #f6cdd6; transform: translateX(4px); }
.fx-item .card-icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.fx-item h3 { font-size: 17.5px; }
.fx-item h3 small { color: var(--ink-3); font-weight: 500; font-size: 13px; margin-left: 8px; }
.fx-item p { color: var(--ink-2); font-size: 14.5px; margin-top: 5px; }

/* ---------- 下载中心 ---------- */
.dl-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: stretch; }
.dl-main { background: var(--bg-dark); color: #fff; border-radius: 26px; padding: 44px 42px; position: relative; overflow: hidden; }
.dl-main::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--grad); opacity: .3; filter: blur(100px); top: -180px; right: -140px; }
.dl-main > * { position: relative; }
.dl-main h2 { font-size: 28px; }
.dl-version { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 28px; }
.dl-version li { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 10px 18px; font-size: 13.5px; }
.dl-version b { display: block; color: #fff; font-size: 15px; }
.dl-version span { color: rgba(255, 255, 255, .6); }
.dl-note { color: rgba(255, 255, 255, .6); font-size: 13.5px; margin-top: 20px; }
.dl-side { display: grid; gap: 20px; }
.dl-side .card { padding: 28px; }
.dl-side h3 { font-size: 17px; margin-bottom: 12px; }
.req-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.req-list li:last-child { border-bottom: none; }
.req-list span { color: var(--ink-3); flex: none; }
.req-list b { font-weight: 500; text-align: right; }

/* 步骤 */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 28px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }

/* 时间线 */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), #ffc9d4); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline b { font-size: 17px; }
.timeline time { color: var(--brand-deep); font-size: 13.5px; font-weight: 600; margin-right: 10px; }
.timeline p { color: var(--ink-2); font-size: 14.5px; margin-top: 5px; }

/* ---------- 手风琴 FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; font-size: 16px; font-weight: 600; font-family: var(--font); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { flex: none; color: var(--brand); transition: transform .25s; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; }

/* 预设表 */
.preset-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.preset-table th, .preset-table td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.preset-table th { background: var(--bg-tint); font-weight: 600; }
.preset-table tr:last-child td { border-bottom: none; }
.preset-table td b { color: var(--brand-deep); }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split-media { order: 0; }
  .dl-panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .main-nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px 20px; gap: 4px;
    box-shadow: 0 20px 40px rgba(29, 29, 36, .1);
  }
  .site-header.nav-open .main-nav a { padding: 12px 14px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 56px 26px; }
  .modal-dialog { padding: 32px 22px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 60px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
