/* ─────────── Design Tokens ─────────── */
:root {
  --gold:       #c9a84c;
  --gold-light: #e8cb7a;
  --gold-dim:   #8a6a20;
  --dark:       #0c0b09;
  --dark2:      #1a1812;
  --dark3:      #26231a;
  --surface:    #1e1c15;
  --line:       rgba(201,168,76,0.22);
  --text:       #f0e9d6;
  --muted:      #a89b7a;
  --shadow-gold: 0 4px 32px rgba(201,168,76,0.18);
  --nav-h:      72px;
}

/* ─────────── Reset / Base ─────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: "Noto Serif SC", "Noto Serif TC", "Georgia", serif;
  color: var(--text);
  background: var(--dark);
  line-height: 1.75;
}

a { color: var(--gold); text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─────────── Floating Nav ─────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
  background: rgba(12, 11, 9, 0.55);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(12, 11, 9, 0.92);
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  white-space: nowrap;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.menu a {
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.menu a:hover { color: var(--gold-light); background: rgba(201,168,76,0.1); }

/* Language Select */
.lang-select {
  margin-left: 1rem;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(12,11,9,0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a84c'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  padding: 0.32rem 2rem 0.32rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  outline: none;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--gold);
  background-color: rgba(201,168,76,0.1);
}

.lang-select option {
  background: #1a1812;
  color: var(--text);
}

/* ─────────── Hero / 首屏 ─────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--text);
}

/* 大图背景 */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(12,11,9,0.72) 0%, rgba(12,11,9,0.45) 55%, rgba(12,11,9,0.82) 100%),
    url("assets/images/doc-image-3.jpeg") center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero:hover .hero-bg { transform: scale(1); }

/* 金色水平线装饰 */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2.5rem) clamp(1.25rem, 5vw, 3.5rem) 5rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(240,233,214,0.8);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: all 0.25s;
}

.cta-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #1a1200;
  box-shadow: var(--shadow-gold);
}
.cta-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(201,168,76,0.35);
}

.cta-outline {
  border: 1px solid var(--gold-dim);
  color: var(--gold-light);
}
.cta-outline:hover {
  background: rgba(201,168,76,0.12);
  transform: translateY(-2px);
}

/* ─────────── Section Base ─────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem clamp(1.25rem, 5vw, 3.5rem);
}

/* Gold divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0;
}

.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.section-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* ─────────── About ─────────── */
#about { background: var(--dark2); border-radius: 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-gold);
}

/* Stats row */
.stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.stat-item { flex: 1; min-width: 120px; }

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

/* ─────────── Products ─────────── */
#products { background: var(--dark); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(201,168,76,0.18);
  border-color: var(--gold-dim);
}

.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s;
}
.card:hover img { transform: scale(1.04); }

.card-body {
  padding: 1.1rem 1.2rem 1.4rem;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}

.card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
}

.card-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: rgba(12,11,9,0.7);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
}

/* ─────────── Warehouse ─────────── */
#warehouse { background: var(--dark2); }

.warehouse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.warehouse-grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: filter 0.3s;
}
.warehouse-grid img:hover { filter: brightness(1.05); }

/* ─────────── Terms ─────────── */
#terms { background: var(--dark); }

.terms-wrap {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

details {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
details:last-child { border-bottom: none; }

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-light);
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  font-size: 1rem;
  color: var(--gold-dim);
  width: 1.2em;
  text-align: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] summary::before { content: "−"; }
summary:hover { background: rgba(201,168,76,0.06); }

details ul {
  margin: 0;
  padding: 0.25rem 1.35rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

details ul li { margin-bottom: 0.25rem; }

/* ─────────── Delivery ─────────── */
#delivery { background: var(--dark2); }

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.text-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.5rem 1.35rem;
  transition: border-color 0.25s;
}
.text-card:hover { border-color: var(--gold-dim); }

.text-card h3 {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.06em;
}

.text-card p {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

/* ─────────── Footer ─────────── */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 5vw, 3.5rem) 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .logo-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.85;
}

.footer-contacts h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.contact-label {
  color: var(--gold-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-top: 0.15rem;
}

.contact-val { color: var(--text); line-height: 1.55; }
.contact-val a { color: var(--text); transition: color 0.2s; }
.contact-val a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 5vw, 3.5rem) 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─────────── Responsive ─────────── */
@media (max-width: 820px) {
  .about-inner {
    grid-template-columns: 1fr;
  }
  .about-image { order: -1; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 640px) {
  .menu { display: none; }

  h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }

  .cta-group { flex-direction: column; }
  .cta { justify-content: center; }

  .stats { gap: 1.5rem; }
}
