/* ================================================================
   狮骨鱼工作室 — Shiguyu Studio  v386
   基于模板设计系统 · PC/iPad/手机三端自适应
   v367: 追加模板 .mx-* 布局系统（450+ 行）
   v368: HTML 加载 Google Fonts (Inter + JetBrains Mono)
   v369: Google Fonts 切换为国内镜像 fonts.loli.net，避免大陆访问失败
   v370: about 页“为什么选我们”改为 4 列布局，避免卡片换行
   v371: 全站 footer 改为深色 5 列设计，参考用户 UI 截图
   v372: 修复平板/手机端 footer 为 2x2 网格，与模板手机预览一致
   v373: 手机端首页统计区改为 2×2 网格展示
   v374: 手机端服务卡片改为 2 列网格
   v375: 手机端流程/案例/博客区改为 2 列网格
   v376: 移除 footer「法律」栏目，PC 端 footer 改为 4 列
   v377: 底部 bar 精简为版权+网站地图+备案三栏排版
   v378: 移除 footer Telegram 图标，底部 bar 改为居中对齐
   v379: 底部 bar 公安备案号前加 gaba 盾牌图标
   v380: 手机端 footer 布局优化：链接区改为 3 列，底部 bar 横向紧凑，避免悬浮按钮遮挡
   v381: 手机端 footer 仅保留品牌 + 版权，隐藏三列链接（A 方案）
   v382: 首页联系卡片图标由字母 @/W/T 替换为专业 SVG 图标
   v383: footer「资源」区去掉帮助中心，网站地图移入资源区，底部 bar 只保留版权+备案
   v384: 底部版权/ICP/公安备案改为读取后台 public_site_config
   v385: 手机端顶部导航改为水平滚动；博客/详情页手机端重构
   v386: 浮动☎️按钮读取后台contact_phone拨号
   ================================================================ */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --bg-primary: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f1f5f9;
  --bg-hero: linear-gradient(180deg, #f8fafc 0%, #eff6ff 40%, #dbeafe 70%, #f8fafc 100%);
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-elevated: #ffffff;
  --ink-0: #ffffff;
  --ink-50: #f8fafc;
  --ink-100: #f1f5f9;
  --ink-200: #e2e8f0;
  --ink-300: #cbd5e1;
  --ink-400: #94a3b8;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1e293b;
  --ink-900: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #1d4ed8;
  --accent-text: #1d4ed8;
  --accent-glow: rgba(59, 130, 246, 0.10);
  --accent-bg: #eff6ff;
  --accent-line: rgba(59, 130, 246, 0.20);
  --pink: #be185d;
  --green: #047857;
  --orange: #b45309;
  --danger: #dc2626;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #eff6ff 40%, #dbeafe 70%, #f8fafc 100%);
  --line: #e2e8f0;
  --border: rgba(15, 23, 42, 0.06);
  --border-strong: rgba(15, 23, 42, 0.10);
  --border-light: rgba(15, 23, 42, 0.10);
  --glass: rgba(255, 255, 255, 0.70);
  --glass-bg: rgba(255, 255, 255, 0.70);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-hover: rgba(59, 130, 246, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 16px 40px rgba(15, 23, 42, 0.10);
  --r-sm: 6px;
  --r: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --max-w: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; outline: none; }
input, textarea, select { font: inherit; color: inherit; outline: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }
::selection { background: var(--accent-glow); color: var(--accent-dark); }
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.42);
  outline-offset: 3px;
}
[x-cloak] { display: none !important; }

/* ============================================================
   Layout Primitives
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 24px; }
.section-compact, .section-tight { padding: 48px 24px; }
.section-soft, .section-dark { background: var(--bg-soft); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent-text);
}
.section-eyebrow::before, .section-label::before {
  content: ""; width: 24px; height: 2px; background: var(--gradient); border-radius: 2px;
}
.section-label { margin-bottom: 12px; letter-spacing: 2px; }
.section-title {
  margin: 12px 0 8px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.02em; color: var(--ink-900);
}
.section-sub, .section-desc {
  margin: 0 0 36px; max-width: 640px; color: var(--ink-500);
  font-size: clamp(14px, 1.4vw, 16px); line-height: 1.7;
}
.section-head, .section-header {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.section-head .section-sub, .section-head .section-desc { margin-bottom: 0; }
.section-header-center { text-align: center; }
.section-header-center .section-desc { margin-left: auto; margin-right: auto; }
.text-grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   Topbar / Navigation
   ============================================================ */
.topbar, .studio-nav {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.studio-nav.scrolled, .topbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}
.topbar-inner, .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}

/* Brand / Logo */
.brand, .nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--ink-900); text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient); color: #fff;
  display: grid; place-items: center; font-size: 16px; font-weight: 900;
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.30);
}
.brand-mark.brand-img {
  background: url("/app/assets/img/logo.webp") center/contain no-repeat, linear-gradient(135deg, #f8fafc, #fff);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .10);
  font-size: 0; color: transparent;
}
.brand-name {
  display: flex; flex-direction: column; line-height: 1.05; gap: 1px;
}
.brand-name strong { font-size: 18px; letter-spacing: 2px; }
.brand-name span { font-size: 10px; font-weight: 600; color: var(--ink-500); letter-spacing: 1.4px; text-transform: uppercase; }
.brand-name em { font-size: 9.5px; font-style: normal; color: var(--ink-400); letter-spacing: .02em; margin-top: -1px; opacity: .85; }

/* Logo — existing nav-logo compat */
.nav-logo-mark { height: 42px; width: auto; object-fit: contain; display: block; }
.nav-logo-type {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  line-height: 1.05; gap: 1px;
}
.nav-logo-name {
  font-size: 24px; font-weight: 900; letter-spacing: 2px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-line { display: flex; align-items: center; gap: 8px; width: 100%; }
.nav-logo-line span:first-child, .nav-logo-line span:last-child {
  flex: 1; height: 2px; min-width: 18px; background: linear-gradient(90deg, #3b82f6, #60a5fa); border-radius: 1px;
}
.nav-logo-line span:nth-child(2) {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: #64748b; white-space: nowrap;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--ink-600); border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent-text); background: var(--accent-glow); }

/* Nav CTA */
.nav-cta {
  padding: 9px 20px; font-size: 14px; font-weight: 600;
  color: #fff; background: var(--gradient);
  border-radius: var(--r); box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(59, 130, 246, 0.30); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-user-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-tertiary);
  display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.nav-user-btn:hover { background: var(--bg-secondary); box-shadow: var(--shadow-sm); }

/* Hamburger */
.nav-hamburger {
  display: none; width: 36px; height: 36px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 8px; cursor: pointer; z-index: 1001;
}
.nav-hamburger span {
  width: 20px; height: 2px; background: var(--ink-800); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition); display: block;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(30px);
  padding: calc(var(--nav-h) + 32px) 24px 32px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 18px; padding: 14px 16px; border-radius: var(--r-lg); }
.mobile-menu .nav-cta { margin-top: 16px; text-align: center; padding: 14px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; padding: calc(var(--nav-h) + 48px) 24px 64px;
  background: var(--bg-hero); overflow: hidden;
  min-height: max(82vh, 600px); display: flex; align-items: center; justify-content: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.hero::before { top: -100px; left: -100px; width: 320px; height: 320px; background: rgba(59, 130, 246, 0.20); }
.hero::after { top: 40px; right: -80px; width: 260px; height: 260px; background: rgba(236, 72, 153, 0.10); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; background: var(--bg-hero);
}
.hero-bg::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(circle at 25% 45%, rgba(59,130,246,0.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(99,102,241,0.14) 0%, transparent 45%),
    radial-gradient(circle at 55% 80%, rgba(14,165,233,0.12) 0%, transparent 50%);
  animation: heroBgFloat 24s ease-in-out infinite;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,255,255,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(219,234,254,0.5) 0%, transparent 70%);
}
@keyframes heroBgFloat {
  0%,100% { transform: translate(0,0); }
  33% { transform: translate(30px,-20px); }
  66% { transform: translate(-20px,10px); }
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-inner {
  position: relative; z-index: 1; max-width: 880px; margin: 0 auto; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--accent-line); border-radius: var(--r-full);
  font-size: 12px; font-weight: 600; color: var(--ink-700);
  backdrop-filter: blur(10px); margin-bottom: 22px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title {
  margin: 0 0 16px; font-size: clamp(34px, 5.6vw, 60px); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.02em;
}
.hero-title .accent {
  color: var(--accent-dark);
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub, .hero-subtitle {
  margin: 0 auto 28px; max-width: 620px; color: var(--ink-600);
  font-size: clamp(15px, 1.8vw, 18px); line-height: 1.7;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 56px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; font-size: 15px; font-weight: 600; border-radius: var(--r);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn-primary {
  color: #fff; background: var(--gradient);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(59, 130, 246, 0.30); }
.btn-ghost {
  color: var(--ink-700); background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { color: var(--accent-text); border-color: var(--accent-text); background: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 8px; }
.btn-link { color: var(--accent-text); font-weight: 600; padding: 0; }
.btn-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* Hero button compat */
.hero-btn-primary {
  padding: 14px 36px; font-size: 16px; font-weight: 600;
  background: var(--gradient); color: #fff;
  border-radius: var(--r); transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(59,130,246,0.20);
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(59,130,246,0.25); }
.hero-btn-secondary {
  padding: 14px 36px; font-size: 16px; font-weight: 600;
  background: var(--bg-primary); color: var(--ink-900);
  border: 1px solid var(--border-strong); border-radius: var(--r);
  transition: all var(--transition);
}
.hero-btn-secondary:hover { background: var(--bg-soft); border-color: var(--accent-text); color: var(--accent-text); }
.hero-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Hero Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 720px; margin: 0 auto; padding: 24px;
  background: rgba(255, 255, 255, 0.78); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow); backdrop-filter: blur(10px);
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800;
  color: var(--accent-dark); letter-spacing: -0.02em;
}
.hero-stat span { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-500); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 12px; cursor: pointer;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============================================================
   Services
   ============================================================ */
.service-grid, .services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  position: relative; padding: 28px 24px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: all var(--transition-slow);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); transform: scaleX(0); transition: transform var(--transition-slow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-glow);
}
.service-card::after {
  content: ""; position: absolute; inset: 0; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; opacity: 0.04; transition: transform .35s var(--ease);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  position: relative; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--accent-bg);
  color: var(--accent-text); margin-bottom: 18px; overflow: hidden;
}
.service-icon svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.service-icon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(99,102,241,0.08) 100%);
}
.service-card:nth-child(3n+2) .service-icon { background: rgba(236, 72, 153, 0.10); color: var(--pink); }
.service-card:nth-child(3n+2) .service-icon::after { background: linear-gradient(135deg, rgba(236,72,153,0.12) 0%, rgba(168,85,247,0.08) 100%); }
.service-card:nth-child(3n+3) .service-icon { background: rgba(16, 185, 129, 0.10); color: var(--green); }
.service-card:nth-child(3n+3) .service-icon::after { background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, rgba(6,182,212,0.08) 100%); }
.service-card:nth-child(3n+4) .service-icon { background: rgba(245, 158, 11, 0.10); color: var(--orange); }
.service-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.service-card p { margin: 0; font-size: 14px; color: var(--ink-500); line-height: 1.7; }

/* ============================================================
   Process / Steps
   ============================================================ */
.process-grid, .process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.process-step {
  position: relative; padding: 26px 22px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
/* Template-style counter */
.process-step::before {
  counter-increment: step; content: "0" counter(step);
  display: inline-block; font-size: 12px; font-weight: 800;
  color: var(--accent-text); padding: 5px 10px;
  background: var(--accent-bg); border-radius: var(--r-sm);
  margin-bottom: 12px; letter-spacing: 0.06em;
}
/* Current-style circle counter (override when .process-steps) */
.process-steps .process-step { text-align: center; padding-top: 52px; }
.process-steps .process-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0; margin: 0;
}
.process-step h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.process-step p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.7; }
.process-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%); color: var(--ink-300); font-size: 18px;
}
.process-steps .process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 20px; left: calc(50% + 28px);
  width: calc(100% - 56px); height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
  transform: none; right: auto; font-size: 0;
}

/* ============================================================
   Works / Case Cards
   ============================================================ */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all var(--transition-slow); cursor: pointer;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--accent-glow); }
.work-thumb {
  position: relative; aspect-ratio: 16/10; background: var(--bg-tint);
  display: grid; place-items: center; overflow: hidden;
}
.work-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  opacity: 0.92;
}
.work-thumb-letter {
  position: relative; z-index: 1; font-size: 60px; font-weight: 900;
  color: #fff; letter-spacing: 0.05em;
}
.work-thumb .work-thumb-url {
  position: absolute; bottom: 12px; left: 12px; z-index: 1;
  padding: 4px 10px; background: rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm); color: #fff; font-size: 11px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.work-info { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.work-tag {
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: var(--r-sm); background: var(--accent-bg); color: var(--accent-dark);
}
.work-tag.green { background: rgba(16, 185, 129, 0.10); color: var(--green); }
.work-tag.pink { background: rgba(236, 72, 153, 0.10); color: var(--pink); }
.work-tag.orange { background: rgba(245, 158, 11, 0.10); color: var(--orange); }
.work-card h3 { margin: 0; font-size: 17px; font-weight: 700; }
.work-card p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.6; }
.work-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.work-foot a { font-size: 12px; color: var(--ink-500); font-weight: 600; }
.work-foot a:hover { color: var(--accent-text); }
.work-cta { font-size: 12px; font-weight: 700; color: var(--accent-text); }
.case-clickable { cursor: pointer; }
.work-card.case-clickable:hover .case-btn { background: var(--accent); color: #fff; }

/* Case card styles (existing) */
.case-thumb {
  background: hsl(var(--case-hue), 70%, 96%);
  display: flex; align-items: center; justify-content: center;
}
.case-thumb-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 16px;
}
.case-logo-large {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsl(var(--case-hue), 80%, 55%) 0%, hsl(var(--case-hue), 70%, 45%) 100%);
  color: #fff; font-weight: 800; font-size: 26px; flex-shrink: 0;
  box-shadow: 0 8px 24px hsla(var(--case-hue), 80%, 45%, 0.25);
}
.case-url-text {
  font-size: 12px; font-weight: 600;
  color: hsl(var(--case-hue), 70%, 35%);
  background: rgba(255,255,255,0.72); padding: 4px 10px; border-radius: 100px;
  backdrop-filter: blur(6px);
  max-width: min(220px, calc(100% - 24px));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.case-thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, hsl(var(--case-hue), 85%, 90%) 0%, hsl(var(--case-hue), 70%, 96%) 100%);
  opacity: 0.6;
}
.case-qr {
  position: relative; z-index: 1; width: 42%; height: auto; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); background: #fff; padding: 6px;
  transition: transform var(--transition-slow);
}
.work-card:hover .case-qr { transform: scale(1.04); }
.case-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.case-logo {
  width: 44px; height: 44px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsl(var(--case-hue), 80%, 55%) 0%, hsl(var(--case-hue), 70%, 45%) 100%);
  color: #fff; font-weight: 800; font-size: 18px; flex-shrink: 0;
  box-shadow: 0 4px 12px hsla(var(--case-hue), 80%, 45%, 0.25);
}
.case-title-wrap { min-width: 0; }
.case-title-wrap h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; line-height: 1.3; }
.case-sub { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.case-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 18px;
}
.case-url {
  font-size: 13px; font-weight: 600; color: var(--accent);
  transition: color var(--transition);
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.case-url:hover { color: var(--accent-dark); }
.case-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  background: var(--gradient); color: #fff;
  border-radius: var(--r); transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(59,130,246,0.18);
}
.case-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.25); }

/* ============================================================
   Case Detail Page
   ============================================================ */
.case-detail .page-container { max-width: 1400px; }
.case-detail-grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start;
}
.case-detail-visual { position: sticky; top: 100px; }
.case-detail-card {
  padding: 28px; border-radius: var(--r-xl);
  background: var(--bg-primary); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); text-align: center;
}
.case-detail-qr-wrap {
  padding: 28px 20px; border-radius: var(--r-lg);
  background: linear-gradient(135deg, hsl(var(--case-hue), 80%, 94%) 0%, hsl(var(--case-hue), 70%, 98%) 100%);
  margin-bottom: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.case-detail-logo {
  width: 84px; height: 84px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsl(var(--case-hue), 80%, 55%) 0%, hsl(var(--case-hue), 70%, 45%) 100%);
  color: #fff; font-weight: 800; font-size: 34px;
  box-shadow: 0 10px 28px hsla(var(--case-hue), 80%, 45%, 0.25);
}
.case-detail-domain {
  font-size: 14px; font-weight: 600;
  color: hsl(var(--case-hue), 70%, 35%);
  background: rgba(255,255,255,0.75); padding: 6px 14px; border-radius: 100px;
  backdrop-filter: blur(4px); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.case-detail-brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  margin-bottom: 14px;
}
.case-detail-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.case-detail-link:hover { color: var(--accent-dark); }
.case-detail-info { padding-top: 28px; }
.case-detail-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.case-detail-category {
  padding: 4px 12px; border-radius: 100px;
  background: var(--accent-glow); color: var(--accent);
  font-size: 12px; font-weight: 700;
}
.case-detail-year { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.case-detail-title {
  font-size: clamp(26px, 4vw, 36px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2;
}
.case-detail-intro { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.case-detail-block { margin-bottom: 32px; }
.case-detail-block h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.case-detail-block h3::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--gradient);
}
.case-detail-block p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.case-detail-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.case-detail-block li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.case-bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.case-tech-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tech-tag {
  padding: 6px 12px; border-radius: 100px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
}
.case-detail-actions { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.case-btn-primary { padding: 12px 24px; font-size: 14px; }
.case-btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border); box-shadow: none;
}
.case-btn-ghost:hover { background: var(--bg-secondary); color: var(--accent); border-color: var(--accent-glow); box-shadow: none; }
.case-not-found { text-align: center; padding: 80px 0; }
.case-not-found h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.case-not-found p { color: var(--text-muted); margin-bottom: 24px; }

/* ============================================================
   Stats
   ============================================================ */
.stat-grid, .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { padding: 24px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.stat-card strong {
  display: block; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800;
  color: var(--accent-dark); letter-spacing: -0.02em;
}
.stat-card span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-500); }
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(32px, 5vw, 48px); font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1.1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-secondary); }

/* ============================================================
   Blog Cards (Home section)
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all var(--transition); cursor: pointer;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-cover, .blog-card-img {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.blog-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.blog-cover-letter {
  position: absolute; bottom: 16px; right: 18px;
  color: #fff; font-size: 50px; font-weight: 900; opacity: 0.9;
}
.blog-cover.green, .blog-card:nth-child(3n+2) .blog-card-img { background: linear-gradient(135deg, #34d399, #059669); }
.blog-cover.pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.blog-cover.orange { background: linear-gradient(135deg, #fbbf24, #d97706); }
.blog-card:nth-child(3n+2) .blog-card-img { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.blog-card:nth-child(3n+3) .blog-card-img { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.blog-card-img::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
}
.blog-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; display: block; }
.blog-card-img svg { position: relative; z-index: 1; opacity: 0.5; width: 36px; height: 36px; color: rgba(255,255,255,0.7); }
.blog-body, .blog-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-500); }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.blog-card-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600; background: var(--accent-glow); color: var(--accent);
  margin-bottom: 10px;
}
.blog-card h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--text-muted); }
.blog-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px 0; color: var(--text-muted); }
.blog-spinner {
  width: 24px; height: 24px; border: 2px solid var(--border); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.blog-empty { text-align: center; padding: 60px 0; color: var(--text-muted); }

/* ============================================================
   Blog Layout / Sidebar (blog.html)
   ============================================================ */
.blog-layout {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr; gap: 32px;
  align-items: start;
}
.blog-sidebar { position: relative; }
.blog-sidebar-inner {
  position: sticky; top: 90px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow);
}
.blog-sidebar-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.blog-category-nav { display: flex; flex-direction: column; gap: 6px; }
.blog-category-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; padding: 12px 14px; border-radius: var(--r);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  background: transparent; transition: all var(--transition); cursor: pointer;
}
.blog-category-item:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.blog-category-item.active { background: var(--accent-glow); color: var(--accent); }
.blog-category-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); transition: background var(--transition); }
.blog-category-item.active .blog-category-dot { background: var(--accent); }
.blog-category-name { flex: 1; }
.blog-category-count {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  background: var(--bg-tertiary); padding: 2px 8px; border-radius: 999px;
  min-width: 22px; text-align: center;
}
.blog-category-item.active .blog-category-count { background: var(--accent); color: #fff; }
.blog-main { min-width: 0; }
.blog-main-inner {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow);
}
.blog-page-list { display: flex; flex-direction: column; gap: 20px; }
.blog-page-item {
  display: flex; gap: 24px; padding: 24px;
  border: 1px solid var(--border); border-radius: var(--r);
  background: var(--bg-primary); transition: all var(--transition);
  cursor: pointer; text-decoration: none; color: inherit;
}
.blog-page-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.blog-page-thumb {
  width: 160px; height: 110px; flex-shrink: 0;
  background: var(--bg-tertiary); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-page-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; display: block; }
.blog-page-thumb svg { position: relative; z-index: 1; color: var(--text-muted); }
.blog-page-body { flex: 1; min-width: 0; }
.blog-page-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-glow); color: var(--accent);
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.blog-page-title { font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 0 0 10px; }
.blog-page-summary {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px;
}
.blog-page-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; }

/* ============================================================
   Page Hero / Content (通用页面)
   ============================================================ */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 56px) 24px 40px;
  background: var(--bg-hero); text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.page-hero::before { top: -120px; left: -80px; width: 280px; height: 280px; background: rgba(59, 130, 246, 0.18); }
.page-hero::after { top: 60px; right: -80px; width: 220px; height: 220px; background: rgba(236, 72, 153, 0.10); }
.page-hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.page-hero .section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-glow); color: var(--accent);
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 20px;
}
.page-hero h1, .page-hero-title {
  margin: 12px 0 8px; font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  line-height: 1.2; letter-spacing: -0.02em;
}
.page-hero p { margin: 0; color: var(--ink-500); font-size: clamp(14px, 1.4vw, 16px); }
.page-section { padding: 64px 24px; min-height: 40vh; }
.page-container {
  max-width: 860px; margin: 0 auto;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 48px; box-shadow: var(--shadow);
}
.page-content {
  max-width: 800px; margin: 0 auto; padding: 0;
  line-height: 1.85; color: var(--ink-700); font-size: 15px;
  overflow-wrap: break-word; word-break: break-word;
}
.page-content h2 { font-size: 22px; font-weight: 700; color: var(--ink-900); margin: 32px 0 14px; }
.page-content h3 { font-size: 17px; font-weight: 700; color: var(--ink-900); margin: 24px 0 10px; }
.page-content p { margin: 0 0 16px; }
.page-content ul, .page-content ol { margin: 0 0 18px; padding-left: 22px; }
.page-content li { margin-bottom: 8px; }
.page-content blockquote {
  margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--accent);
  background: var(--accent-bg); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-700);
}
.page-content code {
  padding: 2px 6px; background: var(--bg-tint); border-radius: 4px;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-dark);
}
.page-content a { color: var(--accent-text); }
.page-content a:hover { text-decoration: underline; }
.page-content .back-link {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px;
  font-size: 13px; color: var(--ink-500); font-weight: 600;
}
.page-content .back-link:hover { color: var(--accent-text); }
.page-content pre, .page-content table { max-width: 100%; overflow-x: auto; display: block; }
.page-content img { max-width: 100%; height: auto; }
.page-loading { min-height: 200px; }
.page-spinner-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 60px 0; color: var(--text-muted);
}
.page-spinner-wrap .blog-spinner { width: 32px; height: 32px; }

/* Article detail */
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 32px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 14px; margin-bottom: 24px;
  cursor: pointer; transition: color var(--transition);
}
.article-back:hover { color: var(--accent); }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-info h2, .contact-info h3 { margin: 0 0 12px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.contact-info h3 { font-size: 22px; font-weight: 700; }
.contact-info > p { margin: 0 0 20px; color: var(--ink-500); line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method, .contact-method-icon-wrap {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  transition: all var(--transition);
}
.contact-method:hover { border-color: var(--accent-glow); background: var(--bg-soft); }
.contact-icon, .contact-method-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-bg); color: var(--accent-text);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-icon svg, .contact-method-icon svg { width: 18px; height: 18px; }
.contact-icon.pink { background: rgba(236, 72, 153, 0.10); color: var(--pink); }
.contact-icon.green { background: rgba(16, 185, 129, 0.10); color: var(--green); }
.contact-icon.orange { background: rgba(245, 158, 11, 0.10); color: var(--orange); }
.contact-meta { display: flex; flex-direction: column; }
.contact-meta small, .contact-method-label { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-meta strong, .contact-method-value { font-size: 15px; color: var(--ink-900); font-weight: 600; }
.contact-method-value { text-decoration: none; }
.contact-method-value:hover { color: var(--accent); text-decoration: underline; }
.contact-method-copy, .contact-method-dial { cursor: pointer; position: relative; user-select: none; }
.contact-method-copy::after, .contact-method-dial::after {
  content: '点击复制'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  background: var(--bg-secondary); padding: 3px 7px; border-radius: 6px;
  border: 1px solid var(--border); opacity: 0.65;
  transition: opacity var(--transition), color var(--transition), background var(--transition);
  pointer-events: none;
}
.contact-method-dial::after { content: '点击拨打'; }
.contact-method-copy:hover::after, .contact-method-dial:hover::after {
  opacity: 1; color: var(--accent); background: var(--accent-glow); border-color: var(--accent-glow);
}
.contact-method-copy:active, .contact-method-dial:active { transform: scale(0.992); }
@media (max-width: 480px) {
  .contact-method { padding: 12px 60px 12px 14px; }
  .contact-method-copy::after, .contact-method-dial::after { right: 8px; font-size: 10px; padding: 2px 5px; }
}

/* Contact Form */
.contact-form {
  padding: 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.form-label .req { color: var(--danger); }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px; font-size: 14px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r);
  transition: all var(--transition);
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent-text); background: #fff;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%; padding: 14px; font-size: 15px; font-weight: 700;
  color: #fff; background: var(--gradient); border-radius: var(--r);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
  transition: all var(--transition);
}
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(59, 130, 246, 0.30); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-msg { font-size: 13px; margin-top: 8px; text-align: center; }
.form-msg.success { color: #22C55E; }
.form-msg.error { color: #EF4444; }

/* ============================================================
   Footer
   ============================================================ */
/* ============================================================
   Footer — Dark v370 redesign
   ============================================================ */
.footer, .site-footer {
  background: #0B1120; color: #94a3b8;
  padding: 64px 24px 24px; position: relative;
  border-top: none;
}
.site-footer::before { display: none; }

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px 40px; margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.footer-logo-mark { height: 42px; width: auto; object-fit: contain; display: block; }
.footer-logo-type { display: flex; flex-direction: column; line-height: 1.1; }
.footer-logo-name {
  font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-logo-subtitle { font-size: 11px; font-weight: 600; color: #64748b; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-tagline { font-size: 14px; font-weight: 500; color: #e2e8f0; }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 320px; color: #94a3b8; }

.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #cbd5e1; transition: all .25s ease;
}
.footer-social-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

.footer-col h4 {
  margin: 0 0 18px; font-size: 13px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding-bottom: 10px; position: relative;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
.footer-col-arrow { display: none; width: 16px; height: 16px; transition: transform .2s; }
.footer-col a {
  display: block; padding: 7px 0; color: #94a3b8; font-size: 13px;
  transition: all .2s ease; width: fit-content;
}
.footer-col a:hover { color: #fff; transform: translateX(2px); }

/* Footer bottom bar — centered copyright + ICP */
.footer-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px 40px; padding-top: 0; padding-bottom: 24px;
  border-top: none; font-size: 12px; color: #64748b;
}
.footer-bar-copyright { font-weight: 500; color: #94a3b8; white-space: nowrap; }
.footer-bar-icp { color: #64748b; font-size: 11px; white-space: nowrap; }
.footer-bar a { color: #64748b; transition: color .2s; }
.footer-bar a:hover { color: #fff; }
.gaba-icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 4px; display: inline-block; opacity: .9; }

/* Footer logo compat */
/* ============================================================
   CSS Art Covers — 作品封面 (5 themes)
   ============================================================ */
.mx-work .cover, .mx-article .cover {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  transition: transform .5s var(--ease);
}
.mx-work .cover { aspect-ratio: 16/10; }
.mx-work:hover .cover { transform: scale(1.02); }
.mx-work .cover::after, .mx-article .cover::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.28));
}
.mx-work .cover .layer { position: absolute; inset: 0; pointer-events: none; transition: transform .6s var(--ease); }
.mx-work:hover .cover .layer { transform: translate3d(0, -6px, 0); }

/* Theme 1: Blue — Browser mockup (default) */
.mx-work .cover { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%); }
.mx-work .cover .grid-bg {
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .35;
}
.mx-work .cover .glow { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.35), transparent 50%); }
.mx-work .cover .browser {
  position: absolute; left: 10%; right: 10%; top: 20%; bottom: 16%;
  background: rgba(255,255,255,.96); border-radius: 10px;
  box-shadow: 0 22px 40px rgba(15, 23, 42, .30);
  padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px;
  transform: perspective(700px) rotateX(6deg) rotateY(-2deg);
  transition: transform .5s var(--ease);
}
.mx-work:hover .cover .browser { transform: perspective(700px) rotateX(0) rotateY(0); }
.mx-work .cover .browser .head { display: flex; align-items: center; gap: 4px; padding-bottom: 4px; border-bottom: 1px solid rgba(15,23,42,.08); }
.mx-work .cover .browser .head i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15,23,42,.15); display: block; }
.mx-work .cover .browser .head i:nth-child(1) { background: #fb7185; }
.mx-work .cover .browser .head i:nth-child(2) { background: #fbbf24; }
.mx-work .cover .browser .head i:nth-child(3) { background: #34d399; }
.mx-work .cover .browser .head .addr { flex: 1; height: 8px; border-radius: 3px; background: rgba(15,23,42,.06); margin-left: 4px; }
.mx-work .cover .browser .hero-block { height: 28%; border-radius: 5px; background: linear-gradient(135deg, #dbeafe, #fff); position: relative; overflow: hidden; }
.mx-work .cover .browser .hero-block::before { content: "MARKETPLACE"; position: absolute; left: 8px; top: 6px; color: var(--accent-text); font: 800 8px/1 ui-sans-serif; letter-spacing: .12em; }
.mx-work .cover .browser .hero-block::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 36%; height: 22%; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: 0 4px 10px rgba(59,130,246,.35); }
.mx-work .cover .browser .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 1; }
.mx-work .cover .browser .cards i { display: block; background: rgba(15, 23, 42, .04); border-radius: 4px; position: relative; }
.mx-work .cover .browser .cards i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; border-radius: 4px 4px 0 0; background: linear-gradient(135deg, #93c5fd, #60a5fa); opacity: .65; }
.mx-work .cover .badge-floating { position: absolute; bottom: 10px; left: 12px; z-index: 6; padding: 4px 10px; border-radius: var(--r-full); background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* Theme 2: Green — IMEI phone */
.mx-work .cover.green { background: linear-gradient(135deg, #065f46 0%, #10b981 55%, #34d399 100%); }
.mx-work .cover.green .grid-bg { opacity: .12; }
.mx-work .cover.green .glow { background: radial-gradient(circle at 25% 75%, rgba(255,255,255,.30), transparent 55%); }
.mx-work .cover.green .phone { position: absolute; left: 9%; top: 12%; bottom: 12%; width: 30%; background: #0f172a; border-radius: 14px; box-shadow: 0 22px 36px rgba(0,0,0,.40), inset 0 0 0 2px rgba(255,255,255,.10); padding: 12px 8px 8px; }
.mx-work .cover.green .phone::before { content: ""; display: block; width: 32%; height: 4px; margin: 0 auto 8px; background: rgba(255,255,255,.4); border-radius: 3px; }
.mx-work .cover.green .phone .imei { background: rgba(255,255,255,.95); border-radius: 5px; padding: 6px 4px; font: 700 8px/1 ui-monospace, "JetBrains Mono", monospace; color: #047857; text-align: center; letter-spacing: .05em; box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }
.mx-work .cover.green .phone .row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 6px; }
.mx-work .cover.green .phone .row i { display: block; height: 22px; border-radius: 5px; background: rgba(255,255,255,.92); position: relative; }
.mx-work .cover.green .phone .row i::before { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 50%; border-radius: 3px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.mx-work .cover.green .phone .row i::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 14%; border-radius: 2px; background: rgba(15,23,42,.2); }
.mx-work .cover.green .phone .ok { margin-top: 6px; padding: 5px; border-radius: 4px; background: linear-gradient(135deg, #10b981, #047857); color: #fff; font: 800 9px/1 ui-sans-serif; text-align: center; letter-spacing: .08em; box-shadow: 0 4px 8px rgba(4,120,87,.4); }
.mx-work .cover.green .result-card { position: absolute; right: 8%; top: 22%; width: 48%; background: rgba(255,255,255,.95); border-radius: 12px; padding: 14px; box-shadow: 0 22px 40px rgba(0,0,0,.32); transform: perspective(700px) rotateY(4deg); transition: transform .5s var(--ease); }
.mx-work:hover .cover.green .result-card { transform: perspective(700px) rotateY(0); }
.mx-work .cover.green .result-card .tag { display: inline-block; padding: 3px 8px; border-radius: var(--r-full); background: #d1fae5; color: #047857; font: 800 9px/1.4 ui-sans-serif; }
.mx-work .cover.green .result-card h4 { margin: 8px 0 4px; font: 800 13px/1.25 ui-sans-serif; color: #0f172a; }
.mx-work .cover.green .result-card p { margin: 0; font: 600 10px/1.4 ui-sans-serif; color: #475569; }
.mx-work .cover.green .result-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.mx-work .cover.green .result-card ul li { display: flex; align-items: center; gap: 4px; font: 600 9px/1.2 ui-sans-serif; color: #334155; }
.mx-work .cover.green .result-card ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #047857); flex-shrink: 0; box-shadow: inset 0 0 0 1.5px #fff; }
.mx-work .cover.green .result-card .check { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #047857); display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 4px 10px rgba(4,120,87,.4); }
.mx-work .cover.green .result-card .check::after { content: "✓"; font-size: 14px; }

/* Theme 3: Pink — Telegram Bot chat */
.mx-work .cover.pink { background: linear-gradient(135deg, #9d174d 0%, #ec4899 55%, #f9a8d4 100%); }
.mx-work .cover.pink .grid-bg { opacity: .12; }
.mx-work .cover.pink .glow { background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.40), transparent 55%); }
.mx-work .cover.pink .chat-stack { position: absolute; left: 7%; right: 7%; top: 12%; bottom: 22%; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mx-work .cover.pink .bubble { max-width: 72%; padding: 7px 11px; border-radius: 12px; font: 700 9px/1.4 ui-sans-serif; color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.20); position: relative; }
.mx-work .cover.pink .bubble.user { align-self: flex-end; background: rgba(255,255,255,.96); color: #be185d; }
.mx-work .cover.pink .bubble.bot { align-self: flex-start; background: rgba(15, 23, 42, .55); backdrop-filter: blur(6px); }
.mx-work .cover.pink .bubble.success { background: linear-gradient(135deg, #10b981, #047857); align-self: flex-start; box-shadow: 0 6px 14px rgba(4,120,87,.35); }
.mx-work .cover.pink .bot-avatar { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #60a5fa, #2563eb); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; box-shadow: 0 12px 24px rgba(0,0,0,.32), inset 0 0 0 4px rgba(255,255,255,.88); z-index: 6; animation: pulseDot 2.4s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 12px 24px rgba(0,0,0,.32), inset 0 0 0 4px rgba(255,255,255,.88), 0 0 0 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 12px 24px rgba(0,0,0,.32), inset 0 0 0 4px rgba(255,255,255,.88), 0 0 0 10px rgba(255,255,255,0); } }

/* Theme 4: Orange — Phone shop shelf */
.mx-work .cover.orange { background: linear-gradient(135deg, #92400e 0%, #f59e0b 55%, #fbbf24 100%); }
.mx-work .cover.orange .glow { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.30), transparent 55%); }
.mx-work .cover.orange .shelf { position: absolute; inset: 16% 8% 16%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: center; }
.mx-work .cover.orange .shelf i { display: block; aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, #fde68a 100%); box-shadow: 0 12px 22px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.5); position: relative; transition: transform .35s var(--ease); }
.mx-work .cover.orange .price-tag { position: absolute; top: 12%; right: 14%; background: rgba(255,255,255,.95); color: #92400e; padding: 4px 10px; border-radius: var(--r-full); font: 800 11px/1 ui-sans-serif; box-shadow: 0 6px 14px rgba(0,0,0,.20); transform: rotate(8deg); }

/* Theme 5: Cyan — CMS / Law firm */
.mx-work .cover.cyan { background: linear-gradient(135deg, #155e75 0%, #06b6d4 55%, #67e8f9 100%); }
.mx-work .cover.cyan .glow { background: radial-gradient(circle at 25% 80%, rgba(255,255,255,.30), transparent 55%); }
.mx-work .cover.cyan .stack { position: absolute; left: 14%; top: 18%; width: 56%; transform: perspective(700px) rotateX(8deg) rotateY(-4deg); transition: transform .5s var(--ease); }
.mx-work:hover .cover.cyan .stack { transform: perspective(700px) rotateX(0) rotateY(0); }
.mx-work .cover.cyan .stamp { position: absolute; right: 12%; bottom: 16%; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 2px dashed rgba(255,255,255,.55); display: grid; place-items: center; color: #fff; transform: rotate(15deg); }

/* ============================================================
   CSS Art Covers — 文章封面 (6 themes)
   ============================================================ */
.mx-article { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mx-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mx-article .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, #1e40af 0%, #3b82f6 55%, #60a5fa 100%); transition: transform .5s var(--ease); }
.mx-article:hover .cover { transform: scale(1.03); }
.mx-article .cover .pattern { position: absolute; inset: 0; opacity: .4; pointer-events: none; background-image: radial-gradient(circle at 20% 25%, rgba(255,255,255,.55), transparent 35%), radial-gradient(circle at 80% 80%, rgba(255,255,255,.40), transparent 45%); }
.mx-article .cover .glyph { position: absolute; right: 22px; bottom: 14px; z-index: 4; font: 800 56px/1 ui-sans-serif; letter-spacing: -.04em; color: rgba(255,255,255,.95); text-shadow: 0 8px 24px rgba(0,0,0,.25); }
.mx-article .cover.green { background: linear-gradient(135deg, #065f46 0%, #10b981 55%, #34d399 100%); }
.mx-article .cover.pink { background: linear-gradient(135deg, #9d174d 0%, #ec4899 55%, #f472b6 100%); }
.mx-article .cover.orange { background: linear-gradient(135deg, #92400e 0%, #f59e0b 55%, #fbbf24 100%); }
.mx-article .cover.cyan { background: linear-gradient(135deg, #155e75 0%, #06b6d4 55%, #67e8f9 100%); }
.mx-article .cover.indigo { background: linear-gradient(135deg, #312e81 0%, #6366f1 55%, #a5b4fc 100%); }
.mx-article .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mx-article .meta { font-size: 11px; color: var(--ink-500); }
.mx-article h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.45; }
.mx-article p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.6; }
.mx-article .cover .art { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mx-article .cover .art .tag { position: absolute; left: 14px; bottom: 12px; z-index: 5; font: 700 10px/1 ui-monospace, "JetBrains Mono", monospace; padding: 5px 9px; border-radius: 5px; background: rgba(0,0,0,.30); color: #fff; letter-spacing: .04em; }

/* Article art themes */
.art-tokens { padding: 14px; }
.art-tokens .palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-bottom: 10px; }
.art-tokens .palette i { aspect-ratio: 1; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,.18); }
.art-tokens .grid-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 52%; }
.art-tokens .grid-cols i { background: rgba(255,255,255,.92); border-radius: 4px; }
.art-tokens .grid-cols i.hi { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.art-growth { padding: 18px; }
.art-growth .bars { display: flex; align-items: flex-end; gap: 6px; height: 58%; padding: 0 4px; }
.art-growth .bars i { flex: 1; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.35)); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform .4s var(--ease); }
.art-arch { padding: 16px; }
.art-arch .stack { position: absolute; left: 18px; top: 22px; width: 56%; height: 56%; perspective: 320px; }
.art-arch .stack i { position: absolute; inset: 0; background: rgba(255,255,255,.95); border-radius: 8px; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 6px 14px rgba(0,0,0,.18); transition: transform .4s var(--ease); }
.art-code { padding: 14px; }
.art-code .code { background: rgba(0,0,0,.40); border-radius: 6px; padding: 10px 12px; font: 10.5px/1.7 ui-monospace, "JetBrains Mono", monospace; color: #fff; height: calc(100% - 28px); box-sizing: border-box; }
.art-code .code .ln { display: block; }
.art-code .code .kw { color: #fde68a; }
.art-code .code .attr { color: #93c5fd; }
.art-code .code .val { color: #fca5a5; }
.art-code .code .num { color: #c4b5fd; }
.art-code .code .indent { padding-left: 14px; }
.art-server { padding: 12px 14px; display: grid; gap: 5px; height: calc(100% - 24px); box-sizing: border-box; align-content: center; }
.art-server .server { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(0,0,0,.28); border-radius: 5px; font: 600 10px/1 ui-monospace, "JetBrains Mono", monospace; color: #fff; border: 1px solid rgba(255,255,255,.06); }
.art-server .led { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); flex-shrink: 0; }
.art-server .led.green { background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: ledBlink 2s ease-in-out infinite; }
.art-server .led.yellow { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; animation: ledBlink 1.4s ease-in-out infinite; }
@keyframes ledBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.art-seo { padding: 18px; }
.art-seo .doc { position: relative; background: #fff; border-radius: 6px; padding: 12px; width: 60%; box-shadow: 0 6px 12px rgba(0,0,0,.18); }
.art-seo .doc .ln { display: block; height: 4px; background: #cbd5e1; border-radius: 2px; margin-bottom: 5px; }
.art-seo .magnifier { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; font: 700 22px/1 ui-sans-serif; color: var(--accent-dark); box-shadow: 0 6px 14px rgba(0,0,0,.22); transition: transform .4s var(--ease); }

/* ============================================================
   Modals — Login / Register
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(15,23,42,0.4);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-box {
  width: 100%; max-width: 420px; max-height: 90vh; overflow-y: auto;
  padding: 36px 28px; border-radius: var(--r-xl);
  background: var(--bg-primary); border: 1px solid var(--border);
  box-shadow: var(--shadow-xl); position: relative;
}
.modal-x {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.modal-x:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; text-align: center; }
.modal-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; text-align: center; }
.login-field { margin-bottom: 18px; }
.login-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.login-input-wrap {
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-radius: var(--r); background: var(--bg-secondary); border: 1px solid var(--border);
  transition: all var(--transition);
}
.login-input-wrap:focus-within { border-color: var(--accent); }
.login-input-wrap svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.login-input-wrap input { width: 100%; padding: 12px 0; background: transparent; color: var(--text-primary); font-size: 14px; }
.login-err { font-size: 13px; color: #EF4444; text-align: center; margin-bottom: 12px; }
.login-btn-main {
  width: 100%; padding: 14px; font-size: 15px; font-weight: 700;
  background: var(--gradient); color: #fff; border-radius: var(--r);
  transition: all var(--transition); margin-bottom: 20px;
}
.login-btn-main:hover { box-shadow: 0 4px 20px rgba(59,130,246,0.20); }
.login-btn-main:disabled { opacity: 0.6; cursor: not-allowed; }
.login-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--text-muted); font-size: 12px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-quick-btns { display: flex; gap: 12px; margin-bottom: 20px; }
.login-social-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--r); border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; transition: all var(--transition);
  background: var(--bg-primary);
}
.login-social-btn:hover { background: var(--bg-tertiary); }
.login-register-link { text-align: center; font-size: 14px; color: var(--text-secondary); }
.login-register-link a { color: var(--accent); font-weight: 600; cursor: pointer; }
.login-register-link a:hover { text-decoration: underline; }
.login-footer { text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 16px; }
.login-footer a { color: var(--text-secondary); text-decoration: underline; }

/* ============================================================
   Policy Modal
   ============================================================ */
.policy-modal {
  position: fixed; inset: 0; z-index: 2001; background: rgba(15,23,42,0.4);
  backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.policy-modal-box {
  width: 100%; max-width: 640px; max-height: 80vh;
  border-radius: var(--r-xl); background: var(--bg-primary);
  border: 1px solid var(--border); box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; overflow: hidden;
}
.policy-modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.policy-modal-head h3 { font-size: 18px; font-weight: 700; }
.policy-modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.policy-modal-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.policy-modal-body { padding: 24px; overflow-y: auto; flex: 1; line-height: 1.8; }

/* ============================================================
   Toast
   ============================================================ */
.studio-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 12px 24px; border-radius: var(--r); z-index: 2000;
  background: var(--bg-primary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(10px);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ============================================================
   Animations — Reveal on Scroll
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Floating CTA
   ============================================================ */
.floating-cta {
  display: none; position: fixed; bottom: 28px; right: 20px; z-index: 990;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  box-shadow: 0 4px 20px var(--accent-glow), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
  align-items: center; justify-content: center;
}
.floating-cta:hover { transform: scale(1.08); box-shadow: 0 6px 28px var(--accent-glow), 0 4px 14px rgba(0,0,0,0.3); }
.floating-cta:active { transform: scale(0.95); }
.floating-cta svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.floating-cta .cta-ripple { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: cta-pulse 2s ease-out infinite; }
@keyframes cta-pulse { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }

/* ============================================================
   Misc
   ============================================================ */
.desktop-only { display: block; }

/* ============================================================
   Responsive — 1024px (iPad landscape)
   ============================================================ */
@media (max-width: 1024px) {
  .service-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .process-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-step:not(:last-child)::after { display: none; }
  .stat-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; padding-bottom: 0; border-bottom: none; }
  .footer-brand { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 4px; }
  .footer-brand p { max-width: 100%; }
  .footer-col { border-bottom: none; }
  .footer-col h4 { cursor: default; pointer-events: none; }
  .footer-col h4::after { display: none; }
  .footer-col-arrow { display: none; }
  .footer-col-links { display: block; grid-template-rows: none; }
  .footer-col-links-inner { padding: 0; overflow: visible; }
  .case-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-detail-visual { position: static; max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   Responsive — 768px (iPad portrait / large phone)
   ============================================================ */
@media (max-width: 768px) {
  .topbar-inner, .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .topbar .nav-cta, .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 55;
    display: block; max-height: 0; overflow: hidden; padding: 0 16px;
    background: #fff; border-bottom: 1px solid var(--border);
    transition: max-height .3s var(--ease), padding .3s var(--ease);
  }
  .mobile-menu.open { max-height: 460px; padding: 16px; }
  .mobile-menu .nav-link { display: block; padding: 14px 12px; font-size: 16px; }
  .nav-logo-mark { height: 36px; }
  .nav-logo-name { font-size: 20px; letter-spacing: 1.5px; }
  .nav-logo-line span:nth-child(2) { font-size: 10px; letter-spacing: 0.5px; }
  .footer-logo-mark { height: 40px; }
  .footer-logo-name { font-size: 22px; letter-spacing: 1.5px; }
  .footer-logo-line span:nth-child(2) { font-size: 12px; letter-spacing: 3px; }
  .hero { padding: calc(var(--nav-h) + 28px) 20px 40px; min-height: auto; }
  .hero-title { font-size: clamp(28px, 7.5vw, 40px); margin-bottom: 12px; }
  .hero-sub, .hero-subtitle { margin-bottom: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 18px; gap: 10px; }
  .hero-actions { flex-direction: column; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; text-align: center; }
  .section { padding: 52px 20px; overflow-x: hidden; }
  .section-compact, .section-tight { padding: 36px 20px; }
  .section-title { font-size: clamp(22px, 6vw, 28px); }
  .service-grid, .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 22px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work-card { border-radius: var(--r); }
  .work-thumb { aspect-ratio: 1/1; }
  .case-logo-large { width: 48px; height: 48px; font-size: 20px; border-radius: 12px; }
  .case-url-text { font-size: 11px; padding: 3px 8px; }
  .work-info { padding: 12px; }
  .case-header { margin-bottom: 8px; }
  .case-title-wrap h3 { font-size: 14px; margin-bottom: 2px; }
  .case-sub { font-size: 11px; }
  .case-footer { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 0; padding-top: 10px; }
  .case-url { font-size: 12px; }
  .case-btn { display: none; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid, .process-steps { grid-template-columns: 1fr; }
  .stat-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: row; justify-content: center; text-align: center; gap: 10px 24px; }
  .footer, .site-footer { padding: 48px 20px 20px; }
  .footer-brand { text-align: center; }
  .footer-brand .footer-logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; max-width: 320px; }
  .modal-box { padding: 28px 20px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 20px 40px; }
  .page-hero-title { font-size: 32px; }
  .page-section { padding: 48px 20px; overflow-x: hidden; }
  .page-container { padding: 28px; border-radius: var(--r-lg); overflow-x: hidden; min-width: 0; word-break: break-word; }
  .page-content { font-size: 14px; padding: 40px 20px; }
  .blog-layout {
    grid-template-columns: minmax(0, 1fr); gap: 20px;
    width: 100%; max-width: 100%; overflow-x: hidden;
  }
  .blog-sidebar { overflow: visible; min-width: 0; }
  .blog-sidebar-inner {
    position: static; padding: 0; margin: 0;
    background: none; border: none; border-radius: 0; box-shadow: none; display: block;
  }
  .blog-sidebar-title { display: none; }
  .blog-category-nav {
    flex-direction: row; gap: 0;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding: 0; margin: 0 0 16px; border-bottom: 1px solid var(--border);
  }
  .blog-category-nav::-webkit-scrollbar { display: none; }
  .blog-category-item {
    flex-shrink: 0; width: auto; min-width: fit-content;
    padding: 8px 14px; border-radius: 0; background: none; white-space: nowrap;
    font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  }
  .blog-category-item.active { background: none; color: var(--accent); border-bottom-color: var(--accent); }
  .blog-category-item.active .blog-category-dot { background: var(--accent) !important; }
  .blog-category-item.active .blog-category-count { background: var(--accent-glow); color: var(--accent); }
  .blog-category-dot { display: none; }
  .blog-category-count { font-size: 11px; padding: 1px 6px; min-width: 18px; }
  .blog-main-inner { padding: 20px 16px; border-radius: 16px; }
  .blog-page-item { flex-direction: column; gap: 14px; padding: 18px 16px; }
  .blog-page-thumb { width: 100%; height: 130px; border-radius: 10px; }
  .blog-page-title { font-size: 17px; }
  .blog-page-summary { font-size: 13px; -webkit-line-clamp: 3; }
  .blog-page-meta { font-size: 12px; gap: 12px; }
  /* Tablet footer: 2x2 grid, no accordion */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; padding-bottom: 0; border-bottom: none; }
  .footer-brand { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 4px; }
  .footer-col { border-bottom: none; }
  .footer-col h4 { display: block; margin-bottom: 10px; padding: 0; cursor: default; pointer-events: none; font-size: 13px; }
  .footer-col-arrow { display: none; }
  .footer-col-links { display: block; grid-template-rows: none; }
  .footer-col-links-inner { padding: 0; overflow: visible; }
  .footer-col-links-inner a { padding: 4px 0; }
  .footer-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }
  .footer-bar-icp { font-size: 11px; }
  .gaba-icon { width: 14px; height: 14px; margin-right: 3px; }
  .footer, .site-footer { padding-bottom: 80px; }
  .case-detail-grid { gap: 32px; }
  .case-detail-card { padding: 24px; }
  .case-detail-actions { flex-direction: column; align-items: stretch; }
  .case-btn-primary, .case-btn-ghost { width: 100%; justify-content: center; }
  .floating-cta { display: flex; }
  .desktop-only { display: none; }
  .footer-friendlinks { display: none; }
}

/* ============================================================
   Responsive — 480px (phone)
   ============================================================ */
@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .section-compact, .section-tight { padding: 32px 16px; }
  .hero { padding: calc(var(--nav-h) + 24px) 16px 32px; }
  .hero-stats { padding: 14px; }
  .stat-grid, .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-number { font-size: clamp(24px, 8vw, 32px); }
  .stat-label { font-size: 12px; }
  .hero-badge { font-size: 12px; }
  .hero-btn-primary, .hero-btn-secondary { padding: 12px 28px; font-size: 15px; }
  .page-section { padding: 48px 16px; }
  .service-card { padding: 22px 18px; }
  .work-info { padding: 16px; }
  .blog-card-body { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; border-bottom: none; }
  .footer-brand { align-items: center; text-align: center; padding-bottom: 0; border-bottom: none; }
  .footer-brand .footer-logo { justify-content: center; }
  .footer-brand p { display: none; }
  .footer-social { justify-content: center; margin-top: 10px; }
  .footer-col { display: none; }
  .footer-bar { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; gap: 6px 12px; }
  .footer-bar-copyright { font-size: 11px; }
  .footer-bar-icp { font-size: 9px; }
  .gaba-icon { width: 11px; height: 11px; margin-right: 2px; }
  .footer, .site-footer { padding: 40px 16px 80px; }
  .contact-method { padding: 12px 60px 12px 14px; }
  .contact-method-copy::after, .contact-method-dial::after { right: 8px; font-size: 10px; padding: 2px 5px; }
}

/* ============================================================
   Responsive — 400px (small phone)
   ============================================================ */
@media (max-width: 400px) {
}

/* ================================================================
   模板布局系统 (mx-*) — v367 新增
   来源：shiguyu-template.html 第 376-820 行
   ================================================================ */

/* ---------- 页面结构 ---------- */
.mx { color: var(--ink-900); background: #ffffff; font-family: var(--font-ui); }
.mx * { box-sizing: border-box; }
.mx-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.mx-bar .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.mx-bar .brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.mx-bar nav { display: flex; gap: 4px; }
.mx-bar nav a { padding: 6px 12px; font-size: 13px; color: var(--ink-600); border-radius: 8px; font-weight: 500; }
.mx-bar nav a.active { color: var(--accent-text); background: var(--accent-bg); }
.mx-bar .cta { padding: 8px 14px; font-size: 13px; color: #fff; background: var(--gradient); border-radius: 8px; font-weight: 600; }
.mx-page { padding: 64px 32px; }
.mx-page.tight { padding: 48px 32px; }
.mx-page.soft { background: var(--bg-soft); }
.mx-page.dark { background: #0f172a; color: #e2e8f0; }
.mx-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-text); }
.mx-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gradient); border-radius: 2px; }
.mx-title { margin: 12px 0 12px; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; }
.mx-sub { margin: 0 0 32px; max-width: 640px; color: var(--ink-500); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.7; }
.mx-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.mx-head .mx-sub { margin-bottom: 0; }
.mx-grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.mx-hero { padding: 96px 32px 72px; background: var(--bg-hero); text-align: center; position: relative; overflow: hidden; }
.mx-hero::before, .mx-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.mx-hero::before { top: -120px; left: -120px; width: 360px; height: 360px; background: rgba(59, 130, 246, 0.20); }
.mx-hero::after { top: 60px; right: -100px; width: 280px; height: 280px; background: rgba(236, 72, 153, 0.10); }
.mx-hero .mx-inner { position: relative; max-width: 880px; margin: 0 auto; }
.mx-hero h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
.mx-hero p { margin: 0 auto 28px; max-width: 620px; color: var(--ink-600); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7; }
.mx-hero .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* ---------- 按钮 ---------- */
.mx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 14px; font-weight: 600; border-radius: var(--r); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mx-btn.primary { color: #fff; background: var(--gradient); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25); }
.mx-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(59, 130, 246, 0.30); }
.mx-btn.ghost { color: var(--ink-700); background: #fff; border: 1px solid var(--border-strong); }
.mx-btn.ghost:hover { color: var(--accent-text); border-color: var(--accent-text); background: #fff; }
.mx-btn.tiny { padding: 6px 12px; font-size: 12px; border-radius: 8px; }

/* ---------- 统计数据 ---------- */
.mx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 720px; margin: 0 auto; padding: 20px; background: rgba(255, 255, 255, 0.78); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.mx-stats div { text-align: center; }
.mx-stats strong { display: block; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--accent-text); letter-spacing: -0.02em; }
.mx-stats span { display: block; font-size: 12px; color: var(--ink-500); }

/* ---------- 网格 ---------- */
.mx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ---------- 卡片 ---------- */
.mx-card { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.mx-card.hover { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.mx-card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-glow); }
.mx-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent-text); margin-bottom: 14px; flex-shrink: 0; }
.mx-icon svg { width: 22px; height: 22px; display: block; }
.mx-icon.pink { background: rgba(190, 24, 93, 0.10); color: var(--pink); }
.mx-icon.green { background: rgba(4, 120, 87, 0.10); color: var(--green); }
.mx-icon.orange { background: rgba(180, 83, 9, 0.10); color: var(--orange); }
.mx-icon.cyan { background: rgba(14, 116, 144, 0.10); color: #0e7490; }
.mx-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.mx-card p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 流程步骤 ---------- */
.mx-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mx-step { position: relative; padding: 22px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.mx-step::before { content: attr(data-step); display: inline-block; font-size: 12px; font-weight: 800; color: var(--accent-text); padding: 4px 10px; background: var(--accent-bg); border-radius: var(--r-sm); margin-bottom: 10px; letter-spacing: 0.06em; }
.mx-step h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.mx-step p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.7; }

/* ---------- 作品卡片 ---------- */
.mx-work { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mx-work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-glow); }
.mx-work .cover { position: relative; overflow: hidden; isolation: isolate; color: #fff; transition: transform .5s var(--ease); aspect-ratio: 16/10; background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%); }
.mx-work:hover .cover { transform: scale(1.02); }
.mx-work .cover::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.28)); }
.mx-work .cover .layer { position: absolute; inset: 0; pointer-events: none; transition: transform .6s var(--ease); }
.mx-work:hover .cover .layer { transform: translate3d(0, -6px, 0); }
.mx-work .cover .grid-bg { background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 22px 22px; opacity: .35; }
.mx-work .cover .glow { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.35), transparent 50%); }
.mx-work .cover .browser { position: absolute; left: 10%; right: 10%; top: 20%; bottom: 16%; background: rgba(255,255,255,.96); border-radius: 10px; box-shadow: 0 22px 40px rgba(15, 23, 42, .30); padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 6px; transform: perspective(700px) rotateX(6deg) rotateY(-2deg); transition: transform .5s var(--ease); }
.mx-work:hover .cover .browser { transform: perspective(700px) rotateX(0) rotateY(0); }
.mx-work .cover .browser .head { display: flex; align-items: center; gap: 4px; padding-bottom: 4px; border-bottom: 1px solid rgba(15,23,42,.08); }
.mx-work .cover .browser .head i { width: 6px; height: 6px; border-radius: 50%; background: rgba(15,23,42,.15); display: block; }
.mx-work .cover .browser .head i:nth-child(1) { background: #fb7185; }
.mx-work .cover .browser .head i:nth-child(2) { background: #fbbf24; }
.mx-work .cover .browser .head i:nth-child(3) { background: #34d399; }
.mx-work .cover .browser .head .addr { flex: 1; height: 8px; border-radius: 3px; background: rgba(15,23,42,.06); margin-left: 4px; }
.mx-work .cover .browser .hero-block { height: 28%; border-radius: 5px; background: linear-gradient(135deg, #dbeafe, #fff); position: relative; overflow: hidden; }
.mx-work .cover .browser .hero-block::before { content: "MARKETPLACE"; position: absolute; left: 8px; top: 6px; color: var(--accent-text); font: 800 8px/1 ui-sans-serif; letter-spacing: .12em; }
.mx-work .cover .browser .hero-block::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 36%; height: 22%; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: 0 4px 10px rgba(59,130,246,.35); }
.mx-work .cover .browser .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 1; }
.mx-work .cover .browser .cards i { display: block; background: rgba(15, 23, 42, .04); border-radius: 4px; position: relative; }
.mx-work .cover .browser .cards i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; border-radius: 4px 4px 0 0; background: linear-gradient(135deg, #93c5fd, #60a5fa); opacity: .65; }
.mx-work .cover .badge-floating { position: absolute; bottom: 10px; left: 12px; z-index: 6; padding: 4px 10px; border-radius: var(--r-full); background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* 绿色主题 */
.mx-work .cover.green { background: linear-gradient(135deg, #065f46 0%, #10b981 55%, #34d399 100%); }
.mx-work .cover.green .grid-bg { opacity: .12; }
.mx-work .cover.green .glow { background: radial-gradient(circle at 25% 75%, rgba(255,255,255,.30), transparent 55%); }
.mx-work .cover.green .phone { position: absolute; left: 9%; top: 12%; bottom: 12%; width: 30%; background: #0f172a; border-radius: 14px; box-shadow: 0 22px 36px rgba(0,0,0,.40), inset 0 0 0 2px rgba(255,255,255,.10); padding: 12px 8px 8px; }
.mx-work .cover.green .phone::before { content: ""; display: block; width: 32%; height: 4px; margin: 0 auto 8px; background: rgba(255,255,255,.4); border-radius: 3px; }
.mx-work .cover.green .phone .imei { background: rgba(255,255,255,.95); border-radius: 5px; padding: 6px 4px; font: 700 8px/1 ui-monospace, "JetBrains Mono", monospace; color: #047857; text-align: center; letter-spacing: .05em; box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }
.mx-work .cover.green .phone .imei::before { content: "3567 4610 ..."; }
.mx-work .cover.green .phone .row { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 6px; }
.mx-work .cover.green .phone .row i { display: block; height: 22px; border-radius: 5px; background: rgba(255,255,255,.92); position: relative; }
.mx-work .cover.green .phone .row i::before { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 50%; border-radius: 3px; background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.mx-work .cover.green .phone .row i::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 14%; border-radius: 2px; background: rgba(15,23,42,.2); }
.mx-work .cover.green .phone .ok { margin-top: 6px; padding: 5px; border-radius: 4px; background: linear-gradient(135deg, #10b981, #047857); color: #fff; font: 800 9px/1 ui-sans-serif; text-align: center; letter-spacing: .08em; box-shadow: 0 4px 8px rgba(4,120,87,.4); }
.mx-work .cover.green .result-card { position: absolute; right: 8%; top: 22%; width: 48%; background: rgba(255,255,255,.95); border-radius: 12px; padding: 14px; box-shadow: 0 22px 40px rgba(0,0,0,.32); transform: perspective(700px) rotateY(4deg); transition: transform .5s var(--ease); }
.mx-work:hover .cover.green .result-card { transform: perspective(700px) rotateY(0); }
.mx-work .cover.green .result-card .tag { display: inline-block; padding: 3px 8px; border-radius: var(--r-full); background: #d1fae5; color: #047857; font: 800 9px/1.4 ui-sans-serif; }
.mx-work .cover.green .result-card h4 { margin: 8px 0 4px; font: 800 13px/1.25 ui-sans-serif; color: #0f172a; }
.mx-work .cover.green .result-card p { margin: 0; font: 600 10px/1.4 ui-sans-serif; color: #475569; }
.mx-work .cover.green .result-card ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.mx-work .cover.green .result-card ul li { display: flex; align-items: center; gap: 4px; font: 600 9px/1.2 ui-sans-serif; color: #334155; }
.mx-work .cover.green .result-card ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #047857); flex-shrink: 0; box-shadow: inset 0 0 0 1.5px #fff; }
.mx-work .cover.green .result-card .check { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #10b981, #047857); display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 4px 10px rgba(4,120,87,.4); }
.mx-work .cover.green .result-card .check::after { content: "✓"; font-size: 14px; }

/* 粉色主题 */
.mx-work .cover.pink { background: linear-gradient(135deg, #9d174d 0%, #ec4899 55%, #f9a8d4 100%); }
.mx-work .cover.pink .grid-bg { opacity: .12; }
.mx-work .cover.pink .glow { background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.40), transparent 55%); }
.mx-work .cover.pink .chat-stack { position: absolute; left: 7%; right: 7%; top: 12%; bottom: 22%; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mx-work .cover.pink .bubble { max-width: 72%; padding: 7px 11px; border-radius: 12px; font: 700 9px/1.4 ui-sans-serif; color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.20); position: relative; }
.mx-work .cover.pink .bubble.user { align-self: flex-end; background: rgba(255,255,255,.96); color: #be185d; }
.mx-work .cover.pink .bubble.bot { align-self: flex-start; background: rgba(15, 23, 42, .55); backdrop-filter: blur(6px); }
.mx-work .cover.pink .bubble.success { background: linear-gradient(135deg, #10b981, #047857); align-self: flex-start; box-shadow: 0 6px 14px rgba(4,120,87,.35); }
.mx-work .cover.pink .bubble .check-icon { width: 12px; height: 12px; border-radius: 50%; background: #fff; color: #047857; display: grid; place-items: center; font-size: 8px; font-weight: 900; line-height: 1; }
.mx-work .cover.pink .bubble.success .check-icon::after { content: "✓"; }
.mx-work .cover.pink .bot-avatar { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #60a5fa, #2563eb); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 22px; box-shadow: 0 12px 24px rgba(0,0,0,.32), inset 0 0 0 4px rgba(255,255,255,.88); z-index: 6; animation: mxPulseDot 2.4s ease-in-out infinite; }
@keyframes mxPulseDot { 0%, 100% { box-shadow: 0 12px 24px rgba(0,0,0,.32), inset 0 0 0 4px rgba(255,255,255,.88), 0 0 0 0 rgba(255,255,255,.55); } 50% { box-shadow: 0 12px 24px rgba(0,0,0,.32), inset 0 0 0 4px rgba(255,255,255,.88), 0 0 0 10px rgba(255,255,255,0); } }

/* 橙色主题 */
.mx-work .cover.orange { background: linear-gradient(135deg, #92400e 0%, #f59e0b 55%, #fbbf24 100%); }
.mx-work .cover.orange .glow { background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.30), transparent 55%); }
.mx-work .cover.orange .shelf { position: absolute; inset: 16% 8% 16%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: center; }
.mx-work .cover.orange .shelf i { display: block; aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, #fde68a 100%); box-shadow: 0 12px 22px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.5); position: relative; transition: transform .35s var(--ease); }
.mx-work .cover.orange .shelf i:nth-child(2) { transform: translateY(-3px); }
.mx-work .cover.orange .shelf i:nth-child(4) { transform: translateY(-3px); }
.mx-work:hover .cover.orange .shelf i:nth-child(2) { transform: translateY(-6px); }
.mx-work:hover .cover.orange .shelf i:nth-child(4) { transform: translateY(-6px); }
.mx-work .cover.orange .shelf i::before { content: ""; position: absolute; left: 18%; right: 18%; top: 8%; height: 38%; border-radius: 5px; background: linear-gradient(180deg, #0f172a, #334155); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.mx-work .cover.orange .shelf i::after { content: ""; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); width: 64%; height: 5px; border-radius: 2px; background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 2px 4px rgba(217,119,6,.35); }
.mx-work .cover.orange .price-tag { position: absolute; top: 12%; right: 14%; background: rgba(255,255,255,.95); color: #92400e; padding: 4px 10px; border-radius: var(--r-full); font: 800 11px/1 ui-sans-serif; box-shadow: 0 6px 14px rgba(0,0,0,.20); transform: rotate(8deg); }
.mx-work .cover.orange .price-tag::before { content: "¥"; font-size: 9px; margin-right: 1px; }

/* 青蓝主题 */
.mx-work .cover.cyan { background: linear-gradient(135deg, #155e75 0%, #06b6d4 55%, #67e8f9 100%); }
.mx-work .cover.cyan .glow { background: radial-gradient(circle at 25% 80%, rgba(255,255,255,.30), transparent 55%); }
.mx-work .cover.cyan .stack { position: absolute; left: 14%; top: 18%; width: 56%; transform: perspective(700px) rotateX(8deg) rotateY(-4deg); transition: transform .5s var(--ease); }
.mx-work:hover .cover.cyan .stack { transform: perspective(700px) rotateX(0) rotateY(0); }
.mx-work .cover.cyan .stack i { display: block; background: rgba(255,255,255,.92); border-radius: 6px; margin-bottom: 6px; box-shadow: 0 6px 14px rgba(0,0,0,.22); }
.mx-work .cover.cyan .stack i:nth-child(1) { height: 10px; width: 80%; }
.mx-work .cover.cyan .stack i:nth-child(3) { height: 8px; width: 70%; }
.mx-work .cover.cyan .stamp { position: absolute; right: 12%; bottom: 16%; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 2px dashed rgba(255,255,255,.55); display: grid; place-items: center; color: #fff; transform: rotate(15deg); }

/* ---------- 作品 meta ---------- */
.mx-work .meta { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.mx-work .tags { display: flex; gap: 6px; }
.mx-work .tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-sm); background: var(--accent-bg); color: var(--accent-text); }
.mx-work h3 { margin: 0; font-size: 16px; font-weight: 700; }
.mx-work p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.6; }

/* ---------- 文章卡片 ---------- */
.mx-article { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mx-article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mx-article .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, #1e40af 0%, #3b82f6 55%, #60a5fa 100%); transition: transform .5s var(--ease); position: relative; overflow: hidden; }
.mx-article:hover .cover { transform: scale(1.03); }
.mx-article .cover.green { background: linear-gradient(135deg, #065f46 0%, #10b981 55%, #34d399 100%); }
.mx-article .cover.pink { background: linear-gradient(135deg, #9d174d 0%, #ec4899 55%, #f472b6 100%); }
.mx-article .cover.orange { background: linear-gradient(135deg, #92400e 0%, #f59e0b 55%, #fbbf24 100%); }
.mx-article .cover.cyan { background: linear-gradient(135deg, #155e75 0%, #06b6d4 55%, #67e8f9 100%); }
.mx-article .cover.indigo { background: linear-gradient(135deg, #312e81 0%, #6366f1 55%, #a5b4fc 100%); }
.mx-article .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mx-article .meta { font-size: 11px; color: var(--ink-500); }
.mx-article h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.45; }
.mx-article p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.6; }

/* ---------- 文章封面艺术 ---------- */
.mx-article .cover .art { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mx-article .cover .art .tag { position: absolute; left: 14px; bottom: 12px; z-index: 5; font: 700 10px/1 ui-monospace, "JetBrains Mono", monospace; padding: 5px 9px; border-radius: 5px; background: rgba(0,0,0,.30); color: #fff; letter-spacing: .04em; }
.art-tokens { padding: 14px; }
.art-tokens .palette { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin-bottom: 10px; }
.art-tokens .palette i { aspect-ratio: 1; border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,.18); }
.art-tokens .grid-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 52%; }
.art-tokens .grid-cols i { background: rgba(255,255,255,.92); border-radius: 4px; }
.art-tokens .grid-cols i.hi { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.art-growth { padding: 18px; }
.art-growth .bars { display: flex; align-items: flex-end; gap: 6px; height: 58%; padding: 0 4px; }
.art-growth .bars i { flex: 1; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.35)); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: transform .4s var(--ease); }
.mx-article:hover .art-growth .bars i { transform: scaleY(1.08); }
.art-growth .trend { position: absolute; left: 18px; right: 18px; top: 30%; height: 30%; }
.art-growth .arrow-up { position: absolute; top: 12px; right: 14px; font: 800 14px/1 ui-sans-serif; color: #fff; background: rgba(0,0,0,.30); padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.art-arch { padding: 16px; }
.art-arch .stack { position: absolute; left: 18px; top: 22px; width: 56%; height: 56%; perspective: 320px; }
.art-arch .stack i { position: absolute; inset: 0; background: rgba(255,255,255,.95); border-radius: 8px; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 6px 14px rgba(0,0,0,.18); transition: transform .4s var(--ease); }
.art-arch .stack i:nth-child(2) { transform: translate(12px, -10px) rotate(-4deg); background: rgba(255,255,255,.85); }
.art-arch .stack i:nth-child(3) { transform: translate(24px, -20px) rotate(-2deg); background: rgba(255,255,255,.7); }
.mx-article:hover .art-arch .stack i:nth-child(2) { transform: translate(16px, -14px) rotate(-6deg); }
.mx-article:hover .art-arch .stack i:nth-child(3) { transform: translate(32px, -28px) rotate(-3deg); }
.art-arch .stack i::before { content: ""; position: absolute; inset: 12px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), rgba(59,130,246,.4)); opacity: .35; }
.art-code { padding: 14px; }
.art-code .code { background: rgba(0,0,0,.40); border-radius: 6px; padding: 10px 12px; font: 10.5px/1.7 ui-monospace, "JetBrains Mono", monospace; color: #fff; height: calc(100% - 28px); box-sizing: border-box; }
.art-code .code .ln { display: block; }
.art-code .code .kw { color: #fde68a; }
.art-code .code .attr { color: #93c5fd; }
.art-code .code .val { color: #fca5a5; }
.art-code .code .num { color: #c4b5fd; }
.art-code .code .indent { padding-left: 14px; }
.art-server { padding: 12px 14px; display: grid; gap: 5px; height: calc(100% - 24px); box-sizing: border-box; align-content: center; }
.art-server .server { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(0,0,0,.28); border-radius: 5px; font: 600 10px/1 ui-monospace, "JetBrains Mono", monospace; color: #fff; border: 1px solid rgba(255,255,255,.06); }
.art-server .led { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); flex-shrink: 0; }
.art-server .led.green { background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: mxBlink 2s ease-in-out infinite; }
.art-server .led.yellow { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; animation: mxBlink 1.4s ease-in-out infinite; }
.art-server .server small { margin-left: auto; opacity: .75; font-size: 9px; font-weight: 500; }
@keyframes mxBlink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.art-seo { padding: 18px; }
.art-seo .doc { position: relative; background: #fff; border-radius: 6px; padding: 12px; width: 60%; box-shadow: 0 6px 12px rgba(0,0,0,.18); }
.art-seo .doc .ln { display: block; height: 4px; background: #cbd5e1; border-radius: 2px; margin-bottom: 5px; }
.art-seo .doc .ln.w70 { width: 70%; }
.art-seo .doc .ln.w50 { width: 50%; }
.art-seo .doc .ln.hi { background: var(--accent); }
.art-seo .keyword { position: absolute; top: 10px; right: 18px; background: #fde047; padding: 2px 6px; border-radius: 3px; font: 800 9px/1 ui-sans-serif; color: #713f12; }
.art-seo .magnifier { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; font: 700 22px/1 ui-sans-serif; color: var(--accent-dark); box-shadow: 0 6px 14px rgba(0,0,0,.22); transition: transform .4s var(--ease); }
.mx-article:hover .art-seo .magnifier { transform: scale(1.12) rotate(-6deg); }

/* ---------- 团队 ---------- */
.mx-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mx-team .card { text-align: center; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.mx-team .avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; background: var(--gradient); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; }
.mx-team h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.mx-team span { display: block; font-size: 12px; color: var(--ink-500); }
.mx-team p { margin: 10px 0 0; font-size: 12px; color: var(--ink-600); line-height: 1.6; }

/* ---------- 联系 ---------- */
.mx-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: var(--max-w); margin: 0 auto; }
.mx-contact .info h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.mx-contact .info p { font-size: 14px; color: var(--ink-500); margin: 0 0 16px; }
.mx-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.mx-method .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-bg); color: var(--accent-text); }
.mx-method .ic svg { width: 18px; height: 18px; }
.mx-method small { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; }
.mx-method strong { font-size: 14px; color: var(--ink-900); }
.mx-form { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.mx-form .field { margin-bottom: 12px; }
.mx-form label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-700); margin-bottom: 4px; }
.mx-form input, .mx-form textarea { width: 100%; padding: 10px 12px; font-size: 13px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); font-family: inherit; }
.mx-form input:focus, .mx-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--accent-glow); }
.mx-form textarea { min-height: 96px; resize: vertical; }
.mx-form .submit { width: 100%; padding: 12px; font-size: 14px; font-weight: 700; color: #fff; background: var(--gradient); border-radius: var(--r); }

/* ---------- CTA ---------- */
.mx-cta { padding: 56px 32px; background: var(--gradient); color: #fff; text-align: center; border-radius: var(--r-lg); margin: 0 32px 64px; }
.mx-cta h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.mx-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.85); }
.mx-cta .mx-btn { background: #fff; color: var(--accent-text); }

/* ---------- FAQ ---------- */
.mx-faq .item { padding: 16px 0; border-top: 1px solid var(--border); }
.mx-faq .item:first-child { border-top: 0; }
.mx-faq h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.mx-faq p { font-size: 13px; color: var(--ink-500); margin: 0; line-height: 1.7; }

/* ---------- 政策 ---------- */
.mx-policy { max-width: 760px; margin: 0 auto; padding: 64px 32px; }
.mx-policy h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.mx-policy h2 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; }
.mx-policy p { font-size: 14px; line-height: 1.85; color: var(--ink-700); margin: 0 0 14px; }
.mx-policy ul { padding-left: 22px; }
.mx-policy li { font-size: 14px; line-height: 1.85; color: var(--ink-700); margin-bottom: 6px; }

/* ---------- mx-* 响应式 ---------- */
@media (max-width: 1024px) {
  .mx-grid-3, .mx-grid-4, .mx-team { grid-template-columns: repeat(2, 1fr); }
  .mx-process { grid-template-columns: repeat(2, 1fr); }
  .mx-stats { grid-template-columns: repeat(2, 1fr); }
  .mx-contact { grid-template-columns: 1fr; }
  .mx-page { padding: 48px 24px; }
  .mx-hero { padding: 64px 24px 48px; }
}
@media (max-width: 768px) {
  .mx-bar { padding: 10px 16px; }
  .mx-bar nav { display: none; }
  .mx-hero { padding: 48px 18px 32px; }
  .mx-hero h1 { font-size: 26px; }
  .mx-page { padding: 28px 18px; }
  .mx-grid-3, .mx-grid-2, .mx-grid-4, .mx-team, .mx-process, .mx-stats { grid-template-columns: 1fr 1fr; }
  .mx-cta { margin: 0 18px 32px; padding: 32px 20px; }
  .mx-cta h2 { font-size: 22px; }
  .mx-policy { padding: 36px 20px; }
}
@media (max-width: 480px) {
  .mx-grid-2, .mx-grid-4, .mx-team { grid-template-columns: 1fr; }
  .mx-grid-3, .mx-process { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mx-grid-3 .mx-card { padding: 16px; }
  .mx-grid-3 .mx-icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 10px; }
  .mx-grid-3 .mx-card h3 { font-size: 14px; }
  .mx-grid-3 .mx-card p { font-size: 12px; }
  .mx-step { padding: 14px 12px; }
  .mx-step::before { font-size: 10px; padding: 3px 7px; margin-bottom: 6px; }
  .mx-step h3 { font-size: 13px; margin-bottom: 4px; }
  .mx-step p { font-size: 11px; line-height: 1.55; }
  .mx-work h3 { font-size: 13px; }
  .mx-work p { font-size: 11px; }
  .mx-work .meta { padding: 10px 12px; gap: 4px; }
  .mx-work .tag { font-size: 9px; padding: 2px 6px; }
  .mx-article h3 { font-size: 13px; }
  .mx-article p { font-size: 11px; }
  .mx-article .body { padding: 12px 14px; gap: 6px; }
  .mx-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; }
  .mx-stats strong { font-size: 22px; }
  .mx-stats span { font-size: 11px; }
  .mx-hero { padding: 40px 16px 28px; }
  .mx-page { padding: 24px 16px; }
}

/* ============================================================
   v385 — 博客/详情页手机端重构 + 顶部导航
   v386 — 浮动☎️拨号
   ============================================================ */

/* ---------- 顶部导航：手机端水平滚动 ---------- */
@media (max-width: 768px) {
  .nav-inner { gap: 10px; padding: 0 14px; }
  .nav-logo-mark { height: 32px; }
  .nav-logo-name { font-size: 18px; letter-spacing: 1px; }
  .nav-logo-line span:first-child,
  .nav-logo-line span:last-child { min-width: 10px; }
  .nav-logo-line span:nth-child(2) { font-size: 9px; letter-spacing: 0.5px; }
  .nav-links {
    display: flex; align-items: center; gap: 2px;
    flex: 1; min-width: 0; justify-content: flex-end;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-right: 2px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .nav-link {
    flex-shrink: 0; padding: 6px 8px; font-size: 13px; font-weight: 500;
    color: var(--ink-600); border-radius: 6px; white-space: nowrap;
  }
  .nav-links .nav-link.active { color: var(--accent-text); background: var(--accent-bg); }
  .nav-actions .nav-cta,
  .nav-actions .nav-hamburger,
  .nav-user-btn,
  .mobile-menu { display: none !important; }
}
@media (max-width: 360px) {
  .nav-links .nav-link { padding: 5px 6px; font-size: 12px; }
}

/* ---------- 博客列表页：分类标签 ---------- */
@media (max-width: 768px) {
  .blog-sidebar { display: none; }
}
.blog-categories-wrap {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.blog-categories-label {
  font-size: 14px; font-weight: 700; color: var(--ink-900);
  padding-right: 4px; white-space: nowrap;
}
.blog-categories-label::before {
  content: ""; display: inline-block; width: 3px; height: 14px;
  background: var(--accent); border-radius: 2px; margin-right: 8px; vertical-align: middle;
}
.blog-categories {
  display: flex; align-items: center; gap: 8px;
  flex: 1; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.blog-categories::-webkit-scrollbar { display: none; }
.blog-category-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-600);
  background: var(--bg-soft); border: 1px solid var(--border);
  white-space: nowrap; cursor: pointer; transition: all var(--transition);
}
.blog-category-pill:hover { background: var(--bg-tint); border-color: var(--ink-300); }
.blog-category-pill.active {
  color: var(--accent-text); background: var(--accent-bg);
  border-color: var(--accent-line);
}
.blog-category-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-300);
}
.blog-category-pill.active .dot { background: var(--accent); }
.blog-category-pill .count {
  font-size: 12px; font-weight: 600; color: var(--ink-500);
  background: #fff; padding: 1px 7px; border-radius: 999px;
}
.blog-category-pill.active .count { color: var(--accent-text); background: rgba(59,130,246,0.12); }

/* ---------- 博客列表页：卡片 ---------- */
.blog-feed { display: flex; flex-direction: column; gap: 16px; }
.blog-feed-item {
  display: flex; align-items: stretch; gap: 16px;
  padding: 16px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: all var(--transition); cursor: pointer; text-decoration: none; color: inherit;
}
.blog-feed-item:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-line);
}
.blog-feed-thumb {
  width: 88px; height: 88px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); position: relative; overflow: hidden;
}
.blog-feed-thumb svg { position: relative; z-index: 2; }
.blog-feed-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.15), transparent 60%);
}
.blog-feed-body {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
}
.blog-feed-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-bg); margin-bottom: 8px;
}
.blog-feed-title {
  font-size: 16px; font-weight: 700; color: var(--ink-900);
  line-height: 1.4; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-feed-summary {
  font-size: 13px; color: var(--ink-500); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 10px;
}
.blog-feed-meta {
  margin-top: auto; display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-muted);
}
.blog-feed-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }

/* ---------- 博客列表页：分页 ---------- */
.blog-pagination {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 32px;
}
.blog-pagination .page-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-700);
  background: #fff; border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-pagination .page-btn:hover:not(:disabled) {
  border-color: var(--accent); color: var(--accent-text); background: var(--accent-bg);
}
.blog-pagination .page-btn:disabled {
  opacity: 0.45; cursor: not-allowed;
}
.blog-pagination .page-info {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}

/* ---------- 博客列表页：订阅 CTA ---------- */
.blog-subscribe-cta {
  margin-top: 36px; padding: 40px 24px;
  background: var(--gradient); border-radius: var(--r-xl);
  text-align: center; color: #fff;
}
.blog-subscribe-cta h3 {
  font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em;
}
.blog-subscribe-cta p {
  font-size: 14px; color: rgba(255,255,255,0.85); margin: 0 0 20px;
}
.blog-subscribe-cta .cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--accent-text);
  background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-subscribe-cta .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.16); }

/* ---------- 文章详情页：hero ---------- */
.article-hero {
  padding: calc(var(--nav-h) + 40px) 24px 48px;
  background: var(--bg-hero); text-align: center; position: relative; overflow: hidden;
}
.article-hero .article-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.article-hero .article-category {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--accent-line);
  margin-bottom: 16px;
}
.article-hero h1 {
  font-size: clamp(26px, 4.5vw, 44px); font-weight: 800;
  line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 16px;
}
.article-hero .article-hero-meta {
  display: inline-flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 16px;
  font-size: 13px; color: var(--ink-500);
}
.article-hero .article-hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-300);
}

/* ---------- 文章详情页：内容区 ---------- */
.article-container {
  max-width: 800px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 40px;
  box-shadow: var(--shadow);
}
.article-content {
  line-height: 1.85; color: var(--ink-700); font-size: 15px;
  overflow-wrap: break-word; word-break: break-word;
}
.article-content p { margin: 0 0 16px; }
.article-content h2, .article-content h3, .article-content h4 {
  font-weight: 700; color: var(--ink-900); margin: 28px 0 12px;
  padding-left: 14px; border-left: 3px solid var(--accent);
}
.article-content h2 { font-size: 20px; }
.article-content h3 { font-size: 17px; }
.article-content h4 { font-size: 15px; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  margin: 18px 0; padding: 14px 18px;
  border-left: 3px solid var(--accent); background: var(--accent-bg);
  border-radius: 0 var(--r) var(--r) 0; color: var(--ink-700);
}
.article-content img { max-width: 100%; height: auto; border-radius: var(--r); }
.article-content a { color: var(--accent-text); }
.article-content a:hover { text-decoration: underline; }

/* ---------- 文章详情页：标签 ---------- */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--accent-line);
}

/* ---------- 文章详情页：相关推荐 ---------- */
.article-related {
  margin-top: 48px;
}
.article-related-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.article-related-head::before {
  content: ""; width: 24px; height: 2px; background: var(--gradient); border-radius: 2px;
}
.article-related-head .eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent-text);
}
.article-related-head h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0;
}
.article-related-more {
  margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-600);
  display: inline-flex; align-items: center; gap: 4px;
}
.article-related-more:hover { color: var(--accent-text); }
.article-related-list { display: flex; flex-direction: column; gap: 14px; }
.article-related-item {
  display: flex; align-items: stretch; gap: 14px;
  padding: 14px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); text-decoration: none; color: inherit;
  transition: all var(--transition);
}
.article-related-item:hover { border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.article-related-thumb {
  width: 72px; height: 72px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); position: relative; overflow: hidden;
}
.article-related-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.15), transparent 60%);
}
.article-related-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.article-related-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-bg); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.article-related-title {
  font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.4; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-related-summary {
  font-size: 12px; color: var(--ink-500); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.article-related-meta {
  margin-top: auto; font-size: 11px; color: var(--text-muted);
}

/* ---------- 博客/详情页：响应式 ---------- */
@media (min-width: 769px) {
  .blog-categories-wrap { display: none; }
  .blog-feed { gap: 20px; }
  .blog-feed-item { gap: 24px; padding: 24px; }
  .blog-feed-thumb { width: 160px; height: 110px; }
  .blog-feed-title { font-size: 20px; }
  .blog-feed-summary { font-size: 14px; -webkit-line-clamp: 2; }
  .blog-feed-meta { font-size: 13px; }
  .blog-subscribe-cta { padding: 48px 32px; }
  .blog-subscribe-cta h3 { font-size: 26px; }
  .blog-subscribe-cta p { font-size: 15px; }
}
@media (max-width: 480px) {
  .article-hero { padding: calc(var(--nav-h) + 28px) 16px 32px; }
  .article-hero h1 { font-size: 22px; }
  .article-hero .article-hero-meta { font-size: 12px; }
  .article-container { padding: 24px 18px; border-radius: var(--r-lg); }
  .article-content { font-size: 14px; line-height: 1.75; }
  .article-content h2 { font-size: 17px; }
  .article-content h3 { font-size: 15px; }
  .article-related-head h2 { font-size: 20px; }
  .blog-categories-wrap { gap: 8px; margin-bottom: 18px; }
  .blog-categories-label { font-size: 13px; }
  .blog-category-pill { padding: 6px 11px; font-size: 12px; }
  .blog-feed-item { padding: 14px; gap: 12px; }
  .blog-feed-thumb { width: 76px; height: 76px; border-radius: 10px; }
  .blog-feed-thumb svg { width: 20px; height: 20px; }
  .blog-feed-title { font-size: 14px; }
  .blog-feed-summary { font-size: 12px; -webkit-line-clamp: 2; }
  .blog-feed-meta { font-size: 11px; gap: 8px; }
  .blog-subscribe-cta { padding: 32px 18px; }
  .blog-subscribe-cta h3 { font-size: 18px; }
  .blog-subscribe-cta p { font-size: 13px; }
  .blog-pagination { margin-top: 24px; }
  .blog-pagination .page-btn { padding: 8px 12px; font-size: 12px; }
  .blog-pagination .page-info { font-size: 12px; }
}
