/* ============================================================
   欣欣包装 - 高端官网样式
   主题：深黑金奢华风
   ============================================================ */
:root {
  --bg: #0c0b09;
  --bg-soft: #13110d;
  --bg-card: #1a1712;
  --gold: #c9a227;
  --gold-light: #e8c76a;
  --gold-dark: #8f6f1a;
  --ivory: #f5efe2;
  --text: #c9c2b2;
  --text-dim: #8d8677;
  --line: rgba(201, 162, 39, 0.18);
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { 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.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(201, 162, 39, 0.35); color: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* 滚动条 */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(#8f6f1a, #c9a227); border-radius: 5px; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 22px 0;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(12, 11, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; flex: none;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.32);
  transition: transform 0.45s var(--ease);
  object-fit: cover; display: block;
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-family: var(--serif); font-size: 20px; color: var(--ivory); letter-spacing: 2px; }
.brand-text i {
  font-style: normal; font-size: 10px; letter-spacing: 2.5px;
  color: var(--gold); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; color: var(--text); letter-spacing: 1px;
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-store {
  padding: 9px 22px; border: 1px solid var(--gold); border-radius: 50px;
  color: var(--gold-light); font-weight: 500;
  transition: all 0.35s var(--ease);
}
.nav-links .nav-store:hover {
  background: var(--gold); color: #171205; box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}
.nav-links .nav-store::after { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--ivory);
  transition: all 0.35s var(--ease); border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, 0.55) 0%, rgba(12, 11, 9, 0.78) 55%, var(--bg) 100%),
    radial-gradient(140% 100% at 70% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    radial-gradient(60% 50% at 100% 100%, var(--bg) 0%, rgba(12, 11, 9, 0.6) 40%, transparent 75%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 60px; text-align: center;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 24px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(38px, 6.2vw, 72px);
  font-weight: 600; color: var(--ivory);
  letter-spacing: 6px; line-height: 1.35;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.hero-sub {
  margin-top: 22px; font-size: clamp(15px, 1.9vw, 19px);
  color: rgba(245, 239, 226, 0.85); letter-spacing: 2px;
}
.hero-cta { margin-top: 42px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 15px 40px;
  font-size: 15px; letter-spacing: 2px; border-radius: 50px;
  transition: all 0.4s var(--ease); cursor: pointer; border: none;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: #1a1305; font-weight: 600;
  box-shadow: 0 12px 34px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(201, 162, 39, 0.5); }
.btn-ghost {
  border: 1px solid rgba(245, 239, 226, 0.45); color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn-lg { padding: 17px 48px; font-size: 16px; }

.hero-stats {
  margin-top: 60px; display: flex; justify-content: center; gap: 0;
  border-top: 1px solid var(--line); padding-top: 34px;
}
.stat { padding: 0 46px; text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 40px; background: var(--line);
}
.stat b {
  display: block; font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px); color: var(--gold-light); font-weight: 600;
}
.stat span { font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 44px;
  border: 1.5px solid rgba(245, 239, 226, 0.4); border-radius: 20px;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 9px; border-radius: 3px; background: var(--gold);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 24px; }
  100% { opacity: 0; top: 8px; }
}

/* ============ Section 通用 ============ */
.section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(30px, 4.2vw, 46px);
  color: var(--ivory); font-weight: 600; letter-spacing: 4px;
}
.gold-line {
  width: 56px; height: 2px; margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-desc { margin-top: 18px; color: var(--text-dim); font-size: 15px; letter-spacing: 1px; }

/* ============ 关于 ============ */
.about { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.about-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
}
.about-text .lead {
  font-family: var(--serif); font-size: 24px; color: var(--gold-light);
  margin-bottom: 20px; letter-spacing: 2px;
}
.about-text p { margin-bottom: 16px; font-size: 15.5px; }
.about-text p b { color: var(--gold-light); font-weight: 500; }
.about-points { margin-top: 26px; display: grid; gap: 12px; }
.about-points li {
  position: relative; padding-left: 30px; font-size: 15px; color: var(--ivory);
}
.about-points li::before {
  content: "◆"; position: absolute; left: 0; top: 1px;
  color: var(--gold); font-size: 13px;
}
.about-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}
.about-card:hover { transform: translateY(-8px); }
.about-card-img { height: 280px; background-size: cover; background-position: center; }
.about-card-body { padding: 28px 30px 32px; }
.about-card-no {
  font-size: 11px; letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 10px;
}
.about-card-body h3 {
  font-family: var(--serif); font-size: 23px; color: var(--ivory);
  font-weight: 500; line-height: 1.6; margin-bottom: 10px;
}
.about-card-body p { font-size: 14px; color: var(--text-dim); }

/* ============ 产品中心 ============ */
.products { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: all 0.5s var(--ease);
  display: block;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.product-img {
  height: 250px; background-size: cover; background-position: center;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-img { transform: scale(1.07); }
.product-info { padding: 22px 24px 26px; }
.product-info h3 {
  font-family: var(--serif); font-size: 20px; color: var(--ivory);
  font-weight: 500; letter-spacing: 1px; margin-bottom: 8px;
}
.product-info p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 12px; }
.product-tag {
  display: inline-block; padding: 4px 14px; font-size: 12px;
  color: var(--gold-light); background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--line); border-radius: 30px; letter-spacing: 1px;
}
.product-card-cta {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(201, 162, 39, 0.16), transparent 60%),
    var(--bg-card);
}
.product-cta-inner { text-align: center; padding: 30px; }
.product-cta-inner p { font-size: 12.5px; letter-spacing: 3px; color: var(--gold); margin-bottom: 14px; }
.product-cta-inner h3 {
  font-family: var(--serif); font-size: 24px; color: var(--ivory);
  font-weight: 500; line-height: 1.7; margin-bottom: 26px; letter-spacing: 2px;
}

/* ============ 热卖爆款 ============ */
.hot { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.hot-list { display: grid; gap: 16px; }
.hot-item {
  display: flex; align-items: center; gap: 26px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 28px;
  transition: all 0.45s var(--ease);
}
.hot-item:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateX(8px);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.08), var(--bg-card) 40%);
}
.hot-rank {
  font-family: var(--serif); font-size: 30px; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
  width: 52px; flex: none;
}
.hot-body { flex: 1; min-width: 0; }
.hot-body h3 { font-size: 17px; color: var(--ivory); font-weight: 500; margin-bottom: 4px; }
.hot-body p { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.hot-tags {
  font-size: 11px; color: var(--gold); letter-spacing: 1px;
  border: 1px solid var(--line); padding: 2px 10px; border-radius: 20px;
}
.hot-sales, .hot-price { text-align: center; flex: none; width: 110px; }
.hot-sales b, .hot-price b {
  display: block; font-family: var(--serif);
  font-size: 22px; font-weight: 600; color: var(--gold-light);
}
.hot-sales span, .hot-price span { font-size: 12px; color: var(--text-dim); }
.hot-price b { color: var(--ivory); font-size: 21px; }
.hot-more { text-align: center; margin-top: 44px; }

/* ============ 核心优势 ============ */
.advantages { background: var(--bg); }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.adv-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 30px; text-align: center;
  transition: all 0.5s var(--ease);
}
.adv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.adv-icon {
  width: 60px; height: 60px; margin: 0 auto 20px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; color: var(--gold-light);
  border: 1px solid var(--line); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201, 162, 39, 0.25), transparent 70%);
  transition: all 0.5s var(--ease);
}
.adv-card:hover .adv-icon {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #171205; border-color: transparent;
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.4);
  transform: rotateY(180deg);
}
.adv-card h3 {
  font-family: var(--serif); font-size: 19px; color: var(--ivory);
  font-weight: 500; letter-spacing: 1px; margin-bottom: 10px;
}
.adv-card p { font-size: 14px; color: var(--text-dim); }

/* ============ 合作流程 ============ */
.process { background: linear-gradient(180deg, var(--bg), var(--bg-soft)); }
.process-steps {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 180px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 16px; padding: 34px 22px;
  transition: all 0.5s var(--ease);
  position: relative;
}
.step:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.step-no {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--serif); font-size: 26px; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px var(--gold);
}
.step h3 { font-family: var(--serif); font-size: 18px; color: var(--ivory); font-weight: 500; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-dim); }
.step-arrow { color: var(--gold); font-size: 22px; flex: none; }

/* ============ CTA ============ */
.cta {
  position: relative; padding: 100px 0;
  background:
    radial-gradient(100% 140% at 20% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-eyebrow {
  font-size: 12px; letter-spacing: 5px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 12px;
}
.cta-left { flex: 1.2; min-width: 280px; }
.cta-left h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px);
  color: var(--ivory); font-weight: 600; letter-spacing: 3px; margin-bottom: 14px;
}
.cta-left p { color: var(--text-dim); font-size: 15px; max-width: 520px; }
.cta-actions { text-align: center; flex: 1; min-width: 260px; }
.cta-note { margin-top: 14px; font-size: 12.5px; color: var(--text-dim); letter-spacing: 1px; }
.cta-contact { margin-top: 18px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; font-size: 14.5px; letter-spacing: 1px;
  color: var(--ivory); background: var(--bg-card);
  border: 1px solid var(--line); border-radius: 50px;
  transition: all 0.35s var(--ease);
}
.cta-contact a:hover {
  border-color: var(--gold); color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.2);
}
.cta-wechat { flex: none; }
.wechat-card {
  background: var(--bg-card); border: 1px solid var(--gold);
  border-radius: 18px; padding: 18px 18px 20px;
  text-align: center; width: 200px;
  box-shadow: 0 16px 48px rgba(201, 162, 39, 0.18);
  position: relative;
}
.wechat-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.4), transparent 50%, rgba(201, 162, 39, 0.3));
  z-index: -1;
}
.wechat-card img {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 12px;
  background: #fff; padding: 8px;
}
.wechat-card p {
  margin-top: 12px; font-family: var(--serif);
  font-size: 17px; color: var(--ivory); letter-spacing: 2px;
}
.wechat-card span {
  display: block; margin-top: 4px; font-size: 12px;
  color: var(--text-dim); letter-spacing: 1px;
}

/* 页脚微信二维码 */
.footer-wechat { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.footer-wechat img {
  width: 78px; height: 78px; border-radius: 10px;
  background: #fff; padding: 4px; border: 1px solid var(--line);
}
.footer-wechat span {
  font-size: 13px; color: var(--gold-light); letter-spacing: 1px;
  border-left: 1px solid var(--gold); padding-left: 10px;
}

/* ============ 页脚 ============ */
.footer { background: #0a0907; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px; padding: 70px 0 50px;
}
.footer-brand p { margin-top: 16px; font-size: 13.5px; color: var(--text-dim); line-height: 2; }
.footer h4 {
  font-size: 15px; color: var(--ivory); letter-spacing: 2px;
  margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; background: var(--gold);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-dim); transition: all 0.3s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-contact p { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 998;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(12, 11, 9, 0.9);
  color: var(--gold-light); font-size: 18px; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.45s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: #171205; box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4); }

/* ============ 滚动显现动画 ============ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 82%);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px;
    background: rgba(12, 11, 9, 0.97);
    border-left: 1px solid var(--line);
    transition: right 0.5s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 17px; }
  .section { padding: 80px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .hot-item { flex-wrap: wrap; gap: 12px; }
  .hot-sales, .hot-price { width: auto; text-align: left; }
  .stat { padding: 0 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .cta-inner { justify-content: center; text-align: center; }
  .cta-left, .cta-actions { flex-basis: 100%; }
  .cta-wechat { width: 100%; display: flex; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
