/* ===== LicenseManager 官网样式 ===== */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --accent: #7c3aed;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --text: #334155;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, .14);
  --font: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
  /* 兼容别名（dashboard / portal 演示页使用） */
  --bg-body: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --primary-color: #4f46e5;
  --text-color: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-bar { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; color: var(--text);
  font-size: 15px; font-weight: 500;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; gap: 2px;
  }
  .site-header.open .nav-actions {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 0 24px 16px;
  }
  .site-header.open { position: sticky; }
  .site-header.open .nav-links { box-shadow: var(--shadow-md); }
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .32);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(79, 70, 229, .4); }
.btn-outline { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary); background: var(--bg-soft); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #e2e8f0; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(124, 58, 237, .35), transparent 60%),
              radial-gradient(900px 480px at 10% 0%, rgba(79, 70, 229, .4), transparent 55%),
              var(--bg-dark);
  color: #e2e8f0;
  padding: 96px 0 110px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(129, 140, 248, .12); border: 1px solid rgba(129, 140, 248, .35);
  color: #c7d2fe; margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.hero h1 { font-size: 46px; line-height: 1.18; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(90deg, #a5b4fc, #c4b5fd, #f0abfc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: #94a3b8; max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 26px; color: #fff; font-weight: 700; }
.hero-stats .stat span { font-size: 13px; color: #64748b; }

.hero-panel {
  background: rgba(30, 41, 59, .72); border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hero-panel .panel-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}
.hero-panel .panel-bar i { width: 11px; height: 11px; border-radius: 50%; }
.hero-panel .panel-bar i:nth-child(1) { background: #f87171; }
.hero-panel .panel-bar i:nth-child(2) { background: #fbbf24; }
.hero-panel .panel-bar i:nth-child(3) { background: #34d399; }
.hero-panel .panel-bar span { margin-left: 10px; font-size: 12px; color: #64748b; font-family: var(--mono); }
.hero-panel pre {
  padding: 20px; font-family: var(--mono); font-size: 13px; line-height: 1.7;
  color: #cbd5e1; overflow-x: auto;
}
.tok-c { color: #64748b; } .tok-k { color: #c4b5fd; } .tok-s { color: #86efac; }
.tok-f { color: #7dd3fc; } .tok-n { color: #fbbf24; }

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 34px; }
}

/* ===== 通用区块 ===== */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--text-muted); }

/* ===== 特性卡片 ===== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: all .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(124,58,237,.1));
  color: var(--primary);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: var(--text-muted); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===== 产品亮点（图文交替） ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse > .split-media { order: 2; }
.split h3 { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; margin-bottom: 14px; }
.split p { color: var(--text-muted); margin-bottom: 20px; }
.split ul.check-list { list-style: none; }
.split ul.check-list li {
  position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); font-size: 15px;
}
.split ul.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(52, 211, 153, .15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}
.split-media {
  border-radius: 16px; border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--bg-dark);
}
.split-media pre { padding: 24px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #cbd5e1; overflow-x: auto; }
.split-media.light { background: #fff; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > .split-media { order: 0; }
}

/* ===== 定价 ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 34px 30px; display: flex; flex-direction: column; position: relative;
  transition: all .2s ease;
}
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--primary); box-shadow: 0 16px 40px rgba(79, 70, 229, .18);
}
.price-card .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.price-card .plan-desc { font-size: 14px; color: var(--text-muted); margin: 6px 0 20px; }
.price-card .price { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.price-card ul { list-style: none; margin: 24px 0 30px; flex: 1; }
.price-card ul li {
  position: relative; padding-left: 26px; margin-bottom: 11px; font-size: 14.5px; color: var(--text);
}
.price-card ul li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.price-card ul li.off { color: #94a3b8; }
.price-card ul li.off::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ===== 客户评价 ===== */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.quote-card .scene-tag {
  align-self: flex-start;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.quote-card h3 { font-size: 17px; color: var(--ink); line-height: 1.4; }
.quote-card .stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.quote-card p { font-size: 15px; color: var(--text); flex: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .avatar {
  width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.quote-author b { display: block; font-size: 14.5px; color: var(--ink); }
.quote-author span { font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--font);
}
.faq-q .chev { transition: transform .2s ease; color: var(--text-muted); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 15px; color: var(--text-muted); }

/* ===== CTA 横幅 ===== */
.cta-banner {
  background: radial-gradient(800px 300px at 70% 0%, rgba(124, 58, 237, .4), transparent 60%), var(--bg-dark);
  border-radius: 20px; padding: 64px 48px; text-align: center; color: #e2e8f0;
}
.cta-banner h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-banner p { color: #94a3b8; max-width: 560px; margin: 0 auto 30px; font-size: 16px; }
.cta-banner .hero-cta { justify-content: center; margin-bottom: 0; }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, .15); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ===== 子页面通用 ===== */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 64px 0 48px; }
.page-hero h1 { font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: var(--text-muted); max-width: 640px; }
.breadcrumb { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ===== 文档页布局 ===== */
.docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding: 48px 0 88px; align-items: start; }
.docs-sidebar { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 8px; }
.docs-sidebar .side-group { margin-bottom: 26px; }
.docs-sidebar .side-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px; padding: 0 12px;
}
.docs-sidebar a {
  display: block; padding: 7px 12px; border-radius: 8px; font-size: 14.5px;
  color: var(--text); border-left: 2px solid transparent;
}
.docs-sidebar a:hover { background: var(--bg-soft); color: var(--primary); }
.docs-sidebar a.active { color: var(--primary); background: rgba(79, 70, 229, .07); font-weight: 600; }
.docs-content { min-width: 0; }
.docs-content h2 { font-size: 27px; font-weight: 800; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.docs-content h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 36px 0 12px; }
.docs-content p { margin-bottom: 14px; font-size: 15.5px; }
.docs-content ul, .docs-content ol { margin: 0 0 16px 22px; font-size: 15.5px; }
.docs-content li { margin-bottom: 6px; }
.docs-content code.inline {
  font-family: var(--mono); font-size: 13px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 5px; padding: 2px 6px; color: var(--primary-dark);
}
.doc-section { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.doc-section:last-child { border-bottom: none; margin-bottom: 0; }
.code-block {
  background: var(--bg-dark); color: #cbd5e1; border-radius: 12px; margin: 18px 0 22px;
  overflow: hidden; border: 1px solid rgba(148, 163, 184, .2);
}
.code-block .code-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 16px; font-size: 12px; color: #64748b; font-family: var(--mono);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}
.code-block pre { padding: 18px; font-family: var(--mono); font-size: 13px; line-height: 1.7; overflow-x: auto; }
.copy-btn {
  background: none; border: 1px solid rgba(148, 163, 184, .3); color: #94a3b8;
  font-size: 12px; padding: 3px 10px; border-radius: 6px; cursor: pointer; font-family: var(--font);
}
.copy-btn:hover { color: #fff; border-color: #94a3b8; }
.callout {
  border: 1px solid; border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: 14.5px;
}
.callout.info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.callout.warn { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.doc-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14.5px; }
.doc-table th, .doc-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.doc-table th { background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.doc-table code { font-family: var(--mono); font-size: 12.5px; color: var(--primary-dark); }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; max-height: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 8px; }
}

/* ===== 下载页 ===== */
.dl-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0 30px; }
.dl-tab {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; font-size: 14.5px; font-weight: 600; color: var(--text);
  cursor: pointer; font-family: var(--font); transition: all .15s ease;
}
.dl-tab:hover { border-color: var(--primary-light); color: var(--primary); }
.dl-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.dl-panel { display: none; }
.dl-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.dl-card {
  display: flex; align-items: center; gap: 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 14px; transition: all .18s ease;
}
.dl-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.dl-icon {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(124,58,237,.1));
  color: var(--primary); font-weight: 800; font-size: 15px; font-family: var(--mono);
}
.dl-info { flex: 1; min-width: 0; }
.dl-info h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.dl-info .dl-meta { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.dl-info .dl-meta span + span::before { content: "·"; margin: 0 8px; }
.dl-cmd {
  display: flex; align-items: center; gap: 10px; background: var(--bg-dark);
  border-radius: 10px; padding: 12px 16px; margin: 10px 0 4px;
  font-family: var(--mono); font-size: 13px; color: #a5b4fc; overflow-x: auto;
}
.dl-cmd button {
  flex-shrink: 0; background: none; border: 1px solid rgba(148,163,184,.3);
  color: #94a3b8; font-size: 12px; padding: 3px 10px; border-radius: 6px; cursor: pointer;
}
.dl-cmd button:hover { color: #fff; }
.dl-note { font-size: 13.5px; color: var(--text-muted); margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--border); }

/* =====  logo 墙 ===== */
.logo-wall { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; opacity: .55; }
.logo-wall span { font-size: 19px; font-weight: 700; color: var(--text-muted); letter-spacing: .02em; }

/* ===== 法务 / 文本类页面 ===== */
.legal-body { max-width: 780px; margin: 0 auto; padding: 56px 0 88px; }
.legal-body h2 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 36px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px 22px; }
.legal-body .updated { font-size: 13.5px; color: var(--text-muted); margin-bottom: 32px; }

/* ===== 页脚底部链接 ===== */
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ===== 关于我们：时间线 ===== */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
}
.timeline-item .t-year { font-size: 14px; font-weight: 700; color: var(--primary); font-family: var(--mono); }
.timeline-item h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 4px 0 6px; }
.timeline-item p { font-size: 15px; color: var(--text-muted); }

/* ===== 价值观卡片 ===== */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; text-align: center;
}
.value-card .v-icon {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(124,58,237,.1));
  color: var(--primary);
}
.value-card .v-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--text-muted); }
@media (max-width: 800px) { .value-grid { grid-template-columns: 1fr; } }

/* ===== 加入我们：职位列表 ===== */
.job-list { max-width: 860px; margin: 0 auto; }
.job-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 14px; transition: all .18s ease;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.job-info { flex: 1; min-width: 220px; }
.job-info h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.job-info .job-meta { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.job-info .job-meta span + span::before { content: "·"; margin: 0 8px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.benefit-card b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.benefit-card span { font-size: 13.5px; color: var(--text-muted); }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin-bottom: 16px;
}
.contact-card h3 { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.contact-card p { font-size: 14.5px; color: var(--text-muted); margin-bottom: 8px; }
.contact-card a.mail { font-family: var(--mono); font-size: 14.5px; font-weight: 600; }
.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 9px;
  font-size: 14.5px; font-family: var(--font); color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-tip { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.form-success {
  display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin-top: 16px;
}
.form-success.show { display: block; }

/* ===== 产品界面截图展示 ===== */
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot-card { cursor: zoom-in; }
.shot-frame {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); background: var(--bg-dark);
  transition: all .22s ease;
}
.shot-card:hover .shot-frame {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light);
}
.shot-frame img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.shot-card:hover .shot-frame img { transform: scale(1.03); }
.shot-card figcaption { padding: 12px 4px 0; }
.shot-card figcaption b { display: block; font-size: 15px; color: var(--ink); }
.shot-card figcaption span { font-size: 13px; color: var(--text-muted); }
@media (max-width: 1000px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shot-grid { grid-template-columns: 1fr; } }

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .82); backdrop-filter: blur(6px); padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn .2s ease; }
.lightbox img {
  max-width: min(1200px, 92vw); max-height: 82vh; border-radius: 12px;
  box-shadow: var(--shadow-lg); background: #fff;
}
.lightbox-caption {
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  color: #cbd5e1; font-size: 14px;
}
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(148,163,184,.35);
  background: rgba(30, 41, 59, .7); color: #e2e8f0; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.lightbox-btn:hover { background: rgba(79, 70, 229, .8); color: #fff; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(148,163,184,.35);
  background: rgba(30, 41, 59, .7); color: #e2e8f0; font-size: 18px; cursor: pointer;
}
.lightbox-close:hover { background: rgba(248, 113, 113, .75); color: #fff; }

/* ===== 滚动进场动效 ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--text-muted); cursor: pointer;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all .22s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { color: var(--primary); border-color: var(--primary-light); }

/* ===== 键盘可访问性 ===== */
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }

/* ===== 语言切换器 ===== */
.lang-switch { position: relative; }
.lang-switch .lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 9px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-size: 13.5px; font-weight: 600;
  font-family: var(--font); cursor: pointer; transition: all .15s ease;
}
.lang-switch .lang-current:hover { border-color: var(--primary-light); color: var(--primary); }
.lang-switch .lang-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px); min-width: 140px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 6px; z-index: 70;
}
.lang-switch.open .lang-menu { display: block; animation: fadeIn .18s ease; }
.lang-switch .lang-menu button {
  display: block; width: 100%; text-align: left; padding: 8px 12px;
  border: none; border-radius: 7px; background: none; cursor: pointer;
  font-size: 13.5px; font-family: var(--font); color: var(--text);
}
.lang-switch .lang-menu button:hover { background: var(--bg-soft); }
.lang-switch .lang-menu button.active { color: var(--primary); font-weight: 700; background: rgba(79, 70, 229, .07); }
.site-footer .lang-switch .lang-current { background: transparent; border-color: rgba(148,163,184,.35); color: #94a3b8; }
/* dashboard 侧栏内的切换器：吸底、菜单向上弹出 */
.lang-switch.in-sidebar { margin-top: auto; padding: 14px 20px; }
.lang-switch.in-sidebar .lang-menu { top: auto; bottom: calc(100% + 6px); left: 20px; right: auto; }
