/* ===== Top Bar ===== */
.topbar {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  color: var(--text-dim);
  font-size: 0.78rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-phone {
  color: var(--color-cyan);
  font-weight: 600;
}

.topbar-phone:hover { color: var(--text-light); }

/* ===== Navbar ===== */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
}

.navbar {
  position: relative;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  height: var(--nav-height);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#siteHeader.is-scrolled .navbar {
  background: rgba(10, 22, 40, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-mark {
  position: relative;
  overflow: hidden;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-accent) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 82, 217, 0.4);
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-130%);
  animation: logoShine 4.5s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 60% { transform: translateX(-130%); }
  80%, 100% { transform: translateX(130%); }
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  /* 导航项一多就会折成两行，把每一项锁成一行 */
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-item.active > .nav-link::after { transform: scaleX(1); }

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-cyan);
  background: rgba(0, 82, 217, 0.2);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.nav-dropdown a:hover {
  background: rgba(0, 82, 217, 0.25);
  color: var(--color-cyan);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-tel {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-cyan);
}

.nav-tel:hover { opacity: 0.85; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
}

.nav-overlay.open { display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand) 0%, #0077e6 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 82, 217, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 82, 217, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-cyan);
  border: 1px solid rgba(125, 211, 252, 0.35);
}

.btn-outline:hover {
  background: rgba(0, 82, 217, 0.25);
  border-color: var(--color-cyan);
}

.btn-white {
  background: #fff;
  color: var(--color-brand);
}

.btn-white:hover {
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #f5d08a 0%, #e8b15c 45%, #d49a3a 100%);
  color: #2a1c04;
  font-weight: 700;
  box-shadow: 0 14px 34px -10px rgba(232, 177, 92, 0.55);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(232, 177, 92, 0.65);
}

.btn-lg { padding: 0.75rem 1.75rem; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ===== Glass Cards ===== */
.card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 0 rgba(125, 211, 252, 0.18),
    0 4px 0 rgba(46, 230, 255, 0.1),
    0 7px 0 rgba(0, 82, 217, 0.14),
    0 10px 0 rgba(4, 10, 26, 0.6),
    0 24px 44px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* 鼠标跟随聚光 */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 211, 252, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.card:hover::before { opacity: 1; }

.card > * { position: relative; z-index: 1; }

.card:hover,
body:not(.admin) .card:hover {
  transform: translateY(-9px);
  border-color: rgba(125, 211, 252, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 0 rgba(125, 211, 252, 0.28),
    0 5px 0 rgba(46, 230, 255, 0.16),
    0 9px 0 rgba(0, 82, 217, 0.2),
    0 14px 0 rgba(4, 10, 26, 0.65),
    0 34px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(46, 230, 255, 0.14);
}

/* ===== 立体面板：把平的卡片撑出厚度和空间感 =====
 *
 * 结构上只加一层 .tilt3d 包住原有内容：
 *   ::before 是往后退的背板，透出来的一圈就是「厚度」
 *   ::after  是打在下方的光晕，让面板看起来浮着而不是贴着背景
 * 倾斜角度用 --rx / --ry 两个变量控制，鼠标移动时由 tilt3d.js 改写。
 *
 * 写在 components.css 里，是为了首页、公司介绍、DZOS、新闻、文章都能共用，
 * 后台 admin.css 不加载这份文件，不会被带上。
 */
.tilt3d {
  --rx: 4deg;
  --ry: -15deg;
  --lift: 0px;
  --depth: -64px;
  position: relative;
  border-radius: 18px;
  transform-style: preserve-3d;
  transform: perspective(1500px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--lift));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.tilt3d.to-right { --ry: 15deg; }

.tilt3d > * { position: relative; }

.tilt3d::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(46, 230, 255, 0.3), rgba(0, 82, 217, 0.2) 45%, rgba(4, 10, 26, 0.55));
  border: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(46, 230, 255, 0.16);
  transform: translateZ(var(--depth));
  pointer-events: none;
}

.tilt3d::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -38px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 0%, rgba(46, 230, 255, 0.42), rgba(0, 82, 217, 0.2) 45%, transparent 72%);
  filter: blur(16px);
  transform: translateZ(-90px);
  pointer-events: none;
}

.tilt3d:hover { --lift: 16px; --depth: -44px; }

/* 包在立体层里的面板本体：顶部高光 + 冷色描边 + 深投影 */
.tilt3d > .ui-mock,
.tilt3d > .geo-graph,
.tilt3d > .dash,
.tilt3d > .card,
.tilt3d > .hero-mock {
  position: relative;
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 40px rgba(46, 230, 255, 0.05),
    0 36px 80px rgba(0, 0, 0, 0.55);
}

.tilt3d > .ui-mock,
.tilt3d > .geo-graph,
.tilt3d > .dash { overflow: hidden; }

/* 位移交给外层的立体层，里面的卡片不要再单独上浮 */
.tilt3d > .card:hover,
body:not(.admin) .tilt3d > .card:hover { transform: none; }

/* 斜着扫过面板的一道柔光。
   .platform-ui 排除在外：它的 ::after 已经是自己的扫描光带。 */
.tilt3d > .ui-mock::after,
.tilt3d > .geo-graph::after,
.tilt3d > .card:not(.platform-ui)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 26%, transparent 46%);
  pointer-events: none;
}

.tilt3d.gentle {
  --rx: 2.5deg;
  --ry: -8deg;
  --depth: -46px;
}

.tilt3d.gentle.to-right { --ry: 8deg; }

/* fade-in 也用 transform，叠在同一个元素上会把 3D 透视顶掉，
   所以立体层只借 fade-in 的透明度，转动继续走自己的变量。 */
.tilt3d.fade-in,
.tilt3d.fade-in.visible,
.stagger-group.visible > .tilt3d {
  transform: perspective(1500px) rotateX(var(--rx)) rotateY(var(--ry)) translateZ(var(--lift));
}

@media (max-width: 1000px) {
  .tilt3d { --rx: 0deg; --ry: 0deg; }
  .tilt3d:hover { --lift: 0px; }
}

@media (max-width: 640px) {
  .tilt3d::before { inset: -5px; border-radius: 20px; transform: none; }
  .tilt3d::after { bottom: -20px; height: 34px; }
}

/* ===== Tabs ===== */
.tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--color-cyan);
  border-color: rgba(125, 211, 252, 0.4);
  background: rgba(0, 82, 217, 0.28);
}

.tab-panel { display: none; animation: fadeUp 0.5s ease; }
.tab-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Modal ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition);
  color: var(--text-primary);
}

.modal-backdrop.open .modal { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.modal h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--text-light);
}

.modal .modal-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== Form ===== */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.form-group label .req { color: #f87171; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 164, 255, 0.12);
}

.form-group select option {
  background: #0f172a;
  color: var(--text-light);
}

.form-status {
  display: none;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.form-status.show { display: block; }
.form-status.error { background: rgba(248, 113, 113, 0.12); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.3); }
.form-status.success { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.3); }

/* 蜜罐字段：挪到屏幕外而不是 display:none，
   因为部分爬虫会跳过 display:none 的输入框，那就抓不到它们了 */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-agree {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.form-agree a { color: var(--color-cyan); }

/* 爱帆帆默认客服球会叠在右侧栏上，改由「在线客服」打开 */
#nb_icon_wrap,
.nb-icon-wrap,
.nb-icon-inner-wrap,
.qiao-icon-wrap,
.embed-icon-default {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ===== Float Sidebar ===== */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  background: rgba(8, 14, 32, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-right: none;
  border-radius: 16px 0 0 16px;
  box-shadow: -8px 0 32px rgba(0, 82, 217, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}

.float-sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(125, 211, 252, 0.02) 2px, rgba(125, 211, 252, 0.02) 4px);
  pointer-events: none;
}

.float-sidebar-head {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.5rem;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  background: rgba(0, 82, 217, 0.2);
  border-bottom: 1px solid rgba(125, 211, 252, 0.15);
}

.float-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.85rem 0.7rem;
  font-size: 0.65rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
  min-width: 68px;
  text-align: center;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
  text-decoration: none;
}

.float-item:last-child { border-bottom: none; }

.float-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(125, 211, 252, 0.15);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.float-item .float-icon {
  margin-bottom: 0;
}

.float-item .float-icon.card-ico-sm {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.float-icon-top {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cyan);
}

.float-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
}

.float-sub {
  font-size: 0.55rem;
  color: var(--text-dim);
  line-height: 1.2;
}

.float-live {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.8);
  animation: floatLivePulse 2s ease-in-out infinite;
}

.float-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.48rem;
  font-weight: 800;
  padding: 0.1rem 0.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5d08a, #e8b15c);
  color: #2a1c04;
  line-height: 1.2;
}

.float-phone:hover {
  background: rgba(0, 82, 217, 0.25);
  color: #fff;
  transform: translateX(-4px);
}

.float-phone:hover .float-icon-wrap {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.25);
  background: rgba(0, 82, 217, 0.2);
}

.float-chat:hover {
  background: rgba(34, 197, 94, 0.12);
  color: #fff;
  transform: translateX(-4px);
}

.float-chat:hover .float-icon-wrap {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.2);
  background: rgba(34, 197, 94, 0.1);
}

.float-trial.primary {
  background: linear-gradient(180deg, rgba(0, 82, 217, 0.35) 0%, rgba(0, 82, 217, 0.15) 100%);
  color: #fff;
  animation: floatTrialGlow 3s ease-in-out infinite;
}

.float-trial:hover {
  background: linear-gradient(180deg, rgba(0, 82, 217, 0.55) 0%, rgba(88, 28, 135, 0.35) 100%);
  transform: translateX(-6px);
  box-shadow: inset 0 0 20px rgba(125, 211, 252, 0.1);
}

.float-trial .float-icon-wrap {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.float-trial .float-label {
  color: #fff;
}

.float-trial .float-sub {
  color: rgba(255, 255, 255, 0.65);
}

.float-top:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(-3px);
}

.float-top:hover .float-icon-wrap {
  border-color: rgba(125, 211, 252, 0.35);
}

@keyframes floatLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

@keyframes floatTrialGlow {
  0%, 100% { box-shadow: inset 0 0 0 transparent; }
  50% { box-shadow: inset 0 0 24px rgba(125, 211, 252, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .float-live,
  .float-trial.primary { animation: none; }
  .float-item:hover { transform: none; }
}

/* ===== Footer ===== */
.footer {
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted-light);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer-logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.footer-desc { font-size: 0.85rem; line-height: 1.7; color: var(--text-secondary); }

.footer-col h5 {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--color-cyan); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--color-cyan); }

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 子元素逐个错落浮现：容器本身不再整体位移，由内部子项分批显现 */
.stagger-group.fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}

.stagger-group > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger-group.visible > * {
  opacity: 1;
  transform: none;
}

.stagger-group.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-group.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-group.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-group.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-group.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-group.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-group.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-group.visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger-group.visible > *:nth-child(9) { transition-delay: 0.61s; }
.stagger-group.visible > *:nth-child(10) { transition-delay: 0.68s; }
.stagger-group.visible > *:nth-child(11) { transition-delay: 0.75s; }
.stagger-group.visible > *:nth-child(12) { transition-delay: 0.82s; }

.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-left.visible,
.fade-in-right.visible,
.stagger-group.visible > .fade-in-left,
.stagger-group.visible > .fade-in-right {
  opacity: 1;
  transform: translateX(0);
}

.stat-pop {
  animation: statPop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes statPop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.compare-table tbody tr {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: var(--row-delay, 0s);
}

.compare-table tbody tr.row-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 对照表包在错落容器里时，父级显现就该看见行，避免右侧只剩空框 */
.stagger-group.visible .compare-table tbody tr {
  opacity: 1;
  transform: none;
}

.tech-panel {
  animation: fadeUp 0.55s ease;
}

.tab-panel.tab-switch-in {
  animation: fadeUp 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .stagger-group > * { opacity: 1; transform: none; transition: none; }
  .fade-in-left,
  .fade-in-right { opacity: 1; transform: none; transition: none; }
  .compare-table tbody tr { opacity: 1; transform: none; transition: none; }
  .stat-pop { animation: none; }
  .tech-panel { animation: none; }
}

/* 一级导航有七项，1025–1280px 这段横向放不下。
   电话在顶栏已经有一份，品牌名旁边就是 logo 图，这两处可以先让位。
   下界卡在 1025px：再窄就交给汉堡菜单了，那边不需要这些调整。 */
@media (min-width: 1025px) and (max-width: 1280px) {
  .logo-name { display: none; }
  .nav-tel { display: none; }
  .nav-menu { gap: 0.1rem; }
  .nav-link { padding: 0.5rem 0.5rem; }
  .nav-link::after { left: 0.5rem; right: 0.5rem; }
}

@media (max-width: 1024px) {
  :root { --header-offset: var(--nav-height); }
  .topbar { display: none; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--nav-height) + 1.5rem) 1.5rem 1.5rem;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: right var(--transition);
    overflow-y: auto;
  }

  .nav-menu.open { right: 0; }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    padding-left: 0.5rem;
    display: none;
  }

  .nav-item.open .nav-dropdown { display: block; }

  .nav-tel { display: none; }
  .hamburger { display: flex; }

  .float-sidebar {
    top: auto;
    bottom: calc(1rem + var(--safe-bottom));
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 14px;
    right: 0.5rem;
    border: 1px solid rgba(125, 211, 252, 0.22);
    max-width: calc(100vw - 1rem);
  }

  .float-sidebar-head {
    width: 100%;
    padding: 0.4rem;
    font-size: 0.52rem;
  }

  .float-item {
    border-bottom: none;
    border-right: 1px solid rgba(125, 211, 252, 0.1);
    padding: 0.6rem 0.45rem;
    min-width: 58px;
    flex: 1;
  }

  .float-item:last-child { border-right: none; }

  .float-sub { display: none; }

  .float-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .float-item:hover { transform: translateY(-3px); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #particleCanvas { display: none; }
}

/* ===== Tech Icon System ===== */
.tech-ico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.card-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #7dd3fc;
  background: linear-gradient(145deg, rgba(0, 82, 217, 0.22), rgba(0, 164, 255, 0.06));
  border: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow: 0 0 18px rgba(0, 164, 255, 0.14), inset 0 0 14px rgba(0, 164, 255, 0.05);
  position: relative;
  flex-shrink: 0;
}

.card-ico::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(125, 211, 252, 0.55);
  border-left: 1px solid rgba(125, 211, 252, 0.55);
  border-radius: 2px 0 0 0;
}

.card-ico-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.card-ico-sm .tech-ico {
  width: 18px;
  height: 18px;
}

.card-ico-lg {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.card-ico-lg .tech-ico {
  width: 28px;
  height: 28px;
}

.check-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  border-radius: 5px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  vertical-align: middle;
  flex-shrink: 0;
}

.check-ico .tech-ico {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

.inline-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  vertical-align: -2px;
  margin-right: 0.35rem;
}

.inline-ico .tech-ico {
  width: 15px;
  height: 15px;
}
