:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --cyan: #0891b2;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 40px -14px rgba(37, 99, 235, 0.18);
  --glow: 0 0 0 1px rgba(37, 99, 235, 0.12), 0 0 24px -8px rgba(8, 145, 178, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

/* Subtle mesh — reads as “product UI” not sci-fi poster */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.07), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(8, 145, 178, 0.05), transparent),
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

/* 顶栏占满可视宽度，左右仅留少量内边距；内容用换行避免遮挡（不再横向滚动裁切） */
.site-header > .container.nav {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-inline: clamp(8px, 2.2vw, 20px);
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 10px;
  row-gap: 6px;
  padding: 10px 0;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.15;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-full {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
  line-height: 1.25;
  max-width: min(17rem, 46vw);
  white-space: normal;
}

.brand:hover .brand-name {
  color: var(--accent);
}

.brand:hover .brand-full {
  color: var(--muted);
}

.brand-logo {
  display: block;
  flex-shrink: 0;
  height: 40px;
  width: auto;
  max-width: min(120px, 32vw);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.brand:hover .brand-logo {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 0;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 3px 6px;
  row-gap: 4px;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(0.8125rem, 0.1vw + 0.76rem, 0.9rem);
  overflow: visible;
  padding-block: 1px;
}

.nav-links a {
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 500;
  padding: 0.35em 0.6em;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
  background: rgba(37, 99, 235, 0.06);
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
}

.lang {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: clamp(0.8125rem, 0.1vw + 0.76rem, 0.9rem);
  color: var(--muted);
  white-space: nowrap;
  padding-inline: 1px;
}

.lang a {
  color: var(--muted);
  font-weight: 500;
  padding: 0.3em 0.45em;
  border-radius: 6px;
  transition: color 0.18s ease, background 0.18s ease;
}

.lang a:hover {
  color: var(--accent);
  text-decoration: none;
  background: rgba(37, 99, 235, 0.06);
}

main {
  padding-bottom: 64px;
  min-height: 50vh;
}

section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

.sub {
  color: var(--muted);
  max-width: 720px;
  font-size: 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text);
  max-width: 720px;
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tech {
  position: relative;
  padding: 48px 0 56px;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 45%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-tech::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-tech .container {
  position: relative;
  z-index: 1;
}

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

@media (min-width: 901px) {
  .hero-grid:has(.hero-visual) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 32px 44px;
    align-items: center;
  }

  .hero-grid:has(.hero-visual--carousel) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 28px 48px;
    align-items: center;
  }
}

.hero-visual {
  width: 100%;
  min-width: 0;
}

.hero-visual--carousel:focus {
  outline: none;
}

.hero-visual--carousel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.hero-carousel {
  position: relative;
  width: 100%;
}

.hero-carousel__viewport {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: min(58vh, 520px);
  height: auto;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  box-shadow: var(--shadow-md);
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__track {
    transition: none;
  }
}

.hero-carousel__slide {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
  min-width: 0;
  box-sizing: border-box;
}

.hero-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hero-carousel__btn:hover {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--accent);
}

.hero-carousel__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-carousel__btn--prev {
  left: 12px;
}

.hero-carousel__btn--next {
  right: 12px;
}

.hero-carousel__dots {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.hero-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}

.hero-carousel__dot:hover {
  background: #94a3b8;
}

.hero-carousel__dot.is-active {
  width: 26px;
  border-radius: 6px;
  background: var(--accent);
}

.hero-carousel__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* 工厂 / 产线轮播：比首屏门店更克制，避免整段占满一屏 */
.hero-carousel--tall .hero-carousel__viewport {
  max-width: min(920px, 100%);
  max-height: min(44vh, 400px);
}

.hero-carousel--hero .hero-carousel__viewport {
  max-height: min(56vh, 480px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.metric {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-sm);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.8125rem;
  color: var(--muted);
}

.trust-strip strong {
  color: var(--text);
  font-weight: 600;
}

.media-placeholder {
  aspect-ratio: 4 / 3;
  max-height: 320px;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(37, 99, 235, 0.03) 8px,
    rgba(37, 99, 235, 0.03) 9px
  );
  pointer-events: none;
}

.media-placeholder strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--text);
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.media-placeholder span {
  position: relative;
  z-index: 1;
}

.media-placeholder--wide {
  max-height: none;
  aspect-ratio: 21 / 9;
  max-height: 280px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.65);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.35);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-4 > .card {
  min-width: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.22);
}

.card--interactive:active {
  transform: translateY(-2px);
}

.card:has(.product-card__media) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.card:has(.product-card__media) > p:last-of-type {
  flex-grow: 1;
}

.product-card__media {
  flex-shrink: 0;
  margin: -2px 0 14px;
  width: 100%;
  height: clamp(200px, 36vmin, 280px);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.product-card__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.kpis span {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.section-muted {
  background: rgba(255, 255, 255, 0.55);
}

.cta-band {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  padding: 48px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #e2e8f0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.2), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(8, 145, 178, 0.15), transparent 45%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #f8fafc;
}

.cta-band .sub {
  color: #94a3b8;
}

.cta-band .btn-primary {
  box-shadow: var(--glow);
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.35);
  color: #f1f5f9;
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.list-check {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.list-check li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.875rem;
}

th,
td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--text);
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details[open] {
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 99, 235, 0.15);
}

details + details {
  margin-top: 8px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s ease;
}

summary:hover {
  color: var(--accent);
}

.site-footer,
footer.site-footer {
  color: var(--muted);
  padding: 32px 0 40px;
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.footer-inner p {
  margin: 0 0 8px;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.status {
  font-size: 0.8125rem;
  color: var(--muted);
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 5px 8px;
    row-gap: 5px;
    padding: 9px 0;
  }

  .nav-links {
    gap: 2px 5px;
    row-gap: 3px;
  }

  .nav-links a {
    padding: 0.32em 0.52em;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-full {
    max-width: min(13rem, 36vw);
  }

  .hero-tech {
    padding: 36px 0 44px;
  }
}

/* 窄屏：语言仍在首行右侧；主导航换到下一行全宽，链接组在剩余宽度内居中（与桌面同一套间距） */
@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav .brand {
    order: 1;
  }

  .nav .lang {
    order: 2;
    margin-left: auto;
  }

  .nav .nav-links {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
    justify-content: center;
  }
}
