/* 云诵听官网样式 —— 品牌：檀棕 #6E4514 / 金 #C8963E / 米白 #EFE6D0 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  background: #EFE6D0;
  color: #4A3A26;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(42, 33, 21, 0.96);
  backdrop-filter: blur(8px);
}
.nav-inner { display: flex; align-items: center; gap: 10px; height: 58px; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.nav-logo { display: flex; align-items: center; gap: 9px; color: #F3E7C8; font-size: 18px; letter-spacing: 0.2em; white-space: nowrap; flex-shrink: 0; }
.nav-logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  color: #D9C9A3; font-size: 14px; padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(228, 200, 127, 0.15); color: #F3E7C8; }
.nav-links a.active { color: #E4C87F; }
.nav-links a.cta { background: #C8963E; color: #2A2115; font-weight: 600; }
.nav-links a.cta:hover { background: #E4C87F; }

/* 汉堡按钮：桌面隐藏 */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: none; cursor: pointer;
  color: #F3E7C8; font-size: 22px; line-height: 1;
  padding: 8px 10px; border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(228, 200, 127, 0.15); }

/* 首屏 */
.hero {
  background: linear-gradient(160deg, #6E4514 0%, #8C5A1E 55%, #A66A1F 100%);
  color: #F3E7C8;
  padding: 72px 0 64px;
  text-align: center;
}
.hero img.logo { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 24px; box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.hero h1 { font-size: 42px; letter-spacing: 0.35em; text-indent: 0.35em; font-weight: 700; }
.hero .slogan { margin-top: 10px; font-size: 16px; letter-spacing: 0.3em; text-indent: 0.3em; color: #E4D5B4; }
.hero .verse { margin-top: 20px; font-size: 14px; color: #D9C9A3; letter-spacing: 0.15em; }
.hero-btns { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; letter-spacing: 0.1em;
  transition: transform .15s, box-shadow .15s, background .2s;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-gold { background: linear-gradient(135deg, #E4C87F, #C8963E); color: #3A2B1A; font-weight: 700; }
.btn-ghost { border-color: rgba(243, 231, 200, 0.5); color: #F3E7C8; }
.btn-ghost:hover { background: rgba(243, 231, 200, 0.12); }
.hero .free-note { margin-top: 18px; font-size: 12px; color: #D9C9A3; letter-spacing: 0.2em; }

/* 区块 */
.section { padding: 64px 0; }
.section h2 { text-align: center; font-size: 28px; letter-spacing: 0.3em; text-indent: 0.3em; color: #4A3A26; }
.section .sub { text-align: center; margin-top: 8px; font-size: 14px; color: #A66A1F; letter-spacing: 0.2em; }

/* 功能卡片 */
.feat-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: #FBF6EA; border: 1px solid #E2D5B5; border-radius: 16px; padding: 24px 20px;
  transition: transform .15s, box-shadow .15s;
}
.feat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(110, 69, 20, 0.12); }
.feat .ic { font-size: 30px; }
.feat h3 { margin-top: 10px; font-size: 18px; color: #6B5320; letter-spacing: 0.15em; }
.feat p { margin-top: 8px; font-size: 13px; color: #8A7350; line-height: 1.8; }

/* 截图展示 */
.shots { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.shot {
  background: #2A2115; border-radius: 28px; padding: 10px;
  box-shadow: 0 16px 40px rgba(42, 33, 21, 0.25);
}
.shot img { border-radius: 20px; }
.shot-cap { text-align: center; margin-top: 12px; font-size: 14px; color: #8A7350; letter-spacing: 0.15em; }

/* 下载区 */
.download { background: linear-gradient(160deg, #2A2115, #4A3010); color: #F3E7C8; border-radius: 24px; padding: 48px 40px; margin-top: 40px; }
.download h2 { color: #F3E7C8; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.dl-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(228, 200, 127, 0.25); border-radius: 16px; padding: 26px 24px; }
.dl-card h3 { font-size: 18px; color: #E4C87F; letter-spacing: 0.1em; display: flex; align-items: center; gap: 8px; }
.dl-card p { margin-top: 10px; font-size: 13px; color: #D9C9A3; line-height: 1.9; }
.dl-card .badge { display: inline-block; font-size: 11px; background: rgba(200, 150, 62, 0.25); color: #E4C87F; border-radius: 6px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.dl-card .btn { margin-top: 18px; }
.dl-card.disabled { opacity: 0.75; }
.dl-card .soon { font-size: 13px; color: #B99B63; margin-top: 18px; display: inline-block; }

/* 内容页 */
.page-hero { background: linear-gradient(160deg, #6E4514, #8C5A1E); color: #F3E7C8; padding: 46px 0 40px; text-align: center; }
.page-hero h1 { font-size: 30px; letter-spacing: 0.3em; text-indent: 0.3em; }
.page-hero .sub { margin-top: 8px; font-size: 13px; color: #E4D5B4; letter-spacing: 0.2em; }
.doc {
  background: #FBF6EA; border: 1px solid #E2D5B5; border-radius: 18px;
  padding: 36px 34px; margin: 44px auto; max-width: 780px;
  font-size: 14.5px; line-height: 2; color: #6B5320;
}
.doc h3 { margin: 22px 0 6px; font-size: 16px; color: #4A3A26; }
.doc h3:first-child { margin-top: 0; }
.doc p { margin: 6px 0; }
.thanks-item {
  display: flex; justify-content: space-between; align-items: center;
  background: #F7EFDB; border-radius: 12px; padding: 13px 18px; margin: 10px 0;
}
.thanks-item b { color: #4A3A26; font-size: 16px; }
.thanks-item span { font-size: 12px; color: #A66A1F; }

/* 反馈表单 */
.fb-form { max-width: 620px; margin: 0 auto; }
.fb-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.fb-tabs button {
  flex: 1; padding: 10px; border-radius: 10px; border: 1px solid #E2D5B5; background: #F7EFDB;
  color: #8A7350; font-size: 14px; cursor: pointer; font-family: inherit;
}
.fb-tabs button.on { background: #8C5A1E; border-color: #8C5A1E; color: #FFF6E0; }
.fb-form input, .fb-form textarea {
  width: 100%; border: 1px solid #E2D5B5; background: #FFFFFFCC; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; margin-bottom: 12px; color: #4A3A26; font-family: inherit; outline: none;
}
.fb-form input:focus, .fb-form textarea:focus { border-color: #C8963E; }
.fb-submit { width: 100%; padding: 13px; border: none; border-radius: 12px; background: #8C5A1E; color: #FFF6E0; font-size: 15px; letter-spacing: 0.2em; cursor: pointer; font-family: inherit; }
.fb-submit:disabled { opacity: 0.4; }
.fb-msg { text-align: center; margin-top: 14px; font-size: 13px; }
.fb-msg.ok { color: #3E7C4F; }
.fb-msg.err { color: #B03A2E; }

/* 页脚 */
.footer { background: #2A2115; color: #B99B63; padding: 40px 0 30px; margin-top: 20px; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; font-size: 13px; }
.footer a:hover { color: #E4C87F; }
.footer .note { text-align: center; margin-top: 20px; font-size: 12px; color: #8A7350; letter-spacing: 0.15em; line-height: 2; }

@media (max-width: 860px) {
  /* 导航：右上角汉堡按钮，点击展开下拉菜单 */
  .nav-inner { position: relative; flex-wrap: nowrap; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 58px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(42, 33, 21, 0.98);
    padding: 6px 20px 14px;
    border-top: 1px solid rgba(228, 200, 127, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(228, 200, 127, 0.08); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.cta { margin-top: 10px; border-radius: 10px; text-align: center; border-bottom: none; }
  .feat-grid, .shots, .dl-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .download { padding: 36px 22px; }
  .shots { max-width: 360px; margin-left: auto; margin-right: auto; }
  .doc { padding: 26px 20px; }
}

/* 强制移动布局：华为等浏览器忽略 viewport、排版视口异常宽时，由 m-force 类触发，
   与 860px 媒体查询等效 */
html.m-force .nav-inner { position: relative; flex-wrap: nowrap; }
html.m-force .nav-toggle { display: block; }
html.m-force .nav-links {
  display: none;
  position: absolute; top: 58px; left: 0; right: 0;
  flex-direction: column; gap: 0;
  background: rgba(42, 33, 21, 0.98);
  padding: 6px 20px 14px;
  border-top: 1px solid rgba(228, 200, 127, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  z-index: 60;
}
html.m-force .nav-links.open { display: flex; }
html.m-force .nav-links a { padding: 12px 10px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(228, 200, 127, 0.08); }
html.m-force .nav-links a:last-child { border-bottom: none; }
html.m-force .nav-links a.cta { margin-top: 10px; border-radius: 10px; text-align: center; border-bottom: none; }
html.m-force .feat-grid, html.m-force .shots, html.m-force .dl-grid { grid-template-columns: 1fr; }
html.m-force .hero h1 { font-size: 32px; }
html.m-force .download { padding: 36px 22px; }
html.m-force .shots { max-width: 360px; margin-left: auto; margin-right: auto; }
html.m-force .doc { padding: 26px 20px; }
html.m-force .hero { padding: 52px 0 44px; }
html.m-force .section { padding: 44px 0; }
