:root {
  --bg: #0b0d10;
  --bg-soft: #12161b;
  --bg-card: #181d23;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f5f8;
  --muted: #b8c0ca;
  --gold: #d5ad6f;
  --gold-deep: #9a6d35;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(213, 173, 111, 0.06) 0%, rgba(213, 173, 111, 0) 34%),
    linear-gradient(180deg, #090b0e 0%, #111418 54%, #0d0f13 100%);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.topbar {
  display: none;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #c1c8d0;
}

.topbar .container,
.header-main .container,
.footer-top .container,
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-links,
.nav-links,
.footer-links,
.contact-list {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 14, 0.88);
  border-bottom: 1px solid transparent;
  transition: 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-main {
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 210px;
  height: 72px;
  padding: 0;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  filter: none;
}

.brand-text strong {
  display: block;
  font-size: 20px;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
}

.nav-links a,
.topbar-links a,
.footer-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a {
  font-size: 15px;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.45);
  transition: 0.2s ease;
}

.nav-links a:hover,
.topbar-links a:hover,
.footer-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #07090c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,8,11,0.97) 0%, rgba(6,8,11,0.9) 30%, rgba(6,8,11,0.62) 62%, rgba(6,8,11,0.36) 100%),
    linear-gradient(180deg, rgba(6,8,11,0.38) 0%, rgba(6,8,11,0.08) 45%, rgba(6,8,11,0.66) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,8,11,0), rgba(6,8,11,0.86));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center/cover no-repeat url('../images/hero-banner.jpeg');
  filter: brightness(0.62) contrast(1.08) saturate(0.92);
  transform: scale(1.03);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 104px 0 112px;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 720px;
}

.eyebrow,
.section-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 13px;
  margin-bottom: 18px;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
  margin: 0 0 22px;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 4px 18px rgba(0,0,0,0.68);
}

.brand-slogan {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-slogan-en {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
}

.hero p,
.page-hero p,
.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 17px;
}

.hero p {
  max-width: 680px;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 10px rgba(0,0,0,0.72);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 15px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #f1cf95 100%);
  color: #17120c;
  box-shadow: 0 12px 30px rgba(213, 173, 111, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(213, 173, 111, 0.34);
}

.btn-secondary {
  border-color: rgba(255,255,255,0.26);
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.btn-secondary:hover {
  border-color: rgba(213,173,111,0.62);
  background: rgba(213,173,111,0.12);
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.card h2,
.highlight-box h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.24;
}

.grid-2,
.grid-3,
.grid-4,
.stats-grid,
.footer-grid,
.product-grid,
.news-grid,
.honor-grid,
.contact-grid,
.warranty-grid,
.store-grid {
  display: grid;
  gap: 24px;
}

.grid-2,
.contact-grid,
.store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.news-grid,
.warranty-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.stats-grid,
.product-grid,
.honor-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.stat-card,
.product-card,
.news-card,
.honor-card,
.contact-card,
.placeholder-card,
.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.072) 0%, rgba(255,255,255,0.032) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.card:hover,
.stat-card:hover,
.product-card:hover,
.news-card:hover,
.contact-card:hover,
.placeholder-card:hover,
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(213,173,111,0.26);
  background: linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.038) 100%);
}

.card h3,
.feature-card h3,
.product-card h3,
.news-card h3,
.contact-card h3,
.placeholder-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.32;
  color: var(--white);
}

.card p,
.feature-card p,
.product-card p,
.news-card p,
.contact-card p,
.placeholder-card p,
li,
td,
th {
  color: var(--muted);
}

.feature-list strong {
  color: var(--text);
}

.feature-list,
.timeline,
.meta-list,
.product-tags,
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.feature-list li,
.timeline li,
.meta-list li,
.check-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.feature-list li::before,
.timeline li::before,
.meta-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.split-media {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.media-stack,
.placeholder-stack {
  display: grid;
  gap: 20px;
}

.media-card,
.placeholder-media {
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.media-card:hover img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.025);
}

.placeholder-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(200,164,107,0.12), rgba(255,255,255,0.04));
}

.stat-card strong {
  display: block;
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1;
}

.product-card .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tags li {
  padding: 6px 10px;
  border: 1px solid rgba(213,173,111,0.26);
  border-radius: 999px;
  color: #f1d3a5;
  background: rgba(213,173,111,0.08);
  font-size: 13px;
  line-height: 1.35;
}

.company-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.timeline-item {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.025) 100%);
  box-shadow: var(--shadow);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(200,164,107,0.2));
}

.timeline-year {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

.timeline-event {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at top left, rgba(200,164,107,0.2), transparent 35%), linear-gradient(180deg, #12151b 0%, #0e1014 100%);
}

.page-hero p {
  max-width: 780px;
  color: #d2d8df;
}

.page-hero .meta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.03);
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  min-width: 140px;
}

th {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.045);
  color: var(--white);
  padding: 14px 16px;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(213,173,111,0.62);
  box-shadow: 0 0 0 3px rgba(213,173,111,0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-feedback {
  color: var(--gold);
  min-height: 24px;
  font-size: 14px;
}

.warranty-query-form .btn[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.warranty-result {
  margin-top: 24px;
}

.warranty-result[hidden] {
  display: none;
}

.warranty-result th {
  width: 220px;
}

.warranty-result td {
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--line);
  background: #080a0d;
}

.footer-top {
  padding: 54px 0 28px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer p,
.footer li {
  color: var(--muted);
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.highlight-box {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(213,173,111,0.3);
  background:
    linear-gradient(135deg, rgba(213,173,111,0.16), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
}

.news-card time {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
}

.message-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.message-toolbar h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.24;
}

.message-feedback {
  min-height: 28px;
  margin-bottom: 18px;
  color: var(--gold);
}

.message-list {
  display: grid;
  gap: 26px;
}

.message-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.message-group {
  border: 1px solid rgba(213,173,111,0.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.028);
  padding: 22px;
}

.message-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.message-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.message-group-title h3 {
  margin: 0;
  color: var(--white);
  font-size: 24px;
}

.message-group-count {
  padding: 5px 10px;
  border: 1px solid rgba(213,173,111,0.28);
  border-radius: 999px;
  color: #f1d3a5;
  background: rgba(213,173,111,0.08);
  font-size: 13px;
}

.message-group-list {
  display: grid;
  gap: 16px;
}

.message-card,
.message-empty {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.072) 0%, rgba(255,255,255,0.032) 100%);
  box-shadow: var(--shadow);
}

.message-card {
  padding: 24px;
}

.message-empty {
  padding: 28px;
  color: var(--muted);
}

.message-card-head,
.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.message-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 22px;
}

.message-meta {
  justify-content: flex-start;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.message-content {
  margin: 18px 0 0;
  color: var(--text);
  white-space: pre-wrap;
}

@media (max-width: 1080px) {
  .grid-4,
  .product-grid,
  .honor-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .news-grid,
  .warranty-grid,
  .contact-grid,
  .store-grid,
  .split-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: rgba(9,11,14,0.98);
    border-bottom: 1px solid var(--line);
    padding: 0 20px 20px;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 14px;
    padding-top: 12px;
  }

  .header-main .container,
  .topbar .container,
  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .product-grid,
  .honor-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero .container {
    min-height: 560px;
    padding: 72px 0 82px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(6,8,11,0.97) 0%, rgba(6,8,11,0.88) 58%, rgba(6,8,11,0.62) 100%),
      linear-gradient(180deg, rgba(6,8,11,0.4) 0%, rgba(6,8,11,0.16) 45%, rgba(6,8,11,0.76) 100%);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero p,
  .page-hero p,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .message-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .message-group {
    padding: 18px;
  }

  .message-columns {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 152px;
    height: 52px;
  }

  .card,
  .stat-card,
  .product-card,
  .news-card,
  .honor-card,
  .contact-card,
  .placeholder-card,
  .feature-card,
  .highlight-box {
    padding: 22px;
  }
}

.about-rd-section {
  display: grid;
  gap: 28px;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.media-row .media-card {
  height: 100%;
}

.about-rd-card {
  max-width: none;
}

@media (max-width: 720px) {
  .media-row {
    grid-template-columns: 1fr;
  }
}

.product-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.04);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
