:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "MicrosoftJhengHei", system-ui, sans-serif;
  color: #173954;
  background: #f4f8fb;
  --hb-blue: #00a0e9;
  --hb-deep-blue: #002870;
  --hb-blue-hover: #0093d6;
  --hb-blue-text: #006c9e;
  --hb-blue-soft: #e6f6fd;
  --hb-blue-line: #bfe7fa;
  --hb-ink: #173954;
  --hb-body: #567083;
  --hb-muted: #657b8d;
  --hb-line: #dce6ed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: #f4f8fb; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid rgba(0, 160, 233, .52); outline-offset: 3px; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: relative;
  z-index: 30;
  height: 78px;
  border-bottom: 1px solid rgba(20, 61, 91, .08);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1px 12px rgba(21, 56, 82, .04);
}

.header-inner,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 100px;
  align-items: center;
  gap: 24px;
}

.brand { width: 120px; height: 49px; display: flex; align-items: center; }
.brand img { display: block; width: 100%; height: auto; }

.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.9vw, 27px);
  color: #2e4a60;
  font-size: 14px;
  white-space: nowrap;
}

.main-nav > a,
.nav-dropdown > summary {
  position: relative;
  padding: 28px 0 25px;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}

.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::before {
  content: "";
  position: absolute;
  top: 34px;
  right: -12px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.main-nav > a::after,
.nav-dropdown > summary::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-blue);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav > a:hover,
.nav-dropdown > summary:hover,
.nav-dropdown > summary.is-active { color: var(--hb-blue-text); }
.main-nav > a:hover::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown > summary.is-active::after { transform: scaleX(1); }

.nav-dropdown { position: relative; }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  min-width: 158px;
  display: grid;
  padding: 8px;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 16px 34px rgba(21, 56, 82, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown[open] .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown__menu a { padding: 10px 13px; border-radius: 8px; color: #35556c; }
.nav-dropdown__menu a:hover { color: var(--hb-blue-text); background: var(--hb-blue-soft); }

.account-links { display: flex; justify-content: flex-end; gap: 8px; color: #516879; font-size: 12px; }
.account-links a:hover { color: var(--hb-blue-text); }

.product-hero {
  position: relative;
  min-height: 252px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(151, 211, 239, .2), transparent 28%),
    linear-gradient(118deg, #1d374d 0%, #2a4b61 56%, #42667a 100%);
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(108deg, transparent 54%, rgba(255, 255, 255, .07) 54.2%, transparent 76%),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, .14), transparent 23%);
  opacity: .72;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 48px));
  min-height: 252px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: center;
  gap: 34px;
  margin: 0 auto;
  padding: 8px 0 22px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  color: #bfe8fb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
}

.hero-kicker span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 7px;
  color: #fff;
  background: rgba(0, 160, 233, .3);
}

.hero-copy h1,
.product-card h3 {
  font-family: "PingFang SC", "Microsoft YaHei", "MicrosoftJhengHei", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.1;
}

.hero-lead {
  max-width: 650px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
  line-height: 1.62;
}

.hero-lead strong,
.hero-lead span {
  display: block;
}

.hero-lead strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .015em;
}

.hero-visual {
  position: relative;
  width: min(380px, 100%);
  height: 188px;
  justify-self: end;
  transform: translateY(-7px);
}

.visual-panel {
  position: absolute;
  inset: 4px 0 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  box-shadow: 0 18px 38px rgba(13, 35, 50, .18);
}

.visual-panel::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -72px;
  right: -12px;
  border-radius: 50%;
  background: rgba(0, 160, 233, .2);
  filter: blur(18px);
}

.visual-panel__label {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 14px;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  letter-spacing: .12em;
}

.hero-visual svg { position: relative; display: block; width: 100%; height: 100%; }
.visual-orbit,
.visual-link,
.visual-building {
  fill: none;
  stroke: rgba(207, 237, 250, .55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visual-orbit { stroke-dasharray: 7 9; }
.visual-orbit--two { stroke: rgba(0, 160, 233, .48); stroke-dasharray: 3 11; }
.visual-building { stroke: rgba(230, 246, 253, .82); stroke-width: 2.3; }
.visual-link { stroke: rgba(112, 210, 249, .72); stroke-width: 1.5; }
.visual-node { fill: #27475d; stroke: #a6e1fa; stroke-width: 2.5; }
.visual-node--bright { fill: #00a0e9; stroke: #e6f6fd; }

.visual-capabilities {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 4px;
  display: flex;
  gap: 6px;
}

.visual-capabilities span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  background: rgba(26, 54, 73, .72);
  box-shadow: 0 5px 14px rgba(10, 31, 46, .14);
  font-size: 10px;
  backdrop-filter: blur(6px);
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 650;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-deep-blue));
  box-shadow: 0 12px 26px rgba(0, 40, 112, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0, 40, 112, .34); }

.product-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 38px;
  scroll-margin-top: 16px;
}

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 60, 87, .07);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  scroll-margin-top: 100px;
}

.product-card:target {
  border-color: rgba(0, 160, 233, .62);
  box-shadow: 0 22px 54px rgba(24, 79, 112, .18), 0 0 0 4px rgba(0, 160, 233, .1);
}

.product-card:target::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: inherit;
  background: linear-gradient(180deg, #00a0e9, #62c6ee);
}
.product-card:hover { transform: translateY(-2px); border-color: var(--hb-blue-line); box-shadow: 0 18px 42px rgba(0, 160, 233, .1); }
.product-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--hb-deep-blue);
  background: var(--hb-blue-soft);
}
.product-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.status { padding: 5px 9px; border-radius: 999px; color: #866120; background: #fff4dc; font-size: 11px; font-weight: 700; }
.status--ready { color: #24745e; background: #e8f6f0; }
.product-type { margin: 17px 0 6px; color: var(--hb-blue-text); font-size: 11px; font-weight: 750; letter-spacing: .07em; }
.product-card h3 { margin: 0; color: var(--hb-ink); font-size: 24px; line-height: 1.28; }
.product-summary { margin: 12px 0 14px; color: var(--hb-body); font-size: 13.5px; line-height: 1.67; }
.feature-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.feature-list li { padding: 5px 8px; border-radius: 8px; color: #476377; background: #f3f7fa; font-size: 10.5px; }
.product-card .button { width: 100%; margin-top: auto; }
.button--disabled { color: #506879; background: #e9eef1; cursor: default; }
.button--card { box-shadow: 0 8px 20px rgba(0, 40, 112, .2); }

.site-footer { color: #7f8b96; background: #20252b; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr)) 250px;
  gap: 34px;
  padding: 44px 0 24px;
}
.footer-grid dl,
.footer-grid figure { margin: 0; }
.footer-grid dt,
.footer-grid figcaption { margin-bottom: 17px; color: #adb6bf; font-size: 14px; font-weight: 650; }
.footer-grid dd { margin: 0 0 11px; font-size: 12px; }
.footer-grid a:hover { color: #d4dce2; }
.footer-qr { display: flex; justify-content: flex-end; gap: 24px; }
.footer-qr figure { text-align: center; }
.footer-qr img { width: 84px; height: 84px; object-fit: contain; background: #fff; }
.footer-contact { padding: 3px 0 20px; color: #727e89; font-size: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .035); background: #1d2228; }
.footer-bottom .footer-inner { min-height: 48px; display: flex; align-items: center; gap: 14px; color: #68737d; font-size: 11px; }

@media (max-width: 900px) {
  .site-header { height: 116px; }
  .header-inner { width: min(100% - 28px, 760px); grid-template-columns: 1fr auto; grid-template-rows: 67px 49px; gap: 0; }
  .brand { width: 112px; height: 46px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 26px; overflow-x: auto; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav > a,
  .nav-dropdown > summary { padding: 15px 0 14px; }
  .main-nav > a::after,
  .nav-dropdown > summary::after { bottom: 8px; }
  .nav-dropdown > summary::before { top: 20px; }
  .nav-dropdown__menu { position: fixed; top: 108px; right: 14px; left: auto; transform: translateY(7px); }
  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu,
  .nav-dropdown[open] .nav-dropdown__menu { transform: translateY(0); }
  .account-links { grid-column: 2; grid-row: 1; font-size: 13px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-visual { width: 300px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card--service { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
  .footer-qr { grid-column: 1 / -1; justify-content: flex-start; }
  .footer-bottom .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 0; }
}

@media (max-width: 580px) {
  .product-hero { min-height: 304px; }
  .hero-layout { width: calc(100% - 30px); min-height: 242px; grid-template-columns: 1fr; padding: 22px 0 30px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy h1 { font-size: 32px; }
  .hero-lead { max-width: 93%; font-size: 13px; line-height: 1.58; }
  .hero-lead strong { font-size: 14.5px; }
  .hero-visual { position: absolute; top: 10px; right: -78px; width: 250px; height: 160px; opacity: .34; transform: none; }
  .visual-capabilities { display: none; }
  .product-section { width: calc(100% - 30px); padding: 16px 0 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card--service { grid-column: auto; }
  .product-card { padding: 18px; }
  .footer-inner { width: calc(100% - 28px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; padding: 34px 0 20px; }
  .footer-grid dt,
  .footer-grid figcaption { margin-bottom: 14px; }
  .footer-qr { gap: 24px; }
  .footer-qr img { width: 76px; height: 76px; }
}

@media (max-width: 380px) {
  .hero-copy h1 { font-size: 29px; }
  .hero-lead { max-width: 94%; }
  .hero-visual { right: -90px; opacity: .42; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
