/* ============================================
 * main.css - Hasleo Software 主样式表
 * ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  /* 主题色 */
  --primary: #5B5FD9;
  --secondary: #8B5CF6;
  --accent: #06B6D4;
  --dark: #0F172A;
  --light: #F8FAFC;

  /* 灰度 - 基于 Slate */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--secondary), var(--accent));
  --gradient-dark: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(91, 95, 217, 0.3);

  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ---------- Body ---------- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--light);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* SVG 内联渐变背景 */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3ClinearGradient id='bgGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%23F8FAFC;stop-opacity:1'/%3E%3Cstop offset='50%25' style='stop-color:%23EEF2FF;stop-opacity:1'/%3E%3Cstop offset='100%25' style='stop-color:%23F5F3FF;stop-opacity:1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23bgGrad)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- 工具类：渐变文字 ---------- */
.gradient-text {
  background: var(--gradient-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 首页数据统计：数字后缀（+）用较小字号，略高于基线 */
.stat-suffix {
  font-size: 0.6em;
  font-weight: inherit;
  vertical-align: 0.25em;
  margin-left: 0.04em;
  letter-spacing: 0;
}

/* ---------- 工具类：渐变背景 ---------- */
.gradient-bg {
  background: var(--gradient-primary);
  color: white;
}

.gradient-bg-accent {
  background: var(--gradient-accent);
  color: white;
}

/* ---------- 工具类：毛玻璃 ---------- */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* ---------- SVG 背景装饰 ---------- */
.svg-bg {
  position: relative;
  overflow: hidden;
}

.svg-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.svg-bg > .container {
  position: relative;
  z-index: 1;
}

/* 波纹 */
.svg-bg-waves::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%235B5FD9' fill-opacity='0.18' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
}

/* 网格 */
.svg-bg-grid::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235B5FD9' fill-opacity='0.18'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 40px 40px;
  background-repeat: repeat;
}

/* 圆点 */
.svg-bg-dots::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='%238B5CF6' fill-opacity='0.25'%3E%3Ccircle cx='3' cy='3' r='1.5'/%3E%3Ccircle cx='13' cy='13' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* 几何图形 */
.svg-bg-geo::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%235B5FD9' stroke-opacity='0.22' stroke-width='1.5'%3E%3Ccircle cx='100' cy='100' r='80'/%3E%3Ccircle cx='500' cy='200' r='120'/%3E%3Ccircle cx='300' cy='500' r='100'/%3E%3Crect x='400' y='400' width='60' height='60' transform='rotate(30 430 430)'/%3E%3Cpolygon points='50,400 100,320 150,400'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: center;
  background-size: 200px 200px;
}

/* 波浪线 */
.svg-bg-wave::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0 100 Q 100 50 200 100 T 400 100 T 600 100 T 800 100' fill='none' stroke='%238B5CF6' stroke-opacity='0.3' stroke-width='2'/%3E%3Cpath d='M0 130 Q 100 80 200 130 T 400 130 T 600 130 T 800 130' fill='none' stroke='%2306B6D4' stroke-opacity='0.3' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% auto;
}

/* ===== 横幅风格场景背景（与首页轮播同源的设计语言） ===== */
/* 场景 A：柔和气泡 + 流动曲线 — 用于 Powerful Features / 产品 Overview */
.svg-bg-scene-a::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='xMidYMid slice'%3E%3Ccircle cx='1230' cy='60' r='180' fill='%235B5FD9' fill-opacity='0.07'/%3E%3Ccircle cx='1330' cy='130' r='110' fill='%238B5CF6' fill-opacity='0.07'/%3E%3Ccircle cx='120' cy='560' r='230' fill='%2306B6D4' fill-opacity='0.06'/%3E%3Ccircle cx='700' cy='680' r='150' fill='%235B5FD9' fill-opacity='0.05'/%3E%3Cpath d='M0 460 Q 360 380 720 470 T 1440 440' fill='none' stroke='%238B5CF6' stroke-opacity='0.22' stroke-width='2'/%3E%3Cpath d='M0 520 Q 360 440 720 530 T 1440 500' fill='none' stroke='%2306B6D4' stroke-opacity='0.22' stroke-width='2'/%3E%3Cpath d='M0 580 Q 360 520 720 590 T 1440 560' fill='none' stroke='%235B5FD9' stroke-opacity='0.16' stroke-width='2'/%3E%3Cg fill='%235B5FD9' fill-opacity='0.35'%3E%3Ccircle cx='360' cy='422' r='5'/%3E%3Ccircle cx='720' cy='470' r='5'/%3E%3Ccircle cx='1080' cy='452' r='5'/%3E%3Ccircle cx='180' cy='120' r='4'/%3E%3Ccircle cx='560' cy='90' r='4'/%3E%3Ccircle cx='960' cy='150' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* 场景 B：网络节点 + 电路走线 — 用于 All Products / 产品 Features */
.svg-bg-scene-b::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='xMidYMid slice'%3E%3Ccircle cx='1320' cy='540' r='190' fill='%235B5FD9' fill-opacity='0.06'/%3E%3Ccircle cx='90' cy='90' r='140' fill='%2306B6D4' fill-opacity='0.06'/%3E%3Cg fill='none' stroke='%235B5FD9' stroke-opacity='0.18' stroke-width='1.8'%3E%3Cpath d='M120 180 h260 v90 h200 M900 120 v140 h220 v100 M180 480 h300 v-90 h240 M980 500 h200 v-110 h140'/%3E%3Ccircle cx='380' cy='180' r='7' fill='%235B5FD9' fill-opacity='0.4'/%3E%3Ccircle cx='580' cy='270' r='7' fill='%238B5CF6' fill-opacity='0.4'/%3E%3Ccircle cx='900' cy='260' r='7' fill='%2306B6D4' fill-opacity='0.4'/%3E%3Ccircle cx='1120' cy='360' r='7' fill='%235B5FD9' fill-opacity='0.4'/%3E%3Ccircle cx='480' cy='390' r='7' fill='%2306B6D4' fill-opacity='0.4'/%3E%3Ccircle cx='720' cy='390' r='7' fill='%235B5FD9' fill-opacity='0.4'/%3E%3Ccircle cx='1180' cy='390' r='7' fill='%238B5CF6' fill-opacity='0.4'/%3E%3C/g%3E%3Cg fill='none' stroke='%238B5CF6' stroke-opacity='0.14' stroke-width='1.5'%3E%3Crect x='1180' y='120' width='110' height='110' rx='12'/%3E%3Crect x='1210' y='150' width='50' height='50' rx='6'/%3E%3Crect x='120' y='340' width='90' height='90' rx='10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Partial 注入占位符 ----------
   不生成盒子，避免限制内部 sticky 元素（header）的粘贴范围。
   否则 header 只能在 72px 高的 placeholder 内 sticky，滚动时被卷走。 */
#header-placeholder,
#nav-placeholder,
#footer-placeholder {
  display: contents;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(91, 95, 217, 0.35);
}

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 95, 217, 0.45);
    transition: all var(--transition-fast);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 95, 217, 0.45);
    color: white;
  }

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(91, 95, 217, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--dark);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn .btn-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.logo svg {
  width: 36px;
  height: 36px;
}

.logo .logo-mark {
  height: 36px;
  width: auto;
  max-width: 100%;
  flex: none;
  display: block;
}

/* logo.png already contains the "Hasleo Software" wordmark. */
.logo > span[data-i18n="brand.name"] {
  display: none;
}

@media (max-width: 768px) {
  .logo .logo-mark { height: 28px; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: var(--gray-100);
  color: var(--dark);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* 语言下拉 */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  min-width: 160px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: 1100;
}

.lang-dropdown:hover .lang-dropdown-menu,
.lang-dropdown.open .lang-dropdown-menu,
.lang-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
}

.lang-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 0.9rem;
  text-decoration: none;
}

.lang-dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.lang-dropdown-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav {
  background: var(--dark);
  color: white;
  position: relative;
  z-index: 1100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* 下拉菜单 */
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: max-content;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    z-index: 100;
  }

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

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.nav-dropdown a .dropdown-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-dropdown a .dropdown-text {
  display: flex;
  flex-direction: column;
}

  .nav-dropdown a .dropdown-title {
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
  }

.nav-dropdown a .dropdown-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* 汉堡按钮 */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Product Sticky Nav（产品页锚点导航条：浮动白底胶囊，滚到顶部后固定） ---------- */
.product-sticky-nav {
  position: sticky;
  top: 84px; /* 72px header + 12px 悬浮间隙 */
  z-index: 500;
  background: transparent;
  margin-top: 0.75rem;
  margin-bottom: -4.25rem; /* 负边距让下方横幅上移，锚点条浮在横幅之上 */
}
.product-sticky-nav .container {
  padding: 0 1.5rem;
}
.product-sticky-nav .nav-menu {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  height: auto;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.12);
  transition: box-shadow 0.2s, background 0.2s;
}
.product-sticky-nav.scrolled .nav-menu {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.20);
}
.product-sticky-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.product-sticky-nav .nav-link .nav-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: 0.65;
  transition: opacity 0.2s, color 0.2s;
}
.product-sticky-nav .nav-link:hover .nav-ico,
.product-sticky-nav .nav-link.active .nav-ico {
  opacity: 0.95;
}
.product-sticky-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(91, 95, 217, 0.06);
}
.product-sticky-nav .nav-link.active {
  color: var(--primary);
  background: rgba(91, 95, 217, 0.10);
}

/* 跨平台链接：贴右显示，与页内锚点用细分隔线区分 */
.product-sticky-nav .nav-item-platforms.first {
  margin-left: auto;
}
.product-sticky-nav .nav-item-platforms.first::before {
  content: "";
  position: absolute;
  left: -0.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.1rem;
  background: rgba(15, 23, 42, 0.14);
}
.product-sticky-nav .nav-item-platforms .nav-link {
  padding: 0.7rem 0.85rem;
  white-space: nowrap;
}
.product-sticky-nav .nav-link-os {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, color 0.2s;
}
.product-sticky-nav .nav-link-os .os-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  opacity: 1;
}
.product-sticky-nav .nav-item-platforms .nav-link-os-win {
  background: rgba(0, 120, 212, 0.10);
}
.product-sticky-nav .nav-link-os-win .os-icon {
  color: #0078d4;
}
.product-sticky-nav .nav-item-platforms .nav-link-os-win:hover {
  background: rgba(0, 120, 212, 0.18);
  color: #0067b8;
}
.product-sticky-nav .nav-item-platforms .nav-link-os-mac {
  background: rgba(29, 29, 31, 0.06);
}
.product-sticky-nav .nav-link-os-mac .os-icon {
  color: #1d1d1f;
}
.product-sticky-nav .nav-item-platforms .nav-link-os-mac:hover {
  background: rgba(29, 29, 31, 0.11);
  color: #1d1d1f;
}
.product-sticky-nav .nav-item-platforms .nav-link-os-linux {
  background: rgba(240, 160, 30, 0.14);
}
.product-sticky-nav .nav-link-os-linux .os-icon {
  color: #d98a00;
}
.product-sticky-nav .nav-item-platforms .nav-link-os-linux:hover {
  background: rgba(240, 160, 30, 0.24);
  color: #a86500;
}

@media (max-width: 1120px) {
  .product-sticky-nav .nav-link {
    padding: 0.7rem 0.85rem;
  }
}

@media (max-width: 1024px) {
  .product-sticky-nav {
    margin-bottom: -4.25rem;
  }
  .product-sticky-nav .nav-menu {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .product-sticky-nav .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .product-sticky-nav .nav-link {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='heroGrad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' style='stop-color:%235B5FD9;stop-opacity:1'/%3E%3Cstop offset='50%25' style='stop-color:%238B5CF6;stop-opacity:1'/%3E%3Cstop offset='100%25' style='stop-color:%2306B6D4;stop-opacity:1'/%3E%3C/linearGradient%3E%3Cpattern id='dots' x='0' y='0' width='30' height='30' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='2' cy='2' r='1' fill='white' fill-opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23heroGrad)' width='1440' height='800'/%3E%3Crect fill='url(%23dots)' width='1440' height='800'/%3E%3Ccircle cx='1200' cy='150' r='200' fill='%2306B6D4' fill-opacity='0.3'/%3E%3Ccircle cx='200' cy='650' r='250' fill='%235B5FD9' fill-opacity='0.3'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ===== 每产品独立 Hero SVG 背景 ===== */
/* EasyUEFI — 蓝色 + UEFI 电路走线 */
.hero-easyuefi { background: linear-gradient(135deg, #0078D4 0%, #005A9E 50%, #003E6E 100%); }
.hero-easyuefi::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='2'%3E%3Cpath d='M100 120 h400 v100 h280 M220 260 v200 h340 M80 480 h520 v140 h420'/%3E%3Ccircle cx='500' cy='220' r='8' fill='rgba(255,255,255,0.5)'/%3E%3Ccircle cx='780' cy='220' r='8' fill='rgba(255,255,255,0.5)'/%3E%3Ccircle cx='560' cy='460' r='8' fill='rgba(255,255,255,0.5)'/%3E%3Ccircle cx='1020' cy='620' r='8' fill='rgba(255,255,255,0.5)'/%3E%3Crect x='950' y='120' width='260' height='260' rx='16'/%3E%3Crect x='990' y='160' width='180' height='180' rx='8'/%3E%3Cpath d='M960 140 l-40 -40 M960 360 l-40 40 M1200 140 l40 -40 M1200 360 l40 40'/%3E%3C/g%3E%3Ccircle cx='1320' cy='650' r='220' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='140' cy='720' r='180' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* WinToUSB — 青色 + USB 闪存盘 */
.hero-wintousb { background: linear-gradient(135deg, #00BCF2 0%, #0091C8 50%, #006685 100%); }
.hero-wintousb::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='2.5'%3E%3Crect x='960' y='220' width='260' height='170' rx='14'/%3E%3Cpath d='M1050 390v22M1015 412h130'/%3E%3Cpath d='M985 270h200M985 310h130'/%3E%3Cpath d='M1090 415v20M1065 425l25 25 25-25' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='1030' y='450' width='150' height='210' rx='20'/%3E%3Crect x='1065' y='415' width='80' height='38' rx='7'/%3E%3Cpath d='M1050 520h110M1050 570h110'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='2'%3E%3Ccircle cx='300' cy='360' r='85'/%3E%3Ccircle cx='300' cy='360' r='16'/%3E%3Cpath d='M300 275v60'/%3E%3Crect x='130' y='270' width='120' height='150' rx='10'/%3E%3Cpath d='M130 325h120M165 355h55M165 385h65M165 415h45'/%3E%3Cpath d='M390 360h55M430 348l20 12-20 12'/%3E%3Crect x='475' y='300' width='90' height='110' rx='10'/%3E%3Crect x='505' y='330' width='90' height='110' rx='10'/%3E%3Cpath d='M475 465h130M585 453l20 12-20 12'/%3E%3C/g%3E%3Ccircle cx='1320' cy='130' r='200' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='100' cy='700' r='180' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* WinToHDD — 橙色 + 硬盘盘片 */
.hero-wintohdd { background: linear-gradient(135deg, #E8871A 0%, #C66A0D 50%, #8F4B08 100%); }
.hero-wintohdd::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2.5'%3E%3Ccircle cx='1080' cy='380' r='200'/%3E%3Ccircle cx='1080' cy='380' r='150'/%3E%3Ccircle cx='1080' cy='380' r='100'/%3E%3Ccircle cx='1080' cy='380' r='24' fill='rgba(255,255,255,0.45)'/%3E%3Cpath d='M1080 380 L1210 260 M1080 380 L950 500'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2'%3E%3Ccircle cx='240' cy='200' r='120'/%3E%3Ccircle cx='240' cy='200' r='80'/%3E%3Ccircle cx='240' cy='200' r='16' fill='rgba(255,255,255,0.3)'/%3E%3C/g%3E%3Ccircle cx='1380' cy='100' r='160' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Backup Suite — 绿色 + 盾牌 */
.hero-backup { background: radial-gradient(circle at 78% 18%, rgba(16,185,129,0.30), transparent 42%), linear-gradient(135deg, #031B16 0%, #064E3B 50%, #0F766E 100%); }
.hero-backup::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cpattern id='grid' width='48' height='48' patternUnits='userSpaceOnUse'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='1440' height='800' fill='url(%23grid)'/%3E%3Cg fill='none' stroke='rgba(110,231,183,0.35)' stroke-width='1.5'%3E%3Cpath d='M60 180h220v90h140M60 620h240v-100h120M1180 120h160v140M960 650h200v-100'/%3E%3C/g%3E%3Cg fill='rgba(110,231,183,0.5)'%3E%3Ccircle cx='60' cy='180' r='4'/%3E%3Ccircle cx='420' cy='270' r='4'/%3E%3Ccircle cx='60' cy='620' r='4'/%3E%3Ccircle cx='420' cy='520' r='4'/%3E%3Ccircle cx='1340' cy='120' r='4'/%3E%3Ccircle cx='960' cy='650' r='4'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.20)' stroke-width='2.5'%3E%3Cpath d='M1080 190 L1240 270 V450 C1240 570 1170 640 1080 690 C990 640 920 570 920 450 V270 Z'/%3E%3Cpath d='M1010 440 L1055 485 L1145 380' stroke='rgba(110,231,183,0.85)' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='180' y='300' width='190' height='130' rx='14'/%3E%3Cpath d='M180 350h190M210 380h80M210 410h110'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='1.5'%3E%3Cpath d='M1240 270h110v110'/%3E%3Cpath d='M920 450H820v90'/%3E%3C/g%3E%3Ccircle cx='1320' cy='680' r='180' fill='rgba(16,185,129,0.08)'/%3E%3Ccircle cx='120' cy='120' r='160' fill='rgba(45,212,191,0.06)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}
.hero-backup::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 82%, rgba(45,212,191,0.18), transparent 42%);
  pointer-events: none;
}

/* NTFS for Mac — 紫色 + 跨平台 */
.hero-windows-iso { background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 50%, #075985 100%); }
.hero-windows-iso::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2.5'%3E%3Crect x='980' y='210' width='300' height='210' rx='16'/%3E%3Cpath d='M980 260 h300 M1010 300 h120 M1010 340 h170 M1010 380 h140'/%3E%3Cpath d='M1020 470 h220 v60 h-220 z'/%3E%3C/g%3E%3Ccircle cx='1330' cy='140' r='180' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='150' cy='690' r='160' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
}
.hero-ntfs-for-mac/ntfs-for-mac.html { background: linear-gradient(135deg, #5E5CE6 0%, #4645B8 50%, #2F2E85 100%); }
.hero-ntfs-for-mac::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2.5'%3E%3Crect x='940' y='220' width='320' height='220' rx='16'/%3E%3Cpath d='M940 270 h320 M980 310 h110 M980 350 h160 M980 390 h130'/%3E%3Cpath d='M1020 480 h160 v50 h-160 z M1100 530 v40 M1030 570 h140'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.18)'%3E%3Ccircle cx='240' cy='240' r='50'/%3E%3Cpath d='M215 240 a25 25 0 0 1 50 0 M240 215 v-20'/%3E%3C/g%3E%3Ccircle cx='1320' cy='140' r='180' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='140' cy='680' r='160' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Data Recovery — 红橙 + 放大镜/文件 */
.hero-data-recovery { background: linear-gradient(135deg, #0E7490 0%, #155E75 50%, #164E63 100%); }
.hero-data-recovery::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2.5'%3E%3Ccircle cx='1080' cy='340' r='110'/%3E%3Cline x1='1160' y1='420' x2='1270' y2='530' stroke-width='12' stroke-linecap='round'/%3E%3Cpath d='M1030 320 l40 40 M1110 290 l25 25 M1040 380 l30 30' stroke-width='4'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2'%3E%3Crect x='140' y='220' width='120' height='160' rx='8'/%3E%3Cpath d='M140 270 h120 M170 300 h60 M170 330 h70 M170 360 h50'/%3E%3Cpath d='M215 220 v-25 l25 25'/%3E%3C/g%3E%3Ccircle cx='1320' cy='680' r='180' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* BitLocker Anywhere — 青色 + 锁 */
.hero-bitlocker { background: linear-gradient(135deg, #008272 0%, #005A4F 50%, #003832 100%); }
.hero-bitlocker::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2.5'%3E%3Crect x='980' y='290' width='240' height='220' rx='22'/%3E%3Cpath d='M1030 290 v-60 a70 70 0 0 1 140 0 v60' stroke-width='7'/%3E%3Ccircle cx='1100' cy='390' r='18' fill='rgba(255,255,255,0.55)'/%3E%3Cpath d='M1100 405 v35' stroke-width='7' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2'%3E%3Crect x='160' y='280' width='130' height='120' rx='14'/%3E%3Cpath d='M190 280 v-30 a35 35 0 0 1 70 0 v30' stroke-width='5'/%3E%3Ccircle cx='225' cy='335' r='10' fill='rgba(255,255,255,0.35)'/%3E%3C/g%3E%3Ccircle cx='1330' cy='130' r='200' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* hero-bitlocker-linux */
.hero-bitlocker-linux { background: linear-gradient(135deg, #008272 0%, #005A4F 50%, #003832 100%); }
.hero-bitlocker-linux::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='2.5'%3E%3Crect x='940' y='210' width='300' height='220' rx='14'/%3E%3Cpath d='M940 255h300'/%3E%3Cpath d='M965 285l25 15-25 15M1000 315h55' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='1060' y='320' width='140' height='90' rx='10'/%3E%3Cpath d='M1090 320v-24a40 40 0 0 1 80 0v24' stroke-width='6'/%3E%3Ccircle cx='1130' cy='365' r='10' fill='rgba(255,255,255,0.45)'/%3E%3Cpath d='M1130 375v20' stroke-width='5' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='2'%3E%3Crect x='120' y='300' width='140' height='110' rx='10'/%3E%3Cpath d='M120 345h140'/%3E%3Cpath d='M260 355h55M300 343l20 12-20 12'/%3E%3Crect x='345' y='285' width='110' height='140' rx='10'/%3E%3Cpath d='M345 330h110M375 360h55M375 390h45'/%3E%3Cpath d='M345 455h110M440 443l20 12-20 12'/%3E%3C/g%3E%3Ccircle cx='1320' cy='140' r='200' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='100' cy='700' r='180' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* hero-bitlocker-mac */
.hero-bitlocker-mac { background: linear-gradient(135deg, #008272 0%, #005A4F 50%, #003832 100%); }
.hero-bitlocker-mac::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='2.5'%3E%3Crect x='930' y='220' width='300' height='190' rx='18'/%3E%3Cpath d='M900 410h360l-18 28H918z'/%3E%3Crect x='1000' y='290' width='150' height='90' rx='10'/%3E%3Cpath d='M1030 290v-24a40 40 0 0 1 80 0v24' stroke-width='6'/%3E%3Ccircle cx='1075' cy='335' r='10' fill='rgba(255,255,255,0.45)'/%3E%3Cpath d='M1075 345v20' stroke-width='5' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='2'%3E%3Crect x='130' y='290' width='130' height='150' rx='10'/%3E%3Cpath d='M130 345h130M165 375h60M165 405h70M165 435h50'/%3E%3Ccircle cx='350' cy='365' r='32'/%3E%3Ccircle cx='350' cy='365' r='10'/%3E%3Cpath d='M350 397v55M350 430h35'/%3E%3Cpath d='M390 365h55M425 353l20 12-20 12'/%3E%3C/g%3E%3Ccircle cx='1320' cy='660' r='180' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='120' cy='120' r='160' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* hero-bitlocker-windows */
.hero-bitlocker-windows { background: linear-gradient(135deg, #008272 0%, #005A4F 50%, #003832 100%); }
.hero-bitlocker-windows::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='2.5'%3E%3Crect x='930' y='190' width='280' height='210' rx='16'/%3E%3Cpath d='M930 245h280M930 300h280M1070 190v210'/%3E%3Crect x='1000' y='320' width='140' height='100' rx='12'/%3E%3Cpath d='M1030 320v-26a40 40 0 0 1 80 0v26' stroke-width='6'/%3E%3Ccircle cx='1070' cy='370' r='12' fill='rgba(255,255,255,0.45)'/%3E%3Cpath d='M1070 382v22' stroke-width='5' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='2'%3E%3Crect x='120' y='280' width='130' height='160' rx='12'/%3E%3Cpath d='M120 335h130M155 365h60M155 395h70M155 425h50'/%3E%3Cpath d='M260 360h60M305 348l20 12-20 12'/%3E%3Crect x='340' y='300' width='110' height='90' rx='10'/%3E%3Cpath d='M340 330h110'/%3E%3Cpath d='M365 430h90M440 418l20 12-20 12'/%3E%3C/g%3E%3Ccircle cx='1320' cy='130' r='200' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='100' cy='700' r='180' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Disk Clone — 蓝色 + 磁盘/克隆箭头 */
.hero-disk-clone { background: linear-gradient(135deg, #0B6BCB 0%, #0952A0 50%, #063A73 100%); }
.hero-disk-clone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='3'%3E%3Crect x='980' y='250' width='230' height='150' rx='18'/%3E%3Cpath d='M1000 320h190'/%3E%3Ccircle cx='1190' cy='300' r='9' fill='rgba(255,255,255,0.45)'/%3E%3Crect x='1040' y='430' width='230' height='150' rx='18'/%3E%3Cpath d='M1060 500h190'/%3E%3Ccircle cx='1250' cy='480' r='9' fill='rgba(255,255,255,0.45)'/%3E%3Cpath d='M1155 410v-22' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M1120 400l35 35 35-35' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='2'%3E%3Crect x='150' y='270' width='170' height='110' rx='14'/%3E%3Cpath d='M170 325h130'/%3E%3Ccircle cx='300' cy='305' r='7' fill='rgba(255,255,255,0.3)'/%3E%3C/g%3E%3Ccircle cx='1330' cy='130' r='200' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Windows To Go Upgrader - purple + USB upgrade */
.hero-wtg { background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 50%, #4C1D95 100%); }
.hero-wtg::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='2.5'%3E%3Crect x='980' y='220' width='230' height='360' rx='28'/%3E%3Crect x='1035' y='165' width='120' height='60' rx='10'/%3E%3Cpath d='M1010 320h170M1010 380h170M1010 440h170'/%3E%3Cpath d='M1095 540V430M1060 465l35-35 35 35' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='2'%3E%3Crect x='140' y='260' width='150' height='250' rx='20'/%3E%3Cpath d='M170 380h90M170 430h90'/%3E%3Cpath d='M205 500V400M180 425l25-25 25 25' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Ccircle cx='1320' cy='150' r='200' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='120' cy='700' r='180' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}


body.backup-product-page {
  background-color: #F5FAF8;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(16,185,129,0.08), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(20,184,166,0.07), transparent 30%),
    linear-gradient(rgba(6,78,59,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,78,59,0.045) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}

body.backup-product-page .doc-banner {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(16,185,129,0.25), transparent 40%), linear-gradient(135deg, #031B16 0%, #064E3B 55%, #0F766E 100%);
}

body.backup-product-page .doc-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 500' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cpattern id='bgrid' width='44' height='44' patternUnits='userSpaceOnUse'%3E%3Cpath d='M44 0H0V44' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='1440' height='500' fill='url(%23bgrid)'/%3E%3Cg fill='none' stroke='rgba(110,231,183,0.30)' stroke-width='1.5'%3E%3Cpath d='M40 70h180v70h120M40 410h220v-70h120M1180 60h170v100M1000 440h220v-70'/%3E%3C/g%3E%3Cg fill='rgba(110,231,183,0.45)'%3E%3Ccircle cx='40' cy='70' r='4'/%3E%3Ccircle cx='340' cy='140' r='4'/%3E%3Ccircle cx='40' cy='410' r='4'/%3E%3Ccircle cx='380' cy='340' r='4'/%3E%3Ccircle cx='1350' cy='60' r='4'/%3E%3Ccircle cx='1000' cy='440' r='4'/%3E%3C/g%3E%3Ccircle cx='1300' cy='400' r='160' fill='rgba(16,185,129,0.07)'/%3E%3Ccircle cx='160' cy='80' r='120' fill='rgba(45,212,191,0.05)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

body.backup-product-page .doc-banner > .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-inner > .hero-content:only-child {
  grid-column: 1 / -1;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  background: white;
  color: var(--primary);
}

.hero-cta .btn-primary:hover {
  background: var(--gray-100);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-showcase-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  color: white;
  transition: all var(--transition-base);
}

.product-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.product-showcase-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}

.product-showcase-icon svg {
  width: 32px;
  height: 32px;
}

.product-showcase-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.product-showcase-card p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.product-showcase-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.product-showcase-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
}

.product-showcase-features li svg {
  width: 18px;
  height: 18px;
  color: #4ADE80;
  flex-shrink: 0;
}

/* ---------- Product Hero Carousel（产品横幅轮播） ---------- */
.pcarousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--dark);
}

.pcarousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.pcarousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
}

.pcarousel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pcarousel-bg .slide-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pcarousel-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 4.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pcarousel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.pcarousel-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.pcarousel-feature svg {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.9;
}

.pcarousel-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.pcarousel-tagline {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.pcarousel-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 100%;
}

.pcarousel-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.pcarousel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.pcarousel-cta-primary {
  background: white;
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pcarousel-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--dark);
}

.pcarousel-cta-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.pcarousel-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.pcarousel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcarousel-logo-card {
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s ease;
}

.pcarousel-slide.active .pcarousel-logo-card {
  animation: pcarouselFloat 5s ease-in-out infinite;
}

@keyframes pcarouselFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.pcarousel-logo-card svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.pcarousel-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

/* 左右箭头（垂直居中、半浮在两侧） */
.pcarousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 20;
}

.pcarousel-arrow svg {
  width: 24px;
  height: 24px;
}

.pcarousel-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.pcarousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* 箭头约束在 1440px 可视区域内（与容器内容边缘对齐，窄屏时贴边） */
.pcarousel-arrow-prev { left: max(0.75rem, calc(50% - 862px)); }
.pcarousel-arrow-next { right: max(0.75rem, calc(50% - 862px)); }

/* 底部圆点 */
.pcarousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.pcarousel-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.pcarousel-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.pcarousel-dot.active {
  background: white;
  width: 48px;
}

@media (max-width: 1024px) {
  .pcarousel-inner { padding: 3.5rem 4rem; }
  .pcarousel-logo-card { width: 180px; height: 180px; }
  .pcarousel-arrow-prev { left: 0.5rem; }
  .pcarousel-arrow-next { right: 0.5rem; }
  .pcarousel-feature { font-size: 0.78rem; padding: 0.35rem 0.8rem; }
}

@media (max-width: 768px) {
  .pcarousel-slide { min-height: 540px; }
  .pcarousel-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem 4.5rem;
    gap: 2rem;
  }
  .pcarousel-desc { margin-left: auto; margin-right: auto; }
  .pcarousel-features { justify-content: center; margin-left: auto; margin-right: auto; }
  .pcarousel-feature { font-size: 0.75rem; padding: 0.35rem 0.75rem; }
  .pcarousel-ctas { justify-content: center; }
  .pcarousel-logo-card { width: 140px; height: 140px; margin: 0 auto; }
  .pcarousel-arrow { width: 40px; height: 40px; }
  .pcarousel-arrow svg { width: 18px; height: 18px; }
  .pcarousel-arrow-prev { left: 0.5rem; }
  .pcarousel-arrow-next { right: 0.5rem; }
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(91, 95, 217, 0.25);
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

/* Hot Products: keep the call-to-action on the same baseline in every card */
#hot-products .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Reserve the original 1.25rem gap above the button so the tallest card does
   not end up with the text touching the button once margin-top:auto is 0. */
#hot-products .product-card p {
  margin-bottom: 1.25rem;
}

#hot-products .product-card .btn {
  margin-top: auto;
  align-self: center;
}

.product-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(91, 95, 217, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: var(--radius-lg);
}

.product-card-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.product-card .btn {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

/* ---------- Feature Cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: white;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---------- Data Protection Policy Tabs ---------- */
.policy-tabs {
  margin-top: 2rem;
}

.policy-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.policy-tab {
  background: #fff;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.policy-tab:hover {
  border-color: #107C10;
  color: #107C10;
}

.policy-tab.is-active {
  background: #107C10;
  border-color: #107C10;
  color: #fff;
}

.policy-panel {
  display: none;
}

.policy-panel.is-active {
  display: block;
}

.policy-grid .feature-card {
  padding: 1.5rem;
}

.policy-grid .feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #107C10, #22A06B);
  margin-bottom: 1rem;
}

.policy-grid .feature-icon svg {
  width: 24px;
  height: 24px;
}

.policy-grid .feature-card h3 {
  font-size: 1.02rem;
}

.policy-grid .feature-card p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .policy-tablist {
    justify-content: flex-start;
  }

  .policy-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
}

.feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card .card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.article-body .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.feature-card .card-link:hover {
  text-decoration: underline;
}

/* ---------- Feature showcase (alternating text / visual rows) ----------
   产品深度功能介绍：左（右）图右（左）文，文字端为品牌色勾选清单 */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.showcase-row + .showcase-row {
  margin-top: 4.5rem;
}

.showcase-row.is-reversed .showcase-media {
  order: 2;
}

.showcase-media {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

.showcase-media svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, var(--primary));
  background: color-mix(in srgb, var(--accent, var(--primary)) 10%, white);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}

.showcase-body h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.showcase-body > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* 品牌色对勾清单（功能列表） */
.point-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.point-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.55;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.34em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--accent, var(--primary));
  border-bottom: 2.5px solid var(--accent, var(--primary));
  transform: rotate(-45deg);
}

/* Hero 区卖点清单（白色对勾，两列） */
.hero-points {
  list-style: none;
  margin: 1.75rem auto 0;
  padding: 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.75rem;
  text-align: left;
}

.hero-version {
  display: inline-block;
  font-size: 0.5em;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.hero-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.32em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid #FFFFFF;
  border-bottom: 2.5px solid #FFFFFF;
  transform: rotate(-45deg);
}

/* New / Improved badges in the hero bullet list */
.hero-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.05em 0.45em;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
  background: #F6772C;
  border-radius: 4px;
  vertical-align: middle;
  white-space: nowrap;
}

/* Badge on feature cards (e.g. Image Protection) */
.feature-badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.1em 0.6em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  background: #F6772C;
  border-radius: 999px;
}

/* Important notes（温馨提示/注意事项） */
.note-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
}

.note-box h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 1rem;
}

.note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.note-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1rem;
  color: #78350F;
  line-height: 1.65;
}

.note-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #F59E0B;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  line-height: 17px;
}

@media (max-width: 900px) {
  .showcase-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .showcase-row + .showcase-row {
    margin-top: 3rem;
  }

  .showcase-row.is-reversed .showcase-media {
    order: 0;
  }
}

@media (max-width: 560px) {
  .hero-points {
    grid-template-columns: 1fr;
  }
}

/* ---------- How-to steps (product page User Guide) ----------
   左侧可点击步骤导航 + 右侧截图面板（参考成熟同类产品的 Tab 式指南） */
.guide-tabs {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 2rem;
  /* 左侧步骤列相对右侧截图垂直居中（sticky 仍保证滚动时吸顶） */
  align-items: center;
}

.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: sticky;
  top: 96px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  cursor: pointer;
  font: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.guide-step:hover {
  border-color: var(--accent, var(--primary));
  transform: translateX(3px);
}

.guide-step:focus-visible {
  outline: 2px solid var(--accent, var(--primary));
  outline-offset: 2px;
}

.guide-step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 800;
  font-size: 0.95rem;
  transition: background var(--transition-base), color var(--transition-base);
}

.guide-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.guide-step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.guide-step-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.guide-step.is-active {
  border-color: var(--accent, var(--primary));
  box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFF 100%);
  cursor: default;
}

.guide-step.is-active:hover {
  transform: none;
}

.guide-step.is-active .guide-step-num {
  background: var(--accent, var(--primary));
  color: white;
}

/* 激活项左侧品牌色指示条 */
.guide-step.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent, var(--primary));
}

.guide-step {
  position: relative;
}

.guide-panels {
  position: relative;
  min-width: 0;
}

.guide-panel {
  display: none;
  background: linear-gradient(160deg, #F8FAFC 0%, #EEF2FF 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.guide-panel.is-active {
  display: block;
  animation: guidePanelIn 0.35s ease both;
}

.guide-panel svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.guide-panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

@keyframes guidePanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* 窄屏：步骤变为横向可滑动标签，截图在下 */
@media (max-width: 900px) {
  .guide-tabs {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .guide-steps {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.7rem;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .guide-step {
    flex: 0 0 auto;
    width: auto;
    min-width: 230px;
  }

  .guide-step-desc {
    display: none;
  }

  .guide-step.is-active::before {
    top: auto;
    bottom: 0;
    left: 12px;
    right: 12px;
    width: auto;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }
}

.howto-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}

@media (max-width: 900px) {
  .howto-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

  /* ---------- Comparison Table ---------- */
  .comparison-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 1180px;
  }
  
  .comparison-table thead {
    background: var(--gradient-primary);
    color: white;
  }
  
  .comparison-table th {
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
  }
  
  .comparison-table td {
    padding: 1.125rem 1.5rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
    text-align: center;
  }
  
  .comparison-table td:first-child,
  .comparison-table th:first-child {
    text-align: left;
  }
  
  .comparison-table .tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
  }
  
  .comparison-table .tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 8px 10px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  
  .comparison-table .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
  }
  
  .comparison-table .tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
  }
  
  .comparison-table .info-icon {
    width: 15px;
    height: 15px;
    vertical-align: -3px;
    margin-left: 5px;
    cursor: help;
    opacity: 0.65;
    transition: opacity var(--transition-fast);
  }
  
  .comparison-table .tooltip:hover .info-icon {
    opacity: 1;
  }
  
  .comparison-table td:last-child .tooltip-text {
    left: auto;
    right: -6px;
    transform: none;
  }
  
  .comparison-table td:last-child .tooltip-text::after {
    left: auto;
    right: 16px;
    margin-left: 0;
  }
  
  .comparison-table td:first-child .tooltip-text {
    left: -6px;
    transform: none;
  }
  
  .comparison-table td:first-child .tooltip-text::after {
    left: 16px;
    margin-left: 0;
  }

.comparison-table tfoot td {
  vertical-align: top;
}

.comparison-table tfoot p {
  margin-top: 0;
}

.comparison-table tfoot .btn + br + .btn {
  margin-top: 0.4rem;
}

/* Equal-width action buttons on the Backup Suite comparison tables */
.backup-action-table tfoot .btn {
  box-sizing: border-box;
  width: 180px;
  min-width: 180px;
  min-height: 54px;
  padding: 0.35rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  font-size: 0.9rem;
}


.price-variant-hidden,
.buy-variant-hidden {
  display: none;
}

.comparison-table tbody tr:hover {
  background: var(--gray-50);
}

.comparison-table .check {
  color: #22C55E;
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--gray-400);
}

/* ---------- Tech Specs (product page specification card grid) ----------
   参考成熟同类产品页：规格项以卡片网格展示，hover 时呈现产品品牌色 */
.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.tech-spec-card {
  position: relative;
  background: #F8FAFC;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base), background var(--transition-base);
}

.tech-spec-card:hover {
  background: #FFFFFF;
  border-color: var(--accent, var(--primary));
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tech-spec-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}

.tech-spec-label::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--primary));
}

.tech-spec-value {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.6;
}

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

@media (max-width: 560px) {
  .tech-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gradient-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  color: white;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-badges .badge svg {
  width: 14px;
  height: 14px;
}

/* ---------- Animations（补充） ---------- */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.6s ease forwards;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   文档页（Tech Spec / Tutorial）共享样式
   ============================================================ */

/* 文档页横幅：与产品 hero 同风格但更紧凑 */
.doc-banner {
  background: linear-gradient(135deg, #6C5CE7 0%, #5B4BD5 50%, #463AB8 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.doc-banner h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.doc-banner p {
  opacity: 0.92;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

/* 文档互链胶囊：当前页高亮 */
.doc-pills {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.doc-pills a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease;
}

.doc-pills a:hover {
  background: rgba(255, 255, 255, 0.28);
}

.doc-pills a.is-current {
  background: #fff;
  color: #5B4BD5;
  font-weight: 600;
}

/* 更新日志列表 */
.changelog {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 860px;
  margin: 0 auto;
}

.changelog-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.changelog-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
}

.changelog-item h3 span {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 0.85rem;
  margin-left: 0.45rem;
}

.changelog-item ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 教程编号步骤卡 */
.doc-steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 860px;
  margin: 0 auto;
}

.doc-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.2rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.doc-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7B68EE, #9370DB);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.doc-step-body h3 {
  margin-bottom: 0.45rem;
}

.doc-step-body p {
  color: var(--gray-600);
  line-height: 1.75;
}

.doc-step-media {
  margin-top: 1.1rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.doc-step-media svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .doc-banner {
    padding: 3.5rem 0 3rem;
  }

  .doc-step {
    grid-template-columns: 1fr;
  }

  .doc-step-num {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

/* ---------- RTL 支持 ---------- */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .nav-dropdown {
  left: auto;
  right: 0;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] .hero-inner {
  direction: rtl;
}

[dir="rtl"] .pcarousel-arrow-prev {
  left: auto;
  right: 1.75rem;
}

[dir="rtl"] .pcarousel-arrow-next {
  right: auto;
  left: 1.75rem;
}

[dir="rtl"] .nav-link svg {
  transform: scaleX(-1);
}

[dir="rtl"] .hamburger span:nth-child(1) {
  transform-origin: center;
}

/* ============================================
 * Responsive - 1024px
 * ============================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

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

  [dir="rtl"] .hero-inner {
    direction: ltr;
  }
}

/* ============================================
 * Responsive - 768px
 * ============================================ */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 0 1rem;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
  }

  .nav-menu.open {
    max-height: 90vh;
    padding: 1rem;
    overflow-y: auto;
  }

  .nav-dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-top: 0.25rem;
    padding: 0.5rem;
  }

  .nav-dropdown a {
    color: rgba(255, 255, 255, 0.88);
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-dropdown a .dropdown-title {
    color: inherit;
  }

  .nav-dropdown a .dropdown-desc {
    color: rgba(255, 255, 255, 0.6);
  }

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

  .nav-link svg {
    transform: rotate(-90deg);
    transition: transform var(--transition-fast);
  }

  .nav-item.expanded .nav-link svg {
    transform: rotate(0deg);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0 4rem;
  }

  [dir="rtl"] .nav-dropdown {
    left: 0;
    right: 0;
  }
}

/* ============================================
 * Responsive - 480px
 * ============================================ */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.625rem 1.125rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .product-showcase-card {
    padding: 1.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.875rem 1rem;
    font-size: 0.8rem;
  }

  .header-inner {
    height: 60px;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
 * 辅助：隐藏/显示
 * ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ============================================
 * 回到顶部按钮（右下角悬浮圆形按钮）
 * ============================================ */
.back-to-top {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition-base),
              transform var(--transition-base),
              visibility var(--transition-base),
              background-color var(--transition-fast),
              color var(--transition-fast),
              box-shadow var(--transition-base);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(91, 95, 217, 0.35);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
   资源文章页（<slug>/resource/*.html）
   ============================================================ */

/* 正文容器：窄栏阅读宽度 */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.article-body {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body h2 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  color: var(--gray-900);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--gray-900);
}

.article-body a:not(.btn) {
  color: var(--primary);
  font-weight: 500;
}

.article-body ul.dot,
.article-body ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.article-body ul li {
  margin-bottom: 0.4rem;
  list-style: disc;
}

/* 正文表格：窄屏可横向滚动，避免撑破页面 */
.article-body .comparison-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 正文所有截图/图片水平居中 */
.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body p > img,
.article-body p > a > img,
.article-body li > img,
.article-body div > img:not(.article-icon):not(.info-icon):not(.no-overlay),
.article-body figure img,
.article-body dl > dt > img,
.article-body dl img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 小于等于 64×64 的图标（按钮截图、提示/注意图标等）随文字排列，保持原始尺寸。
   仅按 HTML 宽高属性匹配，因此大截图（宽度 > 64）不受影响；作者头像（.no-overlay）
   和站点 logo（.logo-mark）排除在外。 */
img[width="12"][height="12"]:not(.no-overlay):not(.logo-mark),
img[width="14"][height="7"]:not(.no-overlay):not(.logo-mark),
img[width="16"][height="15"]:not(.no-overlay):not(.logo-mark),
img[width="16"][height="16"]:not(.no-overlay):not(.logo-mark),
img[width="17"][height="15"]:not(.no-overlay):not(.logo-mark),
img[width="20"][height="20"]:not(.no-overlay):not(.logo-mark),
img[width="24"][height="24"]:not(.no-overlay):not(.logo-mark),
img[width="25"][height="25"]:not(.no-overlay):not(.logo-mark),
img[width="36"][height="36"]:not(.no-overlay):not(.logo-mark),
img[width="48"][height="48"]:not(.no-overlay):not(.logo-mark),
img[width="50"][height="50"]:not(.no-overlay):not(.logo-mark),
img[width="60"][height="60"]:not(.no-overlay):not(.logo-mark) {
  display: inline-block !important;
  max-width: none !important;
  margin: 0 2px !important;
  vertical-align: -0.2em !important;
}

/* 正文插图：居中、响应式、浅色底衬 */
.article-figure {
  margin: 1.5rem auto;
  text-align: center;
}

.article-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Affiliate/product comparison-style lists inside article body */
.article-body dl {
  margin: 1.5rem 0;
}

.article-body dt {
  display: block;
  text-align: center;
  margin-bottom: 2rem;
}

.article-body dt img {
  margin-bottom: 0.75rem;
}

.article-body dt b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

/* 正文内三个平台下载按钮：横排（还原源站 download_box 布局） */
.download_box {
  margin: 1.5rem 0;
  text-align: center;
}

.download_box .article-figure {
  display: inline-block;
  max-width: 100%;
  margin: 6px 8px;
}

.download_box .article-figure img {
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* 行内小图标（教程正文里的 ☰ 菜单按钮等）：任何容器内都保持行内、原始大小。
   全局 CSS reset 把 img 设成了 display:block，这里补回行内显示；
   正文内的规则（.article-body img.article-icon）优先级更高，两者并存。 */
img.article-icon {
  display: inline-block;
  vertical-align: text-bottom;
  border: none;
  box-shadow: none;
  background: none;
  border-radius: 4px;
}

/* 正文行内小图标（状态栏图标等） */
.article-body img.article-icon {
  display: inline-block;
  vertical-align: text-bottom;
  border: none;
  box-shadow: none;
  background: none;
  border-radius: 4px;
}

/* 正文静态标签区块（原 Bootstrap 标签页的降级堆叠形式） */
.article-tab {
  margin-top: 1.5rem;
}

.article-tab h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

/* 步骤内嵌下载按钮 */
.article-cta-inline {
  text-align: center;
  margin: 1.5rem 0;
}

/* 作者信息卡 */
.author-box {
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.author-box img {
  display: block;
  margin: 0;
  border-radius: 50%;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.author-box .name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.author-box .meta {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* 正文提示（旧站红色 Note 转换） */
.article-note {
  background: #FFF7ED;
  border-left: 4px solid #F97316;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  color: #9A3412;
  font-size: 1.0625rem;
}

.article-note strong {
  color: #C2410C;
}

/* FAQ 区块 */
.faq-list {
  margin: 1rem 0;
}

.faq-item {
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0.9rem;
}

.faq-item > strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.faq-item p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* 可折叠 FAQ（details/summary） */
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--gray-900);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  color: var(--gray-500);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item summary:hover::after {
  border-color: var(--primary);
  color: var(--primary);
}

.faq-item[open] summary {
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.faq-item .faq-answer {
  padding-top: 0.5rem;
  animation: faq-fade-in 0.25s ease;
}

.faq-item .faq-answer p {
  margin-bottom: 0;
  line-height: 1.8;
}

@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   文章页布局：左侧浮动章节目录（sticky 常驻）+ 右侧加宽正文
   ============================================================ */
.article-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

/* 浮动侧栏：滚动时始终悬停在视口内（吸顶导航 72px + 间隙） */
.article-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.article-main {
  min-width: 0;
}

/* ============================================================
   文章页导航（面包屑 + Table of Contents）
   ============================================================ */

/* 面包屑：Home > 产品 > Resources > 当前文章 */
.article-breadcrumb {
  max-width: 1180px;
  margin: 0 auto 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.article-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.article-breadcrumb li + li::before {
  content: '/';
  margin: 0 0.55rem;
  color: var(--gray-300);
}

.article-breadcrumb a {
  color: var(--gray-500);
  font-weight: 400;
  transition: color var(--transition-base);
}

.article-breadcrumb a:hover {
  color: var(--primary);
}

.article-breadcrumb [aria-current='page'] {
  color: var(--gray-700);
}

/* Table of Contents：参考 AOMEI 的编号目录卡片（桌面端浮于左侧栏） */
.article-toc {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.3rem;
  margin: 0;
}

/* 目录条目较多时，桌面端在视口内滚动，避免最后几项被裁掉 */
@media (min-width: 961px) {
  .article-toc {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

/* 桌面端常驻标题（移动端隐藏，由折叠按钮承载标题） */
.article-toc-heading {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gray-900);
  margin-bottom: 0.85rem;
}

.article-toc-toggle {
  display: none;
}

.article-toc-list {
  counter-reset: toc;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* 允许超长路径/文件名在目录卡片内换行，避免文字越过右侧边框 */
.article-toc-list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-toc-list > li {
  counter-increment: toc;
}

.article-toc-list > li > a {
  display: flex;
  gap: 0.6rem;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.6;
  transition: color var(--transition-base);
}

.article-toc-list > li > a::before {
  content: counter(toc) '.';
  color: var(--primary);
  font-weight: 700;
  min-width: 1.4rem;
}

.article-toc-list > li > a:hover,
.article-toc-list > li > a.is-active {
  color: var(--primary);
}

/* 二级条目（如各 macOS 版本） */
.article-toc-list ol {
  list-style: none;
  margin: 0.45rem 0 0.15rem 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.article-toc-list ol a {
  display: flex;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  transition: color var(--transition-base);
}

.article-toc-list ol a::before {
  content: '\203A';
  color: var(--gray-300);
}

/* Grouped TOC (long feature guides) */
.article-toc-grouped .toc-group {
  border-top: 1px solid var(--gray-100);
}
.article-toc-grouped .toc-group:first-child {
  border-top: 0;
}
.article-toc-grouped .toc-group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.article-toc-grouped .toc-group > summary::-webkit-details-marker {
  display: none;
}
.article-toc-grouped .toc-group > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}
.article-toc-grouped .toc-group[open] > summary::after {
  transform: rotate(-135deg);
}
.article-toc-grouped .toc-group-list {
  counter-reset: tocgroup;
  list-style: none;
  margin: 0.1rem 0 0.55rem;
  padding: 0 0 0 0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.article-toc-grouped .toc-group-list > li {
  counter-increment: tocgroup;
}
.article-toc-grouped .toc-group-list > li > a {
  display: flex;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.article-toc-grouped .toc-group-list > li > a::before {
  content: counter(tocgroup) '.';
  color: var(--primary);
  font-weight: 700;
  min-width: 1.2rem;
}
.article-toc-grouped .toc-group-list a:hover,
.article-toc-grouped .toc-group-list a.is-active {
  color: var(--primary);
}
@media (min-width: 901px) {
  .article-toc-grouped {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    padding-right: 0.35rem;
  }
}

.article-toc-list ol a:hover,
.article-toc-list ol a.is-active {
  color: var(--primary);
}

/* 锚点跳转偏移，避免被吸顶导航遮挡 */
.article-body h2[id],
.article-body h3[id],
.article-body .article-tab[id] {
  scroll-margin-top: 100px;
}

/* ============================================================
   相关文章：标题 + 描述卡片（替代旧的纯链接列表）
   ============================================================ */
.related-articles {
  margin: 2.5rem 0 0;
}

.related-articles h2 {
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  color: var(--gray-900);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.related-card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(91, 95, 217, 0.08);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.7rem;
}

.related-card h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 0.45rem;
  color: var(--gray-900);
  font-weight: 600;
  transition: color var(--transition-base);
}

.related-card:hover h3 {
  color: var(--primary);
}

.related-card p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex-grow: 1;
  margin: 0 0 0.85rem;
}

.related-card-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: auto;
}

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

/* 平板/手机：侧栏降为正文上方的折叠目录，正文单栏加宽 */
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-sidebar {
    position: static;
  }

  .article-toc {
    padding: 0;
    margin-bottom: 1.75rem;
  }

  .article-toc-heading {
    display: none;
  }

  .article-toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    background: none;
    border: 0;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
  }

  .article-toc-toggle svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
  }

  .article-toc:not(.is-open) .article-toc-list {
    display: none;
  }

  .article-toc.is-open .article-toc-toggle svg {
    transform: rotate(180deg);
  }

  .article-toc-list {
    padding: 0 1.25rem 1.1rem;
  }
}

/* 资源索引列表页 */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.resource-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.resource-item a {
  color: var(--gray-900);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.6;
}

.resource-item a:hover {
  color: var(--primary);
}

.resource-item .is-pending {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .author-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
 * 作者页（team/）样式
 * ============================================ */

/* 作者页顶部渐变横幅 */
.team-hero {
  background: var(--gradient-primary);
  color: #fff;
  padding: 3.5rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='white' fill-opacity='0.12'/%3E%3C/svg%3E");
  pointer-events: none;
}

.team-hero .container {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.team-hero-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  margin: 0 auto 1.25rem;
  background: rgba(255, 255, 255, 0.15);
}

.team-hero h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.team-hero-role {
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 1rem;
}

.team-hero-tagline {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.92;
  max-width: 720px;
  margin: 0 auto;
}

/* 经历区块标题 */
.team-section-title {
  text-align: center;
  font-size: 1.9rem;
  margin-bottom: 1.75rem;
}

/* 作者简介大卡 */
.team-intro {
  background: linear-gradient(135deg, var(--gray-50), #EEF2FF);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.team-intro p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--gray-700);
  margin: 0;
}

/* 三张经历卡 */
.team-exp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.team-exp-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.team-exp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.team-exp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-exp-icon svg {
  width: 24px;
  height: 24px;
}

.team-exp-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
}

.team-exp-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin: 0;
}

/* 作者页底部 CTA */
.team-cta {
  background: var(--gradient-dark);
  color: #fff;
  padding: 3.5rem 1.25rem;
  text-align: center;
}

.team-cta .container {
  max-width: 760px;
}

.team-cta h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.team-cta p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.team-cta .hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.team-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.team-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* 作者索引页 */
.team-index-sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
}

.writer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.writer-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.writer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.writer-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 3px solid var(--primary);
  margin-bottom: 1rem;
  background: var(--gray-100);
}

.writer-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.writer-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.writer-card > p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

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

  .team-exp-card {
    flex-direction: column;
    gap: 0.85rem;
  }
}

/* ============================================
 * 资源列表页（搜索 / 排序 / 分页）
 * ============================================ */

/* 控制条：每页条数 + 排序 + 搜索框 */
.reslist-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.reslist-controls .group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.reslist-controls select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--gray-800);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.reslist-controls select:focus {
  border-color: var(--primary);
}

.reslist-search {
  display: flex;
  gap: 0.5rem;
  flex: 1 1 240px;
  max-width: 380px;
}

.reslist-search input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-800);
  outline: none;
}

.reslist-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 95, 217, 0.12);
}

.reslist-search button {
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.reslist-search button:hover {
  opacity: 0.9;
}

/* 搜索结果状态条 */
.reslist-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.reslist-status.hidden {
  display: none;
}

.reslist-status button {
  flex-shrink: 0;
  padding: 0.35rem 0.8rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.reslist-status button:hover {
  opacity: 0.9;
}

/* 文章卡片网格 */
.reslist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.reslist-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.reslist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.reslist-popular {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-primary);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.reslist-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.reslist-card-icon svg {
  width: 22px;
  height: 22px;
}

.reslist-card h3 {
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  color: var(--gray-900);
  padding-right: 1.5rem;
}

.reslist-card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.reslist-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

.reslist-more:hover {
  text-decoration: underline;
}

/* 搜索命中高亮 */
.search-highlight {
  background: #FDE68A;
  border-radius: 3px;
  padding: 0 2px;
  color: inherit;
}

/* 空结果 */
.reslist-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-500);
  font-size: 1rem;
}

/* 分页 */
.reslist-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.reslist-pagination[hidden] {
  display: none;
}

.reslist-pagination button {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--gray-700);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.reslist-pagination button:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.reslist-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.reslist-pagination .page-indicator {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding: 0 0.35rem;
}

.reslist-jump {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
}

.reslist-jump input {
  width: 64px;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  outline: none;
}

.reslist-jump input:focus {
  border-color: var(--primary);
}

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

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

  .reslist-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .reslist-search {
    max-width: none;
  }
}
.cli-output {
  background: #1E293B;
  color: #E2E8F0;
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
  white-space: pre;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  margin: 1rem 0 1.5rem;
}

/* ---------- Store pages ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.9rem;
}
.store-badge svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--primary);
}
.store-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem;
  background: var(--gray-50, #F8FAFC);
  border: 1px solid var(--gray-100, #E2E8F0);
  border-radius: 999px;
}
.store-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.3rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--gray-700, #334155);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: all var(--transition-base);
}
.store-tabs a:hover {
  background: #F0FDF4;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(16, 124, 16, 0.15);
  transform: translateY(-1px);
}
.store-tabs a.active {
  background: linear-gradient(135deg, #15803D, #107C10);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(16, 124, 16, 0.28);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .store-tabs {
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 1.25rem;
  }
  .store-tabs a {
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
  }
}
.store-grid {
  display: grid;
  gap: 1.5rem;
}
.store-grid.cols-1 {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.store-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.store-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .store-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .store-grid.cols-1,
  .store-grid.cols-2,
  .store-grid.cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.store-card {
  cursor: default;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.25rem;
}
.store-card .product-card-icon {
  background: none;
}
.store-card .product-card-icon svg {
  width: 62px;
  height: 62px;
}
.store-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.store-card .store-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.55;
}
.store-learn {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--primary);
}
.store-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 1rem 0 0.35rem;
  min-height: 2.2rem;
}
.store-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.store-price del {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-left: 0.3rem;
}
.store-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 11px;
  line-height: 1;
  cursor: help;
  flex: none;
}
.store-license {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0.25rem 0;
}
.store-warn {
  font-size: 0.78rem;
  color: #B45309;
  background: #FFFBEB;
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  margin: 0.5rem 0 0;
  line-height: 1.45;
}
.store-lifetime {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0.5rem 0 1rem;
}
.store-card .store-buy {
  margin-top: auto;
  align-self: center;
  min-width: 210px;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 22px rgba(91, 95, 217, 0.28);
}
.store-card .store-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(91, 95, 217, 0.38);
}
.store-note {
  max-width: 860px;
  margin: 1.75rem auto 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border-left: 3px solid var(--primary);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  line-height: 1.6;
}
.store-note.warn {
  color: #92400E;
  background: #FFFBEB;
  border-left-color: #F59E0B;
}
.store-section-desc {
  font-size: 1rem;
  line-height: 1.6;
}
section[id] {
  scroll-margin-top: 100px;
}

/* ---------- Company / legal pages: side navigation ---------- */
.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}
.policy-side {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
}
.policy-side-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 1rem 1.25rem;
}
.policy-side-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  flex: none;
}
.policy-side ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
}
.policy-side li + li {
  margin-top: 2px;
}
.policy-side a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--gray-600);
  font-size: 0.93rem;
  line-height: 1.45;
  transition: color var(--transition-base), background var(--transition-base);
}
.policy-side a::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0.3;
  flex: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.policy-side a:hover {
  color: var(--primary);
  background: var(--gray-50);
}
.policy-side a:hover::before {
  opacity: 0.7;
}
.policy-side a.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(91, 95, 217, 0.09);
}
.policy-side a.active::before {
  opacity: 1;
  transform: rotate(-45deg) translate(1px, -2px);
}
.policy-content h2 {
  font-size: 1.5rem;
  line-height: 1.35;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--gray-100);
}
.policy-content h2:first-child {
  margin-top: 0;
}
.policy-content h3 {
  font-size: 1.14rem;
  line-height: 1.4;
  color: var(--primary);
  margin: 1.9rem 0 0.6rem;
}
.policy-content h4 {
  font-size: 1rem;
  margin: 1.4rem 0 0.5rem;
}
.policy-content p {
  margin: 0.8rem 0;
  color: var(--gray-700);
}
.policy-content .policy-updated {
  margin-top: -0.25rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}
.policy-content .policy-list {
  margin: 0.6rem 0 1.1rem;
  padding-left: 1.4rem;
  color: var(--gray-700);
}
.policy-content ul.policy-list {
  list-style: disc;
}
.policy-content ol.policy-list {
  list-style: decimal;
}
.policy-content .policy-list li {
  margin: 0.35rem 0;
  line-height: 1.75;
}
.policy-content .policy-list li::marker {
  color: var(--primary);
}
.policy-content strong {
  color: var(--dark);
}
@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .policy-side {
    position: static;
  }
  .policy-side ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .policy-side li + li {
    margin-top: 0;
  }
  .policy-side a {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--gray-200);
    font-size: 0.88rem;
  }
  .policy-side a::before {
    display: none;
  }
  .policy-side a.active {
    border-color: var(--primary);
  }
}

/* ============================================
 * Site search: inline header panel + search.html
 * ============================================ */
.search-inline {
  display: none;
  padding: 0.75rem 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  box-shadow: inset 0 -1px 0 var(--gray-100);
}

.search-inline.is-open {
  display: block;
}

.search-inline .search-form {
  max-width: none;
  margin: 0;
}

.search-inline-close {
  flex: 0 0 auto;
  width: 42px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--gray-500);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.search-inline-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.search-form {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
  max-width: 720px;
  margin: 0 auto;
}

.search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--gray-900);
  outline: none;
  background: #fff;
}

.search-form input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 95, 217, 0.12);
}

.search-form button {
  flex: 0 0 auto;
}

.search-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--gray-50), #fff);
}

.search-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.search-hero p {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}

.search-results {
  max-width: 900px;
  min-height: 240px;
  margin: 0 auto;
}

#cseResults {
  min-height: 120px;
}

#cseResults .gsc-control-cse {
  padding: 0;
  border: 0;
  background: transparent;
}

#cseResults .gsc-webResult.gsc-result {
  border-color: var(--gray-200);
}

#cseResults .gs-title,
#cseResults .gs-title b {
  color: var(--primary);
}

.search-status {
  margin: 0 0 1rem;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.search-hint {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 640px) {
  .search-form {
    flex-direction: column;
  }

  .search-form button {
    width: 100%;
  }

  .search-inline {
    padding: 0.6rem 0;
  }

  .search-inline .search-form {
    flex-direction: row;
  }

  .search-inline .search-form button[type="submit"] {
    width: auto;
  }

  .search-hero {
    padding-top: 2.5rem;
  }
}

/* ---------- Software activation forms ---------- */
.activation-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.activation-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.activation-form label {
  font-weight: 600;
  color: var(--gray-700, #334155);
}
.activation-form input[type="text"],
.activation-form input[type="password"],
.activation-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200, #E2E8F0);
  border-radius: var(--radius-md, 8px);
  background: #fff;
  color: var(--gray-800, #1E293B);
  font: inherit;
}
.activation-form input[type="text"]:focus,
.activation-form input[type="password"]:focus,
.activation-form textarea:focus {
  outline: none;
  border-color: var(--primary, #107C10);
  box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.12);
}
.activation-form textarea {
  min-height: 260px;
  resize: vertical;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}
.activation-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-700, #334155);
}
.activation-form .form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.activation-form .form-msg {
  color: var(--gray-600, #475569);
  line-height: 1.6;
  font-size: 0.92rem;
}
.activation-form .form-msg.error {
  color: #B91C1C;
}


/* ---------- Cookie consent banner (Consent Mode v2) ---------- */
.consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  padding: 0.45rem clamp(1rem, 3vw, 1.75rem);
  background: rgba(15, 23, 42, 0.97);
  color: #e2e8f0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.25);
  font-size: 0.8rem;
  line-height: 1.35;
  animation: consent-rise 0.28s ease-out;
}
.consent-banner__text {
  flex: 0 1 auto;
  max-width: 700px;
}
.consent-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}
.consent-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}
.consent-banner button {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.consent-banner__reject {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.35);
}
.consent-banner__reject:hover {
  border-color: #fff;
  color: #fff;
}
.consent-banner__accept {
  background: var(--primary);
  color: #fff;
}
.consent-banner__accept:hover {
  filter: brightness(1.08);
}
.consent-banner button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
/* Keep page content (incl. the footer copyright) above the fixed banner. */
body.consent-open {
  padding-bottom: var(--consent-offset, 0px);
}
body.consent-open .back-to-top {
  bottom: calc(1.75rem + var(--consent-offset, 0px));
}
@keyframes consent-rise {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (max-width: 640px) {
  .consent-banner {
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    text-align: center;
  }
  .consent-banner__text {
    max-width: 100%;
  }
  .consent-banner__actions {
    justify-content: center;
  }
}
