:root {
  color-scheme: light;
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-soft: #edf6f8;
  --text: #18212f;
  --muted: #607084;
  --line: #dbe5eb;
  --blue: #1267b3;
  --cyan: #18a7b5;
  --green: #2b8a67;
  --ink: #101827;
  --shadow: 0 22px 60px rgba(16, 24, 39, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    Arial, sans-serif;
  line-height: 1.6;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 18%, rgba(24, 167, 181, 0.16), transparent 26%),
    radial-gradient(circle at 85% 34%, rgba(43, 138, 103, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbfc, #eef6f7 44%, #ffffff);
  pointer-events: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 229, 235, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #314154;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
}

.language-toggle,
.button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-toggle {
  min-width: 92px;
  padding: 9px 12px;
  background: var(--ink);
  color: #fff;
}

.lang-divider,
.lang-next {
  color: #a7d8e0;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 104px);
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay,
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-canvas {
  z-index: 1;
  opacity: 0.68;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(12, 20, 32, 0.86), rgba(18, 103, 179, 0.52), rgba(24, 167, 181, 0.2)),
    linear-gradient(0deg, rgba(12, 20, 32, 0.44), rgba(12, 20, 32, 0.08));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(880px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee9f2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: #e8f3f6;
  font-size: clamp(17px, 2vw, 21px);
}

.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: 11px 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button.primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(24, 167, 181, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button:hover,
.button:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-2px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-metrics span {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-metrics strong,
.hero-metrics small {
  display: block;
}

.hero-metrics strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.hero-metrics small {
  margin-top: 7px;
  color: #cfeff3;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 72px);
}

.section-tinted {
  background: linear-gradient(180deg, #eef7f9 0%, #ffffff 100%);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.wide {
  width: min(920px, 100%);
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.about-grid,
.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.lead-copy {
  color: #39495c;
  font-size: 18px;
}

.lead-copy p {
  margin: 0 0 18px;
}

.mission-panel,
.engine-panel {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(18, 103, 179, 0.09), rgba(24, 167, 181, 0.14)),
    var(--surface);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.mission-panel span {
  color: var(--muted);
  font-weight: 700;
}

.mission-panel strong {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.product-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(16, 24, 39, 0.08);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

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

.product-card:hover {
  border-color: rgba(24, 167, 181, 0.42);
  box-shadow: 0 26px 64px rgba(16, 24, 39, 0.14);
  transform: translateY(-8px);
}

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

.product-card div {
  padding: 24px;
}

.product-card p {
  margin: 0 0 18px;
  color: #46576a;
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #263648;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
}

.product-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.technology-section {
  background: var(--surface);
}

.tech-copy {
  color: #39495c;
  font-size: 18px;
}

.tech-copy p {
  margin: 0 0 24px;
}

.tech-list,
.engine-grid,
.scenario-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span,
.engine-grid span,
.scenario-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #25364a;
  font-weight: 700;
}

.tech-list span {
  padding: 13px 15px;
}

.engine-panel {
  min-height: auto;
  justify-content: flex-start;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.engine-panel::before {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(24, 167, 181, 0.25), transparent 62%);
  content: "";
  animation: enginePulse 6s ease-in-out infinite alternate;
}

.engine-grid {
  position: relative;
  margin: 18px 0;
}

.engine-grid span,
.scenario-row span {
  padding: 10px 12px;
}

.engine-panel p:last-child {
  margin: 0;
  color: var(--muted);
}

.integration-section {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
}

.integration-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: integrationPan 20s ease-in-out infinite alternate;
}

.integration-section::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.88), rgba(18, 103, 179, 0.62), rgba(24, 167, 181, 0.2)),
    rgba(0, 0, 0, 0.24);
  content: "";
}

.integration-content {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
  padding-top: 48px;
}

.integration-content h2 {
  color: #fff;
}

.integration-content p:not(.eyebrow) {
  color: #e8f3f6;
  font-size: 19px;
}

.scenario-row {
  margin-top: 28px;
}

.scenario-row span {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-grid > * {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-grid > *:hover,
.contact-grid > *:focus-visible {
  border-color: rgba(24, 167, 181, 0.45);
  box-shadow: 0 18px 46px rgba(16, 24, 39, 0.1);
  transform: translateY(-4px);
}

.contact-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
}

.wechat-card {
  position: relative;
  overflow: hidden;
}

.qr-code {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  width: 88px;
  height: 88px;
  margin-top: 18px;
  padding: 8px;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: var(--radius);
  background: #fff;
}

.qr-code i {
  min-width: 0;
  border-radius: 2px;
  background: #101827;
}

.qr-code i:nth-child(2),
.qr-code i:nth-child(5),
.qr-code i:nth-child(7) {
  background: #18a7b5;
}

.contact-rail {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 25;
  display: grid;
  gap: 8px;
}

.contact-rail a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(16, 24, 39, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(16, 24, 39, 0.18);
  backdrop-filter: blur(14px);
}

.contact-rail a:hover,
.contact-rail a:focus-visible {
  background: #1267b3;
}

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

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #101827;
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
  color: #b7c5d4;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d8e6ef;
}

.footer-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

@media (max-width: 1000px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: calc(100svh - 140px);
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 84px;
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .language-toggle {
    min-width: 82px;
    padding: 8px 10px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 70px 0;
  }

  h1 {
    font-size: 42px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-heading {
    text-align: left;
  }

  .product-card {
    grid-template-rows: 190px 1fr;
  }

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

  .contact-rail {
    right: 12px;
    bottom: 12px;
    grid-template-columns: repeat(3, auto);
  }

  .contact-rail a {
    padding: 9px 10px;
    font-size: 12px;
  }

  .site-footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-18px, 10px, 0);
  }
}

@keyframes integrationPan {
  from {
    transform: scale(1.06) translateX(0);
  }

  to {
    transform: scale(1.1) translateX(-22px);
  }
}

@keyframes enginePulse {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.55;
  }

  to {
    transform: translate3d(42%, 22%, 0);
    opacity: 0.95;
  }
}

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

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