/* ============================================================
   TSINGHUE (青辉公司) — Shared Styles
   Theme: Navy Blue + Teal Accent
   ============================================================ */
@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@400;500;700;800&display=swap');

/* --- Custom Properties --- */
:root {
  --navy: #0a2540;
  --navy-light: #103455;
  --navy-dark: #06192c;
  --teal: #0fb5ba;
  --teal-dark: #0a8f93;
  --bg: #f4f8fb;
  --card: #ffffff;
  --line: #e2ebf2;
  --muted: #5b6b7b;
  --text: #1f2937;
  --navy-soft: #eaf0f6;
  --teal-soft: rgba(15,181,186,.12);
  --shadow: 0 10px 30px rgba(10,37,64,.08);
  --radius: 16px;
  --maxw: 1180px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
               "Hiragino Sans GB", system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Layout helpers --- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* --- Typography --- */
h2.section-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-left: 18px;
}
h2.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--navy), var(--teal));
}
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-dark);
  text-transform: uppercase;
}
.sub { color: var(--muted); margin-top: 10px; font-size: 16px; max-width: 720px; }

/* --- Section Head (centered) --- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: 32px; margin: 10px 0 12px; color: var(--navy); white-space: nowrap; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo area */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.nav-brand .logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.nav-brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand .brand-cn {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 1px;
}
.nav-brand .brand-en {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Nav links */
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--navy); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 76px;
  background: rgba(255,255,255,.98);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .site-header .wrap { height: 78px; }
  .nav-brand .logo-img { height: 60px; }
  .mobile-nav { top: 78px; }
  .hero h1, .page-hero h1, .sec-head h2 { white-space: normal; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background:
    radial-gradient(900px 450px at 85% -10%, rgba(15,181,186,.14), transparent),
    linear-gradient(180deg, #fff, #f0f6fa);
}
.hero .inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 72px;
}
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  padding: 6px 16px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .3px;
  margin-top: 16px;
  white-space: nowrap;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--navy), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
}
.hero-btns { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-badge .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}
.fb-left { left: -14px; top: 26px; }
.fb-right { right: -12px; bottom: 38px; }

@media (max-width: 860px) {
  .hero .inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .float-badge { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all .22s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  box-shadow: 0 8px 22px rgba(10,37,64,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10,37,64,.35); }
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #04222a;
  box-shadow: 0 8px 22px rgba(15,181,186,.28);
}
.btn-teal:hover { transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 34px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 34px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(10,37,64,.12);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 24px;
}
.card-icon.navy { background: var(--navy-soft); color: var(--navy); }
.card-icon.teal { background: var(--teal-soft); color: var(--teal-dark); }
.card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Product card variant (for homepage matrix) */
.prod-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: all .28s;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.prod-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  opacity: 0;
  transition: opacity .28s;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(10,37,64,.14);
}
.prod-card:hover::before { opacity: 1; }
.prod-card .pci {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--navy);
}
.prod-card .pci svg { width: 100%; height: 100%; }
.prod-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.prod-card .tag-line { font-size: 13px; color: var(--teal-dark); font-weight: 600; margin-bottom: 10px; }
.prod-card p { color: var(--muted); font-size: 14.5px; }
.prod-card .arrow { font-size: 18px; color: var(--teal); margin-top: 14px; font-weight: 700; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(120deg, #8ecaff, #37e0cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item .stat-label { margin-top: 6px; color: #b9c6e6; font-size: 14px; }
.stat-item .stat-label b { color: #fff; }

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
}

/* ============================================================
   FEATURE LIST (left-border accent)
   ============================================================ */
.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
  transition: transform .22s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-card h4 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }
.feat-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 600;
  margin-top: 10px;
}

/* ============================================================
   SCENARIO / IMAGE ROWS
   ============================================================ */
.scene-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 46px;
}
.scene-row:nth-child(even) .scene-img { order: 2; }
.scene-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.scene-img img { width: 100%; height: 280px; object-fit: cover; }
.scene-txt h3 {
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scene-txt h3 .num-badge {
  background: var(--teal);
  color: #04222a;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.scene-txt p { color: var(--muted); font-size: 15px; }
.scene-txt ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.scene-txt li { margin: 4px 0; }

@media (max-width: 820px) {
  .scene-row { grid-template-columns: 1fr; gap: 20px; }
  .scene-row:nth-child(even) .scene-img { order: 0; }
  .scene-img img { height: 220px; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--teal); font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section h2::before { display: none; }
.cta-section p { color: #c4d2f0; margin: 14px auto 26px; max-width: 620px; font-size: 16px; }
.contact-row {
  margin-top: 22px;
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  color: #b9c6e6;
  font-size: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: #aebfce;
  padding: 36px 0 28px;
  font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand b { color: #fff; font-size: 15px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #aebfce; transition: color .2s; font-weight: 500; }
.footer-links a:hover { color: var(--teal); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 12px;
  color: #6b7d94;
}

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255,255,255,.1);
  padding: 28px;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  margin-bottom: 14px;
  font-size: 15px;
  font-family: var(--font-sans);
  background: rgba(255,255,255,.95);
  color: var(--text);
}
.form-card input:focus,
.form-card textarea:focus { outline: 2px solid var(--teal); }
.form-card button { width: 100%; }

/* ============================================================
   SVG FRAME (for diagrams)
   ============================================================ */
.svg-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
}
.svg-frame svg { width: 100%; height: auto; display: block; }

/* ============================================================
   UTILITY
   ============================================================ */
.alt-bg { background: #fff; }
.text-center { text-align: center; }
.mt-xl { margin-top: 50px; }
.mb-xl { margin-bottom: 50px; }

/* Pill tags */
.pill-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.pill-tags span {
  background: var(--teal-soft);
  border: 1px solid rgba(15,181,186,.35);
  color: var(--teal-dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* Note / disclaimer */
.note-text { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 18px; }

/* Hardware note box */
.hw-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--navy-soft);
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  color: var(--navy);
  font-size: 14.5px;
}
.hw-note strong { color: var(--navy); }

/* WYMESH 配套边缘网关 */
.wymesh-split { display:grid; grid-template-columns:340px 1fr; gap:36px; align-items:center; margin-top:14px; }
.wymesh-visual { background:linear-gradient(135deg,#eef4f9,#e6f6f5); border-radius:18px; padding:16px; border:1px solid var(--line); }
.wymesh-visual svg { width:100%; height:auto; display:block; }
.wymesh-lead { color:var(--navy); font-size:16px; line-height:1.75; margin:0 0 16px; }
.wymesh-list { list-style:none; padding:0; margin:0 0 16px; }
.wymesh-list li { position:relative; padding-left:20px; margin-bottom:10px; color:var(--muted); font-size:14.5px; line-height:1.6; }
.wymesh-list li::before { content:"▸"; position:absolute; left:0; color:var(--teal); font-weight:700; }
.wymesh-list li b { color:var(--navy); }
.wymesh-note { background:#fff7ed; border-left:4px solid #f59e0b; border-radius:8px; padding:12px 14px; font-size:13px; color:#92400e; line-height:1.6; }
@media (max-width:900px){ .wymesh-split { grid-template-columns:1fr; } .wymesh-visual { max-width:340px; margin:0 auto; } }

/* Integrate banner */
.integrate-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--teal-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.integrate-banner .ib-icon { font-size: 36px; }
.integrate-banner h3 { font-size: 20px; font-weight: 800; }
.integrate-banner p { font-size: 14.5px; opacity:.93; margin-top: 4px; max-width: 700px; }
.integrate-banner .pill {
  margin-left: auto;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

/* User card */
.user-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.user-card .uc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  display: grid;
  place-items:center;
  font-size: 20px;
  flex-shrink: 0;
}
.user-card h4 { font-size: 16px; font-weight: 800; color: var(--navy); }
.user-card p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* Screenshot cards */
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 22px; }
.shot-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot-card img { width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shot-caption { padding: 18px 20px; }
.shot-caption h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.shot-caption p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* Module cards (left teal bar) */
.mod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.mod-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--teal);
}
.mod-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.mod-card p { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) { .mod-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .mod-grid { grid-template-columns: 1fr; } }

/* Tech highlight tiles */
.tech-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.tech-tile {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
}
.tech-tile .tt-em { font-size: 26px; margin-bottom: 8px; }
.tech-tile p { font-size: 13px; opacity:.88; }

@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(2,1fr); } }

/* Metrics row */
.metrics-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.metric-tile {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}
.metric-tile .mt-num { font-size: 30px; font-weight: 800; color: var(--teal); }
.metric-tile .mt-num small { font-size: 15px; font-weight: 600; }
.metric-tile .mt-lab { font-size: 13px; opacity:.85; margin-top: 8px; }

@media (max-width: 900px) { .metrics-row { grid-template-columns: repeat(2,1fr); } }

/* Scenario gradient cards */
.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }
.scenario-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.scenario-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,37,64,.88) 100%);
}
.scenario-card > * { position: relative; z-index: 1; }
.scenario-card h4 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.scenario-card p { margin: 0; font-size: 14px; opacity:.9; }

/* User icon grid */
.user-icon-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; }
.user-icon-item {
  background: var(--card);
  padding: 22px 16px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.user-icon-item:hover { transform: translateY(-4px); }
.user-icon-item .uii-icon { font-size: 2rem; margin-bottom: 12px; }
.user-icon-item h5 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.user-icon-item p { margin: 0; font-size: 13px; color: var(--muted); }

/* Hardware grid */
.hw-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; }
.hw-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hw-card .hw-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.hw-body h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.hw-body p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* Page hero (for product pages) — full navy */
.page-hero {
  position: relative;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero .ph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .ph-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(6,25,44,.93) 0%, rgba(10,37,64,.75) 45%, rgba(10,37,64,.28) 100%);
}
.page-hero .ph-content {
  position: relative;
  z-index: 2;
  padding: 70px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.ph-tag {
  display: inline-block;
  background: rgba(15,181,186,.18);
  border: 1px solid rgba(15,181,186,.5);
  color: var(--teal);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.2; font-weight: 800; margin-bottom: 16px; white-space: nowrap; }
.page-hero h1 b { color: var(--teal); }
.page-hero .ph-lead { font-size: 17px; max-width: 640px; opacity:.92; }
.page-hero .ph-btns { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .page-hero { min-height: 400px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero .ph-lead { font-size: 15px; }
}

/* About page specific */
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-pill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.value-pill .vp-icon { font-size: 32px; margin-bottom: 12px; }
.value-pill h4 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.value-pill p { font-size: 14px; color: var(--muted); }

@media (max-width: 860px) { .about-values { grid-template-columns: 1fr; } }

/* Contact info block on about page */
.contact-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-block h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.contact-info-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 15px;
}
.contact-info-row .cir-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-row .cir-label { font-weight: 700; color: var(--navy); min-width: 70px; }
.contact-info-row .cir-val { color: var(--text); }

/* Privacy page */
.privacy-body { max-width: 800px; margin: 0 auto; }
.privacy-body h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 32px 0 12px; }
.privacy-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.privacy-body p, .privacy-body li { color: var(--text); font-size: 14.5px; margin-bottom: 8px; line-height: 1.8; }
.privacy-body ul, .privacy-body ol { padding-left: 22px; margin-bottom: 14px; }

/* Large desktop scale: replicate 150% browser-zoom comfort on high-resolution screens */
@media (min-width: 1600px) {
  html { zoom: 1.5; }
}
.privacy-body li { margin-bottom: 6px; }

/* ============================================================
   DELIGHT LAYER · 青辉品牌愉悦体验层
   由 Whimsy Injector 注入：滚动呈现 / 数字跃动 / 海豚向导 /
   彩蛋与庆祝 / 轻提示。所有动效均尊重 prefers-reduced-motion。
   ============================================================ */

/* JS-gated reveal（由 delight.js 添加 .js 与 .reveal/.in） */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.23,1,.32,1),
              transform .7s cubic-bezier(.23,1,.32,1);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* 首屏入场 */
.hero .inner > * {
  animation: tsHeroUp .8s cubic-bezier(.23,1,.32,1) both;
}
.hero .inner > *:nth-child(2) { animation-delay: .16s; }
@keyframes tsHeroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* 悬浮徽章缓缓浮动 */
.float-badge { animation: tsBob 5s ease-in-out infinite; }
.fb-left  { animation-delay: .6s; }
.fb-right { animation-delay: 1.1s; }
@keyframes tsBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* Hero 高亮文字流光 */
.hero h1 .hl {
  background-size: 200% auto;
  animation: tsShimmer 6s linear infinite;
}
@keyframes tsShimmer { to { background-position: 200% center; } }

/* 阅读进度条 */
#ts-reading-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--navy), var(--teal), #37e0cf);
  border-radius: 0 3px 3px 0;
  z-index: 300; pointer-events: none;
}

/* 按钮流光 */
.btn-primary, .btn-teal, .btn-white { position: relative; overflow: hidden; }
.btn-primary::after, .btn-teal::after, .btn-white::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg);
  transition: left .65s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-teal:hover::after, .btn-white:hover::after { left: 160%; }

/* 卡片图标苏醒 */
.card-icon { transition: transform .35s cubic-bezier(.23,1,.32,1); }
.card:hover .card-icon { transform: translateY(-4px) rotate(-5deg) scale(1.08); }
.prod-card .pci { transition: transform .35s cubic-bezier(.23,1,.32,1); }
.prod-card:hover .pci { transform: translateY(-3px) scale(1.06); }
.prod-card .arrow { display: inline-block; transition: transform .3s ease; }
.prod-card:hover .arrow { transform: translateX(8px); }

/* 导航下划线渐变生长 */
.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 2px; transition: right .3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

/* 移动端菜单错落滑入 */
.mobile-nav a {
  opacity: 0; transform: translateX(18px);
  transition: opacity .3s ease, transform .3s ease;
}
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav.open a:nth-child(1) { transition-delay: .04s; }
.mobile-nav.open a:nth-child(2) { transition-delay: .09s; }
.mobile-nav.open a:nth-child(3) { transition-delay: .14s; }
.mobile-nav.open a:nth-child(4) { transition-delay: .19s; }
.mobile-nav.open a:nth-child(5) { transition-delay: .24s; }
.mobile-nav.open a:nth-child(6) { transition-delay: .29s; }

/* FAQ 展开动画 */
.faq-item[open] p { animation: tsFaqIn .35s ease; }
@keyframes tsFaqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* 可复制信息（电话/邮箱） */
[data-copy] { cursor: pointer; border-radius: 6px; transition: background .2s ease; }
[data-copy]:hover { background: rgba(255,255,255,.07); }
[data-copy]:active { background: rgba(255,255,255,.14); }

/* 轻提示 Toast */
#ts-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 500;
  transform: translateX(-50%) translateY(16px);
  background: var(--navy); color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.5;
  box-shadow: 0 14px 34px rgba(10,37,64,.38);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  max-width: 88vw; text-align: center;
}
#ts-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 彩带粒子 */
.ts-confetti {
  position: fixed; top: -22px; z-index: 600; pointer-events: none;
  border-radius: 2px;
  animation: tsConfettiFall linear forwards;
}
@keyframes tsConfettiFall {
  to { transform: translateY(112vh) rotate(720deg); }
}

/* 数字派对模式（Konami 彩蛋） */
body.ts-party { animation: tsParty 6s ease-in-out; }
@keyframes tsParty {
  0%, 100% { filter: none; }
  15%, 85% { filter: saturate(1.2) hue-rotate(-8deg); }
}

/* 小海豚向导 */
.ts-dolphin {
  position: fixed; right: 18px; bottom: 18px; z-index: 120;
  width: 60px; height: 60px; cursor: pointer; outline: none;
  opacity: 0; transition: opacity .5s ease;
  filter: drop-shadow(0 8px 16px rgba(10,37,64,.28));
}
.ts-dolphin.ready { opacity: 1; }
.ts-dolphin:hover { transform: translateY(-4px) scale(1.05); }
.ts-dolphin svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ts-dolphin .bob { animation: tsMascotBob 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes tsMascotBob {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-4px); }
}
.ts-dolphin.jump .bob { animation: none; }
.ts-dolphin.jump { animation: tsMascotJump .9s cubic-bezier(.3,1.6,.4,1); }
@keyframes tsMascotJump {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-46px) rotate(-10deg); }
  70%  { transform: translateY(0) rotate(5deg); }
  100% { transform: translateY(0); }
}
.ts-dolphin .bubble {
  position: absolute; right: 68px; bottom: 6px;
  width: min(252px, calc(100vw - 150px));
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow);
  padding: 14px 16px; font-size: 13.5px; color: var(--text); line-height: 1.6;
  opacity: 0; transform: translateX(12px) scale(.96);
  pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.ts-dolphin.bubble-open .bubble { opacity: 1; transform: none; pointer-events: auto; }
.ts-dolphin .bubble .fact { margin-bottom: 10px; }
.ts-dolphin .bubble .act { display: flex; gap: 8px; }
.ts-dolphin .bubble .act button {
  flex: 1; border: 1px solid var(--line); background: var(--bg);
  color: var(--navy); border-radius: 9px; padding: 7px 10px;
  font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: var(--font-sans);
  transition: all .2s ease;
}
.ts-dolphin .bubble .act button:hover { border-color: var(--teal); color: var(--teal-dark); background: #fff; }

/* 移动端适配 */
@media (max-width: 520px) {
  .ts-dolphin { width: 52px; height: 52px; right: 12px; bottom: 12px; }
  .ts-dolphin .bubble { right: 54px; width: min(224px, calc(100vw - 130px)); }
}
body:has(.mobile-nav.open) .ts-dolphin { opacity: 0; pointer-events: none; }

/* 无障碍：减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .inner > *, .float-badge, .hero h1 .hl,
  .btn-primary::after, .btn-teal::after, .btn-white::after,
  .faq-item[open] p, .mobile-nav a,
  .ts-dolphin .bob, .ts-dolphin { animation: none !important; transition: none !important; }
  .ts-confetti { display: none !important; }
  body.ts-party { animation: none; }
}

/* 打印隐藏装饰 */
@media print {
  .ts-dolphin, #ts-toast, #ts-reading-bar, .ts-confetti { display: none !important; }
}