:root {
  --bg: #05080f;
  --bg2: #080e1a;
  --panel: #0b1322;
  --panel2: #0f1a2e;
  --panel-hover: #122038;
  --line: #172940;
  --line-bright: rgba(34, 211, 238, 0.36);
  --fg: #eaf0f8;
  --muted: #93aac3;
  --dim: #617892;
  --accent: #22d3ee;
  --accent2: #4f7cff;
  --self-bg: rgba(16, 185, 129, 0.14);
  --self-bd: rgba(52, 211, 153, 0.42);
  --self-fg: #34d399;
  --partner-bg: rgba(79, 124, 255, 0.16);
  --partner-bd: rgba(96, 165, 250, 0.45);
  --partner-fg: #7aa2ff;
  --maxw: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.68;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.26; letter-spacing: -0.015em; }
p { margin: 0; }
button { font: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(34, 211, 238, 0.07);
  padding: 5px 13px;
  border-radius: 999px;
  font-weight: 650;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex: none;
  display: block;
  background: #000;
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-cn {
  font-weight: 750;
  font-size: 17px;
  letter-spacing: 0.03em;
}

.brand-en {
  color: var(--dim);
  font-weight: 650;
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-top: 2px;
}

html[data-lang="en"] .brand-en { display: none; }
html[data-lang="en"] .brand-cn { font-size: 18px; letter-spacing: 0.04em; }

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
}

.navlinks a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.18s;
}

.navlinks a:hover,
.navlinks a.hot {
  color: var(--fg);
}

.navlinks a.hot {
  color: var(--accent);
  font-weight: 620;
}

.navlinks a.sim-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ee7f7;
  font-weight: 600;
}

.navlinks a.sim-link::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: htPulseDot 1.8s ease-in-out infinite;
}

@keyframes htPulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}

.langswitch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-left: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.langswitch button {
  background: transparent;
  border: 0;
  color: var(--dim);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  cursor: pointer;
  transition: 0.18s;
}

.langswitch button.on {
  background: rgba(79, 124, 255, 0.2);
  color: var(--fg);
}

.langswitch button:hover { color: var(--fg); }

.navtoggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: none;
  padding: 0;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.navtoggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: 0.22s;
}

.nav.open .navtoggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .navtoggle span:nth-child(2) { opacity: 0; }
.nav.open .navtoggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 78px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 440px at 82% -10%, rgba(79, 124, 255, 0.24), transparent 64%),
    radial-gradient(640px 380px at 12% 8%, rgba(34, 211, 238, 0.14), transparent 62%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.36;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(76% 68% at 50% 32%, #000 35%, transparent 100%);
  mask-image: radial-gradient(76% 68% at 50% 32%, #000 35%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.3vw, 52px);
  margin-top: 20px;
  font-weight: 780;
  letter-spacing: -0.022em;
}

.hero h1 .grad {
  background: linear-gradient(96deg, #ffffff 10%, var(--accent) 58%, #7aa2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  margin-top: 20px;
  max-width: 640px;
}

.sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.sw-tag {
  font-size: 12.5px;
  font-weight: 560;
  color: #c7dcf2;
  background: rgba(15, 26, 46, 0.85);
  border: 1px solid rgba(79, 124, 255, 0.28);
  padding: 5px 12px;
  border-radius: 8px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.8px;
  font-weight: 650;
  padding: 12px 22px;
  border-radius: 11px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(96deg, var(--accent), var(--accent2));
  color: #031018;
  box-shadow: 0 10px 28px -10px rgba(34, 211, 238, 0.55);
}

.btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
  border-color: var(--line-bright);
  color: var(--accent);
}

.btn.sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
}

/* Hero Right Visual Architecture Panel */
.hero-diagram {
  background: linear-gradient(180deg, rgba(13, 23, 42, 0.92), rgba(8, 14, 26, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.hero-diagram::before {
  content: "";
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hd-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hd-badge {
  font-size: 11.5px;
  color: var(--self-fg);
  background: var(--self-bg);
  border: 1px solid var(--self-bd);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
}

.hd-layers {
  display: grid;
  gap: 10px;
}

.hd-layer {
  background: rgba(6, 11, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s;
}

.hd-layer.core {
  background: linear-gradient(95deg, rgba(34, 211, 238, 0.1), rgba(79, 124, 255, 0.12));
  border-color: rgba(34, 211, 238, 0.42);
}

.hd-layer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 7px;
}

.hd-layer-top span.sub {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.hd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hd-chips i {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3px 8px;
  border-radius: 6px;
}

.hd-layer.core .hd-chips i {
  color: #d8f3fa;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.25);
}

.hd-arrow {
  text-align: center;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  line-height: 1;
  opacity: 0.85;
  animation: htFlowUp 1.8s ease-in-out infinite;
}

@keyframes htFlowUp {
  0%, 100% { opacity: 0.35; transform: translateY(2px); }
  50% { opacity: 1; transform: translateY(-2px); }
}

/* ---------- Metrics Bar ---------- */
.metrics {
  padding: 38px 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.m-cell {
  background: var(--panel);
  padding: 24px 24px;
}

.m-val {
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 780;
  background: linear-gradient(96deg, var(--accent), #7ea3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.m-lbl {
  font-size: 14px;
  font-weight: 650;
  color: var(--fg);
  margin-top: 6px;
}

.m-desc {
  font-size: 12.8px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Generic Section ---------- */
section.sec {
  padding: 86px 0;
}

section.sec.alt {
  background: linear-gradient(180deg, var(--bg2), var(--bg));
  border-block: 1px solid var(--line);
}

.sec-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.sec-head h2 {
  font-size: clamp(24px, 2.8vw, 35px);
  margin-top: 15px;
  font-weight: 750;
}

.sec-head p {
  color: var(--muted);
  margin-top: 13px;
  font-size: 15.5px;
}

/* ---------- Core Software Services (#services) ---------- */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.srv-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s, border-color 0.22s;
  overflow: hidden;
}

.srv-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  opacity: 0.35;
  transition: opacity 0.25s;
}

.srv-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.42);
}

.srv-card:hover::after { opacity: 1; }

.srv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.srv-num {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.srv-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: var(--accent);
}

.srv-ico svg { width: 21px; height: 21px; }

.srv-card h3 {
  font-size: 20px;
  font-weight: 720;
}

.srv-card .srv-sub {
  color: var(--muted);
  font-size: 14.2px;
  margin-top: 8px;
}

.srv-list {
  margin: 16px 0 20px;
  padding-left: 18px;
  color: #c5d6e8;
  font-size: 14px;
}

.srv-list li { margin: 7px 0; }
.srv-list li::marker { color: var(--accent); }

.srv-deliv {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}

.srv-deliv-lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.srv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.srv-pills span {
  font-size: 12px;
  color: var(--fg);
  background: rgba(79, 124, 255, 0.13);
  border: 1px solid rgba(79, 124, 255, 0.28);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ---------- Architecture & Delivery SOP (#architecture) ---------- */
.arch-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 32px;
}

.arch-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.arch-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.arch-row:first-child { padding-top: 2px; }

.arch-lvl {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

.arch-lvl small {
  display: block;
  font-size: 11.5px;
  color: var(--dim);
  font-weight: 500;
  margin-top: 2px;
}

.arch-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.arch-items span {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: #d6e4f2;
}

.sop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sop-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px 20px;
  position: relative;
}

.sop-step .st-no {
  font-size: 12px;
  font-weight: 750;
  color: var(--accent);
  letter-spacing: 0.14em;
}

.sop-step h4 {
  font-size: 16px;
  font-weight: 680;
  margin-top: 8px;
}

.sop-step p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Product Parameter Center (#products) ---------- */
.prod-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s;
}

.f-btn:hover { color: var(--fg); border-color: rgba(34, 211, 238, 0.35); }

.f-btn.active {
  background: linear-gradient(96deg, rgba(34, 211, 238, 0.18), rgba(79, 124, 255, 0.22));
  border-color: var(--accent);
  color: var(--fg);
}

.prod-note {
  font-size: 12.5px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.p-card {
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.p-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 20px 42px -22px rgba(34, 211, 238, 0.28);
}

.p-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #070d18;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.p-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.p-card:hover .p-img-wrap img {
  transform: scale(1.04);
}

.p-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.badge-src {
  font-size: 11.5px;
  font-weight: 720;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  letter-spacing: 0.04em;
}

.badge-src.self {
  background: rgba(6, 38, 29, 0.85);
  border: 1px solid var(--self-bd);
  color: var(--self-fg);
}

.badge-src.partner {
  background: rgba(12, 26, 58, 0.88);
  border: 1px solid var(--partner-bd);
  color: var(--partner-fg);
}

.badge-cat {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd9ea;
  backdrop-filter: blur(8px);
}

.p-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-vendor {
  font-size: 11.8px;
  font-weight: 650;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.p-title {
  font-size: 18.5px;
  font-weight: 740;
  color: var(--fg);
}

.p-desc {
  font-size: 13.2px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.55;
}

/* 6-cell Mini Spec Grid directly on card */
.p-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 15px 0 18px;
}

.ps-item {
  background: rgba(6, 11, 20, 0.68);
  border: 1px solid rgba(23, 41, 64, 0.9);
  border-radius: 9px;
  padding: 8px 10px;
}

.ps-k {
  font-size: 11px;
  color: var(--dim);
  display: block;
  line-height: 1.25;
}

.ps-v {
  font-size: 12.6px;
  font-weight: 680;
  color: #e4eef9;
  display: block;
  margin-top: 3px;
  line-height: 1.32;
}

.p-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

.p-actions .btn-spec {
  flex: 1;
  background: rgba(34, 211, 238, 0.11);
  border: 1px solid rgba(34, 211, 238, 0.34);
  color: var(--accent);
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.2px;
  font-weight: 660;
  cursor: pointer;
  transition: 0.18s;
}

.p-actions .btn-spec:hover {
  background: linear-gradient(96deg, var(--accent), var(--accent2));
  color: #041018;
  border-color: transparent;
}

.p-actions .btn-cmp {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 12.8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s;
}

.p-actions .btn-cmp:hover { border-color: var(--line-bright); color: var(--fg); }

.p-actions .btn-cmp.on {
  background: rgba(79, 124, 255, 0.22);
  border-color: var(--accent2);
  color: #b8ceff;
}

/* ---------- Hardware-Software Solutions (#solutions) ---------- */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sol-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.sol-card:hover {
  border-color: rgba(79, 124, 255, 0.45);
  transform: translateY(-3px);
}

.sol-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sol-card h3 { font-size: 18.5px; font-weight: 710; }
.sol-card p { font-size: 14px; color: var(--muted); }

.sol-combo {
  margin-top: auto;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 12.8px;
}

.sol-combo div + div { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.sol-combo b { color: var(--accent); font-weight: 660; display: block; margin-bottom: 2px; font-size: 11.5px; }
.sol-combo span { color: #d3e2f2; }

/* ---------- About & Contact ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-copy p {
  color: var(--muted);
  font-size: 15.2px;
  margin-top: 16px;
}

.pts { display: grid; gap: 14px; }

.pt {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.pt svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.pt b { font-weight: 680; font-size: 15.5px; }
.pt span { color: var(--muted); font-size: 13.6px; display: block; margin-top: 4px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.c-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}

.c-box h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.c-box p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.intent-chip {
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.8px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.16s;
}

.intent-chip.on {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
}

.mail-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mail-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15.5px;
  color: var(--fg);
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 10px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 42px;
  background: var(--bg);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}

.foot .left { color: var(--dim); font-size: 13.2px; line-height: 1.85; }
.foot .left .nm { color: var(--muted); font-weight: 650; }
.foot .right { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--dim); font-size: 13.2px; }
.foot a:hover { color: var(--accent); }

/* ---------- Modal (Full Spec Sheet & Compare) ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(3, 6, 12, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-mask.open { display: flex; }

.modal-panel {
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  background: var(--panel);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.modal-panel.wide { max-width: 1060px; }

.modal-head {
  padding: 20px 24px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.modal-close:hover { color: var(--fg); border-color: var(--accent); }

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
}

.spec-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.spec-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.8px;
}

.spec-table th,
.spec-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 30%;
  color: var(--muted);
  font-weight: 600;
  background: rgba(6, 10, 18, 0.45);
}

.spec-table td {
  color: var(--fg);
}

.spec-table.cmp th { width: 19%; }

.modal-foot {
  padding: 15px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-foot .only-param-tip {
  font-size: 12.5px;
  color: var(--dim);
}

/* Floating Compare Bar */
.cmp-bar {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 95;
  background: rgba(11, 19, 34, 0.96);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  transition: transform 0.26s ease;
}

.cmp-bar.show {
  transform: translateX(-50%) translateY(0);
}

.cmp-bar-txt { font-size: 13.5px; font-weight: 600; color: var(--fg); }

/* ---------- Perception & Radar Simulation Studio (#simulator) ---------- */
.sim-shell {
  background: linear-gradient(180deg, #091221, #060b14);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 70px -28px rgba(0, 0, 0, 0.85);
}

.sim-topbar {
  padding: 16px 20px;
  background: rgba(11, 19, 34, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sim-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.sim-consult-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 740;
  color: #03111a;
  background: linear-gradient(96deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 28px -8px rgba(34, 211, 238, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
  transition: transform 0.18s, filter 0.18s;
}

.sim-consult-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sim-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sim-select {
  background: var(--bg2);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
}

.sim-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.18s;
}

.sim-pill:hover { color: var(--fg); border-color: rgba(34, 211, 238, 0.35); }

.sim-pill.on {
  background: rgba(34, 211, 238, 0.11);
  border-color: rgba(34, 211, 238, 0.42);
  color: var(--fg);
}

.sim-pill.sim-export-media {
  background: linear-gradient(96deg, rgba(34, 211, 238, 0.14), rgba(139, 92, 246, 0.16));
  border-color: rgba(34, 211, 238, 0.45);
  color: #e6f6ff;
}

.sim-pill.sim-export-media:hover {
  background: linear-gradient(96deg, rgba(34, 211, 238, 0.24), rgba(139, 92, 246, 0.28));
  border-color: var(--accent);
  color: #ffffff;
}

.sim-pill:disabled {
  opacity: 0.58;
  cursor: wait;
}

.sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.sim-subbar {
  padding: 11px 20px;
  background: rgba(7, 13, 24, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.sim-subbar-main {
  flex: 1 1 auto;
  align-items: center;
}

.sim-subbar-status {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}

.scn-banner {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(11, 22, 41, 0.85);
  font-size: 11.8px;
  color: #cfe4f9;
}

.scn-banner.warn {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(69, 10, 10, 0.55);
  color: #fecaca;
}

.sim-guide-box {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: rgba(13, 24, 42, 0.84);
  font-size: 11.8px;
  line-height: 1.45;
  color: #b7cae0;
}

.sim-guide-item strong {
  color: var(--accent);
  font-weight: 650;
}

.sim-guide-box kbd {
  display: inline-block;
  padding: 0 5px;
  margin: 0 1px;
  border-radius: 4px;
  border: 1px solid rgba(147, 170, 195, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: #e6f6ff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
}

.sim-param-lbl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sim-param-lbl input[type="number"] {
  width: 64px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--fg);
  border-radius: 6px;
  padding: 4px 7px;
  font: inherit;
  font-size: 12.5px;
}

.sim-param-lbl input[type="range"] {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 2px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.sim-palette-bar {
  padding: 11px 20px;
  background: rgba(11, 19, 34, 0.65);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sim-add-btn {
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(147, 170, 195, 0.38);
  color: #d6e5f5;
  font-size: 12.2px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: grab;
  transition: 0.16s;
}

.sim-add-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
}

.sim-trash {
  margin-left: auto;
  border: 1px dashed rgba(248, 113, 113, 0.45);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.06);
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12.2px;
  cursor: pointer;
  transition: 0.18s;
}

.sim-trash.ready { border-style: solid; }
.sim-trash.active-drop, .sim-trash:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: #f87171;
  color: #fff;
}

.sim-canvas-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: radial-gradient(circle at 50% 50%, #0b1629 0%, #050911 78%);
}

.ht-sim-svg {
  display: block;
  width: 100%;
  max-height: 670px;
  height: auto;
  margin: 0 auto;
  touch-action: none;
  user-select: none;
}

.ht-grid-line { stroke: #1a2d47; stroke-width: 1; stroke-opacity: 0.7; vector-effect: non-scaling-stroke; }
.ht-grid-ring { fill: none; stroke: #1c3250; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.ht-grid-txt { fill: #607a96; }

.ht-cone { cursor: pointer; transition: fill-opacity 0.16s, stroke-width 0.16s; }
.ht-cone:hover { fill-opacity: 0.20; }
.ht-cone-camera { fill: rgba(56, 189, 248, 0.13); stroke: #38bdf8; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.ht-cone-lidar { fill: rgba(52, 211, 153, 0.10); stroke: #34d399; stroke-width: 1.3; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.ht-cone-mmwave { fill: rgba(167, 139, 250, 0.11); stroke: #a78bfa; stroke-width: 1.4; stroke-dasharray: 7 4; vector-effect: non-scaling-stroke; }
.ht-cone-ultra { fill: rgba(251, 191, 36, 0.15); stroke: #fbbf24; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.ht-cone.is-selected { stroke: #22d3ee; stroke-width: 2.4; stroke-dasharray: none; fill-opacity: 0.24; }
.ht-blind-zone { fill: rgba(248, 113, 113, 0.24); stroke: #f87171; stroke-width: 1; vector-effect: non-scaling-stroke; }

.ht-veh-body { fill: #192942; stroke: #8fb0d4; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ht-veh-glass { fill: #0d1829; stroke: #3b5878; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.ht-veh-roof { fill: #132238; stroke: #2c4663; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ht-veh-wheel { fill: #070c14; stroke: #516b88; stroke-width: 1.1; vector-effect: non-scaling-stroke; }

.ht-heading-line { stroke: #e2ecf7; stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ht-rot-handle { fill: #22d3ee; stroke: #06101c; stroke-width: 1.6; cursor: crosshair; vector-effect: non-scaling-stroke; }
.ht-s-dot { stroke: #050911; stroke-width: 1.5; cursor: grab; vector-effect: non-scaling-stroke; }
.ht-dot-camera { fill: #38bdf8; }
.ht-dot-lidar { fill: #34d399; }
.ht-dot-mmwave { fill: #a78bfa; }
.ht-dot-ultra { fill: #fbbf24; }

.ht-sel-ring { fill: none; stroke: #22d3ee; stroke-width: 2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ht-hidden { display: none; }

.sim-footbar {
  padding: 12px 20px;
  background: rgba(11, 19, 34, 0.94);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.sim-sel-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sim-sel-left .sim-select {
  max-width: 280px;
}

.sim-inspector {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .prod-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid, .sop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  html { scroll-padding-top: 64px; }
  .nav .wrap { height: 62px; }
  .navtoggle { display: flex; }
  .navlinks {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: rgba(5, 8, 15, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .navlinks { display: flex; }
  .navlinks a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .navlinks .langswitch { margin-top: 14px; align-self: flex-start; }
  .srv-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .arch-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
  .sim-topbar, .sim-subbar, .sim-palette-bar, .sim-footbar { padding: 10px 12px; gap: 8px; }
  .sim-guide-box { flex: 1 1 100%; font-size: 11px; padding: 5px 9px; }
  .sim-subbar-status { margin-left: 0; width: 100%; justify-content: space-between; }
  .sim-consult-btn { width: 100%; justify-content: center; }
  .ht-sim-svg { max-height: 430px; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .prod-grid, .sol-grid, .metrics-grid, .sop-grid { grid-template-columns: 1fr; }
  .spec-hero { grid-template-columns: 1fr; }
  .hero { padding: 42px 0 48px; }
  section.sec { padding: 56px 0; }
  .btn { flex: 1 1 auto; }
}
