/* ============================================================
   予光 · 品牌站视觉系统 v1.0
   夜蓝为底 · 微光金为光 · 月白为字 · 星空为幕
   ============================================================ */

:root {
  --night: #0b0e17;
  --night2: #101828;
  --ink: #141b2e;
  --gold: #e3c47c;
  --gold-deep: #d9a441;
  --moon: #f4efe6;
  --star: #8fa3d9;
  --cinnabar: #c33c2e;
  --line: rgba(227, 196, 124, 0.16);
  --line-soft: rgba(244, 239, 230, 0.08);
  --text-dim: rgba(244, 239, 230, 0.6);
  --glow: rgba(227, 196, 124, 0.32);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong,
    "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC",
    "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(60% 45% at 18% 12%, rgba(63, 84, 158, 0.18), transparent 60%),
    radial-gradient(50% 40% at 85% 18%, rgba(120, 84, 160, 0.14), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(6, 9, 16, 0.85), transparent 70%),
    #0b0e17;
  color: var(--moon);
  font-family: var(--sans);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 星空背景 ---------- */
#stars {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
}
/* 全站星夜底图（背景.jpg，如更换新图替换文件名即可） */
.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.05) brightness(0.9);
}
/* 星夜压暗层：保证文字可读，同时让星光透出 */
.bg-dim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 95% at 50% 8%, rgba(9, 12, 22, 0.18) 0%, rgba(6, 9, 16, 0.72) 100%);
}
main, header, footer { position: relative; z-index: 3; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(11, 14, 23, 0.92), rgba(11, 14, 23, 0.55));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 18px var(--glow);
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 10px rgba(227, 196, 124, 0.18); }
  50% { box-shadow: 0 0 26px rgba(227, 196, 124, 0.5); }
}
.nav-brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.14em;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.btn-gold {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #14121a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(227, 196, 124, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(227, 196, 124, 0.55);
}
.btn-ghost {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--moon);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--glow);
}
.menu-btn { display: none; background: none; border: none; color: var(--moon); font-size: 22px; cursor: pointer; }

/* ---------- 通用区块 ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 38px);
  text-align: center;
  letter-spacing: 0.16em;
  color: var(--moon);
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto 56px;
  letter-spacing: 0.06em;
}
.gold-line {
  width: 56px; height: 1px;
  margin: 0 auto 46px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(135% 105% at 50% 36%, rgba(11, 14, 23, 0.28) 0%, rgba(6, 9, 16, 0.9) 80%);
}
.hero-inner { padding: 140px 24px 90px; }
.hero-kicker {
  color: var(--star);
  font-size: 13px;
  letter-spacing: 0.5em;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5.6vw, 58px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--moon);
  text-shadow: 0 0 60px rgba(227, 196, 124, 0.35);
  margin-bottom: 18px;
}
.hero h1 .hl { color: var(--gold); }
.hero-sub {
  color: var(--text-dim);
  font-size: clamp(14px, 1.8vw, 17px);
  letter-spacing: 0.24em;
  margin-bottom: 44px;
}
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-logo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 34px;
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(227, 196, 124, 0.45);
  animation: breathe 5s ease-in-out infinite;
  display: block;
}
.scroll-hint {
  margin-top: 64px;
  color: rgba(244, 239, 230, 0.35);
  font-size: 12px;
  letter-spacing: 0.4em;
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(6px); }
}

/* ---------- 理念引言 ---------- */
.philosophy {
  background: linear-gradient(180deg, rgba(11, 14, 23, 0.6), rgba(16, 24, 40, 0.42));
  text-align: center;
}
.philosophy .big {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.18em;
  line-height: 2;
  max-width: 760px;
  margin: 0 auto;
}
.philosophy .big .hl { color: var(--gold); }
.philosophy p.dim {
  color: var(--text-dim);
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 15px;
}

/* ---------- 三线入口 ---------- */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.line-card {
  background: linear-gradient(160deg, rgba(20, 27, 46, 0.85), rgba(16, 24, 40, 0.6));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.line-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 24px var(--glow);
}
.line-glyph {
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.line-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}
.line-card .en {
  color: var(--star);
  font-size: 12px;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.line-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.9;
}
.line-card .ask {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ---------- 定制四步 ---------- */
.steps { background: linear-gradient(180deg, rgba(16, 24, 40, 0.5), rgba(11, 14, 23, 0.66)); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 30px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: rgba(11, 14, 23, 0.5);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  color: var(--gold);
  font-size: 26px;
  opacity: 0.85;
  display: block;
  margin-bottom: 12px;
}
.step h4 { font-size: 16px; letter-spacing: 0.16em; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 13px; line-height: 1.8; }

/* ---------- 微光时刻 ---------- */
.lights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.light-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 34px 28px;
  background: linear-gradient(170deg, rgba(20, 27, 46, 0.7), rgba(11, 14, 23, 0.8));
}
.light-card .quote-mark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}
.light-card p { color: var(--moon); font-size: 14px; margin: 12px 0 22px; }
.light-card .who {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.light-card .who b { color: var(--gold); font-weight: 400; }

/* ---------- 我们的承诺 ---------- */
.promise { background: linear-gradient(180deg, rgba(11, 14, 23, 0.64), rgba(16, 24, 40, 0.5)); }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.promise-item {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}
.promise-item .g {
  font-size: 26px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.promise-item h4 { font-size: 15px; letter-spacing: 0.14em; margin-bottom: 6px; }
.promise-item p { color: var(--text-dim); font-size: 13px; line-height: 1.8; }
.promise-note {
  margin-top: 44px;
  text-align: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(17px, 2.2vw, 22px);
  letter-spacing: 0.24em;
  text-shadow: 0 0 30px var(--glow);
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
  background: rgba(6, 9, 16, 0.88);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h5 {
  font-family: var(--serif);
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 15px;
  margin-bottom: 14px;
}
.footer a { color: var(--text-dim); text-decoration: none; display: block; font-size: 14px; line-height: 2.2; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer .brand-line {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 10px;
}
.disclaimer {
  border-top: 1px solid var(--line-soft);
  padding-top: 26px;
  color: rgba(244, 239, 230, 0.42);
  font-size: 12px;
  line-height: 2;
}

/* ---------- 页面头（内页） ---------- */
.page-hero {
  padding: 170px 24px 70px;
  text-align: center;
  background:
    radial-gradient(125% 90% at 50% 0%, rgba(11, 14, 23, 0.34) 0%, rgba(6, 9, 16, 0.92) 78%);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.page-hero p { color: var(--text-dim); letter-spacing: 0.14em; font-size: 15px; }

/* ---------- 品牌故事页 ---------- */
.story-article { max-width: 780px; margin: 0 auto; }
.story-article .lede {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 2.1;
  color: var(--gold);
  margin: 60px 0 30px;
}
.story-article p {
  font-size: 16px;
  color: var(--moon);
  margin-bottom: 26px;
  text-align: justify;
}
.story-article .scene {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-align: center;
  margin: 44px 0;
}
.story-quote {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 34px 0;
  color: var(--text-dim);
  font-size: 15px;
}
.story-logo {
  display: block;
  width: min(340px, 70vw);
  margin: 60px auto;
  border-radius: 18px;
  box-shadow: 0 0 60px rgba(227, 196, 124, 0.3);
  border: 1px solid var(--line);
}
.short-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  margin: 60px 0;
  background: linear-gradient(160deg, rgba(20, 27, 46, 0.9), rgba(11, 14, 23, 0.9));
  box-shadow: 0 0 34px rgba(227, 196, 124, 0.12);
}
.short-card .label {
  color: var(--star);
  font-size: 12px;
  letter-spacing: 0.4em;
  margin-bottom: 16px;
}
.short-card p { font-family: var(--serif); font-size: 17px; line-height: 2.2; color: var(--moon); margin: 0; }

/* ---------- 定制工坊 ---------- */
.studio-wrap { max-width: 1040px; margin: 0 auto; padding: 30px 24px 110px; }
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.tab-btn {
  padding: 11px 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font-size: 15px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--sans);
}
.tab-btn:hover { border-color: var(--gold); color: var(--gold); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #14121a;
  border-color: transparent;
  box-shadow: 0 0 20px var(--glow);
  font-weight: 600;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.panel { display: none; }
.panel.active { display: block; }
.field {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(16, 24, 40, 0.5);
}
.field label {
  display: block;
  font-size: 12px;
  color: var(--star);
  letter-spacing: 0.24em;
  margin-bottom: 12px;
}
.field select, .field input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid rgba(244, 239, 230, 0.14);
  background: var(--night2);
  color: var(--moon);
  font-size: 15px;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.3s;
}
.field select:focus, .field input:focus { border-color: var(--gold); }
.field .hint { font-size: 12px; color: var(--text-dim); margin-top: 10px; line-height: 1.8; }

/* 设计卡 */
.preview-card {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(227, 196, 124, 0.08), transparent 55%),
    linear-gradient(170deg, rgba(20, 27, 46, 0.95), rgba(11, 14, 23, 0.95));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(227, 196, 124, 0.1);
  text-align: center;
}
.preview-stone {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 6px auto 22px;
  border: 1px solid rgba(244, 239, 230, 0.25);
  box-shadow: 0 0 44px var(--stone-glow, rgba(227, 196, 124, 0.5));
  transition: background 0.6s, box-shadow 0.6s;
}
.preview-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 4px;
}
.preview-sub { color: var(--star); font-size: 13px; letter-spacing: 0.3em; margin-bottom: 22px; text-transform: uppercase; }
.preview-rows {
  text-align: left;
  border-top: 1px dashed var(--line-soft);
  padding-top: 18px;
}
.preview-rows .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 7px 0;
  color: var(--moon);
}
.preview-rows .row span:first-child { color: var(--text-dim); flex-shrink: 0; }
.preview-light {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(227, 196, 124, 0.07);
  border: 1px solid rgba(227, 196, 124, 0.2);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
  text-align: left;
}
.preview-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.studio-note {
  margin-top: 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ---------- 滚动渐亮 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; color: rgba(244, 239, 230, 0.3); }

/* ---------- 系列总览 ---------- */
.coll-list { display: flex; flex-direction: column; gap: 22px; }
.coll-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(20, 27, 46, 0.85), rgba(11, 14, 23, 0.85));
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.coll-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45), 0 0 22px var(--glow);
}
.coll-num {
  font-family: var(--serif);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 196, 124, 0.55);
  text-align: center;
  line-height: 1.2;
}
.coll-info h3 {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}
.coll-info .coll-en { color: var(--star); font-size: 12px; letter-spacing: 0.3em; margin-bottom: 10px; text-transform: uppercase; }
.coll-info .coll-ask { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.coll-info p { color: var(--text-dim); font-size: 14px; max-width: 640px; }
.coll-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.coll-actions { display: flex; flex-direction: column; gap: 10px; }
.coll-actions .btn-gold, .coll-actions .btn-ghost { text-align: center; padding: 9px 20px; font-size: 13px; }

/* ---------- 标签 chip ---------- */
.chip {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ---------- 产品详情 ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 40%, rgba(20, 27, 46, 0.6), transparent 70%),
    linear-gradient(170deg, rgba(16, 24, 40, 0.9), rgba(7, 10, 18, 0.95));
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pg-stone {
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, var(--stone-a, #c9575b), #0b0e17 78%);
  box-shadow: 0 0 90px var(--stone-glow, rgba(227, 196, 124, 0.5));
  position: relative;
}
.pg-stone::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  border: 1px dashed rgba(227, 196, 124, 0.35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pg-stone::before {
  content: "☲";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: rgba(244, 239, 230, 0.85);
  text-shadow: 0 0 18px rgba(244, 239, 230, 0.6);
}
.pg-mark {
  position: absolute;
  left: 18px; bottom: 14px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: rgba(244, 239, 230, 0.35);
}
.p-name {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.16em;
  color: var(--moon);
  margin: 14px 0 6px;
}
.p-sub { color: var(--star); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 18px; }
.p-price { color: var(--gold); font-size: 28px; letter-spacing: 0.06em; margin-bottom: 6px; font-family: var(--serif); }
.p-price small { font-size: 13px; color: var(--text-dim); letter-spacing: 0.06em; }
.p-quote {
  margin: 20px 0 24px;
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  background: rgba(227, 196, 124, 0.06);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
}
.product-info .p-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }

/* 产品页选项卡 */
.mini-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line-soft); margin-bottom: 22px; flex-wrap: wrap; }
.tab-mini {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-size: 15px;
  letter-spacing: 0.16em;
  cursor: pointer;
  font-family: var(--sans);
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: -1px;
}
.tab-mini:hover { color: var(--gold); }
.tab-mini.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; text-align: justify; }
.tab-panel p b { color: var(--moon); font-weight: 500; }

/* 参数表 */
.spec-rows { border-top: 1px dashed var(--line-soft); }
.spec-rows .row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 2px;
  border-bottom: 1px dashed rgba(244, 239, 230, 0.07);
  font-size: 15px;
}
.spec-rows .row span:first-child { color: var(--text-dim); flex-shrink: 0; min-width: 90px; }
.spec-rows .row span:last-child { color: var(--moon); text-align: right; }

/* 说明块（承诺页/合规） */
.doc-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 38px;
  background: linear-gradient(160deg, rgba(20, 27, 46, 0.9), rgba(11, 14, 23, 0.9));
  margin-bottom: 30px;
}
.doc-block h3 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 16px;
}
.doc-block p, .doc-block li { color: var(--text-dim); font-size: 15px; margin-bottom: 12px; text-align: justify; }
.doc-block ul { padding-left: 20px; list-style: none; }
.doc-block ul li { position: relative; padding-left: 16px; }
.doc-block ul li::before {
  content: "✦";
  position: absolute;
  left: -4px;
  top: 0;
  color: var(--gold);
  font-size: 10px;
  opacity: 0.8;
}
.doc-block .strong { color: var(--moon); }
.doc-block .strong b { color: var(--gold); font-weight: 500; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  margin-bottom: 14px;
  background: rgba(16, 24, 40, 0.55);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--moon);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary::after {
  content: "＋";
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 26px 22px; color: var(--text-dim); font-size: 15px; line-height: 2.1; }

/* 相关推荐 */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(165deg, rgba(20, 27, 46, 0.8), rgba(11, 14, 23, 0.85));
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.related-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 0 20px var(--glow); }
.related-card .rc-dot {
  width: 46px; height: 46px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: radial-gradient(circle at 35% 32%, var(--rc, #8fa3d9), #0b0e17 80%);
  box-shadow: 0 0 22px var(--rc, #8fa3d9);
}
.related-card h4 { font-family: var(--serif); font-size: 17px; letter-spacing: 0.14em; margin-bottom: 6px; color: var(--moon); }
.related-card p { color: var(--text-dim); font-size: 13px; }

/* ---------- 响应式（补充） ---------- */
@media (max-width: 920px) {
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .coll-card { grid-template-columns: 1fr; gap: 12px; padding: 26px 24px; }
  .coll-num { text-align: left; }
  .coll-actions { flex-direction: row; }
}

/* ---------- 商品示例图（产品详情主视觉） ---------- */
.product-gallery { aspect-ratio: auto; min-height: 420px; }
.pg-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 微信二维码槽位 ---------- */
.qr-grid {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}
.qr-item { text-align: center; width: 216px; }
.qr-box {
  width: 200px; height: 200px;
  margin: 0 auto 16px;
  position: relative;
  border-radius: 14px;
  border: 1px dashed rgba(227, 196, 124, 0.45);
  background: var(--night2);
  overflow: hidden;
}
.qr-box img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 14px;
}
.qr-box .qr-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}
.qr-item .qr-name {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}
.qr-item .qr-cap { color: var(--text-dim); font-size: 12px; letter-spacing: 0.08em; }
.contact { background: linear-gradient(180deg, rgba(16, 24, 40, 0.55), rgba(11, 14, 23, 0.82)); }
.wechat-id {
  margin-top: 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- 认识予光（介绍卡片页） ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-grid .doc-block { margin-bottom: 0; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.idea-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 34px 28px;
  background: linear-gradient(165deg, rgba(20, 27, 46, 0.85), rgba(11, 14, 23, 0.9));
  text-align: center;
}
.idea-card .glyph {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.idea-card h3 { font-family: var(--serif); font-size: 19px; letter-spacing: 0.14em; margin-bottom: 10px; }
.idea-card .en { color: var(--star); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.idea-card p { color: var(--text-dim); font-size: 14px; line-height: 1.95; }
.intro-lead {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: 0.16em;
  line-height: 2.1;
  max-width: 800px;
  margin: 0 auto;
}
.intro-lead .hl { color: var(--gold); }

/* ---------- 响应式（补充 2） ---------- */
@media (max-width: 920px) {
  .duo-grid { grid-template-columns: 1fr; }
  .idea-grid { grid-template-columns: 1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .lines-grid, .lights-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: 1fr; }
  .preview-card { position: static; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(11,14,23,0.98); padding: 18px 24px; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; margin-left: auto; }
  .lines-grid, .lights-grid, .steps-grid, .promise-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- 客户图片库展示（微光时刻） ---------- */
.light-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(20, 27, 46, 0.9), rgba(11, 14, 23, 0.95));
}
.light-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.light-img .ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
  padding: 14px;
}

/* ---------- 光集（客户作品库） ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.g-card {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(20, 27, 46, 0.85), rgba(11, 14, 23, 0.92));
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.g-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 0 24px var(--glow); }
.g-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.g-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.g-img .ph {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--text-dim); font-size: 12px; line-height: 1.9; text-align: center; padding: 14px;
}
.g-cap { padding: 16px 18px 18px; }
.g-cap .g-name { font-family: var(--serif); font-size: 17px; letter-spacing: 0.12em; color: var(--moon); margin-bottom: 4px; }
.g-cap .g-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold); font-size: 11px; letter-spacing: 0.12em; margin-bottom: 8px; }
.g-cap .g-story { color: var(--text-dim); font-size: 13px; line-height: 1.85; }
.g-cap .g-quote { color: var(--gold); font-size: 13px; line-height: 1.9; margin-top: 8px; font-family: var(--serif); }

/* ---------- 星图志 / 互动（功能页） ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.mini-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 18px 18px 16px;
  background: linear-gradient(165deg, rgba(20,27,46,.85), rgba(11,14,23,.9));
}
.mini-card h4 { font-family: var(--serif); font-size: 16px; letter-spacing: .1em; color: var(--gold); margin-bottom: 4px; }
.mini-card .sym { color: var(--star); font-size: 12px; letter-spacing: .2em; margin-bottom: 8px; display: block; }
.mini-card p { color: var(--text-dim); font-size: 13px; line-height: 1.85; }
.mini-card .sub { color: var(--moon); font-size: 13px; margin-top: 6px; }
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.play-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  background: linear-gradient(170deg, rgba(20,27,46,.92), rgba(11,14,23,.94));
  box-shadow: 0 0 26px rgba(227,196,124,.06);
}
.play-box .glyph { font-size: 34px; display: block; margin-bottom: 12px; }
.play-box h3 { font-family: var(--serif); letter-spacing: .18em; margin-bottom: 6px; }
.play-box .desc { color: var(--text-dim); font-size: 13px; margin: 8px 0 18px; min-height: 40px; }
.play-result {
  margin: 16px 0;
  padding: 18px;
  border-radius: 12px;
  background: rgba(227,196,124,.07);
  border: 1px dashed rgba(227,196,124,.35);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 2;
  min-height: 66px;
  display: flex; align-items: center; justify-content: center;
}
.wheel-wrap { position: relative; width: 220px; height: 220px; margin: 0 auto 14px; }
.wheel {
  width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 4.2s cubic-bezier(.18,.6,.24,1);
}
.wheel .dot {
  position: absolute; left: 50%; top: 50%;
  width: 0; height: 0;
}
.wheel-pointer {
  position: absolute; left: 50%; top: -8px;
  transform: translateX(-50%);
  font-size: 22px; z-index: 2; color: var(--gold);
  text-shadow: 0 0 8px rgba(0,0,0,.6);
}
.play-note { color: var(--text-dim); font-size: 12px; margin-top: 10px; }
@media (max-width: 920px) { .play-grid { grid-template-columns: 1fr; } }

/* ---------- 数据表单 / 验真 ---------- */
.sb-form { display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin: 0 auto; }
.sb-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-form input, .sb-form textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(244,239,230,.16); background: var(--night2);
  color: var(--moon); font-size: 14px; font-family: var(--sans); outline: none;
}
.sb-form textarea { min-height: 90px; resize: vertical; }
.sb-form input:focus, .sb-form textarea:focus { border-color: var(--gold); }
.sb-form .form-status { color: var(--gold); font-size: 13px; line-height: 1.9; text-align: center; min-height: 20px; }
.verify-input { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.verify-input input {
  width: min(320px, 70vw); padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(244,239,230,.2); background: var(--night2);
  color: var(--gold); font-size: 16px; letter-spacing: .12em; text-align: center; font-family: var(--sans); outline: none;
}
.verify-input input:focus { border-color: var(--gold); }
.verify-result { max-width: 560px; margin: 26px auto 0; }
@media (max-width: 560px) { .sb-form .row { grid-template-columns: 1fr; } }

/* ---------- AI 光语助手（悬浮 + 选石） ---------- */
.ai-widget { position: fixed; right: 20px; bottom: 20px; z-index: 999; font-family: var(--sans); }
.ai-fab {
  width: auto; padding: 12px 18px; border: none; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #14121a; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 22px rgba(227,196,124,.45); letter-spacing: .06em;
}
.ai-panel {
  display: none; position: absolute; right: 0; bottom: 62px;
  width: min(340px, 86vw); max-height: 460px; flex-direction: column;
  background: linear-gradient(170deg, rgba(16,24,40,.98), rgba(7,10,18,.98));
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.6);
}
.ai-widget.open .ai-panel { display: flex; }
.ai-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; color: var(--gold); font-family: var(--serif);
  letter-spacing: .14em; border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.ai-close { cursor: pointer; color: var(--text-dim); font-size: 16px; padding: 0 2px; }
.ai-body { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 130px; }
.ai-tip { color: var(--text-dim); font-size: 12px; line-height: 1.8; }
.ai-msg { max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.ai-msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #14121a; }
.ai-msg.ai { align-self: flex-start; background: rgba(20,27,46,.9); color: var(--moon); border: 1px solid var(--line-soft); }
.ai-foot { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-soft); }
.ai-foot input {
  flex: 1; padding: 9px 12px; border-radius: 9px; border: 1px solid rgba(244,239,230,.16);
  background: var(--night2); color: var(--moon); font-size: 13px; outline: none;
}
.ai-foot button {
  padding: 9px 14px; border: none; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #14121a; font-weight: 600; cursor: pointer;
}
.ai-stones { max-width: 640px; margin: 0 auto; }
.ai-stones .rowq { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.ai-stones input {
  flex: 1; min-width: 220px; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(244,239,230,.18); background: var(--night2);
  color: var(--moon); outline: none;
}
.ai-stones .res {
  margin-top: 14px; text-align: left; padding: 16px; border-radius: 12px;
  border: 1px dashed rgba(227,196,124,.4); background: rgba(227,196,124,.06);
  color: var(--gold); font-size: 14px; line-height: 2; white-space: pre-wrap;
}

/* ---------- 核心功能（主页） / 登录 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 18px; }
.feat-card {
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 26px 22px;
  text-align: center; text-decoration: none; color: inherit;
  background: linear-gradient(165deg, rgba(20,27,46,.85), rgba(11,14,23,.92));
  transition: transform .3s, border-color .3s, box-shadow .3s; display: block;
}
.feat-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 0 22px var(--glow); }
.feat-card .g { font-size: 26px; color: var(--gold); display: block; margin-bottom: 10px; }
.feat-card h4 { font-family: var(--serif); font-size: 17px; letter-spacing: .12em; margin-bottom: 6px; color: var(--moon); }
.feat-card p { color: var(--text-dim); font-size: 12.5px; line-height: 1.8; }
.nav-user { margin-left: auto; } /* 登录入口放在导航最右 */
.login-modal-mask {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,7,12,.78);
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.login-modal-mask.show { display: flex; }
.login-modal {
  width: min(400px, 92vw); background: linear-gradient(170deg, rgba(16,24,40,.99), rgba(7,10,18,.99));
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.login-modal h3 { font-family: var(--serif); letter-spacing: .2em; color: var(--gold); text-align: center; margin-bottom: 4px; }
.login-modal .sub { text-align: center; color: var(--text-dim); font-size: 12.5px; margin-bottom: 16px; }
.login-modal input {
  width: 100%; padding: 11px 13px; margin-bottom: 10px; border-radius: 10px;
  border: 1px solid rgba(244,239,230,.18); background: var(--night2); color: var(--moon); font-size: 14px; outline: none;
}
.login-modal input:focus { border-color: var(--gold); }
.login-modal .err { color: #ff9b9b; font-size: 12.5px; min-height: 16px; margin-bottom: 6px; text-align: center; }
.login-modal .close-x { position: absolute; right: 14px; top: 12px; cursor: pointer; color: var(--text-dim); font-size: 18px; }
.orders-empty { text-align:center; color: var(--text-dim); padding: 30px 0; }
.order-row {
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center;
  background: rgba(16,24,40,.55);
}
.order-row .on { color: var(--gold); letter-spacing: .06em; }
.order-row .st { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; color: var(--moon); }
.order-row .it { color: var(--text-dim); font-size: 12.5px; flex-basis: 100%; }
