/* ============================================================
   TG 管家 - 落地页 / 登录 / 注册 / 群发说明 共享样式
   主题：indigo #6366f1 → violet #8b5cf6
   ============================================================ */

:root {
  --primary: #6366f1;
  --primary-strong: #4f46e5;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --card: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(79, 70, 229, 0.28);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用组件 ---------- */

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.section-head p { color: var(--muted); font-size: 16px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.65); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #cbd5e1; background: var(--bg-soft); }

.btn-light {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.35);
}
.btn-light:hover { transform: translateY(-1px); }

.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -4px rgba(99, 102, 241, 0.6);
}
.brand-logo svg { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--primary-strong); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 10px 18px; font-size: 14.5px; }
.nav-toggle { display: none; padding: 8px; border-radius: 10px; color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 92px 0 104px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(560px 320px at 18% -6%, rgba(99, 102, 241, 0.14), transparent 60%),
    radial-gradient(520px 320px at 84% 4%, rgba(139, 92, 246, 0.12), transparent 60%),
    linear-gradient(180deg, #fdfdff 0%, #ffffff 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 22px 0 18px;
}
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.hero-note svg { width: 15px; height: 15px; color: #10b981; flex: none; }

/* Hero 模拟控制台 */
.mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #f87171; }
.mock-dot:nth-child(2) { background: #fbbf24; }
.mock-dot:nth-child(3) { background: #34d399; }
.mock-url {
  margin-left: 10px;
  font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 3px 12px;
}
.mock-body { display: flex; min-height: 340px; }
.mock-side {
  width: 168px; flex: none;
  border-right: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.mock-side-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  padding: 8px 10px; border-radius: 9px;
}
.mock-side-item.active { background: rgba(99, 102, 241, 0.1); color: var(--primary-strong); font-weight: 700; }
.mock-side-item svg { width: 15px; height: 15px; flex: none; }
.mock-main { flex: 1; padding: 18px; }
.mock-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.mock-chip {
  font-size: 11px; font-weight: 600; color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 999px; padding: 2px 10px;
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 12px;
  background: #fff;
}
.mock-card .m-line { height: 8px; border-radius: 4px; background: var(--line-soft); }
.mock-card .m-line.w60 { width: 60%; background: rgba(99, 102, 241, 0.35); }
.mock-card .m-line.w40 { width: 40%; }
.mock-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
}
.mock-avatar svg { width: 12px; height: 12px; }
.mock-table { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.mock-row {
  display: grid; grid-template-columns: 1.4fr 1fr 0.7fr;
  padding: 10px 12px; gap: 10px; align-items: center;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11.5px; color: var(--muted);
}
.mock-row:last-child { border-bottom: none; }
.mock-row.head { background: var(--bg-soft); font-weight: 700; color: var(--ink-2); }
.m-pill { justify-self: end; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.m-pill.ok { background: rgba(16, 185, 129, 0.12); color: #059669; }
.m-pill.run { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.mock-float {
  position: absolute;
  right: -26px; bottom: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600;
  animation: floaty 4s ease-in-out infinite;
}
.mock-float .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}
.mock-float small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }

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

/* ---------- 功能卡片 ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); }

/* ---------- 选型理由 ---------- */

.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.why-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-num {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(99, 102, 241, 0.55);
}
.why-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--muted); }

/* ---------- 使用场景 ---------- */

.scenes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  color: #fff;
  overflow: hidden;
  min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.scene-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0.96;
}
.scene-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -70px; top: -70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.scene-card.v2::before { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.scene-card.v3::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.scene-card > * { position: relative; z-index: 1; }
.scene-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.scene-card p { font-size: 14px; opacity: 0.92; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item.open { border-color: rgba(99, 102, 241, 0.4); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq-q svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad);
  color: #fff;
  padding: 64px 48px;
  text-align: center;
}
.cta-panel::before, .cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-panel::before { width: 300px; height: 300px; left: -110px; top: -130px; }
.cta-panel::after { width: 260px; height: 260px; right: -90px; bottom: -120px; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-panel p { opacity: 0.92; margin-bottom: 28px; font-size: 16px; }
.cta-panel .btn { margin: 0 6px; }

/* ---------- 页脚 ---------- */

.footer { border-top: 1px solid var(--line-soft); background: var(--bg-soft); padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 320px; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--primary-strong); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}

/* ---------- 登录 / 注册 ---------- */

.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 340px at 20% 0%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(540px 320px at 85% 100%, rgba(139, 92, 246, 0.1), transparent 60%),
    var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}
.auth-card h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 16px 0 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.btn-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink);
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-google:hover { background: var(--bg-soft); border-color: #cbd5e1; }
.btn-google svg { width: 18px; height: 18px; }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0;
  color: var(--muted); font-size: 12.5px;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-2);
}
.field label small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.auth-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.auth-foot a { color: var(--primary-strong); font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }
.form-hint { font-size: 12px; color: #b91c1c; min-height: 16px; margin-top: -8px; margin-bottom: 8px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 36px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- SEO 内容页（tg-qunfa） ---------- */

.article { padding: 64px 0 40px; }
.article-hero { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.article-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 18px 0 16px; }
.article-hero p { color: var(--muted); font-size: 16.5px; }
.article-body { max-width: 860px; margin: 0 auto; }
.article-body h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.01em;
  margin: 44px 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.article-body h2 .num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-strong);
  font-size: 15px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.article-body p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 12px; }
.check-list { margin: 14px 0 8px; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px; color: var(--ink-2);
}
.check-list li svg { width: 18px; height: 18px; flex: none; color: #10b981; margin-top: 2px; }
.article-cta { margin: 48px 0 8px; text-align: center; }
.article-cta .btn { margin: 0 6px; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .features-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { max-width: 620px; }
  .mock-float { right: 10px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-actions { display: flex; padding: 8px 16px 16px; }
  .features-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .scenes-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .hero { padding: 60px 0 72px; }
}

/* ---------- 入场动画 ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-float { animation: none; }
}

/* ============================================================
   v2 营销视觉：浅灰蓝底 + 深色渐变 Hero（与目标站点一致）
   作用域：body.v2 下的页面（index / tg-qunfa / updates / en / auth-split）
   ============================================================ */

body.v2 { background: #f5f7fb; color: #172033; }

/* ---------- 导航 ---------- */
.v2 .mk-nav,
.v2 .seo-nav,
.v2 .changelog-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(229, 233, 242, 0.9);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.v2 .mk-nav .brand,
.v2 .seo-nav .brand,
.v2 .changelog-nav .brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #172033;
}
.v2 .mk-nav .brand-logo,
.v2 .seo-nav .brand-logo,
.v2 .changelog-nav .brand-logo {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, #6d6ff3, #4f46e5);
}
.v2 .mk-nav .brand-logo svg,
.v2 .seo-nav .brand-logo svg,
.v2 .changelog-nav .brand-logo svg { width: 24px; height: 24px; }
.v2 .nav-version {
  padding: 3px 8px; border: 1px solid #e2e6f3; border-radius: 999px;
  color: #4338ca; background: #eef0ff; font-size: 12px; font-weight: 750;
}
.v2 .nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.v2 .nav-links a { padding: 8px 12px; border-radius: 10px; color: #4b5567; font-size: 14px; font-weight: 600; }
.v2 .nav-links a:hover { color: #172033; background: rgba(23, 32, 51, 0.05); }
.v2 .nav-links .nav-cta { color: #fff !important; background: linear-gradient(135deg, #6d6ff3, #4f46e5); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25); }
.v2 .nav-links .nav-cta:hover { color: #fff !important; background: linear-gradient(135deg, #6d6ff3, #4f46e5); }
.v2 .locale { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Hero ---------- */
.v2 .hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px) 64px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(129, 140, 248, 0.55), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(56, 189, 248, 0.22), transparent 32%),
    linear-gradient(145deg, #111827, #282a68 58%, #4338ca);
}
.v2 .hero-bg {
  position: absolute; inset: 0; opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.v2 .hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.v2 .hero .eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin: 0;
  color: #c7d2fe; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  background: none; padding: 0; border-radius: 0;
}
.v2 .hero-version {
  margin-left: 4px; padding: 3px 9px;
  border: 1px solid rgba(199, 210, 254, 0.35); border-radius: 999px;
  color: #e0e7ff; background: rgba(255, 255, 255, 0.1);
  font-size: 12px; font-weight: 750; letter-spacing: 0;
}
.v2 .hero-version:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.v2 .hero h1 { margin: 18px 0 16px; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.v2 .hero-lead, .v2 .hero .lead { max-width: 780px; margin: 0; color: #d5daf0; font-size: clamp(15px, 2vw, 18px); line-height: 1.8; }
.v2 .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.v2 .btn-primary, .v2 .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.v2 .btn-primary { color: #fff; background: linear-gradient(135deg, #818cf8, #4f46e5); box-shadow: 0 12px 28px rgba(79, 70, 229, 0.28); }
.v2 .btn-primary:hover { filter: brightness(1.07); }
.v2 .btn-secondary { color: #e8ecff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); }
.v2 .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.v2 .btn-secondary.light { color: #4f46e5; border-color: #e5e9f2; background: #fff; }
.v2 .btn-secondary.light:hover { background: #f5f7fb; }
.v2 .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.v2 .hero-tags li {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06);
  color: #c7d2fe; font-size: 12px; font-weight: 650;
}

/* ---------- 通用 Section ---------- */
.v2 .section { padding: 72px clamp(16px, 4vw, 48px); }
.v2 .section.muted { background: #eef1f8; }
.v2 .section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.v2 .section-head h2,
.v2 .section > h2,
.v2 .highlight-panel h2 {
  margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 800; color: #172033;
}
.v2 .section > h2 { text-align: center; max-width: 820px; margin: 0 auto 14px; }
.v2 .section-head p, .v2 .section-intro { margin: 12px auto 0; color: #778196; line-height: 1.7; max-width: 720px; }
.v2 .section-intro { text-align: center; max-width: 780px; }

/* ---------- 功能卡片 ---------- */
.v2 .feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.v2 .feature-card {
  padding: 22px; border: 1px solid #e5e9f2; border-radius: 18px;
  background: #fff; box-shadow: 0 10px 30px rgba(23, 32, 51, 0.04);
}
.v2 .feature-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; color: #4f46e5; background: #eef2ff; }
.v2 .feature-icon svg { width: 22px; height: 22px; }
.v2 .feature-card h3 { margin: 0 0 8px; font-size: 17px; color: #172033; }
.v2 .feature-card p { margin: 0; color: #778196; font-size: 14px; line-height: 1.7; }

/* ---------- Highlight ---------- */
.v2 .highlight { padding-top: 12px; }
.v2 .highlight-panel {
  display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px;
  max-width: 1120px; margin: 0 auto; padding: 36px;
  border-radius: 24px; color: #fff;
  background: linear-gradient(145deg, #1f2348, #4338ca);
}
.v2 .highlight-panel h2 { color: #fff; }
.v2 .highlight-panel ul { margin: 18px 0 0; padding-left: 18px; color: #d5daf0; line-height: 1.9; font-size: 15px; }
.v2 .highlight-cta { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); }
.v2 .highlight-cta p { margin: 0; color: #e8ecff; line-height: 1.7; }
.v2 .text-link { color: #c7d2fe; font-size: 14px; font-weight: 650; }
.v2 .text-link:hover { color: #fff; }

/* ---------- FAQ ---------- */
.v2 .faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.v2 .faq-list details { padding: 18px 20px; border: 1px solid #e5e9f2; border-radius: 16px; background: #fff; }
.v2 .faq-list summary { cursor: pointer; font-size: 17px; font-weight: 700; color: #172033; list-style-position: inside; }
.v2 .faq-list summary::marker { color: #a5b4fc; }
.v2 .faq-list p { margin: 12px 0 0; color: #778196; line-height: 1.75; font-size: 14.5px; }
.v2 .faq-list a { color: #4f46e5; font-weight: 650; }

/* ---------- SEO 页（tg-qunfa） ---------- */
.v2 .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.v2 .card { padding: 22px; border: 1px solid #e5e9f2; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(23, 32, 51, 0.04); }
.v2 .card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; color: #4f46e5; background: #eef2ff; }
.v2 .card-icon svg { width: 22px; height: 22px; }
.v2 .card h3 { margin: 0 0 12px; font-size: 17px; color: #172033; }
.v2 .card ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.v2 .card li { display: flex; gap: 8px; color: #778196; font-size: 14px; line-height: 1.6; }
.v2 .card li svg { width: 16px; height: 16px; flex: none; color: #10b981; margin-top: 3px; }
.v2 .scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.v2 .scene-grid article { padding: 22px; border: 1px solid #e5e9f2; border-radius: 18px; background: #fff; }
.v2 .scene-grid h3 { margin: 0 0 8px; font-size: 17px; color: #172033; }
.v2 .scene-grid p { margin: 0; color: #778196; font-size: 14px; line-height: 1.7; }
.v2 .checklist { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; padding: 0; }
.v2 .checklist li { display: flex; gap: 10px; padding: 14px 16px; border: 1px solid #e5e9f2; border-radius: 12px; background: #fff; color: #4b5567; font-size: 14.5px; }
.v2 .checklist svg { width: 18px; height: 18px; color: #4f46e5; flex: none; margin-top: 2px; }
.v2 .cta-band { padding: clamp(56px, 8vw, 88px) clamp(16px, 4vw, 48px); text-align: center; color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(129, 140, 248, 0.55), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(56, 189, 248, 0.22), transparent 32%),
    linear-gradient(145deg, #111827, #282a68 58%, #4338ca); }
.v2 .cta-band h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; }
.v2 .cta-band p { max-width: 640px; margin: 14px auto 0; color: #d5daf0; line-height: 1.8; }
.v2 .cta-band .hero-actions { justify-content: center; }
.v2 .seo-footer { padding: 24px clamp(16px, 4vw, 48px) 32px; border-top: 1px solid #e5e9f2; color: #778196; font-size: 13px; text-align: center; background: #f5f7fb; }
.v2 .seo-footer strong { color: #172033; font-weight: 700; }
.v2 .seo-footer a { color: #4f46e5; font-weight: 650; }

/* ---------- 页脚（首页 / 英文首页） ---------- */
.v2 .mk-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 28px clamp(16px, 4vw, 48px) 40px;
  border-top: 1px solid #e5e9f2; color: #778196; font-size: 13px; background: #f5f7fb;
}
.v2 .mk-footer strong { display: block; margin-bottom: 4px; color: #172033; font-size: 15px; }
.v2 .mk-footer a { color: #4f46e5; font-weight: 650; }
.v2 .footer-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 14px; }
.v2 .footer-links a { display: inline-flex; }

/* ---------- 更新日志页 ---------- */
.v2 .changelog-hero { padding-bottom: 56px; }
.v2 .changelog-hero .hero-inner { max-width: 1120px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.v2 .hero-stats { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.v2 .hero-stats article { min-width: 118px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.v2 .hero-stats small { display: block; color: #c7d2fe; font-size: 12px; }
.v2 .hero-stats strong { display: block; font-size: 20px; margin-top: 2px; }
.v2 .hero-card { max-width: 300px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); }
.v2 .hero-card > span { display: block; color: #c7d2fe; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.v2 .hero-card h2 { margin: 6px 0 4px; font-size: 26px; letter-spacing: -0.02em; }
.v2 .hero-card p { margin: 0 0 10px; color: #e8ecff; font-size: 14px; }
.v2 .hero-card small { display: inline-flex; align-items: center; gap: 6px; color: #c7d2fe; font-size: 12px; }
.v2 .hero-card small svg { width: 14px; height: 14px; }
.v2 .timeline-section { padding: 48px clamp(16px, 4vw, 48px) 72px; }
.v2 .filter-bar { display: flex; gap: 8px; max-width: 820px; margin: 0 auto 28px; }
.v2 .filter-bar button { padding: 8px 16px; border-radius: 999px; border: 1px solid #e5e9f2; background: #fff; color: #4b5567; font-size: 13.5px; font-weight: 600; }
.v2 .filter-bar button.active { color: #fff; background: linear-gradient(135deg, #6d6ff3, #4f46e5); border-color: transparent; }
.v2 .timeline { max-width: 820px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 18px; }
.v2 .timeline li { display: grid; grid-template-columns: 64px 20px 1fr; gap: 12px; }
.v2 .timeline-date { text-align: right; padding-top: 16px; }
.v2 .timeline-date time { display: block; font-weight: 700; color: #172033; font-size: 14px; white-space: nowrap; }
.v2 .timeline-date small { color: #778196; font-size: 12px; }
.v2 .timeline-mark { position: relative; display: flex; justify-content: center; }
.v2 .timeline-mark::before { content: ""; position: absolute; top: 0; bottom: -18px; width: 2px; background: #e5e9f2; }
.v2 .timeline li:last-child .timeline-mark::before { bottom: 0; }
.v2 .timeline-mark::after { content: ""; width: 10px; height: 10px; margin-top: 22px; border-radius: 50%; background: #fff; border: 2px solid #818cf8; position: relative; z-index: 1; }
.v2 .release-card { padding: 22px; border: 1px solid #e5e9f2; border-radius: 16px; background: #fff; }
.v2 .release-card.current { border-color: #c7d2fe; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08); }
.v2 .release-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v2 .release-heading strong { font-size: 16px; color: #172033; }
.v2 .release-heading em { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: #eef0ff; color: #4338ca; font-weight: 700; }
.v2 .kind-tag { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.v2 .kind-tag.feature { background: #ecfdf5; color: #047857; }
.v2 .kind-tag.polish { background: #eff6ff; color: #1d4ed8; }
.v2 .release-card h2 { margin: 8px 0 12px; font-size: 19px; color: #172033; letter-spacing: -0.01em; }
.v2 .release-card ul { padding-left: 18px; color: #4b5567; font-size: 14px; line-height: 1.8; }
.v2 .timeline-end { max-width: 820px; margin: 36px auto 0; text-align: center; color: #778196; font-size: 14px; }
.v2 .timeline-end .hero-actions { justify-content: center; margin-top: 16px; }

/* ---------- 认证分栏（登录 / 注册 / 找回密码） ---------- */
.v2 .auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.v2 .auth-brand-panel {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background:
    radial-gradient(circle at 78% 16%, rgba(129, 140, 248, 0.55), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(56, 189, 248, 0.22), transparent 32%),
    linear-gradient(145deg, #111827, #282a68 58%, #4338ca);
}
.v2 .auth-brand-panel::before {
  content: ""; position: absolute; inset: 0; opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.v2 .auth-brand-panel > * { position: relative; z-index: 1; }
.v2 .auth-brand-panel .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.v2 .auth-brand-panel .brand-logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); }
.v2 .auth-brand-panel .brand-logo svg { width: 24px; height: 24px; }
.v2 .auth-brand-panel .eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #c7d2fe; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.v2 .auth-brand-panel h1 { margin: 4px 0 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -0.02em; }
.v2 .auth-brand-panel .lead { margin: 6px 0 0; color: #d5daf0; font-size: 15px; line-height: 1.8; max-width: 480px; }
.v2 .auth-points { margin-top: 10px; display: flex; flex-direction: column; gap: 12px; }
.v2 .auth-point { display: flex; gap: 12px; align-items: flex-start; }
.v2 .auth-point .point-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #c7d2fe; background: rgba(255, 255, 255, 0.1); }
.v2 .auth-point .point-icon svg { width: 18px; height: 18px; }
.v2 .auth-point strong { display: block; font-size: 15px; }
.v2 .auth-point span { display: block; color: #a5b4fc; font-size: 13px; margin-top: 2px; }
.v2 .auth-form-panel { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #f5f7fb; }
.v2 .auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid #e5e9f2; border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(23, 32, 51, 0.06); }
.v2 .auth-card .auth-kicker { color: #4f46e5; font-size: 13px; font-weight: 750; letter-spacing: 0.04em; }
.v2 .auth-card h1 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 6px; color: #172033; }
.v2 .auth-card .auth-sub { color: #778196; font-size: 14px; margin-bottom: 24px; line-height: 1.7; }
.v2 .auth-card .auth-foot { margin-top: 20px; text-align: center; font-size: 13.5px; color: #778196; }
.v2 .auth-card .auth-foot a { color: #4f46e5; font-weight: 650; }
.v2 .auth-meta { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 18px; font-size: 13.5px; }
.v2 .auth-meta a { color: #4f46e5; font-weight: 650; }
.v2 .auth-bottom-links { margin-top: 22px; padding-top: 18px; border-top: 1px solid #eef1f6; display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 13px; color: #778196; }
.v2 .auth-bottom-links a { color: #4f46e5; font-weight: 650; }

/* ---------- 响应式（v2） ---------- */
@media (max-width: 860px) {
  .v2 .highlight-panel { grid-template-columns: 1fr; padding: 24px; }
  .v2 .nav-links a:not(.nav-cta):not(.locale) { display: none; }
  .v2 .changelog-hero .hero-inner { grid-template-columns: 1fr; }
  .v2 .hero-card { max-width: none; }
  .v2 .timeline li { grid-template-columns: 20px 1fr; }
  .v2 .timeline-date { display: none; }
  .v2 .auth-split { grid-template-columns: 1fr; }
  .v2 .auth-brand-panel { display: none; }
}
@media (max-width: 480px) {
  .v2 .feature-grid, .v2 .card-grid, .v2 .scene-grid { grid-template-columns: 1fr; }
}
