:root {
  --bg: #faf6f0;
  --bg-tint: #f2ebe0;
  --surface: #ffffff;
  --ink: #2b2420;
  --ink-soft: #6b5f56;
  --line: #e4d9ca;
  --wood: #a5683a;
  --wood-dark: #7a4a28;
  --sage: #5f7a61;
  --dark: #26302a;
  --dark-ink: #efe8dc;
  --radius: 18px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; margin: 0; }
p { margin: 0; }

/* 双语切换 */
html[lang="zh-CN"] .en { display: none; }
html[lang="en"] .zh { display: none; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -0.01em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(60, 40, 20, .4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--wood), var(--wood-dark));
  color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 700;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 18px; letter-spacing: .04em; }
.brand-text small { font-size: 12px; color: var(--ink-soft); letter-spacing: .03em; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--wood); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 7px 14px; border-radius: 999px; font-size: 14px; cursor: pointer;
  font-family: var(--sans); transition: border-color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--wood); }
.menu-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--wood); color: #fff; box-shadow: 0 10px 24px -12px rgba(165, 104, 58, .8); }
.btn-primary:hover { background: var(--wood-dark); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--wood); color: var(--wood-dark); transform: translateY(-2px); }

/* 首屏 */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60%; height: 120%;
  background: radial-gradient(closest-side, rgba(165, 104, 58, .12), transparent);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--wood); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--wood); position: relative; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 34em; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art { position: relative; }
.hero-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: var(--bg-tint);
  box-shadow: 0 30px 60px -36px rgba(60, 40, 20, .55);
}
.about-photo { margin: 32px 0 0; }
.about-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--bg-tint);
}
.hero-badge {
  position: absolute; left: 4%; bottom: 8%;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; display: flex; flex-direction: column;
  box-shadow: 0 18px 40px -24px rgba(60, 40, 20, .5);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { font-family: var(--serif); font-size: 26px; color: var(--wood); line-height: 1.1; }
.hero-badge span { font-size: 13px; color: var(--ink-soft); }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat { padding: 24px 28px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { font-family: var(--serif); font-size: 24px; }
.stat > span { font-size: 14px; color: var(--ink-soft); }

/* 通用板块 */
.section { padding: 104px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }

/* 关于 */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-body > p { color: var(--ink-soft); font-size: 17px; margin-bottom: 18px; }
.pillars { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.pillars li {
  display: flex; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px;
  transition: transform .25s, border-color .25s;
}
.pillars li:hover { transform: translateX(6px); border-color: var(--wood); }
.pillar-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint);
  display: grid; place-items: center; flex-shrink: 0;
}
.pillar-icon svg, .chip svg { width: 22px; height: 22px; fill: none; stroke: var(--wood-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillars h3 { font-size: 17px; }
.pillars p { font-size: 14px; color: var(--ink-soft); }

/* 产品 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(60, 40, 20, .45); }
.product-visual { aspect-ratio: 5 / 3; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-visual img { transform: scale(1.05); }
.v-solid { background: linear-gradient(135deg, #f1dfc6, #e2c39c); }
.v-panel { background: linear-gradient(135deg, #e7e3da, #d3cbbb); }
.v-home  { background: linear-gradient(135deg, #e1e8dc, #c6d3c1); }
.product-body { padding: 24px 26px 28px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--wood-dark);
  background: var(--bg-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px;
}
.product-body h3 { font-size: 22px; margin-bottom: 8px; }
.product-body p { color: var(--ink-soft); font-size: 15px; }

.more-cats {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 28px; border-radius: var(--radius); border: 1px dashed #cdb99f; background: rgba(255,255,255,.5);
}
.more-title { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 14px;
}
.chip svg { width: 18px; height: 18px; }

/* 流程 */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s;
}
.step {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.step:hover { border-color: var(--wood); transform: translateY(-4px); }
.step-no {
  font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--wood);
  display: block; margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* 市场 */
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .eyebrow { color: #d9a877; }
.markets { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.markets-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 22px; }
.markets-copy > p { color: rgba(239, 232, 220, .75); font-size: 17px; margin-bottom: 28px; }
.market-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.market-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #d9a877; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(217,168,119,.18); }
.route svg { width: 100%; max-width: 420px; margin-inline: auto; overflow: visible; }
.route-ring { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1.5; }
.route-path { fill: none; stroke: #d9a877; stroke-width: 2.5; stroke-dasharray: 6 8; animation: dash 18s linear infinite; }
.route-path.dashed { stroke: rgba(217,168,119,.55); stroke-width: 1.5; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.route-node circle { fill: var(--dark-ink); }
.route-node.accent circle { fill: #d9a877; }
.route-node text { fill: var(--dark-ink); font-size: 15px; font-family: var(--sans); font-weight: 600; }
.route-node.small text { font-size: 13px; fill: rgba(239,232,220,.7); font-weight: 500; }
html[lang="zh-CN"] tspan.en, html[lang="en"] tspan.zh { display: none; }

/* 优势 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { padding: 28px 24px; border-top: 3px solid var(--wood); background: var(--surface); border-radius: 0 0 14px 14px; }
.why h3 { font-size: 19px; margin-bottom: 10px; }
.why p { color: var(--ink-soft); font-size: 15px; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-tint); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-note { font-family: var(--serif); color: var(--ink-soft); }
.copyright { font-size: 13px; color: var(--ink-soft); width: 100%; }

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge, .route-path { animation: none; }
  html { scroll-behavior: auto; }
}

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner, .about, .markets { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .product-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about { gap: 32px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 40px; }
  .lead { font-size: 16px; }
  .product-grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .stats { margin-top: 40px; }
  .stat { padding: 18px 20px; }
  .stat strong { font-size: 20px; }
  .more-cats { padding: 20px; }
}
