/* ============================================================
   ZXTOOLX 仲夏工具箱 - 全站样式（液态玻璃 Liquid Glass 深度版）
   设计语言：通透玻璃 · 悬浮高光 · 背景模糊 · 沉浸动效
   ============================================================ */
:root {
  --bg: #f4f1fb;
  --bg-2: #fdf6ef;
  --bg-3: #eef3ff;
  --ink: #1c1c2e;
  --muted: #6b6b82;
  --line: rgba(120, 120, 160, 0.18);
  --accent: #4f6bf7;
  --accent-2: #7c5cf7;
  --accent-soft: rgba(79, 107, 247, 0.12);
  --green: #34c759;
  --orange: #ff9500;
  --purple: #af52de;
  --red: #ff3b30;

  /* ---- 液态玻璃令牌（复刻 Apple Liquid Glass：通透 + 镜面高光 + 彩色渗光阴影） ---- */
  --glass: rgba(255, 255, 255, 0.30);              /* 玻璃主体（通透） */
  --glass-strong: rgba(255, 255, 255, 0.55);       /* 强调玻璃 */
  --glass-soft: rgba(255, 255, 255, 0.18);         /* 弱玻璃 */
  --glass-tint: rgba(124, 92, 247, 0.08);          /* 品牌色玻璃 */
  --glass-border: rgba(255, 255, 255, 0.5);        /* 亮描边 */
  --glass-border-2: rgba(255, 255, 255, 0.2);      /* 弱亮描边 */
  --glass-dark-border: rgba(31, 45, 85, 0.08);     /* 底部暗边 */
  --glass-blur: saturate(200%) blur(24px);
  --glass-blur-lg: saturate(220%) blur(40px);
  /* 双层阴影：外层彩色渗光 + 内层顶部受光（模拟光线透过玻璃渗入阴影） */
  --glass-shadow:
    0 18px 48px rgba(79, 107, 247, 0.16),
    0 4px 14px rgba(38, 48, 108, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15);
  --glass-shadow-sm:
    0 10px 30px rgba(79, 107, 247, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --glass-shadow-hover:
    0 28px 70px rgba(79, 107, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  --radius: 20px;
  --pill: 980px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 全站隐藏滚动条 */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; }

/* ============ 背景：仲夏光斑（液态玻璃的通透需要背后有色彩） ============ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 12% -8%, rgba(124, 92, 247, 0.20), transparent 60%),
    radial-gradient(900px 520px at 88% 4%, rgba(255, 149, 0, 0.16), transparent 55%),
    radial-gradient(1000px 640px at 70% 96%, rgba(52, 199, 129, 0.14), transparent 55%),
    linear-gradient(165deg, #f6f3ff 0%, #fdf7f0 45%, #eef3ff 100%);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
  transition: background-color .4s ease;
}
/* 浮动光斑层（缓慢漂移，制造"玻璃背后有活水"的错觉） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(460px 460px at 18% 22%, rgba(124, 92, 247, 0.14), transparent 70%),
    radial-gradient(520px 520px at 82% 38%, rgba(255, 159, 46, 0.12), transparent 70%),
    radial-gradient(480px 480px at 55% 82%, rgba(34, 197, 174, 0.10), transparent 70%);
  animation: zxBgdDrift 26s ease-in-out infinite alternate;
}
@keyframes zxBgdDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-34px, 26px, 0) scale(1.06); }
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ============ 重点内容突出 ============ */
.t-hl { background: rgba(79, 107, 247, 0.12); color: #3d53d6; font-weight: 700; border-radius: 6px; padding: 0 6px; white-space: nowrap; }
.t-em { color: #3d53d6; font-weight: 700; }
.t-num { color: #3d53d6; font-weight: 800; }
.t-safe { color: var(--green); font-weight: 700; }

/* ============ 玻璃高光边（通用：顶部受光 + 折射渐变） ============ */
.glass-edge {
  position: relative;
}
.glass-edge::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 34%);
  opacity: .9; mix-blend-mode: screen;
}

/* ---------- PC 顶部固定导航（液态玻璃） ---------- */
#site-header { height: 48px; }
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 24px rgba(38, 48, 108, 0.06);
  transition: height .3s var(--ease), background .3s ease, box-shadow .3s ease;
}
/* 滚动态（复刻 Apple 动态导航：更实 + 阴影增强，上滑快速回落） */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 34px rgba(38, 48, 108, 0.12);
}
.navbar.glass-compact .navbar-inner { height: 44px; }
.navbar-inner {
  max-width: 1024px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 22px;
}
.nav-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.nav-brand:hover { text-decoration: none; }
.nav-brand .logo {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #4f6bf7, #7c5cf7);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(79, 107, 247, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.nav-brand .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand .brand-cn { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 0.5px; }
.nav-brand .brand-en { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 13px; }
.nav-links a { padding: 6px 12px; border-radius: 10px; color: rgba(28, 28, 46, 0.78); transition: background .18s, color .18s; }
.nav-links a:hover { background: var(--glass-soft); text-decoration: none; }
.nav-links a.active {
  color: #3d53d6; font-weight: 600;
  background: rgba(79, 107, 247, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.nav-right { display: flex; align-items: center; gap: 8px; font-size: 13px; }

/* ---------- 用户下拉菜单（液态玻璃） ---------- */
.user-menu { position: relative; }
.user-toggle { cursor: pointer; position: relative; }
.user-toggle .caret { font-size: 10px; opacity: .7; margin-left: 2px; }
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 178px;
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  padding: 6px; z-index: 300;
}
.user-dropdown::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 12px; border-radius: 11px; font-size: 13px; color: var(--ink);
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font); text-decoration: none;
  transition: background .16s;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: rgba(79, 107, 247, 0.12); text-decoration: none; }
.user-dropdown hr { border: none; border-top: 1px solid var(--line); margin: 5px 4px; }
.user-dropdown .notify-badge { position: static; margin-left: auto; }

/* 用户名区域消息提醒 */
.user-toggle .notify-badge { top: -5px; right: -6px; }
.user-notify { animation: zx-badge-pulse 1.2s ease-in-out infinite; }
@keyframes zx-badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, .5); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
}

/* ---------- 移动端底部 Tab 导航（液态玻璃） ---------- */
.bottom-nav {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 -6px 24px rgba(38, 48, 108, 0.05);
  height: 56px;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: #8a8a9e; font-size: 10px; font-weight: 500;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  transition: color .18s, transform .18s;
}
.bottom-nav a:active { transform: scale(.9); }
.bottom-nav a i { font-size: 20px; font-style: normal; line-height: 1; position: relative; }
.bottom-nav a.active { color: var(--accent); font-weight: 600; }
.bottom-nav a .notify-badge { top: -4px; left: 14px; min-width: 14px; height: 14px; font-size: 9px; }

/* ---------- 胶囊按钮（液态玻璃） ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 22px; border-radius: var(--pill);
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)) ,
              rgba(79, 107, 247, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(79, 107, 247, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(79, 107, 247, 0.3);
  cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s var(--ease), filter .4s ease, background .4s ease;
  font-family: var(--font);
  text-decoration: none;
}
.btn:hover { filter: brightness(1.06); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79, 107, 247, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(79, 107, 247, 0.3); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: 0 6px 18px rgba(79, 107, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4); transition-duration: .15s; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
/* 光泽扫过：速度放慢、亮度降低，更柔和 */
.btn::after {
  content: ""; position: absolute; top: 0; left: -90%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 1.2s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 135%; }
.btn.primary { background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)), rgba(79, 107, 247, 0.9); color: #fff; }
.btn.link { background: transparent; color: var(--accent); padding: 9px 4px; border-color: transparent; box-shadow: none; }
.btn.link:hover { text-decoration: underline; background: rgba(79, 107, 247, 0.08); }
.btn.gray {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25)), rgba(255,255,255,.15);
  color: var(--ink); border-color: var(--glass-border);
  box-shadow: var(--glass-shadow-sm);
}
.btn.gray:hover { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35)), rgba(255,255,255,.22); box-shadow: var(--glass-shadow); }
.btn.light {
  background: var(--glass-strong); color: var(--ink); border-color: var(--glass-border);
  box-shadow: var(--glass-shadow-sm);
}
.btn.light:hover { background: rgba(255, 255, 255, 0.85); box-shadow: var(--glass-shadow); }
.btn.sm { padding: 6px 16px; font-size: 12.5px; }
.btn.block { display: flex; width: 100%; }
.btn.danger { background: transparent; color: var(--red); border-color: transparent; box-shadow: none; }

/* ---------- 浏览器推荐提示条（液态玻璃） ---------- */
.browser-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 44px 8px 16px;
  background: var(--glass-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  color: #1c1c2e;
  color: color-mix(in srgb, var(--accent) 82%, #111);
  font-size: 13px; line-height: 1.6; position: relative;
}
.browser-hint[hidden] { display: none; }
.browser-hint svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); opacity: .9; }
.browser-hint .bh-txt { text-align: center; }
.browser-hint b { font-weight: 700; }
.browser-hint a { color: var(--accent); font-weight: 600; text-decoration: none; }
.browser-hint a:hover { text-decoration: underline; }
.bh-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border: 0; border-radius: 50%;
  background: rgba(79, 107, 247, 0.14);
  color: var(--accent);
  font-size: 15px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.bh-close:hover { background: rgba(79, 107, 247, 0.26); transform: translateY(-50%) scale(1.08); }
@media (max-width: 734px) {
  .browser-hint { font-size: 12px; padding: 7px 34px 7px 12px; justify-content: flex-start; }
  .browser-hint .bh-txt { text-align: left; }
}

/* ---------- 区块 ---------- */
.sec { max-width: 1024px; margin: 0 auto; padding: 70px 22px; }
.sec-gray { background: var(--glass-soft); backdrop-filter: var(--glass-blur); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.sec-title { font-size: 40px; font-weight: 700; letter-spacing: -0.5px; text-align: center; margin-bottom: 10px; }
.sec-sub { font-size: 21px; color: var(--muted); text-align: center; font-weight: 400; max-width: 560px; margin: 0 auto; }
.sec-head { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 110px 22px 90px; position: relative; overflow: hidden;
  background: transparent;
}
.hero .eyebrow {
  display: inline-block; color: #3d53d6; font-size: 14px; font-weight: 600; margin-bottom: 12px;
  padding: 6px 16px; border-radius: 999px;
  background: var(--glass-soft); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 700; letter-spacing: -1.5px; line-height: 1.05;
  background: linear-gradient(120deg, #2a2a4a 30%, #4f6bf7 60%, #7c5cf7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { font-size: clamp(17px, 2.4vw, 23px); color: var(--muted); margin: 18px auto 30px; max-width: 560px; font-weight: 400; }
.hero .actions { display: flex; gap: 24px; justify-content: center; align-items: center; font-size: 17px; }
.hero .actions .btn { font-size: 15px; padding: 11px 28px; }
.hero .actions a.link2 { color: var(--accent); font-weight: 500; }
.hero .actions a.link2:hover { text-decoration: underline; }
.hero-visual {
  max-width: 900px; margin: 56px auto 0; border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    linear-gradient(150deg, #0f1730 0%, #1b2a5e 50%, #3d2b78 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(20, 30, 90, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff; padding: 64px 30px; position: relative; overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,247,.5), transparent 65%);
}
.hero-visual .v-inner { position: relative; z-index: 1; }
.hero-visual .v-title { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; }
.hero-visual .v-desc { font-size: 15px; color: rgba(255,255,255,.82); margin-top: 10px; }
.hero-visual .v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-visual .v-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px; padding: 30px 26px; text-align: left;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform .3s var(--ease), background .3s ease, box-shadow .3s ease;
}
.hero-visual .v-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 18px 44px rgba(0,0,0,.3); }
.hero-visual .v-card .v-badge {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .5px;
  color: #c7d0ff; border: 1px solid rgba(185,197,255,.4); border-radius: 999px;
  padding: 3px 10px; margin-bottom: 14px;
}
.hero-visual .v-card .v-title { font-size: 22px; }
.hero-visual .v-card .v-desc { font-size: 14px; }
.hero-visual .v-card .v-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: #fff; }
.hero-visual .v-card .v-link:hover { text-decoration: underline; }
.hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .n { font-size: 30px; font-weight: 700; }
.hero-stats .l { font-size: 13px; color: var(--muted); }

/* ---------- 工具网格（液态玻璃卡片） ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.tool-card {
  border-radius: var(--radius); padding: 40px 32px; text-align: center;
  min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-sm);
}
.tool-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,0) 42%);
}
.tool-card:hover { transform: translateY(-6px) scale(1.01); border-color: rgba(255,255,255,.8); box-shadow: var(--glass-shadow-hover); }
.tool-card .t-icon {
  position: relative;
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.4));
  border: 1px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; box-shadow: 0 10px 26px rgba(38,48,108,.16), inset 0 1px 0 rgba(255,255,255,.9);
}
.tool-card h3 { position: relative; font-size: 24px; font-weight: 700; letter-spacing: -0.3px; }
.tool-card .t-desc { position: relative; font-size: 14px; color: rgba(28,28,46,.74); max-width: 320px; }
.tool-card .t-actions { position: relative; display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.tool-card .t-plan { position: relative; font-size: 12px; font-weight: 600; }
.tool-card .t-ver { position: relative; font-size: 11px; color: rgba(28,28,46,.55); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.tool-card.grad-blue { background: linear-gradient(165deg, rgba(238,243,255,.7), rgba(227,234,255,.45)); color: #12224d; backdrop-filter: var(--glass-blur); }
.tool-card.grad-cyan { background: linear-gradient(165deg, rgba(232,248,245,.7), rgba(217,242,236,.45)); color: #0b3d35; backdrop-filter: var(--glass-blur); }
.tool-card.grad-purple { background: linear-gradient(165deg, rgba(243,239,255,.7), rgba(233,226,255,.45)); color: #2c1d5e; backdrop-filter: var(--glass-blur); }
.tool-card.grad-orange { background: linear-gradient(165deg, rgba(255,244,232,.7), rgba(255,233,210,.45)); color: #5e3a12; backdrop-filter: var(--glass-blur); }
.grads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 734px) { .tool-grid, .grads { grid-template-columns: 1fr; } }

/* ---------- 特性 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 50px; text-align: center; }
.feature .f-ico { font-size: 34px; margin-bottom: 14px; }
.feature h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--muted); }
@media (max-width: 734px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 认证卡片（液态玻璃） ---------- */
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 70px 22px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur-lg);
  -webkit-backdrop-filter: var(--glass-blur-lg);
  border: 1px solid var(--glass-border);
  border-radius: 26px; padding: 38px 36px 30px;
  box-shadow: var(--glass-shadow);
}
.auth-card h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.4px; text-align: center; }
.auth-card .sub { color: var(--muted); font-size: 14px; text-align: center; margin: 8px 0 26px; }
.auth-card .field { margin-bottom: 16px; }
.auth-card .field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.auth-card .input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--glass-border); border-radius: 14px;
  font-size: 14px; font-family: var(--font);
  background: var(--glass-soft); color: var(--ink); outline: none;
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-card .input:focus { border-color: rgba(79, 107, 247, 0.55); background: rgba(255,255,255,.5); box-shadow: 0 0 0 4px rgba(79,107,247,.14), inset 0 1px 0 rgba(255,255,255,.6); }
.auth-card .btn { width: 100%; margin-top: 6px; padding: 12px; font-size: 15px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-alt a { font-weight: 500; }
.code-row { display: flex; gap: 10px; align-items: center; }
.code-row .input { flex: 1; }
.code-row .btn { width: auto; margin-top: 0; padding: 12px 18px; font-size: 13px; flex: none; white-space: nowrap; }

/* ---------- 输入框（液态玻璃，全站通用） ---------- */
.input, .select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--glass-border); border-radius: 14px;
  font-size: 14px; font-family: var(--font);
  background: var(--glass-soft); color: var(--ink); outline: none;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input:focus, .select:focus { border-color: rgba(79, 107, 247, 0.55); background: rgba(255,255,255,.5); box-shadow: 0 0 0 4px rgba(79,107,247,.14), inset 0 1px 0 rgba(255,255,255,.6); }
.input::placeholder { color: rgba(107, 107, 130, 0.7); }

/* ---------- 消息提示（液态玻璃） ---------- */
.msg { display: none; padding: 11px 14px; border-radius: 14px; font-size: 13px; margin-bottom: 14px; border: 1px solid var(--glass-border); backdrop-filter: var(--glass-blur); }
.msg.show { display: block; }
.msg.err { background: rgba(255,59,48,.12); color: #c4241a; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.msg.ok { background: rgba(52,199,89,.14); color: #1d7a35; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }

/* ---------- 徽章（液态玻璃） ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px; border-radius: var(--pill); font-size: 12px; font-weight: 600;
  background: var(--glass-soft); color: var(--ink);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.badge.basic { background: rgba(0,0,0,.06); color: #6e6e73; border-color: rgba(0,0,0,.06); }
.badge.advanced { background: rgba(175,82,222,.14); color: #8e3ac6; border-color: rgba(175,82,222,.22); }
.badge.professional { background: rgba(255,149,0,.16); color: #c76a00; border-color: rgba(255,149,0,.26); }

/* ---------- 页脚（液态玻璃） ---------- */
.site-footer {
  background: var(--glass-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: 28px 22px; margin-top: auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.site-footer-inner { max-width: 1024px; margin: 0 auto; text-align: center; font-size: 12px; color: var(--muted); }
.site-footer-inner .row { margin-bottom: 6px; }
.site-footer-inner a { color: var(--muted); }
.site-footer-inner a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- 通用 ---------- */
.muted { color: var(--muted); }
.small { font-size: 12px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
code { background: var(--glass-soft); border: 1px solid var(--glass-border-2); border-radius: 6px; padding: 1px 6px; font-size: .9em; }

/* ---------- 消息未读徽标 ---------- */
.notify-link { position: relative; }
.notify-badge {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #ff3b30; color: #fff; font-size: 10px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.5);
}
.notify-badge[hidden] { display: none !important; }

/* ============================================================
   液态玻璃通用卡片（供各页面内联白卡统一覆盖）
   ============================================================ */
.lg-card {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.lg-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.75); box-shadow: var(--glass-shadow); }

/* ============================================================
   全站通用动效（液态玻璃增强版）
   ============================================================ */
.zx-reveal { opacity: 0; }
.zx-reveal.zx-in { animation: zxRevealUp .65s var(--ease) both; }
@keyframes zxRevealUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.zx-reveal-title { opacity: 0; }
.zx-reveal-title.zx-in { animation: zxTitleIn .6s var(--ease) both; }
@keyframes zxTitleIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* 通用卡片 hover 微交互（液态玻璃：上浮 + 高光边缘） */
.zx-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
.zx-card:hover { transform: translateY(-5px); box-shadow: var(--glass-shadow-hover); border-color: rgba(255,255,255,.8); }

/* 按钮按压反馈 */
.btn:active { transform: translateY(0) scale(.97); }

/* 链接箭头滑动 */
.zx-arrow { display: inline-block; transition: transform .25s var(--ease); }
a:hover .zx-arrow, .btn:hover .zx-arrow { transform: translateX(4px); }

/* Tab 面板切换淡入 */
.tab-panel.active { animation: zxTabIn .4s var(--ease) both; }
@keyframes zxTabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 输入框聚焦光晕 */
.input:focus, .code-input:focus { animation: zxFocusGlow .3s ease both; }
@keyframes zxFocusGlow { from { box-shadow: 0 0 0 0 rgba(79,107,247,.12); } to { box-shadow: 0 0 0 4px rgba(79,107,247,.14); } }

/* 按钮加载态：进度条横扫 */
.btn.busy { position: relative; overflow: hidden; pointer-events: none; opacity: .85; }
.btn.busy::after {
  content: ""; position: absolute; left: -60%; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: zxBusy 1.1s ease-in-out infinite;
}
@keyframes zxBusy { from { left: -60%; } to { left: 120%; } }

/* 玻璃悬浮呼吸：卡片轻微悬浮 */
@keyframes zxFloatLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .zx-reveal, .zx-reveal.zx-in, .zx-reveal-title, .zx-reveal-title.zx-in { animation: none; opacity: 1 !important; transform: none !important; }
  .zx-card, .zx-card:hover, .btn, .btn:hover, .tool-card, .tool-card:hover { transform: none !important; transition: none !important; }
  .tab-panel.active { animation: none; }
  .btn.busy::after, .btn::after { display: none; }
  body::before { animation: none; }
}

/* ---------- 桌面/移动适配 ---------- */
@media (max-width: 734px) {
  #site-header { height: 44px; }
  .navbar-inner { height: 44px; padding: 0 14px; }
  .nav-links { display: none; }
  .nav-brand .logo { width: 22px; height: 22px; font-size: 11px; }
  .nav-brand .brand-cn { font-size: 14px; }
  .nav-brand .brand-en { font-size: 10px; }
  .nav-right { gap: 6px; }
  .nav-right .btn { padding: 7px 13px; font-size: 12.5px; }

  .bottom-nav { display: flex; }
  body { padding-bottom: 58px; }

  .sec { padding: 44px 16px; }
  .sec-title { font-size: 28px; }
  .sec-sub { font-size: 16px; }

  .hero { padding: 64px 16px 50px; }
  .hero h1 { font-size: clamp(34px, 9vw, 50px); letter-spacing: -1px; }
  .hero .sub { font-size: 16px; margin: 14px auto 24px; }
  .hero .actions { flex-wrap: wrap; gap: 16px; font-size: 15px; }
  .hero .actions .btn { font-size: 14px; padding: 10px 22px; }
  .hero-visual { padding: 34px 18px; border-radius: 20px; }
  .hero-visual .v-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual .v-card { padding: 22px 18px; }
  .hero-visual .v-title { font-size: 21px; }
  .hero-visual .v-desc { font-size: 13.5px; }
  .hero-stats { gap: 20px; margin-top: 34px; }
  .hero-stats .n { font-size: 23px; }
  .hero-stats .l { font-size: 12px; }

  .tool-grid, .grads { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .tool-card { padding: 30px 20px; min-height: 200px; }
  .tool-card .t-icon { width: 54px; height: 54px; border-radius: 15px; font-size: 24px; }
  .tool-card h3 { font-size: 20px; }
  .tool-card .t-desc { font-size: 13px; }
  .tool-card .t-ver { font-size: 10px; max-width: 260px; }
  .tool-card .t-actions { flex-wrap: wrap; justify-content: center; gap: 10px; }

  .features { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
  .feature .f-ico { font-size: 27px; }
  .feature h4 { font-size: 14.5px; }
  .feature p { font-size: 12px; }

  .auth-wrap { padding: 44px 16px; }
  .auth-card { padding: 30px 24px 26px; }
  .auth-card h1 { font-size: 24px; }
  .code-row { flex-wrap: wrap; }
  .code-row .btn { width: 100%; }

  .site-footer { padding: 24px 16px 28px; }
}
