/* ==========================================================================
   Thor Technology — 2026 Design System
   Deep-space tech theme · responsive · no external font dependencies
   ========================================================================== */

/* Tokens
   ========================================================================== */
:root {
  --bg: #05070c;
  --bg-soft: #070b13;
  --panel: #0a101b;
  --panel-2: #0d1522;
  --panel-3: #111b2b;
  --line: rgba(150, 180, 225, .13);
  --line-strong: rgba(150, 180, 225, .26);
  --text: #e9eef8;
  --muted: #98a6bd;
  --dim: #66748d;
  --cyan: #38e1ff;
  --blue: #5b7cff;
  --violet: #9d6bff;
  --warm: #ffb86b;
  --hot: #ff4d7d;
  --grad: linear-gradient(110deg, #38e1ff 0%, #5b7cff 52%, #9d6bff 100%);
  --grad-soft: linear-gradient(140deg, rgba(56, 225, 255, .14), rgba(91, 124, 255, .10) 45%, rgba(157, 107, 255, .12));
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shell: 1240px;
  --header-h: 82px;
  --shadow: 0 30px 90px -40px rgba(0, 0, 0, .95);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

/* Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 78% -10%, rgba(56, 225, 255, .16), transparent 62%),
    radial-gradient(780px 560px at 8% 8%, rgba(91, 124, 255, .14), transparent 60%),
    radial-gradient(700px 520px at 55% 105%, rgba(157, 107, 255, .10), transparent 65%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(150, 180, 225, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 180, 225, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, h5 { margin: 0; }
figure { margin: 0; }
::selection { background: rgba(56, 225, 255, .28); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* Utilities
   ========================================================================== */
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: clamp(76px, 9vw, 132px) 0; }
.section-tight { padding: clamp(54px, 6vw, 88px) 0; }
.stats-band { padding: 0; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 28%, transparent 72%, rgba(255, 255, 255, .018)); border-block: 1px solid var(--line); }
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(720px 380px at 80% 20%, rgba(56, 225, 255, .06), transparent 65%);
}
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-muted { color: var(--muted); }
.text-dim { color: var(--dim); }
.text-sm { font-size: 13.5px; line-height: 1.8; }
.mono { font-family: var(--font-mono); }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-22 { margin-bottom: 22px; }
.mb-26 { margin-bottom: 26px; }
.mt-14 { margin-top: 14px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--cyan);
  color: #031019;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* Type
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.eyebrow.is-center { justify-content: center; }
.eyebrow.is-center::after {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.45rem, 5.1vw, 4.2rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.3; letter-spacing: -.02em; }
h4 { font-size: 1.08rem; line-height: 1.4; letter-spacing: -.01em; }
.lede { font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.85; color: var(--muted); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { max-width: 520px; justify-self: end; }
.section-head.is-center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.is-center .lede { justify-self: center; max-width: 680px; }

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--grad);
  color: #031019;
  box-shadow: 0 14px 38px -14px rgba(56, 225, 255, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -16px rgba(56, 225, 255, .7); }
.btn-ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:hover { border-color: rgba(56, 225, 255, .55); background: rgba(56, 225, 255, .07); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* WeChat service button + click hint
   ========================================================================== */
.wx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(7, 193, 96, .5);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(7, 193, 96, .2), rgba(56, 225, 255, .06));
  color: #8df0b9;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 12px 34px -20px rgba(7, 193, 96, .9);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.wx-btn svg { width: 15px; height: 15px; flex: none; }
.wx-btn:hover, .wx-btn:focus-visible {
  color: #c6ffdf;
  border-color: #12cf6c;
  background: rgba(7, 193, 96, .3);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -20px rgba(7, 193, 96, .95);
}
.wx-btn-sm { height: 36px; padding: 0 14px; font-size: 12.5px; border-radius: 9px; }
.wx-btn-sm svg { width: 14px; height: 14px; }

.side-card .contact-line a.wx-btn { height: 32px; padding: 0 11px; gap: 6px; border-radius: 8px; color: #8df0b9; font-family: var(--font-sans); font-size: 12px; }
.side-card .contact-line a.wx-btn svg { width: 13px; height: 13px; }
.contact-card a.wx-btn { display: inline-flex; margin-top: 12px; height: 40px; }
.contact-card a.wx-btn:hover { color: #c6ffdf; }
.footer-col a.wx-btn { display: inline-flex; height: 36px; margin: 4px 0; padding: 0 14px; font-size: 12.5px; }
.footer-col a.wx-btn:hover { color: #c6ffdf; }

.wx-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 2px;
  padding: 2px 9px 3px;
  border: 1px solid rgba(7, 193, 96, .45);
  border-radius: 7px;
  background: rgba(7, 193, 96, .12);
  color: #8df0b9;
  font-size: .9em;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: 1px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.wx-inline svg { width: 12px; height: 12px; flex: none; }
.wx-inline:hover { color: #c6ffdf; border-color: #12cf6c; background: rgba(7, 193, 96, .24); }
.prose a.wx-inline, .prose a.wx-inline:hover { color: #8df0b9; border-bottom: 0; }
.prose a.wx-inline:hover { color: #c6ffdf; }

[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  z-index: 60;
  padding: 7px 11px;
  border: 1px solid rgba(7, 193, 96, .45);
  border-radius: 8px;
  background: rgba(6, 14, 20, .97);
  color: #c6ffdf;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 14px 36px -16px rgba(0, 0, 0, .9);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity .2s ease, transform .2s ease;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { [data-tip]::after { display: none; } }

.wx-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border: 1px solid rgba(7, 193, 96, .5);
  border-radius: 999px;
  background: rgba(7, 14, 22, .95);
  color: #c6ffdf;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .95);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .25s ease, transform .25s ease;
}
.wx-toast::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #07c160; box-shadow: 0 0 12px rgba(7, 193, 96, .9); }
.wx-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
[role="status"].wx-toast { backdrop-filter: blur(12px); }

/* Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 12, .82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.header-inner { display: flex; align-items: center; gap: 34px; height: 100%; }
.header-inner > nav { margin-left: auto; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 188px; height: auto; }
.nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-desktop > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); background: rgba(255, 255, 255, .045); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }
.header-cta { margin-left: 10px; }
.mega {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 720px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 18px;
  background: #0a101b;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-group { padding: 4px; }
.mega-label { margin-bottom: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--dim); text-transform: uppercase; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.mega-link:hover { background: rgba(56, 225, 255, .08); color: var(--text); }
.mega-link .tag { font-size: 9px; font-weight: 700; letter-spacing: .08em; color: var(--warm); }
.mega-link .tag.hot { color: var(--hot); }
.mega-services { border-left: 1px solid var(--line); padding-left: 18px; }
.mega-services .mega-link { padding: 12px 10px; font-size: 14px; color: var(--text); }
.mega-services .mega-link small { display: block; font-size: 11px; font-weight: 400; color: var(--dim); }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
}
.menu-toggle span { position: relative; width: 18px; height: 1.5px; background: var(--text); transition: transform .25s ease, background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--text); transition: transform .25s ease, top .25s ease; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  padding: 22px 24px 40px;
  background: rgba(5, 7, 12, .98);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
body.nav-open .nav-mobile { opacity: 1; visibility: visible; transform: translateY(0); }
body.nav-open { overflow: hidden; }
.nav-mobile a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 17px; font-weight: 600; }
.nav-mobile .sub { padding-left: 14px; }
.nav-mobile .sub a { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-mobile .btn { margin-top: 22px; }

/* Hero
   ========================================================================== */
.hero { position: relative; padding: calc(var(--header-h) + 84px) 0 72px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  width: 760px; height: 760px;
  right: -190px; top: -260px;
  background: radial-gradient(circle, rgba(56, 225, 255, .17), rgba(91, 124, 255, .07) 40%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(34px, 5vw, 76px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(56, 225, 255, .55), transparent 38%, transparent 62%, rgba(157, 107, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.hero-frame .scan {
  position: absolute;
  left: 10px; right: 10px; top: 10px;
  height: 42%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(56, 225, 255, .14), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(8, 13, 22, .9);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #34e2a0; box-shadow: 0 0 14px #34e2a0; }
.float-card strong { display: block; font-family: var(--font-mono); font-size: 15px; line-height: 1.2; }
.float-card span { display: block; font-size: 10px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.float-card.fc-1 { left: -26px; top: 16%; }
.float-card.fc-2 { right: -18px; bottom: 12%; }

/* Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 66px) 0 64px; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 680px; height: 680px;
  right: -160px; top: -280px;
  background: radial-gradient(circle, rgba(91, 124, 255, .18), transparent 66%);
  pointer-events: none;
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.page-hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.7rem); margin-bottom: 20px; }
.page-hero .lede { max-width: 620px; margin-bottom: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--dim); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 184, 107, .35);
  border-radius: 999px;
  background: rgba(255, 184, 107, .08);
  color: var(--warm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.status.is-live { border-color: rgba(52, 226, 160, .35); background: rgba(52, 226, 160, .08); color: #34e2a0; }
.status.is-new { border-color: rgba(255, 77, 125, .35); background: rgba(255, 77, 125, .08); color: var(--hot); }
.hero-media {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .012));
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; }
.hero-media .media-glow { position: absolute; inset: 20% 12% -8%; background: radial-gradient(ellipse, rgba(56, 225, 255, .22), transparent 70%); filter: blur(30px); z-index: -1; }
.media-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(7, 11, 19, .8); font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; }
.media-caption b { color: var(--cyan); font-weight: 600; }

/* Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.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)); }
.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56, 225, 255, .32); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .9); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(56, 225, 255, .24);
  border-radius: 12px;
  background: rgba(56, 225, 255, .08);
  color: var(--cyan);
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.card .index { position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), border-color .32s ease, box-shadow .32s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(56, 225, 255, .4); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .95); }
.product-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s ease; }
.product-card:hover .product-thumb img { transform: scale(1.045); }
.product-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 12, .05), rgba(5, 7, 12, .55) 70%, var(--panel)); }
.product-thumb .status { position: absolute; top: 12px; left: 12px; z-index: 2; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.product-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; margin-top: -24px; z-index: 2; }
.product-cat { margin-bottom: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.product-body h3 { font-size: 1.07rem; margin-bottom: 6px; }
.product-body p { flex: 1; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.product-more { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--dim); }
.product-more svg { width: 14px; height: 14px; color: var(--cyan); transition: transform .25s ease; }
.product-card:hover .product-more svg { transform: translateX(4px); }

/* Service blocks */
.service-stack { display: grid; gap: 18px; }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.service-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--grad); opacity: .0; transition: opacity .3s ease; }
.service-row:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.service-row:hover::before { opacity: 1; }
.service-num { font-family: var(--font-mono); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(56, 225, 255, .5); line-height: 1; }
.service-row h3 { margin-bottom: 9px; }
.service-row p { color: var(--muted); font-size: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.service-tags span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, .02); color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; }
.service-row .link-arrow { margin-top: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .02); overflow: hidden; }
.stat { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.stat strong em { font-style: normal; color: var(--cyan); }
.stat > span { display: block; margin-top: 10px; color: var(--dim); font-size: 12.5px; letter-spacing: .04em; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.process-step { position: relative; padding: 28px 22px 0 0; }
.process-step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px rgba(56, 225, 255, .8); }
.process-step .num { display: block; margin-bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--cyan); }
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--dim); font-size: 12.5px; line-height: 1.7; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .022); transition: border-color .25s ease, background .25s ease; }
.feature:hover { border-color: rgba(56, 225, 255, .3); background: rgba(56, 225, 255, .04); }
.feature svg { width: 20px; height: 20px; margin-bottom: 14px; color: var(--cyan); }
.feature h4 { margin-bottom: 6px; font-size: .98rem; }
.feature p { color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* Content / prose
   ========================================================================== */
.content-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose { color: var(--muted); font-size: 15px; line-height: 1.95; }
.prose > * + * { margin-top: 18px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 42px; margin-bottom: 12px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { font-size: 1.32rem; }
.prose h3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 2px; background: var(--grad); vertical-align: 2px; }
.prose p { margin: 0; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(56, 225, 255, .3); transition: border-color .2s ease; }
.prose a:hover { border-color: var(--cyan); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 8px 0; list-style: disc; }
.prose blockquote { margin: 26px 0; padding: 18px 22px; border-left: 2px solid var(--cyan); background: rgba(56, 225, 255, .06); border-radius: 0 12px 12px 0; color: var(--text); font-size: 14px; }
.prose img { border-radius: 14px; margin: 26px 0; }
.prose .cta-inline { padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .025); }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.side-card h4 { margin-bottom: 10px; font-size: 1.02rem; }
.side-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.side-card .contact-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.side-card .contact-line:last-of-type { border-bottom: 0; }
.side-card .contact-line span { color: var(--dim); }
.side-card .contact-line a { color: var(--cyan); font-family: var(--font-mono); font-size: 13px; }
.side-card .btn { margin-top: 14px; }
.side-list li { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.side-list li:last-child { border-bottom: 0; }
.side-list svg { width: 14px; height: 14px; color: var(--cyan); flex: none; }

/* Featured product strip */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 32px;
  align-items: center;
  padding: clamp(32px, 5vw, 62px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 280px at 12% 0%, rgba(56, 225, 255, .16), transparent 65%),
    radial-gradient(520px 260px at 92% 100%, rgba(157, 107, 255, .14), transparent 65%),
    linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  overflow: hidden;
}
.cta-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(150, 180, 225, .05) 1px, transparent 1px); background-size: 56px 100%; pointer-events: none; }
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel .lede { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }

/* Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .022); }
.contact-card .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.contact-card strong, .contact-card a { display: block; margin-top: 9px; font-size: 15px; font-weight: 600; line-height: 1.6; }
.contact-card a:hover { color: var(--cyan); }
.contact-card small { display: block; margin-top: 6px; color: var(--dim); font-size: 11.5px; line-height: 1.6; }
.map-card { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel); }
#company-map { width: 100%; height: 430px; background: #0a101b; }
.map-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px 22px; border-top: 1px solid var(--line); }
.map-addr strong { display: block; font-size: 14px; }
.map-addr span { display: block; margin-top: 4px; color: var(--dim); font-size: 12px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.map-btn svg { width: 14px; height: 14px; }
.map-btn:hover { border-color: var(--cyan); background: rgba(56, 225, 255, .07); }
.map-btn.amap { color: #6cc8ff; }
.map-btn.baidu { color: #7aa2ff; }
.leaflet-container { font-family: var(--font-sans) !important; background: #0a101b; }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(1.06) saturate(.6); }
.leaflet-control-zoom a { background: rgba(10, 16, 27, .92) !important; color: var(--text) !important; border-color: var(--line-strong) !important; }
.leaflet-control-zoom a:hover { background: rgba(56, 225, 255, .12) !important; color: var(--cyan) !important; }
.leaflet-control-attribution { background: rgba(5, 7, 12, .7) !important; color: var(--dim) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-popup-content-wrapper { background: #0d1522; color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 13px 16px; color: var(--muted); line-height: 1.7; font-size: 12px; }
.leaflet-popup-content strong { color: var(--text); font-size: 13px; }
.leaflet-popup-tip { background: #0d1522; border: 1px solid var(--line-strong); }
.company-map-pin { background: transparent; }
.company-map-pin span { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cyan); border: 3px solid #fff; box-shadow: 0 0 0 5px rgba(56, 225, 255, .25), 0 0 24px rgba(56, 225, 255, .8); }

/* FAQ
   ========================================================================== */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--cyan); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* Footer
   ========================================================================== */
.site-footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 30%); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 34px; padding: 64px 0 44px; }
.footer-brand img { width: 178px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; color: var(--dim); font-size: 12.5px; line-height: 1.8; }
.footer-col h4 { margin-bottom: 14px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.footer-col a, .footer-col span { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; transition: color .2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11.5px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--cyan); }

/* 404
   ========================================================================== */
.error-page { display: flex; align-items: center; min-height: 100vh; padding: calc(var(--header-h) + 40px) 0 60px; text-align: center; }
.error-code { font-family: var(--font-mono); font-size: clamp(6rem, 20vw, 14rem); font-weight: 600; line-height: .85; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(56, 225, 255, .35); background: radial-gradient(ellipse at 50% 60%, rgba(56, 225, 255, .14), transparent 65%); -webkit-background-clip: text; background-clip: text; }
.error-page h1 { margin: 18px 0 12px; font-size: clamp(1.8rem, 3.4vw, 3rem); }
.error-page .lede { max-width: 520px; margin: 0 auto 28px; }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* Reveal animations
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .07s; }
.js .reveal.d2 { transition-delay: .14s; }
.js .reveal.d3 { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-desktop { gap: 0; }
  .nav-link { padding: 0 10px; }
  .mega { width: 660px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 26px; }
}

@media (max-width: 940px) {
  :root { --header-h: 74px; }
  .shell { width: min(var(--shell), calc(100% - 40px)); }
  .nav-desktop, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { width: 164px; }
  .hero, .page-hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 640px; }
  .hero .lede, .page-hero .lede { max-width: 680px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-head .lede { justify-self: start; }
  .product-grid, .product-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .service-row { grid-template-columns: 64px 1fr; }
  .service-tags { grid-column: 2; }
  .service-row .link-arrow { grid-column: 2; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .shell { width: calc(100% - 32px); }
  .section { padding: 66px 0; }
  .section-tight { padding: 46px 0; }
  h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  h2 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .hero { padding-bottom: 48px; }
  .hero-actions .btn { flex: 1; }
  .product-grid, .product-grid.is-3, .grid-2, .grid-3, .grid-4, .related { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .process-step { padding: 0 0 26px 24px; }
  .process-step::before { top: 6px; left: -4px; }
  .process-step:last-child { padding-bottom: 0; }
  .service-row { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .service-num { font-size: 1.6rem; }
  .service-tags, .service-row .link-arrow { grid-column: auto; }
  .float-card { display: none; }
  .hero-frame img { aspect-ratio: 4 / 3; }
  .media-caption { flex-wrap: wrap; }
  .map-foot { align-items: flex-start; }
  #company-map { height: 330px; }
  .map-btn { flex: 1; justify-content: center; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 46px 0 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { display: block; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-panel { padding: 28px 22px; }
  .cta-actions .btn { flex: 1; }
  .cta-panel::after { display: none; }
}

@media (max-width: 400px) {
  .btn { padding: 0 18px; }
  .eyebrow { font-size: 10px; letter-spacing: .16em; }
  .footer-main { grid-template-columns: 1fr; }
}
