:root {
  --ink: #241f2a;
  --muted: #746d7b;
  --line: rgba(36, 31, 42, 0.1);
  --paper: #f7f7f6;
  --white: #ffffff;
  --violet: #8b7dff;
  --rose: #ec6fa4;
  --aqua: #26c0a4;
  --deep: #121114;
  --deep-soft: #201c26;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(139, 125, 255, 0.1), transparent 34rem),
    radial-gradient(circle at 84% 12%, rgba(38, 192, 164, 0.08), transparent 32rem),
    radial-gradient(circle at 50% 86%, rgba(236, 111, 164, 0.08), transparent 36rem),
    var(--paper);
  letter-spacing: 0;
}

body::selection {
  background: rgba(139, 125, 255, 0.25);
}

.ambient-pointer {
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(
      300px circle at var(--pointer-x) var(--pointer-y),
      rgba(139, 125, 255, 0.24) 0%,
      rgba(236, 111, 164, 0.14) 34%,
      rgba(38, 192, 164, 0.1) 56%,
      rgba(36, 31, 42, 0.035) 70%,
      transparent 80%
    );
  filter: saturate(1.08);
  transition: opacity 180ms ease;
  will-change: background, opacity;
}

.ambient-pointer.is-active {
  opacity: 1;
}

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

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

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(1100px, calc(100% - 32px));
  height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 14px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(31, 25, 36, 0.08);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(31, 25, 36, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  font-weight: 750;
}

.brand-logo {
  width: 132px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  white-space: nowrap;
  font-size: 18px;
  line-height: 1;
}

.nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(247, 247, 246, 0.72);
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(36, 31, 42, 0.68);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  background: #fff;
}

.header-action {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink);
}

.page-band {
  position: relative;
  overflow: clip;
  width: min(1228px, calc(100% - 48px));
  margin: 24px auto;
  padding: 110px 120px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  backdrop-filter: blur(20px) saturate(1.06);
}

.hero {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  padding: 104px 92px 42px;
}

.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.76;
  pointer-events: none;
}

.hero-copy,
.section-intro,
.contact-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--violet);
  font-size: 14px;
  font-weight: 780;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-lede {
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #2b2631, #161318);
  box-shadow: 0 18px 36px rgba(36, 31, 42, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 -18px 0 auto;
  filter: drop-shadow(0 26px 50px rgba(35, 28, 42, 0.16));
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 720px;
  margin: 8px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-metrics div {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

.hero-metrics strong,
.fact-grid strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.hero-metrics span,
.fact-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.light {
  background: rgba(255, 255, 255, 0.88);
}

.dark {
  color: #fff;
  background:
    radial-gradient(circle at 25% 18%, rgba(139, 125, 255, 0.32), transparent 30%),
    radial-gradient(circle at 80% 72%, rgba(38, 192, 164, 0.22), transparent 34%),
    linear-gradient(145deg, #111014, #1d1922 58%, #131116);
}

.dark p,
.dark .scope-tags span,
.dark .contact-panel span {
  color: rgba(255, 255, 255, 0.68);
}

.dark .eyebrow {
  color: #c8bfff;
}

.section-intro {
  margin-bottom: 54px;
}

.about-grid,
.product-strip,
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card,
.product-tile,
.fact-grid div {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbfb;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.value-card:hover,
.product-tile:hover,
.fact-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 125, 255, 0.3);
  box-shadow: 0 20px 50px rgba(36, 31, 42, 0.08);
}

.value-card span,
.product-tile span,
.panel-label {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.scope-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 24px;
  align-items: stretch;
}

.license-panel {
  min-height: 360px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.license-panel h3 {
  font-size: 34px;
  line-height: 1.15;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 12px;
}

.scope-tags span {
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
}

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

.product-tile {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 0;
}

.product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 125, 255, 0.08), rgba(38, 192, 164, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-tile:hover .product-image img {
  transform: scale(1.05);
}

.product-tile span,
.product-tile h3,
.product-tile p {
  padding: 0 28px;
}

.product-tile span {
  margin-top: 24px;
  margin-bottom: 0;
}

.product-tile h3 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.product-tile p {
  margin-bottom: 0;
  padding-bottom: 28px;
  flex: 1;
}

.trust {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.9)),
    linear-gradient(135deg, rgba(139, 125, 255, 0.16), rgba(236, 111, 164, 0.12), rgba(38, 192, 164, 0.12));
}

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

.fact-grid div {
  min-height: 170px;
}

.fact-grid strong {
  overflow-wrap: anywhere;
  font-size: 22px;
}

.fact-grid .credit-code {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(15px, 1.25vw, 18px);
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.contact-panel a,
.contact-panel address {
  display: block;
  padding: 24px 28px;
  font-style: normal;
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}

.site-footer {
  width: min(1100px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 32px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

.beian {
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease;
}

.beian:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    gap: 0;
    justify-content: space-between;
    overflow-x: auto;
  }

  .header-action {
    padding: 9px 12px;
  }

  .page-band {
    width: min(100% - 24px, 1228px);
    margin: 12px auto;
    padding: 92px 26px;
    border-radius: 24px;
  }

  .hero {
    display: block;
    padding-top: 158px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 40px;
  }

  p {
    font-size: 16px;
  }

  .about-grid,
  .product-strip,
  .fact-grid,
  .scope-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .license-panel {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .brand-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .nav a {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    text-align: center;
    font-size: 13px;
  }

  .header-action {
    font-size: 0;
  }

  .header-action::before {
    content: "电话";
    font-size: 13px;
  }

  .page-band {
    padding: 86px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 154px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    margin-top: 34px;
  }

  .value-card,
  .fact-grid div,
  .license-panel {
    padding: 22px;
  }

  .product-tile span,
  .product-tile h3,
  .product-tile p {
    padding-left: 22px;
    padding-right: 22px;
  }

  .product-tile p {
    padding-bottom: 22px;
  }

  .product-image {
    height: 180px;
  }

  .scope-tags span {
    width: 100%;
  }

  .site-footer {
    width: min(100% - 24px, 1100px);
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (hover: none), (pointer: coarse) {
  .ambient-pointer {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient-pointer {
    display: none;
  }
}
