:root {
  --ink: #161512;
  --muted: #6f6a61;
  --paper: #f7f2ea;
  --paper-2: #fffaf1;
  --ember: #f4acbe;
  --gold: #d9a13a;
  --charcoal: #1f2427;
  --line: rgba(22, 21, 18, 0.12);
  --shadow: 0 28px 80px rgba(31, 36, 39, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "Microsoft YaHei", serif;
}

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

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: 100%;
  padding: 22px clamp(18px, 4vw, 54px);
  color: #fffaf1;
  background: linear-gradient(180deg, rgba(15, 15, 13, 0.82), rgba(15, 15, 13, 0));
  transition: background 220ms ease, padding 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(22, 21, 18, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #fffaf1;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  font-size: 14px;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.header-lang,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.header-lang {
  color: var(--ink);
  background: #fffaf1;
  border: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 138px 0 64px;
  color: #fffaf1;
  background: #121212;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ====== 轮播 ====== */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.72) 0%, rgba(18, 18, 18, 0.45) 40%, rgba(18, 18, 18, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-copy-block {
  max-width: 780px;
  margin: 0 auto;
}

/* ====== 轮播指示点 ====== */
.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  background: rgba(255, 250, 241, 0.36);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 280ms ease, transform 280ms ease;
}

.hero-dot.is-active {
  background: var(--ember);
  transform: scale(1.28);
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

.hero-title {
  margin: 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
}

.hero-title span {
  display: block;
}

.hero-copy {
  max-width: 620px;
  margin: 28px auto 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-btn {
  color: #fff;
  background: var(--ember);
  box-shadow: 0 18px 48px rgba(244, 172, 190, 0.36);
}

.ghost-btn {
  color: #fffaf1;
  border: 1px solid rgba(255, 250, 241, 0.34);
}

.product-image img,
.ring-art,
.chairman-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.strengths,
.products,
.technology,
.chairman-section,
.timeline-section,
.service-section {
  padding: 120px 0;
}

.strengths {
  position: relative;
  z-index: 4;
  margin-top: -70px;
}

.stat-grid,
.products-grid,
.tech-grid,
.chairman-grid,
.service-grid {
  display: grid;
}

.stat-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stat-card,
.service-card {
  padding: 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 36, 39, 0.12);
}

.stat-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 100px rgba(31, 36, 39, 0.25);
}

.stat-card:hover strong {
  animation: heartBeat 0.8s ease;
}

.stat-card strong {
  color: var(--ember);
  font-size: 46px;
  line-height: 1;
}

.stat-card h2 {
  margin: 18px 0 10px;
  font-size: 22px;
}

.stat-card p,
.product-list p,
.timeline p,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.products-grid,
.tech-grid,
.service-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ember);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ember);
}

.section-title {
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-copy {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.product-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.product-list article {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.product-list h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.product-list span {
  color: var(--ember);
  font-size: 13px;
  font-weight: 900;
}

.technology {
  color: #fffaf1;
  background:
    linear-gradient(135deg, rgba(244, 172, 190, 0.86), rgba(22, 21, 18, 0.94)),
    #1a1714;
}

.technology .section-copy,
.technology .eyebrow {
  color: rgba(255, 250, 241, 0.78);
}

.technology .eyebrow::before {
  background: var(--gold);
}

.ring-stage {
  display: grid;
  place-items: center;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 52% 42%, rgba(217, 161, 58, 0.18), transparent 44%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.02));
  box-shadow: inset 0 0 0 1px rgba(244, 172, 190, 0.2);
}

.ring-art {
  width: min(82%, 430px);
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.26));
}

.chairman-section {
  background: var(--paper-2);
}

.chairman-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
}

.chairman-portrait {
  margin: 0;
  overflow: hidden;
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chairman-content {
  display: grid;
  align-content: center;
}

.chairman-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin: 28px 0 24px;
  padding-top: 22px;
  border-top: 2px solid var(--ember);
}

.chairman-name strong {
  font-size: 28px;
}

.chairman-name span {
  color: var(--muted);
  font-weight: 900;
}

.chairman-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 2px solid var(--ember);
}

.timeline article {
  position: relative;
  padding: 34px 24px 0 0;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--ember);
  border-radius: 50%;
}

.timeline strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ember);
  font-size: 28px;
}

.service-section {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(247, 242, 234, 0.82)),
    var(--paper);
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 30px;
}

.service-actions span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 220px;
  padding: 24px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 100px rgba(31, 36, 39, 0.25);
}

.service-card--qr {
  display: flex;
  flex-direction: column;
}

.qr-img {
  width: 120px;
  height: 120px;
  margin-top: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  object-fit: contain;
  align-self: center;
}

.service-card span {
  color: var(--ember);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.2;
  white-space: nowrap;
}

.service-card p {
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footer {
  padding: 68px 0 34px;
  color: #fffaf1;
  background: var(--charcoal);
}

.footer-intro {
  display: grid;
  grid-template-columns: minmax(420px, 0.72fr) minmax(360px, 0.55fr);
  gap: 26px clamp(44px, 8vw, 116px);
}

.footer-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ember);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.footer-brand {
  font-size: clamp(34px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.12;
}

.footer-summary {
  max-width: 520px;
  padding-top: 42px;
}

.footer-address {
  margin-top: 18px;
  padding-left: 18px;
  color: #fffaf1;
  font-style: normal;
  line-height: 1.75;
  font-weight: 900;
  border-left: 3px solid var(--ember);
}

.footer-contact {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.footer-contact-track {
  display: flex;
  gap: 14px;
  width: fit-content;
  will-change: transform;
}

.footer-contact-track:hover {
  animation-play-state: paused;
}

.footer-contact article {
  flex: 0 0 320px;
  min-height: 160px;
  padding: 22px;
  background: rgba(255, 250, 241, 0.07);
  border: 1px solid rgba(255, 250, 241, 0.13);
  border-radius: 8px;
}

.footer-contact span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 250, 241, 0.58);
  font-size: 13px;
  font-weight: 900;
}

.footer-contact a,
.footer-contact p {
  display: block;
  margin: 7px 0 0;
  color: #fffaf1;
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  opacity: 1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .products-grid,
  .tech-grid,
  .chairman-grid,
  .service-grid,
  .footer-intro {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .timeline,
  .service-cards,
  .footer-contact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 14px;
    gap: 12px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .header-lang {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 104px 0 64px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-dots {
    bottom: 22px;
  }

  .stat-grid,
  .timeline,
  .service-cards,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .product-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .strengths,
  .products,
  .technology,
  .chairman-section,
  .timeline-section,
  .service-section {
    padding: 82px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
