:root {
  --bg: #f4f8fc;
  --bg-elev: #ffffff;
  --navy: #163a5f;
  --cyan: #1aa8a8;
  --cyan-dim: rgba(26, 168, 168, 0.12);
  --blue: #3b7cc9;
  --gold: #c9a36a;
  --text: #1c3348;
  --muted: #5e7388;
  --line: rgba(59, 124, 201, 0.14);
  --glass: rgba(255, 255, 255, 0.86);
  --danger: #d15a72;
  --shadow: 0 16px 40px rgba(22, 58, 95, 0.08);
  --radius: 18px;
  --max: 1200px;
  --header-h: 76px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Outfit", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(59, 124, 201, 0.16), transparent 60%),
    radial-gradient(720px 380px at 92% 6%, rgba(26, 168, 168, 0.14), transparent 55%),
    linear-gradient(180deg, #eaf4fb 0%, #f7fbfd 42%, #ffffff 100%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 2;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(22, 58, 95, 0.06);
}

.header-inner {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.brand-text span {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--cyan-dim);
}

.nav-cta {
  margin-left: 8px;
  padding: 8px 18px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--cyan), var(--blue)) !important;
  font-weight: 600;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 0 auto;
  position: relative;
}

.menu-btn::before {
  position: absolute;
  top: 14px;
  left: 12px;
}

.menu-btn::after {
  position: absolute;
  bottom: 14px;
  left: 12px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 22px;
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(59, 124, 201, 0.22);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--navy);
  background: #ffffff;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.orbit {
  position: absolute;
  inset: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 48s linear infinite;
}

.orbit-2 {
  inset: 90px;
  animation-duration: 32s;
  animation-direction: reverse;
  border-color: rgba(59, 124, 201, 0.22);
}

.diamond-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(26, 168, 168, 0.4);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(59, 124, 201, 0.16);
}

.diamond-frame img {
  width: 145%;
  height: 145%;
  object-fit: cover;
  transform: rotate(-45deg) translate(-16%, -16%);
}

.float-card {
  position: absolute;
  width: 168px;
  padding: 10px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.float-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.float-card p {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.float-a {
  top: 36px;
  left: 0;
  animation: floaty 6s ease-in-out infinite;
}

.float-b {
  right: 0;
  bottom: 48px;
  animation: floaty 7.5s ease-in-out infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -24px;
}

.stat {
  background: #ffffff;
  padding: 28px 22px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
}

.eyebrow {
  color: var(--cyan);
  letter-spacing: 0.24em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.muted {
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.value-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 58, 95, 0.05);
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(22, 58, 95, 0.05);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 168, 168, 0.4);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--cyan-dim);
  color: var(--cyan);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
  font-size: 14px;
}

.card ul {
  margin-top: 12px;
  padding-left: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
  min-height: 420px;
}

.product-card .copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card .media {
  position: relative;
  background: #eef5fa;
  min-height: 320px;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 12px;
  margin-bottom: 14px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
}

.tl-item {
  position: relative;
  padding-top: 56px;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(26, 168, 168, 0.16);
}

.tl-item b {
  display: block;
  font-family: var(--display);
  color: var(--cyan);
  font-size: 20px;
}

.tl-item p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.partner {
  min-height: 72px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 10px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.page-hero {
  padding: calc(var(--header-h) + 72px) 0 48px;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}

.gallery .main {
  height: 520px;
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.thumbs.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.thumbs img {
  height: 253px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #ffffff;
}

.thumbs.cols-3 img {
  height: 164px;
}

.stack {
  display: grid;
  gap: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 8px;
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  color: var(--muted);
  font-weight: 500;
  width: 160px;
}

.patent-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: center;
}

.patent-card img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.patent-card .btn {
  white-space: nowrap;
}

.patent-meta {
  font-size: 13px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  font-size: 13px;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--cyan);
}

.form-msg {
  min-height: 22px;
  font-size: 13px;
  color: var(--cyan);
}

.contact-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
}

.contact-line span {
  color: var(--muted);
}

.contact-line a {
  color: var(--navy);
  word-break: break-all;
}

.contact-line a:hover,
.copybar a:hover {
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  margin-top: 40px;
  background: #eef5fa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.site-footer h4 {
  margin-bottom: 12px;
  font-size: 14px;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
  word-break: break-word;
}

.site-footer a:hover {
  color: var(--cyan);
}

.copybar {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 16px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(22, 58, 95, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .hero-grid,
  .split,
  .product-card,
  .contact-grid,
  .gallery,
  .patent-card,
  .footer-grid,
  .grid-3,
  .grid-4,
  .stats,
  .timeline,
  .partners,
  .values {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .diamond-frame {
    width: 220px;
    height: 220px;
  }

  .timeline::before {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery .main,
  .thumbs img {
    height: 220px;
  }

  .patent-card {
    justify-items: start;
  }
}
