/* ============================================================
   流音盒 · 官网样式
   主题：深色鎏金 · 高级文艺感
   ============================================================ */

:root {
  --bg:        #12100c;
  --bg-soft:   #191611;
  --surface:   #1e1a14;
  --surface-2: #241f17;

  --text:      #ece4d4;
  --muted:     #a99c87;
  --muted-2:   #7d715f;

  --gold:      #c9a45c;
  --gold-hi:   #e6c98a;
  --gold-dim:  rgba(201, 164, 92, 0.16);
  --line:      rgba(201, 164, 92, 0.16);
  --line-soft: rgba(201, 164, 92, 0.09);

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans:  "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Microsoft YaHei UI", sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #3a332a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

::selection { background: rgba(201, 164, 92, 0.3); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ============ 通用 Section ============ */
.section { padding: 120px 0; position: relative; }

.section-head { text-align: center; margin-bottom: 72px; }
.section-eyebrow {
  display: block;
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0.12em;
  color: var(--text);
  line-height: 1.4;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.divider i {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider i:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.divider span { color: var(--gold); font-size: 9px; letter-spacing: 2px; }

/* ============ 滚动显现动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ 导航 ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease;
}
.site-nav.scrolled {
  padding: 12px 0;
  background: rgba(18, 16, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 42px; height: 42px; border-radius: 10px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text b { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.08em; }
.nav-logo-text i { font-family: var(--latin); font-style: normal; font-size: 9px; letter-spacing: 0.3em; color: var(--gold); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s, left 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; left: 0; }

.nav-cta {
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 9px 20px;
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  border-radius: 40px;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold); color: #14110c; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--text); transition: 0.3s; }

/* ============ 首屏 ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 120px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(201,164,92,0.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(201,164,92,0.08), transparent 55%),
    linear-gradient(180deg, #0e0c09 0%, var(--bg) 55%, #14110c 100%);
}
.hero-lines { position: absolute; inset: 0; opacity: 0.5; }
.hero-lines svg { width: 100%; height: 100%; }
.hero-lines path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.14;
}

.hero-content { position: relative; max-width: 820px; }
.hero-mark { width: 88px; height: 88px; margin: 0 auto 30px; }
.hero-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 20px; }

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(56px, 13vw, 148px);
  line-height: 1;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  color: #f5efe2;
  text-shadow: 0 0 60px rgba(201,164,92,0.25);
}
.hero-title .char { display: inline-block; }

.hero-en {
  font-family: var(--latin);
  font-size: 15px;
  letter-spacing: 0.7em;
  color: var(--gold);
  margin-bottom: 22px;
  padding-left: 0.7em; /* 视觉居中补偿 letter-spacing */
}

.hero-tag {
  font-family: var(--serif);
  font-size: clamp(17px, 2.6vw, 22px);
  letter-spacing: 0.16em;
  color: var(--gold-hi);
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 620px;
  margin: 0 auto 42px;
}

.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 14px 34px;
  border-radius: 40px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn-solid { background: var(--gold); color: #14110c; font-weight: 500; }
.btn-solid:hover { background: var(--gold-hi); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(201,164,92,0.5); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold-hi); }
.btn-ghost:hover { background: rgba(201,164,92,0.1); transform: translateY(-2px); }
.btn-lg { padding: 17px 48px; font-size: 15px; }

.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.hero-scroll i {
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============ 品牌故事 ============ */
.story { background: var(--bg); }
.story-lead p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 2.1;
  letter-spacing: 0.03em;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.story-quote {
  position: relative;
  max-width: 700px;
  margin: 64px auto;
  text-align: center;
}
.story-quote .quote-mark {
  font-family: var(--latin);
  font-size: 80px;
  color: var(--gold-dim);
  line-height: 0.6;
  display: block;
}
.story-quote .quote-mark:first-child { margin-bottom: 8px; }
.story-quote .quote-mark:last-child { margin-top: 8px; }
.story-quote-text {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.18em;
  color: var(--gold-hi);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.story-col p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.story-col p:last-child { margin-bottom: 0; }

.story-close {
  font-family: var(--serif);
  max-width: 760px;
  margin: 64px auto 0;
  text-align: center;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--gold-hi);
  line-height: 2.2;
}

/* ============ 产品 ============ */
.product { background: var(--bg-soft); }
.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-media { position: relative; }
.media-frame {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.media-photo { width: 100%; height: 560px; object-fit: cover; object-position: center; }

.media-cutout {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 44%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
}
.media-cutout img { width: 100%; }

.product-name {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #f5efe2;
}
.product-sub {
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin: 10px 0 26px;
}
.product-desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 480px;
}

.product-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.tag {
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--gold-hi);
  background: rgba(201,164,92,0.05);
}

.product-video { border-radius: 6px; overflow: hidden; }
.product-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}
.video-caption {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding: 12px 2px;
}

/* ============ 产品图集（横向滚动） ============ */
.gallery { background: var(--bg); }
.gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,164,92,0.3) transparent;
}
.gallery-scroll.dragging { cursor: grabbing; scroll-behavior: auto; }
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: rgba(201,164,92,0.3); border-radius: 10px; }
.gallery-scroll::-webkit-scrollbar-thumb:hover { background: rgba(201,164,92,0.55); }

.gallery-card {
  flex: 0 0 auto;
  width: 240px;
  height: 426px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  scroll-snap-align: start;
  transition: transform 0.4s, border-color 0.4s;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover { border-color: var(--line); transform: translateY(-4px); }
.gallery-card:hover img { transform: scale(1.04); }

.gallery-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(201,164,92,0.06);
  color: var(--gold-hi);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.gallery-arrow:hover { background: var(--gold); color: #14110c; border-color: var(--gold); }

.gallery-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}

/* ============ 核心优势（横向排列） ============ */
.features { background: var(--bg); }
.feature-row-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.feature-card {
  flex: 1 1 180px;
  min-width: 160px;
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--surface), transparent);
  transition: transform 0.4s, border-color 0.4s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--line); }
.feature-num {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.85;
}
.feature-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-desc { color: var(--muted); font-size: 13px; line-height: 1.8; }

/* ============ 应用场景 ============ */
.scenes { background: var(--bg-soft); }
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.scene-card {
  padding: 40px 28px 36px;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--surface), transparent);
  transition: transform 0.4s, border-color 0.4s;
}
.scene-card:hover { transform: translateY(-8px); border-color: var(--line); }
.scene-icon { width: 60px; height: 60px; margin: 0 auto 22px; }
.scene-icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.scene-desc { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ============ 荣誉专利 ============ */
.honor { background: var(--bg-soft); }
.honor-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, var(--surface), var(--bg));
}
.honor-main { text-align: center; }
.honor-big {
  font-family: var(--latin);
  font-size: 130px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.honor-unit {
  display: block;
  margin: 10px 0 16px;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: var(--text);
}
.honor-main p { color: var(--muted); font-size: 14px; max-width: 220px; margin: 0 auto; }

.honor-items { display: flex; flex-direction: column; gap: 26px; }
.honor-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.honor-item:last-child { border-bottom: 0; padding-bottom: 0; }
.honor-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  flex-shrink: 0;
}
.honor-item span:not(.honor-dot) {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.honor-item i {
  font-style: normal;
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ============ 页脚（含联系方式） ============ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 26px;
  background: #0e0c09;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand b {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
}
.footer-brand span { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }

.footer-contact { text-align: right; }
.footer-tel {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--gold-hi);
  transition: color 0.3s;
}
.footer-tel:hover { color: #fff; }
.footer-line { font-size: 13px; color: var(--muted); margin-top: 5px; }
.footer-line a { color: var(--muted); transition: color 0.3s; }
.footer-line a:hover { color: var(--gold-hi); }
.footer-addr { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.footer-copy { font-size: 12px; color: var(--muted-2); letter-spacing: 0.04em; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 54px; }

  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-col p { margin-bottom: 18px; }

  .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .media-photo { height: 440px; }

  .scene-grid { grid-template-columns: repeat(2, 1fr); }

  .honor-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 40px 28px; }
  .honor-main p { margin: 0 auto; }
  .honor-items { text-align: left; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(14, 12, 9, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 20px; letter-spacing: 0.16em; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; z-index: 2; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero-title { letter-spacing: 0.12em; }
  .media-photo { height: 360px; }
  .media-cutout { right: -6px; bottom: -10px; width: 46%; }

  .scene-grid { grid-template-columns: 1fr; }

  .gallery-arrow { display: none; }
  .gallery-card { width: 200px; height: 356px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-contact { text-align: left; }
  .footer-copy { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll i { animation: none; }
}
