/* ============================================
   牢尘lc星闪工作室 - 官网样式 v2
   现代简约 · 蓝色主题 · 流畅交互
   ============================================ */

/* ── CSS 变量 ── */
:root {
  /* 主色 */
  --primary: #2563eb;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;

  /* 中性色 */
  --white: #ffffff;
  --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;

  /* 语义变量 */
  --bg: var(--gray-50);
  --bg-soft: var(--gray-100);
  --bg-card: var(--white);
  --text: var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --border: var(--gray-200);
  --border-light: var(--gray-100);

  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f7cff 50%, #7c9bff 100%);
  --gradient-hero: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #4f7cff 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
  --gradient-soft: linear-gradient(180deg, var(--gray-50) 0%, var(--primary-50) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);

  /* 阴影系统 */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.08);
  --shadow-primary: 0 8px 30px rgba(37, 99, 235, 0.25);
  --shadow-inner: inset 0 2px 4px rgba(15, 23, 42, 0.04);

  /* 圆角 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* 布局 */
  --max-width: 1160px;
  --nav-height: 68px;
}

/* ── 深色主题 ── */
[data-theme="dark"] {
  --bg: var(--gray-900);
  --bg-soft: var(--gray-800);
  --bg-card: var(--gray-800);
  --text: var(--gray-100);
  --text-secondary: var(--gray-300);
  --text-muted: var(--gray-500);
  --border: var(--gray-700);
  --border-light: var(--gray-800);

  --gradient-soft: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 8px 30px rgba(59, 130, 246, 0.3);
}

/* ── 全局过渡 ── */
body,
.navbar,
.nav-links,
.feature-card,
.product-card,
.contact-info-card,
.social-link,
.contact-tip,
.cta-box,
.footer,
.hero,
.about-hero,
.section-soft,
.code-block,
.product-detail,
.btn,
.avatar-circle,
.partner-card {
  transition:
    background-color var(--duration-normal) var(--ease-default),
    color var(--duration-normal) var(--ease-default),
    border-color var(--duration-normal) var(--ease-default),
    box-shadow var(--duration-normal) var(--ease-default),
    transform var(--duration-normal) var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: 0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--primary-500);
  color: white;
}

/* ── 滚动条 ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--gray-600); }

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
a:hover { color: var(--primary-700); }

img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── 容器 ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ══════════════════════════════════════
   导航栏
   ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    background var(--duration-normal) ease,
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.94);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none !important;
  transition: opacity var(--duration-fast) ease;
}
.nav-logo:hover { opacity: 0.85; }

.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  color: #fff;
  box-shadow: var(--shadow-primary);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-spring);
}
.nav-logo:hover .logo-icon { transform: rotate(-6deg) scale(1.04); }

.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.nav-logo .logo-text .name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-logo .logo-text .sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* 导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  transition:
    color var(--duration-fast) ease,
    background var(--duration-fast) ease;
}

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

.nav-links a.active {
  color: var(--primary-600);
  background: var(--primary-50);
  font-weight: 600;
}

.nav-links a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 链接下划线动画 */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5.5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 9px;
  margin-left: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.5);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* 导航操作区 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

/* 主题切换按钮 */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-normal) var(--ease-spring);
}
.theme-toggle:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  border-color: var(--primary-200);
  transform: rotate(20deg) scale(1.05);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ══════════════════════════════════════
   通用区块
   ══════════════════════════════════════ */
.section {
  padding: 108px 0;
}
.section-soft {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 68px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  border: 1px solid var(--primary-100);
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   按钮
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 620;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) ease,
    background var(--duration-normal) ease,
    color var(--duration-normal) ease;
  user-select: none;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-18deg);
  transition: left var(--duration-slow) ease;
}
.btn:hover::after { left: 150%; }

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

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--primary-600);
  border: 1.8px solid var(--primary-200);
}
.btn-outline:hover {
  background: var(--primary-600);
  color: #fff;
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.25);
}

.btn-ghost {
  background: var(--gray-100);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  border-color: var(--primary-200);
}

.btn-lg { padding: 15px 34px; font-size: 15px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ══════════════════════════════════════
   Hero 区域
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  background: var(--gradient-soft);
}

/* Hero 背景 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  animation: heroFloat 10s ease-in-out infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.07) 0%, transparent 65%);
  animation: heroFloat 14s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.02); }
  66% { transform: translate(-15px, 15px) scale(0.98); }
}

/* 网格背景 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 45%, black 20%, transparent 70%);
}

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

/* 左侧文字 */
.hero-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero-text .badge .dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: dotPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.35); }
}

.hero-text h1 {
  font-size: clamp(42px, 5.5vw, 58px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-text h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 统计数据 */
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.hero-stat .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-600);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.hero-stat .label {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* 右侧视觉卡片 */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  transform-style: preserve-3d;
  transition: transform var(--duration-slow) var(--ease-out);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  background: var(--gradient-primary);
  border-radius: calc(var(--radius-xl) + 1px);
  z-index: -1;
  opacity: 0.4;
  filter: blur(24px);
}

.hero-card:hover {
  transform: translateY(-6px) rotateX(0.5deg) rotateY(-0.5deg);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.hero-card-header .dots {
  display: flex;
  gap: 7px;
}
.hero-card-header .dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.hero-card-header .dots span:nth-child(1) { background: #ff5f57; }
.hero-card-header .dots span:nth-child(2) { background: #febc2e; }
.hero-card-header .dots span:nth-child(3) { background: #28c840; }

.hero-card-header .title {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 550;
  letter-spacing: 0.01em;
}

/* 代码块 */
.code-block {
  background: var(--gray-900);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 13px;
  line-height: 1.85;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.code-block .line { display: block; }
.code-block .kw { color: #c084fc; }
.code-block .fn { color: #60a5fa; }
.code-block .str { color: #34d399; }
.code-block .com { color: #4b5563; }
.code-block .num { color: #fbbf24; }
.code-block .var { color: #f472b6; }

/* 浮动图标 */
.floating-icon {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  border: 1px solid var(--border-light);
  animation: iconFloat 5s ease-in-out infinite;
}

.floating-icon.icon-1 {
  top: -18px;
  right: 16px;
  animation-delay: 0s;
}
.floating-icon.icon-2 {
  bottom: -18px;
  left: -16px;
  animation-delay: 1.5s;
}
.floating-icon.icon-3 {
  top: 50%;
  right: -28px;
  animation-delay: 3s;
}

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

/* ══════════════════════════════════════
   特性卡片
   ══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

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

.feature-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  color: var(--primary-600);
  margin-bottom: 22px;
  transition: transform var(--duration-slow) var(--ease-spring),
    background var(--duration-normal) ease, color var(--duration-normal) ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-6deg);
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ══════════════════════════════════════
   产品卡片
   ══════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.product-header {
  padding: 28px 28px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-icon-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.product-card:hover .product-icon-wrap {
  transform: scale(1.08) rotate(4deg);
}

.product-card:nth-child(1) .product-icon-wrap {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}
.product-card:nth-child(2) .product-icon-wrap {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
}
.product-card:nth-child(3) .product-icon-wrap {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #db2777;
}
.product-card:nth-child(4) .product-icon-wrap {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.product-tag {
  display: inline-block;
  padding: 5px 13px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 650;
  border: 1px solid var(--primary-100);
}

.product-body {
  padding: 20px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 21px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-meta svg { width: 14px; height: 14px; }

.product-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.product-detail {
  display: none;
  margin-top: 18px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  border: 1px solid var(--border);
}

.product-detail.expanded {
  display: block;
  animation: fadeSlideIn 0.35s var(--ease-out);
}

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

.product-detail h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 8px;
}
.product-detail h4:first-child { margin-top: 0; }

.product-detail ul { list-style: none; padding: 0; }
.product-detail ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 5px;
}
.product-detail ul li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: 700;
  font-size: 14px;
}

.product-detail code {
  display: block;
  background: var(--gray-900);
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 12.5px;
  margin: 10px 0;
  overflow-x: auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   关于我们
   ══════════════════════════════════════ */
.about-hero {
  padding: 140px 0 90px;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-avatar { text-align: center; }

.avatar-circle {
  width: 220px;
  height: 220px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 72px;
  font-weight: 900;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px dashed var(--primary-300);
  border-radius: 50%;
  animation: avatarSpin 24s linear infinite;
}

@keyframes avatarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-avatar .name {
  font-size: 27px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.about-avatar .tagline {
  font-size: 15.5px;
  color: var(--primary-600);
  font-weight: 600;
  font-style: italic;
}

.about-info h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about-info .subtitle {
  font-size: 15.5px;
  color: var(--primary-600);
  font-weight: 650;
  margin-bottom: 26px;
}

.about-info p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-quote {
  padding: 24px 28px;
  background: var(--bg-card);
  border-left: 4px solid var(--primary-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 26px 0;
  font-size: 17px;
  font-weight: 650;
  color: var(--text);
  font-style: italic;
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
}

/* 社交链接 */
.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none !important;
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease,
    color var(--duration-fast) ease;
}

.social-link:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
  color: var(--primary-600);
}

.social-link .si {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-600);
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-spring),
    background var(--duration-normal) ease, color var(--duration-normal) ease;
}

.social-link:hover .si {
  transform: scale(1.1) rotate(-6deg);
  background: var(--gradient-primary);
  color: #fff;
}

.social-link .st { display: flex; flex-direction: column; }
.social-link .st .label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.social-link .st .value {
  font-size: 15px;
  font-weight: 650;
  color: inherit;
}

/* 联系信息卡片（关于页） */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none !important;
  color: var(--text);
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.contact-info-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.contact-info-card:hover .ci-icon {
  transform: scale(1.1);
}

.contact-info-card .ci-content .label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 550;
}

.contact-info-card .ci-content .value {
  font-size: 15.5px;
  font-weight: 650;
  color: var(--text);
  word-break: break-all;
}

.contact-info-card .ci-content .value a {
  color: var(--text);
  text-decoration: none !important;
}
.contact-info-card .ci-content .value a:hover {
  color: var(--primary-600);
}

/* ══════════════════════════════════════
   CTA 区域
   ══════════════════════════════════════ */
.cta-section { padding: 88px 0; }

.cta-box {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: 68px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 65%);
}

.cta-box > * { position: relative; }

.cta-box h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-box p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 34px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--primary-700);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cta-box .btn-primary:hover {
  background: var(--gray-50);
  color: var(--primary-800);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* ══════════════════════════════════════
   联系我们页面（居中卡片布局）
   ══════════════════════════════════════ */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}

.contact-cta-card {
  background: var(--gradient-primary);
  border-color: transparent;
}
.contact-cta-card .ci-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.contact-cta-card .ci-content .label {
  color: rgba(255, 255, 255, 0.7);
}
.contact-cta-card .ci-content .value {
  color: #fff;
}
.contact-cta-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
}

.contact-tip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1020px;
  margin: 34px auto 0;
  padding: 24px 28px;
  background: var(--gradient-soft);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-500);
}

.contact-tip .tip-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--primary-600);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-tip .tip-content strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 5px;
  font-weight: 700;
}

.contact-tip .tip-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ══════════════════════════════════════
   合作项目卡片
   ══════════════════════════════════════ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--duration-slow) var(--ease-out),
    box-shadow var(--duration-slow) ease,
    border-color var(--duration-normal) ease;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.partner-banner {
  height: 5px;
  background: var(--gradient-primary);
}
.partner-card:nth-child(2) .partner-banner {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 50%, #fb923c 100%);
}
.partner-card:nth-child(3) .partner-banner {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.partner-content {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.partner-icon-large {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  margin-bottom: 20px;
  transition: transform var(--duration-slow) var(--ease-spring),
    background var(--duration-normal) ease, color var(--duration-normal) ease;
}

.partner-card:nth-child(2) .partner-icon-large {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #db2777;
}
.partner-card:nth-child(3) .partner-icon-large {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
}

.partner-card:hover .partner-icon-large {
  transform: scale(1.1) rotate(-5deg);
}

.partner-card:nth-child(1):hover .partner-icon-large {
  background: var(--gradient-primary);
  color: #fff;
}
.partner-card:nth-child(2):hover .partner-icon-large {
  background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  color: #fff;
}
.partner-card:nth-child(3):hover .partner-icon-large {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
}

.partner-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 12px;
}
.partner-status.active {
  background: #d1fae5;
  color: #065f46;
}
.partner-status.beta {
  background: #fef3c7;
  color: #92400e;
}
.partner-status.open {
  background: var(--primary-50);
  color: var(--primary-700);
}

.partner-name {
  font-size: 23px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.partner-tagline {
  font-size: 14px;
  color: var(--primary-600);
  font-weight: 650;
  margin-bottom: 14px;
}

.partner-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}

.partner-info-box {
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  border: 1px solid var(--border);
}

.partner-info-box strong {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 700;
}

.partner-info-box ul { list-style: none; padding: 0; }
.partner-info-box ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}
.partner-info-box ul li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: 700;
}

.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.partner-tag {
  padding: 5px 13px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 550;
  transition: border-color var(--duration-fast) ease,
    color var(--duration-fast) ease;
}
.partner-tag:hover {
  border-color: var(--primary-300);
  color: var(--primary-600);
}

.partner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

/* 合作项目 CTA */
.partner-cta {
  background: var(--gradient-soft);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  margin-top: 52px;
  border: 1px solid var(--border);
}

.partner-cta h3 {
  font-size: 23px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 10px;
}

.partner-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 26px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   页脚
   ══════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand .nav-logo .logo-text .sub {
  color: var(--gray-500);
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 750;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--primary-400);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-400);
  transition: transform var(--duration-slow) var(--ease-spring),
    background var(--duration-normal) ease,
    color var(--duration-normal) ease;
}
.footer-social a:hover {
  background: var(--primary-600);
  color: #fff;
  transform: translateY(-4px) scale(1.08);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-400);
}
.footer-bottom a:hover {
  color: var(--primary-400);
}

/* ══════════════════════════════════════
   动画系统
   ══════════════════════════════════════ */

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 网格交错入场 */
.features-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.features-grid .reveal:nth-child(2) { --reveal-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { --reveal-delay: 0.2s; }

.products-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.products-grid .reveal:nth-child(2) { --reveal-delay: 0.1s; }
.products-grid .reveal:nth-child(3) { --reveal-delay: 0.2s; }
.products-grid .reveal:nth-child(4) { --reveal-delay: 0.3s; }

.contact-cards-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.contact-cards-grid .reveal:nth-child(2) { --reveal-delay: 0.07s; }
.contact-cards-grid .reveal:nth-child(3) { --reveal-delay: 0.14s; }
.contact-cards-grid .reveal:nth-child(4) { --reveal-delay: 0.21s; }
.contact-cards-grid .reveal:nth-child(5) { --reveal-delay: 0.28s; }
.contact-cards-grid .reveal:nth-child(6) { --reveal-delay: 0.35s; }

.social-links .reveal:nth-child(1) { --reveal-delay: 0s; }
.social-links .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.social-links .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.social-links .reveal:nth-child(4) { --reveal-delay: 0.24s; }

.contact-info-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.contact-info-grid .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.contact-info-grid .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.contact-info-grid .reveal:nth-child(4) { --reveal-delay: 0.24s; }

.partners-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.partners-grid .reveal:nth-child(2) { --reveal-delay: 0.12s; }
.partners-grid .reveal:nth-child(3) { --reveal-delay: 0.24s; }

/* 页面入场 */
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

body { animation: pageEnter 0.45s var(--ease-out); }

/* ══════════════════════════════════════
   工具下载页 (Qiancheng Tools)
   ══════════════════════════════════════ */
.tool-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
  background: var(--gradient-soft);
}

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

.tool-hero .hero-bg::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  animation: heroFloat 12s ease-in-out infinite;
}

.tool-hero .hero-bg::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.06) 0%, transparent 65%);
  animation: heroFloat 16s ease-in-out infinite reverse;
}

.tool-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.tool-hero-info .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-600);
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.tool-hero-info .badge .dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: dotPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.tool-hero-info h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.tool-hero-info h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tool-hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.tool-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}

.tool-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 550;
}

.tool-meta-item svg {
  color: var(--primary-500);
  flex-shrink: 0;
}

.tool-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 预览图展示 */
.tool-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tool-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) ease,
    border-color var(--duration-normal) ease;
}

.tool-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-200);
}

.tool-preview-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.tool-preview-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.tool-preview-card:hover .tool-preview-img-wrap img {
  transform: scale(1.03);
}

.tool-preview-caption {
  padding: 22px 24px;
}

.tool-preview-caption h3 {
  font-size: 17px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.tool-preview-caption p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 系统要求 */
.tool-sysreq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}

.tool-sysreq-left .section-tag { margin-bottom: 16px; }

.tool-sysreq-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.tool-sysreq-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.tool-sysreq-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tool-sysreq-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tool-sysreq-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-spring);
}

.tool-sysreq-item:hover .tool-sysreq-icon {
  transform: scale(1.1);
}

.tool-sysreq-item .label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-weight: 550;
}

.tool-sysreq-item .value {
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

/* 工具页响应式 */
@media (max-width: 768px) {
  .tool-hero { min-height: auto; padding: 110px 0 60px; }
  .tool-hero-info h1 { font-size: 34px; }
  .tool-hero-desc { font-size: 15.5px; }
  .tool-hero-meta { gap: 12px; }
  .tool-meta-item { font-size: 13px; }
  .tool-hero-actions { flex-direction: column; }
  .tool-hero-actions .btn { width: 100%; justify-content: center; }

  .tool-preview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tool-sysreq {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
  }

  .tool-sysreq-right {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ══════════════════════════════════════
   尊重用户动效偏好
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════
   响应式设计
   ══════════════════════════════════════ */

/* 平板 */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual { order: -1; }
  .hero-text h1 { font-size: 40px; }
  .hero-stats { gap: 32px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

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

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

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

  .section { padding: 84px 0; }
  .section-header { margin-bottom: 54px; }
}

/* 手机 */
@media (max-width: 768px) {
  :root { --nav-height: 62px; }

  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 14px;
    gap: 2px;
    box-shadow: var(--shadow-xl);
    transform: translateY(calc(-100% - var(--nav-height)));
    transition: transform var(--duration-slow) var(--ease-out);
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    z-index: 1099;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
  }

  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero-text h1 { font-size: 34px; }
  .hero-text p { font-size: 15.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats {
    flex-direction: row;
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
  }
  .hero-stat .num { font-size: 26px; }

  .hero-card { max-width: 100%; padding: 22px; }
  .floating-icon { display: none; }

  .section { padding: 72px 0; }
  .section-title { font-size: 28px; }
  .section-tag { font-size: 12px; padding: 5px 14px; }

  .features-grid { gap: 16px; }
  .feature-card { padding: 28px 22px; }

  .products-grid { gap: 16px; }
  .product-header { padding: 22px 22px 0; }
  .product-body { padding: 18px 22px 24px; }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .social-links { grid-template-columns: 1fr; }

  .about-avatar .name { font-size: 24px; }

  .avatar-circle { width: 170px; height: 170px; }

  .partners-grid { gap: 18px; }

  .cta-box { padding: 44px 24px; }
  .cta-box h2 { font-size: 24px; }

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

  .footer { padding: 52px 0 24px; }
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-social { justify-content: center; }
  .footer-col { text-align: center; }
}

/* 小屏手机 */
@media (max-width: 400px) {
  .hero-text h1 { font-size: 30px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .label { font-size: 12px; }
  .section-title { font-size: 25px; }
}
