@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* === LIGHT (default) === */
:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --surface: rgba(0, 0, 0, 0.015);
  --surface-2: rgba(0, 0, 0, 0.035);
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.18);
  --ink: #000000;
  --ink-2: #525252;
  --ink-3: #737373;
  --ink-4: #a3a3a3;
  --invert-fg: #ffffff;
  --invert-bg: #000000;

  --accent-blue: #0070f3;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-green: #16a34a;
  --spotlight: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139, 92, 246, 0.12) 0%, rgba(0, 112, 243, 0.07) 50%, transparent 78%);
  --grad-text: linear-gradient(180deg, #000 0%, #888 100%);
  --grad-hero: linear-gradient(135deg, #000 0%, #6366f1 60%, #888 100%);
  --grad-num: linear-gradient(135deg, #000 0%, #4f46e5 100%);
  --grad-brand: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --glow-conic: conic-gradient(from var(--angle), transparent 0deg, rgba(0,0,0,0.35) 90deg, transparent 180deg);
  --grid-dot: rgba(0, 0, 0, 0.06);

  --max: 1200px;
  --radius: 10px;
  --radius-sm: 6px;

  /* HUD 色板（light 默认） */
  --hud-bg-1: #fafafa;
  --hud-bg-2: #f1f2f5;
  --hud-orb-1: rgba(99, 102, 241, 0.18);
  --hud-orb-2: rgba(236, 72, 153, 0.12);
  --hud-orb-3: rgba(34, 211, 238, 0.08);
  --hud-dot: rgba(0, 0, 0, 0.05);
  --hud-text: rgba(0, 0, 0, 0.82);
  --hud-text-mute: rgba(0, 0, 0, 0.55);
  --hud-text-dim: rgba(0, 0, 0, 0.4);
  --hud-text-faint: rgba(0, 0, 0, 0.28);
  --hud-divider: rgba(0, 0, 0, 0.07);
  --hud-divider-soft: rgba(0, 0, 0, 0.05);
  --hud-row-bg: rgba(0, 0, 0, 0.025);
  --hud-bar-bg: rgba(0, 0, 0, 0.03);
  --hud-bar-track: rgba(0, 0, 0, 0.08);
  --hud-kpi-grad: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
  --hud-kpi-small: #6366f1;
  --hud-mesh-line: rgba(99, 102, 241, 0.4);
  --hud-chip-bg: rgba(0, 0, 0, 0.04);
  --hud-chip-fg: rgba(0, 0, 0, 0.5);
  --hud-chip-border: rgba(0, 0, 0, 0.08);
  --hud-chip-active-bg: rgba(99, 102, 241, 0.12);
  --hud-chip-active-fg: #4f46e5;
  --hud-chip-active-border: rgba(99, 102, 241, 0.32);
}

/* === DARK === */
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.02);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.18);
  --ink: #ededed;
  --ink-2: #a1a1a1;
  --ink-3: #707070;
  --ink-4: #454545;
  --invert-fg: #000000;
  --invert-bg: #ffffff;

  --accent-green: #50e3c2;
  --spotlight: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139, 92, 246, 0.22) 0%, rgba(0, 112, 243, 0.14) 50%, transparent 78%);
  --grad-text: linear-gradient(180deg, #fff 0%, #6b6b6b 100%);
  --grad-hero: linear-gradient(135deg, #fff 0%, #a5b4fc 60%, #6b6b6b 100%);
  --grad-num: linear-gradient(135deg, #fff 0%, #67e8f9 100%);
  --grad-brand: linear-gradient(135deg, #67e8f9 0%, #a78bfa 50%, #f0abfc 100%);
  --glow-conic: conic-gradient(from var(--angle), transparent 0deg, rgba(255,255,255,0.55) 90deg, transparent 180deg);
  --grid-dot: rgba(255, 255, 255, 0.05);

  /* HUD 色板（dark 覆盖） */
  --hud-bg-1: #0a0e1a;
  --hud-bg-2: #0c1120;
  --hud-orb-1: rgba(99, 102, 241, 0.32);
  --hud-orb-2: rgba(236, 72, 153, 0.22);
  --hud-orb-3: rgba(34, 211, 238, 0.08);
  --hud-dot: rgba(255, 255, 255, 0.045);
  --hud-text: #cbd5e1;
  --hud-text-mute: rgba(255, 255, 255, 0.78);
  --hud-text-dim: rgba(255, 255, 255, 0.4);
  --hud-text-faint: rgba(255, 255, 255, 0.28);
  --hud-divider: rgba(255, 255, 255, 0.06);
  --hud-divider-soft: rgba(255, 255, 255, 0.05);
  --hud-row-bg: rgba(255, 255, 255, 0.015);
  --hud-bar-bg: rgba(0, 0, 0, 0.2);
  --hud-bar-track: rgba(255, 255, 255, 0.06);
  --hud-kpi-grad: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  --hud-kpi-small: #a5b4fc;
  --hud-mesh-line: rgba(129, 140, 248, 0.5);
  --hud-chip-bg: rgba(255, 255, 255, 0.03);
  --hud-chip-fg: rgba(255, 255, 255, 0.35);
  --hud-chip-border: rgba(255, 255, 255, 0.05);
  --hud-chip-active-bg: rgba(129, 140, 248, 0.12);
  --hud-chip-active-fg: #a5b4fc;
  --hud-chip-active-border: rgba(129, 140, 248, 0.35);
}

html, body, .card, .btn, .contact-link, .nav-cta, nav, .about-card {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

/* === 自定义光标：极简竖版指针，平滑跟随 + hover 可点击反馈 === */
@media (pointer: fine) and (min-width: 761px) {
  html { cursor: none; }
  /* 文本输入保留系统 caret 以保证可用性 */
  input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  [contenteditable="true"] {
    cursor: text;
  }
}
/* 双层圆形光标：内点（fast follow） + 外环（slow trail，磁性感） */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.22s ease;
  will-change: transform;
}
.cursor-dot.is-visible  { opacity: 1; }
.cursor-ring.is-visible { opacity: 0.42; }
.cursor-dot.is-hidden,
.cursor-ring.is-hidden  { opacity: 0; }

.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--ink);
  /* 0.5px 反差描边，任何背景上都可见 */
  box-shadow: 0 0 0 0.5px color-mix(in srgb, var(--bg) 65%, transparent);
  transition:
    width 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s,
    background 0.22s;
}

.cursor-ring {
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  transition:
    width 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    margin 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s,
    background 0.22s,
    border-color 0.22s;
}

/* hover 可点击元素：外环膨胀 + 填充半透 + 内点缩小 */
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  background: var(--ink);
  border-color: transparent;
  opacity: 0.18;
}
.cursor-dot.is-hover {
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  opacity: 0.75;
}

/* mousedown 反馈：内点收缩、外环透明度脉冲 */
.cursor-dot.is-down {
  width: 3px; height: 3px;
  margin: -1.5px 0 0 -1.5px;
}
.cursor-ring.is-down {
  opacity: 0.7;
}

/* 触屏 / 粗指针设备隐藏 */
@media (max-width: 760px), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* === BACKGROUND === */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.bg-spotlight {
  position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1400px; height: 700px;
  background: var(--spotlight);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
  animation: spotlight-breathe 8s ease-in-out infinite;
}
@keyframes spotlight-breathe {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.08); }
}

/* === Hero 浮动光球（蓝紫 + 粉，缓慢漂浮，营造氛围） === */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  will-change: transform;
}
:root[data-theme="dark"] .hero-orb { opacity: 0.32; }
.hero-orb-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: 6%; left: -4%;
  animation: float-orb-1 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: 18%; right: -2%;
  animation: float-orb-2 16s ease-in-out infinite 2s;
}
@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 50px) scale(0.95); }
}
@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-50px, 40px) scale(0.92); }
  66%      { transform: translate(40px, -30px) scale(1.06); }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* === NAV：三段式顶级导航（品牌 | 居中胶囊章节 | 右侧操作） === */
nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

/* 顶端 dark 主题下（hero 深色背景上）：白文字 + 暗色玻璃胶囊 */
:root[data-theme="dark"] nav:not(.scrolled) .brand { color: #fff; }
:root[data-theme="dark"] nav:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.62); }
:root[data-theme="dark"] nav:not(.scrolled) .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] nav:not(.scrolled) .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
:root[data-theme="dark"] nav:not(.scrolled) .nav-center {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] nav:not(.scrolled) .nav-icon { color: rgba(255, 255, 255, 0.7); }
:root[data-theme="dark"] nav:not(.scrolled) .nav-icon:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
:root[data-theme="dark"] nav:not(.scrolled) .nav-actions {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] nav:not(.scrolled) .nav-actions::before { background: rgba(255, 255, 255, 0.1); }
:root[data-theme="dark"] nav:not(.scrolled) .lang-toggle,
:root[data-theme="dark"] nav:not(.scrolled) .theme-toggle { color: rgba(255, 255, 255, 0.7); }
:root[data-theme="dark"] nav:not(.scrolled) .lang-toggle:hover,
:root[data-theme="dark"] nav:not(.scrolled) .theme-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* 两个 PNG logo：light 默认显示彩色，dark 显示白色（按主题切换，与滚动无关） */
.brand-mark { position: relative; }
.brand-img {
  width: 26px; height: 26px;
  display: block;
  transition: opacity 0.3s;
}
.brand-img-white { display: none; }
:root[data-theme="dark"] .brand-img-white { display: block; }
:root[data-theme="dark"] .brand-img-color { display: none; }
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 32px;
  max-width: var(--max);
  margin: 0 auto;
  height: 64px;
}

/* 左：品牌 */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14.5px;
  color: var(--ink); text-decoration: none;
  letter-spacing: -0.005em;
  justify-self: start;
  transition: opacity 0.18s;
}
.brand:hover { opacity: 0.78; }
.brand-mark {
  position: relative;
  width: 26px; height: 26px;
  display: block;
  flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; display: block; }
.brand-name { line-height: 1; }

/* 中：胶囊章节导航 */
.nav-center {
  display: inline-flex; align-items: center;
  gap: 2px; padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  justify-self: center;
}
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.active {
  color: var(--ink);
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 0 0 1px var(--border);
}
:root[data-theme="dark"] .nav-link.active {
  background: var(--surface-2);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3), inset 0 0 0 1px var(--border-2);
}

/* 右：外链组 + 工具组的整体容器 */
.nav-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.nav-extra {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.nav-icon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  font-size: 12.5px; font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
  line-height: 1;
}
.nav-icon svg { width: 14px; height: 14px; display: block; }
.nav-icon:hover { color: var(--ink); background: var(--surface); }
@media (max-width: 920px) {
  .nav-icon span { display: none; }
  .nav-icon { padding: 6px 8px; }
  .nav-icon svg { width: 16px; height: 16px; }
}

/* 右：工具组（语言切换 + 主题切换，胶囊容器内 segmented control） */
.nav-actions {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  justify-self: end;
  gap: 0;
  position: relative;
}
/* 两个按钮之间的细分隔线（用伪元素，避免插额外 DOM） */
.nav-actions::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px;
  left: 50%;
  width: 1px;
  background: var(--border);
  pointer-events: none;
}
.nav-cta {
  padding: 7px 16px;
  background: var(--invert-bg);
  color: var(--invert-fg) !important;
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: opacity 0.15s, transform 0.15s;
  line-height: 1.2;
  text-decoration: none;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* 移动端：隐藏中部章节切换 + 分隔线 */
@media (max-width: 760px) {
  .nav-inner { grid-template-columns: 1fr auto; padding: 10px 20px; height: 56px; }
  .nav-center { display: none; }
  .nav-divider { display: none; }
  .nav-actions { gap: 8px; }
}

/* === HERO（极简 typography-led，5 个产品色光晕浮动） === */
.hero {
  min-height: 100vh;
  margin-top: -64px;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
nav:not(.scrolled) { background: transparent; }
.hero .bg-spotlight,
.hero .hero-orb { display: none; }
.hero-content,
.scroll-hint { position: relative; z-index: 2; }

/* 5 个产品色 floating blobs（背景艺术） */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
  will-change: transform;
  animation: blob-float 32s ease-in-out infinite;
}
:root[data-theme="dark"] .hero-blob { opacity: 0.26; filter: blur(140px); }
/* 仅两块：indigo 主调 + pink 辅调，统一冷色系 */
.hero-blob-a { width: 720px; height: 720px; background: #6366f1; top: -8%;  left: -4%;  animation-delay: 0s; }
.hero-blob-b { width: 620px; height: 620px; background: #ec4899; bottom: -10%; right: -4%; animation-delay: -16s; }
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(40px, -50px) scale(1.06); }
  50%      { transform: translate(-30px, 35px) scale(0.96); }
  75%      { transform: translate(25px, 25px) scale(1.03); }
}
/* 细微胶片颗粒（让光晕不显廉价） */
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
}
:root[data-theme="dark"] .hero-grain { opacity: 0.06; }

/* Content 居中布局 */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 720px;          /* 收紧阅读栏，告别"撒得太开" */
  width: 100%;
  text-align: center;
}
.hero-statement + .hero-desc { margin-top: -10px; }
.hero-desc + .hero-products  { margin-top: 14px; }
/* Magazine 风格 meta：mono caps + 两侧细横线 */
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-meta-rule {
  width: 36px; height: 1px;
  background: var(--border-2);
}
.hero-meta-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* H1 双行 weight 对比：line-1 thin + 二级灰（lead-in）；line-2 bold + 满黑（重锤） */
.hero-statement {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.hero-statement .ln-1 {
  font-weight: 400;
  color: var(--ink-2);
}
.hero-statement .ln-2 {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
}

/* 描述段：常规 body 字号 */
.hero-desc {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 28em;
  margin: 0;
}
/* 5 个产品 chip */
.hero-products {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}
.product-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.product-chip:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  background: var(--bg);
}
.chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
}
.chip-meta { color: var(--ink-3); font-size: 11.5px; letter-spacing: 0.02em; }

.hero-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* 滚动暗示 */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.scroll-hint:hover { opacity: 1; }
.scroll-hint .scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, transparent, var(--ink-3));
  position: relative;
  overflow: hidden;
}
.scroll-hint .scroll-line::after {
  content: '';
  position: absolute;
  top: -30%; left: 0;
  width: 100%; height: 60%;
  background: linear-gradient(180deg, transparent, var(--ink), transparent);
  animation: scroll-flow 2.2s ease-in-out infinite;
}
@keyframes scroll-flow {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

@media (max-width: 640px) {
  .hero { padding: 100px 20px 96px; }
  .hero-content { gap: 22px; }
  .product-chip { padding: 7px 13px 7px 10px; font-size: 12.5px; }
  .chip-meta { display: none; }
  .scroll-hint { bottom: 20px; }
  .hero-blob { filter: blur(70px); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 12px 6px 8px; border-radius: 100px;
  margin-bottom: 30px; backdrop-filter: blur(10px);
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 10px var(--accent-green); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.85); } }
.hero h1 { font-weight: 600; font-size: clamp(42px, 7vw, 96px); line-height: 1; letter-spacing: -0.045em; margin-bottom: 30px; max-width: 13em; }
.hero h1 .grad {
  background: var(--grad-hero);
  background-size: 220% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;
  padding-right: 0.05em;
  animation: hero-grad-sweep 7s ease-in-out infinite;
}
@keyframes hero-grad-sweep {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 7px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.15s, border-color 0.15s; cursor: pointer; border: none; line-height: 1; }
.btn svg { width: 16px; height: 16px; display: block; }
.btn-primary { background: var(--invert-bg); color: var(--invert-fg); }
.btn-primary:hover { opacity: 0.88; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--border-2); }
.btn-secondary:hover { background: var(--surface-2); }

/* === 双箭头穿梭动画（Vercel/Linear 风格的 external-link button） === */
/* 原理：原箭头从右上飞出，同时一个新箭头从左下滑入接替原位，营造"持续流动"的视觉 */
.arrow-fly {
  position: relative;
  display: inline-block;
  width: 1em; height: 1em;
  line-height: 1;
  vertical-align: -0.08em;
  overflow: hidden;
  margin-left: 1px;
}
.arrow-fly > span {
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: 100%; height: 100%;
  text-align: center;
  line-height: 1;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
/* 第 2 个箭头初始藏在左下 */
.arrow-fly > span:nth-child(2) { transform: translate(-110%, 110%); }
/* hover 时：第 1 个箭头飞出右上，第 2 个箭头滑入原位 */
.btn:hover .arrow-fly > span:nth-child(1) { transform: translate(110%, -110%); }
.btn:hover .arrow-fly > span:nth-child(2) { transform: translate(0, 0); }

/* === HUD CSS 已移除（hero 改为 typography-led 极简版） ===
   保留：CSS 变量、product-chip 等。
   下方留空，原 HUD 全部清理 */
/* （旧 HUD 完全移除） */



.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 90px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.stat .num { font-size: 36px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.stat .num small { font-size: 0.5em; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); margin-left: 2px; }
.stat .label { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; letter-spacing: 0.02em; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 24px 0; } }

/* === SECTION === */
section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 56px; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-3); margin-bottom: 18px; letter-spacing: 0.04em; font-family: 'JetBrains Mono', monospace; }
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--border-2); }
.section-title { font-weight: 600; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.05; letter-spacing: -0.038em; max-width: 16em; }
.section-title .grad { background: var(--grad-text); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: normal; }
.section-sub { font-size: 17px; color: var(--ink-2); max-width: 46em; margin-top: 18px; line-height: 1.55; }

/* === BENTO === */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); padding: 28px; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: 0.85; }
.card-rag::before { background: linear-gradient(90deg, transparent, #06b6d4, transparent); }
.card-trade::before { background: linear-gradient(90deg, transparent, #16a34a, transparent); }
.card-clip::before { background: linear-gradient(90deg, transparent, #ec4899, transparent); }
.card-token::before { background: linear-gradient(90deg, transparent, #f97316, transparent); }
.card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.18); }
:root[data-theme="dark"] .card:hover { box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.6); }
.card-glow {
  position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: var(--glow-conic);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
  animation: spin 5s linear infinite;
  pointer-events: none;
}
.card:hover .card-glow { opacity: 1; }
@keyframes spin { to { --angle: 360deg; } }

/* 4 张卡片 2×2 等宽：每张 span 3 = 6 列 ÷ 2 */
.card-rag,
.card-trade,
.card-clip,
.card-token { grid-column: span 3; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-rag, .card-trade, .card-clip, .card-token { grid-column: span 2; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .card-rag, .card-trade, .card-clip, .card-token { grid-column: span 1; }
}

.card-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.card-icon svg { width: 20px; height: 20px; display: block; }
.card-rag:hover .card-icon { color: #06b6d4; border-color: rgba(6, 182, 212, 0.45); background: rgba(6, 182, 212, 0.08); }
.card-trade:hover .card-icon { color: #16a34a; border-color: rgba(22, 163, 74, 0.45); background: rgba(22, 163, 74, 0.08); }
.card-clip:hover .card-icon { color: #ec4899; border-color: rgba(236, 72, 153, 0.45); background: rgba(236, 72, 153, 0.08); }
.card-token:hover .card-icon { color: #f97316; border-color: rgba(249, 115, 22, 0.45); background: rgba(249, 115, 22, 0.08); }

.card h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.card-sub { font-size: 13px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; margin-bottom: 14px; letter-spacing: 0.02em; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 22px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.tag { font-size: 11.5px; font-family: 'JetBrains Mono', monospace; padding: 4px 9px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; color: var(--ink-2); }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; border-top: 1px solid var(--border); padding-top: 16px; width: 100%; justify-content: space-between; margin-top: auto; }
.card-link .arrow { transition: transform 0.25s; display: inline-block; }
.card:hover .arrow { transform: translate(4px, -4px); }

/* === ABOUT === */
.about-wrap { display: grid; grid-template-columns: 1.15fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .about-wrap { grid-template-columns: 1fr; gap: 32px; } }

/* === About Card：chip 标签云风格 === */
.about-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.about-card:hover { border-color: var(--border-2); }
.ac-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
/* 「数据」行（紧贴 .ac-since 的最后一个 ac-row）不要虚线 */
.ac-row:has(+ .ac-since),
.ac-row:nth-last-of-type(2) { border-bottom: none; padding-bottom: 6px; }
.ac-key {
  flex: 0 0 78px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
  padding-top: 5px;
}
.ac-dot { width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 8px currentColor; opacity: 0.85; flex-shrink: 0; }
.ac-vals { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.ac-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 500;
  padding: 4px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: default;
}
.ac-chip:hover { background: var(--surface); border-color: var(--border-2); transform: translateY(-1px); }
.ac-chip.ac-more { color: var(--ink-3); background: transparent; }
.ac-since {
  margin-top: 24px;
  display: flex; align-items: baseline; gap: 10px;
}
.ac-since-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  background: var(--grad-num);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.ac-since-text { font-size: 12.5px; color: var(--ink-3); }

/* === About Prose === */
.about-prose p { font-size: 17px; line-height: 1.78; color: var(--ink-2); margin-bottom: 22px; }
.about-prose p:first-of-type { font-size: 18px; }
.about-prose p:first-of-type::first-letter {
  font-size: 1.4em; font-weight: 600; color: var(--ink); margin-right: 2px;
}
.about-prose p:last-child { margin-bottom: 0; }
.about-prose strong {
  color: var(--ink);
  font-weight: 600;
  background-image: linear-gradient(transparent 65%, rgba(99,102,241,0.18) 65%);
  background-repeat: no-repeat;
  padding: 0 2px;
}
:root[data-theme="dark"] .about-prose strong {
  background-image: linear-gradient(transparent 65%, rgba(165,180,252,0.22) 65%);
}

/* === WRITING (legacy, kept for fallback) === */
.writing-list { display: flex; flex-direction: column; }
.writing-item { padding: 22px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 130px 1fr auto; gap: 28px; align-items: center; text-decoration: none; color: var(--ink); transition: padding-left 0.3s; }
.writing-item:last-child { border-bottom: 1px solid var(--border); }
.writing-item:hover { padding-left: 12px; }
.writing-date { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--ink-3); }
.writing-item h4 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); line-height: 1.4; }
.writing-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink-2); transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s; }
.writing-item:hover .writing-arrow { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 640px) {
  .writing-item { grid-template-columns: 1fr auto; gap: 16px; }
  .writing-date { grid-column: 1; font-size: 11.5px; }
  .writing-item h4 { grid-column: 1; }
  .writing-arrow { grid-row: 1 / span 2; grid-column: 2; }
}

/* === STACK MARQUEE === */
.stack-strip { margin-top: 56px; overflow: hidden; position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.stack-track { display: flex; gap: 56px; width: max-content; animation: marquee 36s linear infinite; }
.stack-track span { font-family: 'JetBrains Mono', monospace; font-size: 17px; color: var(--ink-3); letter-spacing: -0.01em; white-space: nowrap; }
.stack-track span em { font-style: normal; color: var(--ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === CONTACT === */
.contact { padding: 130px 0 100px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 64px; position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.contact-card::before {
  content: ''; position: absolute; inset: -100px;
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.18), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.22), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.16), transparent 45%);
  filter: blur(30px);
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 18px; }
.contact-card h2 .grad { background: var(--grad-text); background-clip: text; -webkit-background-clip: text; color: transparent; font-style: normal; }
.contact-card > p { font-size: 17px; color: var(--ink-2); max-width: 32em; margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 720px; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { padding: 36px 28px; } }
.contact-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14.5px; transition: background 0.2s, border-color 0.2s, transform 0.2s; backdrop-filter: blur(8px); }
.contact-link:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.contact-link .left { display: flex; align-items: center; gap: 12px; }
.contact-link .left svg { width: 18px; height: 18px; color: var(--ink-2); flex-shrink: 0; }
.contact-link .k { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; }

/* === FOOTER === */
footer { padding: 32px 0; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--ink-3); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner .mono { font-size: 11.5px; letter-spacing: 0.04em; }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* === GLOBAL === */
::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-2); }

/* === LANG + THEME TOGGLE（统一在 .nav-actions 胶囊容器内，segmented control 风格） === */
.lang-toggle,
.theme-toggle {
  width: 30px; height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 100px;
  color: var(--ink-3);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  position: relative;
  z-index: 1;
  text-decoration: none; /* lang-toggle 是 <a>，去掉默认下划线 */
}
.lang-toggle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.02em;
}
.lang-toggle:hover,
.theme-toggle:hover {
  color: var(--ink);
  background: var(--bg);
}
:root[data-theme="dark"] .lang-toggle:hover,
:root[data-theme="dark"] .theme-toggle:hover {
  background: var(--surface-2);
}
.theme-toggle svg { width: 14px; height: 14px; display: block; }
.theme-toggle .sun { display: block; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

/* === 返回顶部按钮（替代原右下角主题按钮位置） === */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 80;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, border-color 0.2s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; display: block; }

/* === SHOWCASE === */
.showcases { display: flex; flex-direction: column; gap: 24px; margin-top: 56px; }
.showcase {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  position: relative;
}
.showcase.reverse { grid-template-columns: 1fr 1fr; }
.showcase.reverse .showcase-text { order: 2; }
.showcase.reverse .showcase-visual { order: 1; }
@media (max-width: 760px) {
  .showcase, .showcase.reverse { grid-template-columns: 1fr; min-height: 0; }
  .showcase.reverse .showcase-text { order: 1; }
  .showcase.reverse .showcase-visual { order: 2; }
}
.showcase-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.showcase-text h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.showcase-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.showcase-feats {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.showcase-feats li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 5px;
  background-color: var(--surface-2);
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23525252' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 7.5 6 10.5 11 4.5'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  transition: background-color 0.2s, border-color 0.2s;
}
/* dark 主题下：钩描边变亮灰 */
:root[data-theme="dark"] .showcase-feats li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23a1a1a1' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 7.5 6 10.5 11 4.5'/></svg>");
}
.showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-2);
  width: fit-content;
  transition: padding-right 0.25s, border-color 0.25s;
}
.showcase-cta:hover { padding-right: 6px; border-color: var(--ink); }
.showcase-cta .arrow { transition: transform 0.25s; }
.showcase-cta:hover .arrow { transform: translateX(4px); }

.showcase-visual {
  position: relative;
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
  display: grid;
  place-items: center;
  padding: 40px;
  min-height: 420px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .showcase-visual { border-left: none; border-top: 1px solid var(--border); min-height: 320px; }
  .showcase-text { padding: 32px; }
}
.showcase-visual video, .showcase-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.viz-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px dashed var(--border-2);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
}

/* Product-specific SVG mock styles */
.viz-rag, .viz-trade, .viz-studio, .viz-clip, .viz-token {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
}
.viz-rag svg, .viz-trade svg, .viz-studio svg, .viz-clip svg, .viz-token svg {
  width: 100%; max-width: 480px; height: auto;
}
