:root {
  --ink-black: #2C2C2C;
  --ink-dark: #1F1F1F;
  --ink-light: #5A5A5A;
  --wood-primary: #C4A77D;
  --wood-warm: #B39264;
  --wood-light: #EFE7DA;
  --vermilion: #A63A3A;
  --vermilion-soft: rgba(166, 58, 58, 0.12);
  --plain-white: #F7F5F0;
  --plain-card: #FFFFFF;
  --border-line: rgba(44, 44, 44, 0.12);
  --border-wood: rgba(196, 167, 125, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--plain-white);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(196, 167, 125, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(166, 58, 58, 0.05) 0%, transparent 35%);
  color: var(--ink-black);
  font-family: "Source Han Serif SC", "Noto Serif SC", "思源宋体", "Source Han Sans SC", "Noto Sans SC", "思源黑体", "Songti SC", "SimSun", serif;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 5; }

/* 贯穿墨线设计 */
.ink-spine {
  position: fixed;
  top: 0;
  bottom: 0;
  left: calc(50% - 580px);
  width: 1px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(44, 44, 44, 0.35) 15%, 
    rgba(196, 167, 125, 0.6) 50%, 
    rgba(44, 44, 44, 0.35) 85%, 
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0.8;
}

@media (max-width: 1220px) {
  .ink-spine { left: 16px; }
}

/* 朱砂印章点缀 */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--vermilion);
  color: var(--vermilion);
  font-family: "Source Han Serif SC", "SimSun", serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  background: var(--vermilion-soft);
  user-select: none;
  position: relative;
}
.seal::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 0.5px solid rgba(166, 58, 58, 0.3);
  pointer-events: none;
}

/* 顶部导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-black);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 18px;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--border-wood);
}
.brand span {
  font-family: "Source Han Serif SC", "SimSun", serif;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-light);
  padding: 6px 8px;
  border-radius: 4px;
  transition: all 0.25s ease;
  position: relative;
  letter-spacing: 0.04em;
}
.nav-links a:hover, .nav-links a.on {
  color: var(--ink-black);
  font-weight: 600;
}
.nav-links a.on::after, .nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--vermilion);
}

/* 首屏 Hero */
.hero {
  padding: 32px 0 24px;
  position: relative;
  z-index: 5;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--wood-warm);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  font-weight: 600;
}
h1 {
  font-size: clamp(23px, 3.1vw, 35px);
  color: var(--ink-black);
  line-height: 1.35;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.claim {
  font-size: 22px;
  font-weight: 700;
  color: var(--vermilion);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.hero-desc {
  color: var(--ink-light);
  font-size: 15px;
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* 并列 4 个下载卡片 — 零滚动转化 */
.dl-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.dl-card {
  background: var(--plain-card);
  border: 1px solid var(--border-wood);
  border-radius: 8px;
  padding: 16px 8px;
  text-align: center;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(44, 44, 44, 0.04);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--wood-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dl-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-black);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.09);
}
.dl-card:hover::before {
  opacity: 1;
}
.dl-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--wood-warm);
}
.dl-card strong {
  font-size: 14px;
  color: var(--ink-black);
  font-weight: 700;
}
.dl-card span {
  font-size: 12px;
  color: var(--ink-light);
}

/* Hero 右侧配图 */
.hero-frame {
  background: var(--plain-card);
  border: 1px solid var(--border-wood);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.06);
  position: relative;
}
.hero-frame::after {
  content: "阿里官方 · 东方韵度";
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(247, 245, 240, 0.95);
  border: 1px solid var(--border-wood);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--ink-black);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.hero-frame img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  border-radius: 8px;
}

/* 功能模块 */
.section {
  padding: 46px 0;
  position: relative;
  z-index: 5;
}
.mod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--plain-card);
  border: 1px solid var(--border-line);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.03);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.mod:hover {
  transform: translateY(-2px);
  border-color: var(--wood-primary);
}
.mod.reverse {
  direction: rtl;
}
.mod.reverse > * {
  direction: ltr;
}
.mod-name {
  color: var(--wood-warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mod-name::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--vermilion);
  transform: rotate(45deg);
}
h2 {
  font-size: 26px;
  color: var(--ink-black);
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.points {
  list-style: none;
  padding-left: 0;
}
.points li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: var(--ink-light);
  font-size: 14.5px;
  line-height: 1.75;
}
.points li::before {
  content: "一";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wood-warm);
  font-weight: 700;
}
.mod-frame {
  background: var(--plain-white);
  border: 1px solid var(--border-wood);
  border-radius: 10px;
  padding: 8px;
}
.mod-frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
}

/* 网页版入口兜底横幅 */
.web-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  background: var(--plain-card);
  border: 1px solid var(--wood-primary);
  border-radius: 12px;
  margin: 20px 0 40px;
  position: relative;
  box-shadow: 0 4px 18px rgba(196, 167, 125, 0.1);
}
.web-cta h2 { margin-bottom: 6px; font-size: 23px; }
.web-cta p { color: var(--ink-light); font-size: 14.5px; }

/* 东方质感按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--ink-black);
  color: var(--plain-white);
  border: 1px solid var(--ink-black);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}
.btn:hover {
  background: var(--wood-warm);
  border-color: var(--wood-warm);
  color: #FFFFFF;
}
.btn.ghost {
  background: transparent;
  color: var(--ink-black);
  border: 1px solid var(--ink-black);
}
.btn.ghost:hover {
  background: var(--ink-black);
  color: var(--plain-white);
}

/* 网页版对话厅堂 */
.hall {
  background: var(--plain-card);
  border: 1px solid var(--border-wood);
  border-radius: 14px;
  padding: 24px;
  margin: 16px 0 32px;
  box-shadow: 0 6px 24px rgba(44, 44, 44, 0.04);
}
.hall-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--wood-warm);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border-wood);
  padding-bottom: 8px;
}
.hall img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-line);
}
.log {
  margin: 14px 0;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--plain-white);
  border-left: 3px solid var(--vermilion);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: var(--ink-black);
  display: flex;
  align-items: center;
}
.bar {
  display: flex;
  gap: 10px;
}
.bar input {
  flex: 1;
  background: var(--plain-white);
  border: 1px solid var(--border-line);
  padding: 12px 18px;
  border-radius: 6px;
  color: var(--ink-black);
  font-size: 14.5px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.bar input:focus {
  border-color: var(--ink-black);
  background: #FFFFFF;
}

/* 卡片布局 */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.card {
  background: var(--plain-card);
  border: 1px solid var(--border-line);
  border-radius: 10px;
  padding: 22px;
  transition: all 0.25s ease;
  position: relative;
}
.card:hover {
  border-color: var(--wood-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 44, 44, 0.05);
}
.card h3 {
  color: var(--ink-black);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.card p {
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.7;
}

/* FAQ 手风琴 */
.faq details {
  background: var(--plain-card);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 10px 0;
  transition: all 0.25s ease;
}
.faq details[open] {
  border-color: var(--wood-primary);
}
.faq summary {
  cursor: pointer;
  color: var(--ink-black);
  font-weight: 700;
  font-size: 15.5px;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  color: var(--wood-warm);
  font-size: 16px;
  font-weight: bold;
}
.faq details[open] summary::after {
  content: "—";
  color: var(--vermilion);
}
.faq p {
  margin-top: 10px;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.75;
  padding-top: 8px;
  border-top: 1px dashed var(--border-line);
}

/* 页脚 */
footer {
  border-top: 1px solid var(--border-line);
  padding: 36px 0 44px;
  background: var(--plain-card);
  color: var(--ink-light);
  font-size: 13.5px;
  position: relative;
  z-index: 5;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer a {
  color: var(--ink-black);
  font-weight: 600;
}
footer a:hover {
  color: var(--vermilion);
}

/* 响应式适配 */
@media (max-width: 900px) {
  .hero-grid, .mod, .cards { grid-template-columns: 1fr; }
  .mod.reverse { direction: ltr; }
  .dl-row { grid-template-columns: 1fr 1fr; }
  .nav-inner { flex-direction: column; padding: 12px 0; }
  .hero-frame img, .mod-frame img, .hall img { height: 200px; }
  .web-cta { flex-direction: column; align-items: flex-start; }
}
