/* Design tokens — black / gold / cream */
:root {
  --bg-primary: #0c0c0c;
  --bg-elevated: #121212;
  --black: #0c0c0c;
  --black-soft: #0c0c0c;
  --gold-light: #e8d5a3;
  --gold: #c5a059;
  --gold-deep: #8b6914;
  --gold-glow: rgba(197, 160, 89, 0.45);
  --cream: #f7f0e4;
  --cream-mid: #ebe2d2;
  --white: #fafafa;
  --muted: rgba(250, 250, 250, 0.72);
  --muted-dark: rgba(26, 22, 18, 0.65);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 24px 48px rgba(0, 0, 0, 0.35);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --header-h: 72px;
  --tabbar-h: 54px;
}

/* 用资源管理器双击打开 HTML（file://）时的提示 */
.local-server-hint {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #3d3010;
  color: var(--cream);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  border-bottom: 1px solid var(--gold-deep);
}

.local-server-hint strong {
  color: var(--gold-light);
}

.local-server-hint a {
  color: #fff;
  text-decoration: underline;
}

.local-server-hint code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.local-server-hint.hidden {
  display: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

.container--narrow {
  width: min(720px, 100% - 48px);
}

.main-flow {
  display: flex;
  flex-direction: column;
}

.text-gold {
  color: var(--gold-light);
  text-shadow: 0 0 40px var(--gold-glow);
}

.text-gold-dark {
  color: var(--gold-deep);
}

/* —— Header —— */
.nav-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-checkbox:checked ~ .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.94) 0%, rgba(12, 12, 12, 0.72) 70%, transparent 100%);
  padding: 12px 0 20px;
}

.header-inner {
  position: relative;
  z-index: 101;
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

a.logo-block {
  text-decoration: none;
  color: inherit;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-family: var(--font-serif);
}

.logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(250, 250, 250, 0.5);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(8px, 1.2vw, 18px);
  margin-left: auto;
  max-width: min(720px, 58vw);
}

.main-nav a {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--gold-light);
}

.search-btn {
  color: var(--muted);
  padding: 8px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.search-btn:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.06);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
  border-radius: 10px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--gold-light);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-glow {
  position: absolute;
  inset: -20% 20% auto 30%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.eyebrow {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: none;
  margin: 0 0 12px;
}

.hero-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 28px;
  font-size: 1rem;
}

.glass-card {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 160, 89, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  font-family: var(--font-serif);
}

.hero-card-sub {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 大图与页面底色融合 */
.media-frame {
  background-color: var(--bg-primary);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 20px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.hero-visual.media-frame {
  padding: clamp(12px, 2vw, 24px);
}

.hero-img {
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45)) contrast(1.02);
  max-height: min(72vh, 560px);
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* —— Sections —— */
.section-dark {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-light {
  padding: clamp(56px, 8vw, 88px) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-mid) 50%, var(--cream) 100%);
  color: #1a1612;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head--dark h2 {
  color: #1a1612;
}

.section-head--dark p {
  color: var(--muted-dark);
}

.section-prose {
  max-width: 68ch;
  margin-inline: auto;
}

.section-prose p {
  margin: 0 0 1.1em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-prose p:last-child {
  margin-bottom: 0;
}

/* —— Global scale stats —— */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin-inline: auto;
}

.stat-cell {
  text-align: center;
  padding: 24px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.stat-value {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 700;
  color: var(--gold-light);
  margin: 0 0 10px;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.section-footnote {
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.42);
  max-width: 56ch;
  margin: 28px auto 0;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Promo materials —— */
.materials-section {
  padding-top: 64px;
  padding-bottom: 72px;
  background: var(--bg-primary);
}

.materials-section .section-head p {
  max-width: 48ch;
  margin-inline: auto;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.material-card {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 160, 89, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.material-card:hover {
  border-color: rgba(232, 213, 163, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.material-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.12);
  margin-bottom: 18px;
}

.material-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.material-card p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  min-height: 2.8em;
}

.material-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(232, 213, 163, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.material-link:hover {
  color: var(--white);
  border-bottom-color: var(--gold-light);
}

@media (max-width: 900px) {
  .material-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Features grid —— */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.features-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    0 20px 48px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.22);
  background-color: var(--bg-primary);
}

.features-figure img {
  width: 100%;
  object-fit: cover;
}

.features-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gold-card {
  padding: 28px 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(197, 160, 89, 0.35) 0%, rgba(26, 22, 18, 0.92) 45%, var(--bg-primary) 100%);
  border: 1px solid rgba(232, 213, 163, 0.25);
  box-shadow: var(--shadow-card);
}

.gold-card h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: var(--gold-light);
  font-weight: 600;
}

.gold-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.95rem;
}

.gold-card li + li {
  margin-top: 8px;
}

/* —— Product cards (placeholder imagery) —— */
.products-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.products-section .section-head p {
  max-width: 52ch;
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(30, 28, 24, 0.95) 0%, var(--bg-elevated) 100%);
  border: 1px solid rgba(197, 160, 89, 0.22);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.product-card-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background-color: var(--bg-primary);
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--gold-light);
  font-weight: 600;
}

.product-tag {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-price {
  margin: auto 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.product-price .price-unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* —— Trust —— */
.trust-collage {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.2),
    0 20px 50px rgba(26, 22, 18, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.25);
  background-color: var(--cream-mid);
}

.trust-collage img {
  width: 100%;
  object-fit: cover;
}

/* —— Banner —— */
.banner-strip {
  padding: 48px 0 64px;
  background: var(--bg-primary);
}

.banner-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
    linear-gradient(135deg, var(--gold-light), var(--gold-deep), var(--gold-light)) border-box;
  box-shadow:
    0 0 0 1px rgba(197, 160, 89, 0.15),
    0 32px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(197, 160, 89, 0.06);
}

.banner-frame img {
  width: 100%;
  display: block;
}

/* 横幅：底图 + 网页叠加中文，避免图内乱字 */
.banner-frame--composite {
  position: relative;
  border: none;
  background-color: var(--bg-primary);
  box-shadow:
    inset 0 0 0 1px rgba(197, 160, 89, 0.18),
    0 28px 72px rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-frame--composite .banner-photo {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.banner-copy {
  position: absolute;
  left: clamp(16px, 5vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  max-width: min(38%, 320px);
  text-align: left;
  pointer-events: none;
  z-index: 2;
}

.banner-brand-cn {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85), 0 0 40px rgba(197, 160, 89, 0.25);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.banner-brand-en {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.banner-brand-en .name-merck {
  color: #e8e8e8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.banner-brand-en .name-serono {
  color: var(--gold-light);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.banner-tagline {
  margin: 0;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 400;
  color: rgba(232, 213, 163, 0.92);
  letter-spacing: 0.28em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

@media (max-width: 600px) {
  .banner-copy {
    max-width: 46%;
    left: 12px;
  }

  .banner-tagline {
    letter-spacing: 0.12em;
  }
}

/* —— Mobile showcase —— */
.mobile-showcase {
  padding-bottom: 100px;
}

.mobile-showcase-grid {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: 48px;
  align-items: center;
}

.mobile-showcase-visual {
  justify-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.35),
    var(--shadow-card);
  border: 1px solid rgba(197, 160, 89, 0.22);
  background-color: var(--bg-primary);
}

.mobile-showcase-visual img {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
}

.mobile-showcase-copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 16px;
}

.mobile-showcase-copy .muted {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 42ch;
}

.mobile-showcase-copy .small {
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.stat-block {
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-desc {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36ch;
}

.usage-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.45);
}

/* —— Footer —— */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-primary);
}

.footer-inner {
  text-align: center;
}

.logo--footer {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(250, 250, 250, 0.45);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(250, 250, 250, 0.35);
}

/* —— Header CTA + hero secondary —— */
.header-order-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.nav-cta {
  color: var(--gold-light) !important;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  border: 1px solid rgba(197, 160, 89, 0.45);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--gold-light);
}

/* —— Order form —— */
.order-section .section-head p {
  max-width: 52ch;
  margin-inline: auto;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.order-aside {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.order-aside-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--gold-light);
}

.order-aside-list {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.order-aside-list li + li {
  margin-top: 10px;
}

.order-form {
  padding: 28px 26px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid rgba(197, 160, 89, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.form-row {
  margin-bottom: 18px;
}

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.req {
  color: var(--gold);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
  color: rgba(250, 250, 250, 0.35);
}

.form-control:focus {
  outline: none;
  border-color: rgba(197, 160, 89, 0.55);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
  cursor: pointer;
}

.form-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form-actions {
  margin-bottom: 12px;
}

.btn-submit {
  width: 100%;
  max-width: 280px;
}

.form-api-hint {
  min-height: 1.4em;
  font-size: 0.8rem;
  color: rgba(232, 213, 163, 0.85);
  margin: 0;
}

.form-api-hint:empty {
  display: none;
  min-height: 0;
}

.product-to-order {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(232, 213, 163, 0.35);
  padding-bottom: 2px;
}

.product-to-order:hover {
  color: var(--white);
}

.science-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* —— Mobile bottom tab bar (≤900px) —— */
.mobile-tabbar {
  display: none;
}

@media (max-width: 900px) {
  .mobile-tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    align-items: stretch;
    justify-content: space-around;
    min-height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.92) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-top: 1px solid rgba(197, 160, 89, 0.28);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  .tabbar-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    padding: 4px 2px;
    text-decoration: none;
    color: rgba(250, 250, 250, 0.55);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s, transform 0.15s;
  }

  .tabbar-link:active {
    transform: scale(0.96);
  }

  .tabbar-link:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
    border-radius: 8px;
  }

  .tabbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
  }

  .tabbar-link--order {
    color: var(--gold-light);
  }

  .tabbar-link--order .tabbar-icon {
    color: var(--gold-light);
  }

  .tabbar-link--menu {
    margin: 0;
    font-family: inherit;
  }

  body:has(.nav-checkbox:checked) .tabbar-link--menu {
    color: var(--gold-light);
  }

  .header-order-btn {
    display: none;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .form-row--2 {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    max-width: none;
    width: 100%;
  }

  .burger {
    display: none;
  }

  .search-btn {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100vh;
    margin: 0;
    padding: calc(var(--header-h) + 24px) 28px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: rgba(12, 12, 12, 0.97);
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
  }

  .nav-checkbox:checked ~ .header-inner .main-nav {
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .hero-lead {
    margin-inline: auto;
  }

  .glass-card {
    align-self: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-img {
    max-height: 48vh;
  }

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

  .mobile-showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mobile-showcase-copy .muted,
  .mobile-showcase-copy .stat-desc {
    margin-inline: auto;
  }

  .mobile-showcase-visual {
    order: -1;
  }

  /* SalesSmartly：上移悬浮入口，避免盖住底部导航 */
  iframe#s-chat-plugin,
  #sspWidget {
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .section-dark,
  .section-light {
    padding: 56px 0;
  }
}

/* ══════════════════════════════════════════════
   Premium animations & micro-interactions
   ══════════════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmerSlide {
  from { left: -100%; }
  to   { left: 100%; }
}

/* ── Scroll reveal system ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.24s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.36s; }

[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: none;
}

/* ── Enhanced hero ── */
.hero::before {
  content: '';
  position: absolute;
  inset: -30%;
  background: radial-gradient(ellipse at 25% 35%, rgba(197, 160, 89, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 75% 65%, rgba(197, 160, 89, 0.05) 0%, transparent 45%);
  animation: gradientShift 18s ease infinite;
  background-size: 200% 200%;
  pointer-events: none;
}

.hero-copy {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-visual {
  animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero .glass-card {
  animation: float 7s ease-in-out infinite;
}

.hero-actions .btn {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* ── Product card hover shine + lift ── */
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.45s;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 213, 163, 0.07),
    rgba(232, 213, 163, 0.14),
    rgba(232, 213, 163, 0.07),
    transparent
  );
  transform: skewX(-15deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(197, 160, 89, 0.35);
  border-color: rgba(232, 213, 163, 0.45);
}

.product-card:hover::after {
  left: 150%;
}

.product-card-visual img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-visual img {
  transform: scale(1.05);
}

/* ── Material card lift ── */
.material-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s,
              border-color 0.4s;
}

.material-card:hover {
  transform: translateY(-6px);
}

/* ── Stat cell hover ── */
.stat-cell {
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.stat-cell:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4),
              0 0 24px rgba(197, 160, 89, 0.08);
}

/* ── Gold card hover ── */
.gold-card {
  transition: transform 0.35s, box-shadow 0.35s;
}

.gold-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(197, 160, 89, 0.08);
}

/* ── Button shimmer ── */
.btn-gold {
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.55s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

/* ── Nav link underline animation ── */
.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ── Trust collage hover ── */
.trust-collage {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s;
}

.trust-collage:hover {
  transform: scale(1.008);
  box-shadow: 0 36px 80px rgba(26, 22, 18, 0.35),
              0 0 0 1px rgba(197, 160, 89, 0.4);
}

/* ── Banner hover ── */
.banner-frame--composite {
  transition: box-shadow 0.5s;
}

.banner-frame--composite:hover {
  box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.35),
              0 44px 100px rgba(0, 0, 0, 0.65),
              0 0 100px rgba(197, 160, 89, 0.04);
}

/* ── Section divider glow ── */
.section-dark + .section-dark {
  border-image: linear-gradient(90deg, transparent 20%, rgba(197, 160, 89, 0.12) 50%, transparent 80%) 1;
}

/* ── Ghost button hover ── */
.btn-ghost {
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-ghost:hover {
  background: rgba(197, 160, 89, 0.1);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.12);
}

/* ── Order form focus glow ── */
.order-form .form-control:focus {
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1),
              0 0 20px rgba(197, 160, 89, 0.06);
}

/* ── Mobile showcase visual float ── */
.mobile-showcase-visual {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s;
}

.mobile-showcase-visual:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35),
              0 32px 72px rgba(0, 0, 0, 0.55);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
