/* ============================================================
   知舟 KnowArk · 深色科技风设计系统
   ============================================================ */

:root {
  --bg: #04060f;
  --bg-2: #070d1c;
  --card: rgba(255,255,255,.05);
  --card-hover: rgba(255,255,255,.08);
  --card-line: rgba(120,170,255,.16);
  --line: rgba(120,170,255,.14);
  --ink: #e6eefc;
  --ink-soft: #a9b9d4;
  --ink-mute: #6d7f9c;
  --brand-a: #5b8cff;
  --brand-b: #8b5cf6;
  --brand-c: #22d3ee;
  --grad: linear-gradient(135deg, #5b8cff 0%, #8b5cf6 55%, #22d3ee 100%);
  --glow: rgba(91,140,255,.45);
  --nav-h: 66px;
  --radius: 18px;
  --radius-lg: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow-x: hidden;
}
::selection { background: rgba(91,140,255,.35); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 全局背景：深空渐变 + 网格 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(91,140,255,.16), transparent 62%),
    radial-gradient(900px 520px at 88% 18%, rgba(139,92,246,.12), transparent 60%),
    radial-gradient(900px 620px at 8% 88%, rgba(34,211,238,.08), transparent 62%),
    linear-gradient(180deg, #04060f 0%, #060b18 55%, #04060f 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .3;
  background-image:
    linear-gradient(rgba(91,140,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,140,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(1200px 800px at 50% 0%, #000 25%, transparent 78%);
}

/* ============ 阅读进度条 ============ */
.zk-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: var(--grad); box-shadow: 0 0 10px var(--glow);
  transition: width .08s linear;
}

/* ============ 顶部导航 ============ */
.zk-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  background: rgba(5,9,20,.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.zk-nav.scrolled { background: rgba(5,9,20,.9); box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.zk-nav-inner {
  max-width: 1180px; margin: 0 auto; height: 100%; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.zk-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.zk-logo .mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900; color: #fff;
  box-shadow: 0 4px 16px var(--glow);
}
.zk-logo .name {
  font-size: 17px; font-weight: 900; letter-spacing: .5px; color: var(--ink);
}
.zk-logo .name b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* 品牌图片 logo */
.zk-logo-img {
  height: 42px; flex: none; border-radius: 11px;
  box-shadow: 0 2px 12px rgba(0,8,24,.28);
  object-fit: contain;
}
@media (max-width: 720px) { .zk-logo-img { height: 36px; } }
.zk-links { display: flex; align-items: center; gap: 4px; }
.zk-links a {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  padding: 7px 14px; border-radius: 10px; transition: all .2s; white-space: nowrap;
}
.zk-links a:hover { color: var(--ink); background: rgba(91,140,255,.1); }
.zk-links a.active { color: var(--brand-c); background: rgba(91,140,255,.12); }
.zk-cta {
  background: var(--grad) !important; color: #fff !important; margin-left: 8px;
  font-weight: 700 !important; box-shadow: 0 6px 18px var(--glow);
}
.zk-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.zk-toggle {
  display: none; border: 1px solid var(--line); background: rgba(91,140,255,.08);
  color: var(--brand-c); width: 40px; height: 38px; border-radius: 10px;
  font-size: 17px; cursor: pointer; flex: none;
}
/* 导航用户区 */
.zk-user { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.zk-login-btn {
  border: 1px solid var(--line); cursor: pointer; font-family: inherit;
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  background: rgba(255,255,255,.05); border-radius: 10px; padding: 8px 16px;
  transition: all .2s;
}
.zk-login-btn:hover { background: rgba(91,140,255,.14); border-color: var(--glow); }
.zk-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 12px var(--glow);
}
.zk-uname { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zk-logout { font-size: 12px; color: var(--ink-mute); cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: all .2s; }
.zk-logout:hover { color: var(--brand-c); background: rgba(91,140,255,.1); }

/* ============ 全站视频背景（所有页面共用） ============ */
.zk-hero-video {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.zk-hero-video video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .16; filter: saturate(.85);
}
.zk-hero-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,6,15,.55) 0%, rgba(4,6,15,.4) 40%, rgba(4,6,15,.92) 100%);
}

/* ============ 页面骨架 ============ */
.zk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.zk-section { padding: 84px 0; position: relative; }
.zk-section.tight { padding: 52px 0; }

.zk-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 3px;
  color: var(--brand-c); text-transform: uppercase; margin-bottom: 16px;
  padding: 5px 16px; border-radius: 999px;
  border: 1px solid rgba(34,211,238,.35); background: rgba(34,211,238,.06);
}
.zk-title { font-size: clamp(26px, 4vw, 34px); font-weight: 900; line-height: 1.35; color: var(--ink); }
.zk-title .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.zk-sub { color: var(--ink-soft); font-size: 15px; line-height: 1.95; margin-top: 14px; }
.zk-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }

/* ============ 按钮 ============ */
.zk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
  border: none; border-radius: 12px; padding: 14px 32px;
  transition: all .22s ease; letter-spacing: .5px;
}
.zk-btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px var(--glow); }
.zk-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(91,140,255,.6); filter: brightness(1.07); }
.zk-btn.ghost {
  background: rgba(255,255,255,.04); color: var(--ink);
  border: 1px solid var(--card-line); backdrop-filter: blur(8px);
}
.zk-btn.ghost:hover { background: rgba(91,140,255,.12); border-color: var(--glow); transform: translateY(-2px); }

/* ============ 玻璃卡片 ============ */
.zk-card {
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: 28px 26px; height: 100%; transition: all .3s ease;
  box-shadow: 0 10px 34px rgba(0,8,20,.35);
}
.zk-card:hover { transform: translateY(-5px); border-color: rgba(120,170,255,.4); background: var(--card-hover); box-shadow: 0 22px 50px rgba(2,12,30,.55), 0 0 24px rgba(91,140,255,.18); }
.zk-card .ico {
  width: 52px; height: 52px; border-radius: 14px; font-size: 24px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(91,140,255,.22), rgba(34,211,238,.12));
  border: 1px solid rgba(120,170,255,.3);
}
.zk-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.zk-card p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.zk-card ul { list-style: none; margin-top: 10px; }
.zk-card ul li { font-size: 13.5px; color: var(--ink-soft); line-height: 2; padding-left: 20px; position: relative; }
.zk-card ul li::before { content: "▹"; position: absolute; left: 0; top: 0; color: var(--brand-c); font-weight: 900; }

/* ============ 网格 ============ */
.zk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zk-grid.two { grid-template-columns: repeat(2, 1fr); }
.zk-grid.four { grid-template-columns: repeat(4, 1fr); }

/* ============ 数据条 ============ */
.zk-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: 28px 22px; margin-top: 52px; box-shadow: 0 10px 34px rgba(0,8,20,.35);
}
.zk-stat { text-align: center; }
.zk-stat .num {
  font-size: 30px; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.zk-stat .lbl { font-size: 13px; color: var(--ink-mute); margin-top: 6px; font-weight: 600; }

/* ============ Hero ============ */
.zk-hero { text-align: center; padding: 92px 0 64px; position: relative; }
.zk-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--brand-c); padding: 7px 18px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(34,211,238,.07); border: 1px solid rgba(34,211,238,.3);
}
.zk-hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-c); box-shadow: 0 0 8px var(--brand-c); animation: zkPulse 2s infinite; }
@keyframes zkPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.zk-hero h1 { font-size: clamp(32px, 5.5vw, 54px); font-weight: 900; line-height: 1.28; margin-bottom: 18px; letter-spacing: .5px; }
.zk-hero p { font-size: 16.5px; color: var(--ink-soft); line-height: 2; max-width: 680px; margin: 0 auto 34px; }
.zk-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ 流程步骤 ============ */
.zk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zk-step {
  position: relative; text-align: center; padding: 32px 22px 28px;
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-line); border-radius: var(--radius-lg);
}
.zk-step .n {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 22px var(--glow);
}
.zk-step h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.zk-step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }

/* ============ RAG 架构流程 ============ */
.zk-pipeline { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; justify-content: center; margin: 40px 0 0; }
.zk-pipe {
  flex: 1; min-width: 150px; max-width: 200px; text-align: center; position: relative;
  padding: 24px 14px 22px; margin: 8px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.zk-pipe .step-ico {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 13px;
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(91,140,255,.25), rgba(34,211,238,.14));
  border: 1px solid rgba(120,170,255,.35);
}
.zk-pipe h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 6px; }
.zk-pipe p { font-size: 12px; color: var(--ink-mute); line-height: 1.7; }
.zk-pipe .arrow {
  display: none;
}
@media (min-width: 880px) {
  .zk-pipe:not(:last-child)::after {
    content: "→"; position: absolute; right: -14px; top: 38px; font-size: 18px;
    color: var(--brand-c); font-weight: 900; text-shadow: 0 0 8px var(--brand-c);
  }
}

/* ============ 场景卡 ============ */
.zk-scene {
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: 26px; height: 100%;
}
.zk-scene .role {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800;
  color: var(--brand-c); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.28);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.zk-scene h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.zk-scene p { font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 12px; }
.zk-scene .example {
  background: rgba(0,0,0,.22); border-left: 3px solid var(--brand-a);
  border-radius: 8px; padding: 12px 15px; font-size: 13px; color: var(--ink-soft); line-height: 1.8;
  margin-top: 12px;
}
.zk-scene .example b { color: var(--brand-c); }

/* ============ 时间线（发展规划） ============ */
.zk-timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 36px; }
.zk-timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--brand-a), var(--brand-c));
  opacity: .35;
}
.zk-tl { position: relative; margin-bottom: 30px; }
.zk-tl::before {
  content: ""; position: absolute; left: -32px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 12px var(--glow);
}
.zk-tl .phase { font-size: 12px; font-weight: 800; color: var(--brand-c); letter-spacing: 1px; margin-bottom: 5px; }
.zk-tl h3 { font-size: 17px; font-weight: 800; margin-bottom: 7px; }
.zk-tl p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

/* ============ 联系页 ============ */
.zk-contact-card {
  background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-line); border-radius: var(--radius-lg);
  padding: 30px; height: 100%;
}
.zk-field { margin-bottom: 16px; }
.zk-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-bottom: 7px; }
.zk-field input, .zk-field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 15px; font-size: 14.5px; font-family: inherit; color: var(--ink);
  background: rgba(255,255,255,.04); outline: none; transition: all .2s;
}
.zk-field input:focus, .zk-field textarea:focus { border-color: var(--brand-a); background: rgba(91,140,255,.08); box-shadow: 0 0 0 3px rgba(91,140,255,.12); }
.zk-field input::placeholder, .zk-field textarea::placeholder { color: var(--ink-mute); }
.zk-msg-row { display: flex; gap: 14px; }
.zk-msg-row .zk-field { flex: 1; }
.zk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zk-chip {
  font-family: inherit; cursor: pointer; font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft); background: rgba(255,255,255,.04);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; transition: all .2s;
}
.zk-chip:hover { border-color: var(--glow); color: var(--ink); }
.zk-chip.on { background: var(--grad); color: #fff; border-color: transparent; font-weight: 800; }
.zk-count { position: absolute; right: 10px; bottom: 10px; font-size: 11.5px; color: var(--ink-mute); }
.zk-tip { display: none; margin-top: 14px; font-size: 13px; text-align: center; border-radius: 12px; padding: 11px 15px; line-height: 1.7; }
.zk-tip.ok { display: block; color: #5eead4; background: rgba(45,212,191,.1); border: 1px solid rgba(45,212,191,.3); }
.zk-tip.err { display: block; color: #fda4af; background: rgba(244,63,94,.1); border: 1px solid rgba(244,63,94,.3); }
.zk-wechat {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 18px; font-weight: 900; color: var(--brand-c);
  background: rgba(34,211,238,.07); border: 1px dashed rgba(34,211,238,.4);
  border-radius: 14px; padding: 12px 22px; cursor: pointer; transition: all .2s;
}
.zk-wechat:hover { background: rgba(34,211,238,.14); transform: translateY(-1px); }

/* ============ 页脚 ============ */
.zk-footer {
  position: relative; z-index: 2; margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(5,9,20,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.zk-footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 34px 24px; text-align: center;
  font-size: 13px; color: var(--ink-mute); line-height: 2.2;
}
.zk-footer-inner .brand { font-size: 14.5px; font-weight: 900; color: var(--ink); letter-spacing: 1px; margin-bottom: 6px; }
.zk-footer-inner a { color: var(--brand-c); font-weight: 700; }
.zk-footer .dis { font-size: 12px; color: var(--ink-mute); opacity: .8; margin-top: 8px; }

/* ============ 返回顶部 ============ */
.zk-totop {
  position: fixed; left: 22px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--card-line); cursor: pointer;
  background: rgba(91,140,255,.12); color: var(--brand-c); font-size: 17px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,8,20,.4);
  opacity: 0; pointer-events: none; transition: all .3s ease;
}
.zk-totop.show { opacity: 1; pointer-events: auto; }
.zk-totop:hover { background: rgba(91,140,255,.22); transform: translateY(-3px); }

/* ============ 登录弹窗 ============ */
.zk-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(2,4,12,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: zkFade .2s ease;
}
@keyframes zkFade { from { opacity: 0; } to { opacity: 1; } }
.zk-modal {
  width: 100%; max-width: 390px;
  background: linear-gradient(160deg, rgba(20,28,52,.96), rgba(10,14,28,.98));
  border: 1px solid rgba(120,170,255,.25); border-radius: 22px;
  padding: 32px 30px 28px; box-shadow: 0 24px 70px rgba(0,4,20,.7), 0 0 40px rgba(91,140,255,.12);
  animation: zkPop .3s cubic-bezier(.34, 1.4, .64, 1);
}
@keyframes zkPop { from { transform: scale(.92) translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.zk-modal-head { text-align: center; margin-bottom: 22px; position: relative; }
.zk-modal-head .mark {
  width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 15px;
  background: var(--grad); font-size: 24px; font-weight: 900; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px var(--glow);
}
.zk-modal-head h3 { font-size: 21px; font-weight: 900; color: var(--ink); }
.zk-modal-head p { font-size: 12.5px; color: var(--ink-mute); margin-top: 5px; }
.zk-modal-close {
  position: absolute; right: -6px; top: -8px; border: none; background: rgba(91,140,255,.12);
  color: var(--ink-soft); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px;
}
.zk-modal-close:hover { background: rgba(91,140,255,.22); color: var(--ink); }
.zk-tabs { display: flex; background: rgba(91,140,255,.08); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.zk-tabs button {
  flex: 1; border: none; background: none; font-family: inherit; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--ink-mute); padding: 9px 0; border-radius: 9px; transition: all .25s;
}
.zk-tabs button.on { background: rgba(91,140,255,.22); color: var(--ink); }
.zk-modal-err {
  display: none; font-size: 12.5px; color: #fda4af; background: rgba(244,63,94,.12);
  border: 1px solid rgba(244,63,94,.3); border-radius: 10px; padding: 9px 13px; margin-bottom: 14px; line-height: 1.6;
}
.zk-modal-err.show { display: block; }
.zk-modal-tip { text-align: center; font-size: 12px; color: var(--ink-mute); margin-top: 14px; line-height: 1.8; }

/* ============ 滚动渐入 ============ */
.zk-reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.zk-reveal.in { opacity: 1; transform: none; }

/* ============ 自定义滚动条 ============ */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.02); }
::-webkit-scrollbar-thumb { background: rgba(91,140,255,.28); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(91,140,255,.45); }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .zk-grid, .zk-grid.four { grid-template-columns: repeat(2, 1fr); }
  .zk-steps { grid-template-columns: 1fr; }
  .zk-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
}
@media (max-width: 768px) {
  .zk-toggle { display: block; }
  .zk-links {
    position: fixed; top: var(--nav-h); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 3px;
    background: rgba(7,12,26,.97); border: 1px solid var(--card-line);
    border-radius: 16px; padding: 10px;
    box-shadow: 0 20px 50px rgba(0,4,16,.7);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .25s ease;
  }
  .zk-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .zk-links a { text-align: center; padding: 12px; font-size: 15px; }
  .zk-user { margin: 4px 0 2px; justify-content: center; }
  .zk-cta { margin-left: 0; }
  .zk-grid, .zk-grid.two { grid-template-columns: 1fr; }
  .zk-hero { padding: 60px 0 44px; }
  .zk-section { padding: 56px 0; }
  .zk-msg-row { flex-direction: column; gap: 0; }
  .zk-totop { left: 14px; bottom: 16px; width: 40px; height: 40px; }
}
