/* ============================================================
   泰极AI · 智能平台 宣传官网样式
   ============================================================ */

:root {
  --bg: #07070f;
  --bg-2: #0c0c1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f4f8;
  --text-dim: #a3a3bd;
  --text-mute: #6b6b85;

  --brand: #7c6cff;
  --brand-2: #a855f7;
  --cyan: #22d3ee;
  --orange: #fb923c;
  --green: #34d399;

  --grad: linear-gradient(120deg, #7c6cff 0%, #a855f7 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(124,108,255,.18), rgba(168,85,247,.18), rgba(34,211,238,.18));

  --radius: 18px;
  --radius-lg: 26px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124,108,255,.4); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 背景光晕 ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow::before,
.bg-glow::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
}
.bg-glow::before {
  background: radial-gradient(circle, #6d28d9, transparent 70%);
  top: -20vw;
  left: -10vw;
}
.bg-glow::after {
  background: radial-gradient(circle, #0e7490, transparent 70%);
  bottom: -20vw;
  right: -10vw;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- 通用容器 ---------- */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section { padding: 110px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(124,108,255,.12);
  border: 1px solid rgba(124,108,255,.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.section-title .grad { 
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc { color: var(--text-dim); font-size: 17px; margin-top: 18px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px -6px rgba(124,108,255,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(124,108,255,.7); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--border-strong); }
.btn-lg { padding: 16px 34px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,15,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 18px;
  box-shadow: 0 4px 16px -2px rgba(124,108,255,.6);
}
.logo span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px;
  color: var(--text-dim);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 20px; font-size: 14px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 90px; position: relative; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 30px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(52,211,153,.18);} 50% { box-shadow: 0 0 0 7px rgba(52,211,153,.06);} }

.hero h1 {
  font-size: clamp(40px, 7.5vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  max-width: 640px; margin: 0 auto 40px;
  font-size: 19px; color: var(--text-dim);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--text-mute); }

/* ---------- 产品卡片 ---------- */
.products { position: relative; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.product-card .glow { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none; }
.product-card:hover .glow { opacity: 1; }

.product-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  font-size: 26px; margin-bottom: 14px;
}
.product-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }
.product-brand {
  font-size: 15px; font-weight: 800; letter-spacing: .16em;
  margin-bottom: 7px; color: var(--text);
}
.product-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.product-card .tagline { color: var(--text-dim); font-size: 15px; margin-bottom: 20px; }
.product-features { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.product-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); }
.product-features li::before { content: "✓"; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

.card-cta { font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.card-cta:hover { gap: 10px; }

/* 产品差异化主题色 */
.p-video .product-icon, .p-video .glow { background: radial-gradient(circle at 50% 120%, rgba(168,85,247,.5), transparent 70%); }
.p-video .product-icon { background: linear-gradient(135deg, #a855f7, #7c6cff); }
.p-video .product-brand { color: #c084fc; }
.p-video .card-cta { color: #c084fc; }
.p-video .product-features li::before { color: #c084fc; }

.p-drama .product-icon { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.p-drama .glow { background: radial-gradient(circle at 50% 120%, rgba(251,146,60,.5), transparent 70%); }
.p-drama .product-brand { color: #fdba74; }
.p-drama .card-cta { color: #fdba74; }
.p-drama .product-features li::before { color: #fdba74; }

.p-agent .product-icon { background: linear-gradient(135deg, #22d3ee, #34d399); }
.p-agent .glow { background: radial-gradient(circle at 50% 120%, rgba(34,211,238,.5), transparent 70%); }
.p-agent .product-brand { color: #67e8f9; }
.p-agent .card-cta { color: #67e8f9; }
.p-agent .product-features li::before { color: #67e8f9; }

/* ---------- 可视化示意 ---------- */
.visual { margin-top: 4px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--border); padding: 16px; }
.visual-phone {
  width: 118px; height: 226px; margin: 0 auto;
  border-radius: 18px; border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #1a1a30, #0d0d1a);
  padding: 8px; position: relative;
}
.visual-phone .screen { height: 100%; border-radius: 12px; background: linear-gradient(180deg, #2a2a4a, #151527); overflow: hidden; position: relative; }
.visual-phone .bar { position: absolute; bottom: 12px; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: var(--border); }
.visual-phone .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; border-radius: 3px; background: var(--grad); }
.visual-phone .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: #111; font-size: 13px; }
.visual-frames { display: flex; gap: 8px; justify-content: center; }
.visual-frames i { flex: 1; height: 74px; border-radius: 8px; background: linear-gradient(180deg, #3a2a20, #20150e); border: 1px solid var(--border); position: relative; }
.visual-frames i:nth-child(2) { background: linear-gradient(180deg, #402a1a, #241510); }
.visual-frames i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.55)); border-radius: 8px; }
.visual-chat { display: grid; gap: 8px; }
.visual-chat .bub { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 12px; color: var(--text-dim); background: var(--surface-2); }
.visual-chat .bub.me { margin-left: auto; background: rgba(124,108,255,.25); color: #fff; }
.visual-chat .bub .typing { display: inline-flex; gap: 3px; }
.visual-chat .bub .typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-mute); animation: blink 1.4s infinite; }
.visual-chat .bub .typing i:nth-child(2) { animation-delay: .2s; }
.visual-chat .bub .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- 数据带 ---------- */
.stats { background: linear-gradient(180deg, transparent, rgba(124,108,255,.05), transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--text-dim); font-size: 14px; margin-top: 6px; }

/* ---------- 流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color .3s, transform .3s;
}
.flow-step:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.flow-step .step-num { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.flow-step h4 { font-size: 17px; margin: 10px 0 8px; }
.flow-step p { font-size: 14px; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta-box {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, rgba(124,108,255,.16), rgba(34,211,238,.10));
  border: 1px solid rgba(124,108,255,.3);
  border-radius: 28px;
  padding: 70px 40px;
  overflow: hidden;
}
.cta-box h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-box p { color: var(--text-dim); font-size: 17px; margin-bottom: 32px; }
.cta-box .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand p { color: var(--text-dim); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer h5 { font-size: 14px; margin-bottom: 16px; color: var(--text); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-dim); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-mute); flex-wrap: wrap; gap: 12px; }
.footer-bottom a, .auth-side .side-foot a { color: inherit; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover, .auth-side .side-foot a:hover { color: var(--text); text-decoration: underline; }

/* ---------- 弹窗 ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.66);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden; transition: .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 420px;
  background: #10101e;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transform: translateY(16px) scale(.98);
  transition: transform .3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-dim); font-size: 24px; cursor: pointer; line-height: 1; }
.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.modal .modal-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }

.auth-tabs { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs button { flex: 1; padding: 9px; border: none; background: none; color: var(--text-dim); font-size: 14px; font-weight: 600; border-radius: 7px; cursor: pointer; transition: .2s; font-family: inherit; }
.auth-tabs button.active { background: var(--grad); color: #fff; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; }
.field input {
  width: 100%; padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,108,255,.18); }
.field .hint { font-size: 12px; color: var(--text-mute); margin-top: 6px; }
.form-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-mute); margin: 18px 0; }
.form-agree input { margin-top: 3px; }
.form-agree a { color: var(--brand); }
.auth-msg { text-align: center; font-size: 13px; color: var(--green); min-height: 18px; margin-top: 12px; }

/* ---------- 滚动 reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .product-grid, .flow-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-login, .nav-actions .btn-signup { display: none; }
  .nav-actions .hamburger-btn { display: block; }
  .hamburger { display: block; }
  .nav-mobile { 
    position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
    background: rgba(7,7,15,.96); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    display: flex; flex-direction: column; gap: 18px;
    transform: translateY(-120%); transition: transform .3s;
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a { font-size: 17px; color: var(--text); }
  .nav-mobile .mobile-btns { display: flex; gap: 12px; }
  .nav-mobile .mobile-btns .btn { flex: 1; }

  .product-grid, .flow-grid { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 70px; }
  .section { padding: 80px 0; }
  .cta-box { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   子页面组件 & 补充样式
   ============================================================ */

/* ---------- 导航激活态 ---------- */
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -24px;
  height: 2px; border-radius: 2px;
  background: var(--grad);
}
.nav-links a { position: relative; }

/* 移动端菜单：基础隐藏 */
.nav-mobile { display: none; }

/* ---------- 产品卡片补强 ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .visual { margin-top: auto; }
.product-card .card-cta { margin-top: 20px; }
.stats { padding: 56px 0; }

/* ---------- 子页首屏 ---------- */
.page-hero { padding: 152px 0 56px; text-align: center; }
.page-hero h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.page-hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--text-dim); font-size: 17px; max-width: 700px; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 18px; }
.breadcrumb { font-size: 13px; color: var(--text-mute); margin-bottom: 22px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- 通用网格 ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 详情区块 ---------- */
.detail {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
  padding: 54px 0; border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
.detail:first-of-type { border-top: none; }
.detail .kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.detail h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.detail .lead { color: var(--text-dim); font-size: 16px; margin-bottom: 22px; }
.detail .panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
}
.detail .panel h5 { font-size: 14px; color: var(--text); margin-bottom: 14px; }
.k-video { color: #c084fc; } .k-drama { color: #fdba74; } .k-agent { color: #67e8f9; }

/* ---------- 清单 ---------- */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-dim); }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.dot-list { list-style: none; display: grid; gap: 10px; }
.dot-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-dim); }
.dot-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-top: 9px; flex-shrink: 0; }

/* ---------- 标签 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  font-size: 13px; color: var(--text-dim);
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.spec th, table.spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.spec th { color: var(--text); font-weight: 600; font-size: 13.5px; background: rgba(255,255,255,.03); }
table.spec td { color: var(--text-dim); }
table.spec tr:last-child td { border-bottom: none; }
table.spec .yes { color: var(--green); font-weight: 600; }
table.spec .no { color: var(--text-mute); }

/* ---------- 信息卡 ---------- */
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .3s ease, border-color .3s ease;
}
.info-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.info-card h4 { font-size: 18px; margin-bottom: 8px; }
.info-card p { color: var(--text-dim); font-size: 14.5px; }
.info-card .feature-icon { margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 22px; transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(124,108,255,.45); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-size: 16px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--text-dim); font-size: 14.5px; padding-bottom: 20px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.contact-card h4 { font-size: 18px; margin-bottom: 6px; }
.contact-card .sub { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; }
.contact-card .line { font-size: 15px; color: var(--text); margin-bottom: 10px; display: flex; gap: 12px; }
.contact-card .line span:first-child { color: var(--text-mute); min-width: 60px; }
.form-grid { display: grid; gap: 18px; }
.form-grid .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field textarea {
  width: 100%; min-height: 130px; resize: vertical; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 15px;
}
.field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(124,108,255,.18); }
.field select {
  width: 100%; padding: 12px 14px; background: #10101e;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 15px;
}
.field select:focus { outline: none; border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 300;
  transform: translate(-50%, 20px);
  background: #16162a; border: 1px solid var(--border-strong);
  color: var(--text); padding: 13px 26px; border-radius: 12px;
  font-size: 14.5px; opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  box-shadow: 0 16px 44px rgba(0,0,0,.55);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.ok { border-color: rgba(52,211,153,.55); }
.toast.err { border-color: rgba(248,113,113,.55); }

/* ---------- 独立登录 / 注册页 ---------- */
.auth-page { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.auth-side {
  padding: 56px 60px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(124,108,255,.22), rgba(34,211,238,.07) 55%, transparent);
  border-right: 1px solid var(--border);
}
.auth-side h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.22; margin: 34px 0 16px; }
.auth-side .side-desc { color: var(--text-dim); font-size: 16px; max-width: 430px; }
.auth-side .side-list { margin-top: 32px; display: grid; gap: 14px; }
.auth-side .side-foot { color: var(--text-mute); font-size: 13px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 70px 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--text-dim); font-size: 14.5px; margin-bottom: 28px; }
.auth-back { position: fixed; top: 26px; left: 30px; font-size: 14px; color: var(--text-dim); z-index: 10; }
.auth-back:hover { color: var(--text); }
.auth-divider { display: flex; align-items: center; gap: 14px; color: var(--text-mute); font-size: 12.5px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-oauth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-oauth .btn { padding: 11px; font-size: 14px; }
.forgot-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-mute); margin: -4px 0 20px; }
.forgot-row a { color: var(--brand); }
.captcha-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.captcha-row .btn { padding: 12px 18px; font-size: 14px; }

/* ---------- 小屏补充 ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-2, .contact-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .auth-side { padding: 40px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .contact-grid, .form-grid .row-2, .auth-oauth { grid-template-columns: 1fr; }
  .page-hero { padding: 122px 0 40px; }
  .nav-mobile {
    display: flex; position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
    background: rgba(7,7,15,.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 22px; flex-direction: column; gap: 18px;
    transform: translateY(-130%); transition: transform .3s;
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a { font-size: 17px; color: var(--text); }
  .nav-mobile .mobile-btns { display: flex; gap: 12px; }
  .nav-mobile .mobile-btns .btn { flex: 1; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { min-height: 100vh; padding: 90px 20px 50px; }
  .auth-back { position: absolute; }
}

/* ============================================================
   账号页 / 联系页 补充样式
   ============================================================ */
.auth-side p { color: var(--text-dim); font-size: 16px; max-width: 430px; }
.auth-oauth, .oauth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-oauth .btn, .oauth-row .btn { padding: 12px 16px; font-size: 14px; }
.form-row-between {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 16px 0 22px; font-size: 13.5px; color: var(--text-dim);
}
.checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox input { accent-color: var(--brand); }
.link-brand { color: var(--brand); font-size: 13.5px; }
.link-brand:hover { text-decoration: underline; }
.auth-foot { margin-top: 26px; text-align: center; font-size: 14px; color: var(--text-dim); }
.auth-card .form-agree { margin: 18px 0 22px; }
.auth-card .btn-block { margin-top: 4px; }
.contact-card .line { display: flex; gap: 10px; font-size: 15px; }
.contact-card .line span:first-child { color: var(--text-mute); min-width: 66px; flex-shrink: 0; }
.contact-card .line b { color: var(--text); font-weight: 600; }
.contact-card .line b a { color: inherit; text-decoration: none; }
.contact-card .line b a:hover { text-decoration: underline; }
.contact-card .sub { margin-bottom: 18px; }

/* ============================================================
   主题系统
   主色预设：<html data-accent="violet|blue|red|gold|green">
   明暗主题：<html data-theme="light">（不加该属性 = 深色科技风）
   ============================================================ */

/* ---------- 1. 主色预设（深色 / 浅色通用） ---------- */
[data-accent="violet"] {
  --brand: #7c6cff; --brand-2: #a855f7; --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #7c6cff 0%, #a855f7 50%, #22d3ee 100%);
}
[data-accent="blue"] {
  --brand: #2563eb; --brand-2: #3b82f6; --cyan: #06b6d4;
  --grad: linear-gradient(120deg, #1d4ed8 0%, #2563eb 50%, #0891b2 100%);
}
[data-accent="red"] {
  --brand: #e11d48; --brand-2: #f43f5e; --cyan: #fb923c;
  --grad: linear-gradient(120deg, #be123c 0%, #e11d48 50%, #f97316 100%);
}
[data-accent="gold"] {
  --brand: #b8860b; --brand-2: #f59e0b; --cyan: #fbbf24;
  --grad: linear-gradient(120deg, #a16207 0%, #d97706 50%, #fbbf24 100%);
}
[data-accent="green"] {
  --brand: #059669; --brand-2: #10b981; --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #047857 0%, #059669 50%, #0891b2 100%);
}

/* 品牌渐变文字（通用，含账号页标题） */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-side h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 2. 浅色商务风 ---------- */
[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: rgba(15, 23, 42, .05);
  --border: rgba(15, 23, 42, .10);
  --border-strong: rgba(15, 23, 42, .18);
  --text: #0f172a;
  --text-dim: #475569;
  --text-mute: #94a3b8;
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] .bg-glow::before { background: radial-gradient(circle, rgba(37, 99, 235, .20), transparent 70%); opacity: .55; }
[data-theme="light"] .bg-glow::after { background: radial-gradient(circle, rgba(6, 182, 212, .18), transparent 70%); opacity: .55; }
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
}
[data-theme="light"] .nav.scrolled { background: rgba(255, 255, 255, .85); border-bottom-color: rgba(15, 23, 42, .08); }
[data-theme="light"] .nav-links a { color: #475569; }
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active { color: #0f172a; }
[data-theme="light"] .hamburger span { background: #0f172a; }
[data-theme="light"] .nav-mobile { background: rgba(255, 255, 255, .98); border-bottom-color: rgba(15, 23, 42, .08); }
[data-theme="light"] .nav-mobile a { color: #0f172a; }
[data-theme="light"] .btn-ghost {
  background: #fff; border-color: rgba(15, 23, 42, .14); color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}
[data-theme="light"] .btn-ghost:hover { background: #f8fafc; border-color: rgba(15, 23, 42, .24); }
[data-theme="light"] .hero-badge { background: #fff; border-color: rgba(15, 23, 42, .10); color: #475569; }
[data-theme="light"] .product-card {
  background: #fff; border-color: rgba(15, 23, 42, .10);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 14px 34px -22px rgba(15, 23, 42, .20);
}
[data-theme="light"] .product-card:hover { border-color: rgba(15, 23, 42, .18); }
[data-theme="light"] .p-video .card-cta,
[data-theme="light"] .p-video .product-features li::before { color: #7c3aed; }
[data-theme="light"] .p-drama .card-cta,
[data-theme="light"] .p-drama .product-features li::before { color: #ea580c; }
[data-theme="light"] .p-agent .card-cta,
[data-theme="light"] .p-agent .product-features li::before { color: #0891b2; }
[data-theme="light"] .visual { background: #f8fafc; border-color: rgba(15, 23, 42, .10); }
[data-theme="light"] .visual-phone { background: linear-gradient(180deg, #ffffff, #eef2f7); border-color: rgba(15, 23, 42, .14); }
[data-theme="light"] .visual-phone .screen { background: linear-gradient(180deg, #e2e8f0, #f8fafc); }
[data-theme="light"] .visual-phone .play { background: #0f172a; color: #fff; }
[data-theme="light"] .visual-frames i { background: linear-gradient(180deg, #e7e5e4, #d6d3d1); border-color: rgba(15, 23, 42, .10); }
[data-theme="light"] .visual-frames i:nth-child(2) { background: linear-gradient(180deg, #fde8d7, #f5d0b0); }
[data-theme="light"] .visual-chat .bub { background: rgba(15, 23, 42, .05); color: #475569; }
[data-theme="light"] .visual-chat .bub.me { background: rgba(37, 99, 235, .12); color: #1e3a8a; }
[data-theme="light"] .visual-chat .bub .typing i { background: #94a3b8; }
[data-theme="light"] .stats {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .05), transparent);
  border-top-color: rgba(15, 23, 42, .08); border-bottom-color: rgba(15, 23, 42, .08);
}
[data-theme="light"] .info-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .flow-step,
[data-theme="light"] .detail .panel,
[data-theme="light"] .table-wrap,
[data-theme="light"] .chip { background: #fff; border-color: rgba(15, 23, 42, .10); }
[data-theme="light"] .info-card:hover,
[data-theme="light"] .flow-step:hover { border-color: rgba(15, 23, 42, .20); }
[data-theme="light"] table.spec th { background: #f8fafc; }
[data-theme="light"] .cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, .10), rgba(6, 182, 212, .06));
  border-color: rgba(37, 99, 235, .22);
}
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select { background: #fff; border-color: rgba(15, 23, 42, .14); color: #0f172a; }
[data-theme="light"] .modal { background: #fff; }
[data-theme="light"] .toast {
  background: #fff; color: #0f172a;
  box-shadow: 0 14px 44px -14px rgba(15, 23, 42, .30);
}
[data-theme="light"] .auth-side {
  background: linear-gradient(160deg, rgba(37, 99, 235, .10), rgba(6, 182, 212, .06) 60%, transparent);
  border-right-color: rgba(15, 23, 42, .08);
}
[data-theme="light"] .footer { border-top-color: rgba(15, 23, 42, .08); }
[data-theme="light"] .footer-bottom { border-top-color: rgba(15, 23, 42, .08); }

/* ============================================================
   V3 · 高级视觉增强层
   目标：高大上 / 智能 / 科技感
   手段：颗粒噪点、光标光斑、滚动进度、流动渐变、渐变描边、
         光泽扫过、3D 倾斜、鼠标跟随高光
   ============================================================ */

/* ---------- 1. 全局装饰层 ---------- */
.bg-noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="light"] .bg-noise { opacity: .022; }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0;
  will-change: transform; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(124,108,255,.17), rgba(168,85,247,.07) 42%, transparent 70%);
  transition: opacity .6s ease;
}
.cursor-glow.on { opacity: 1; }
[data-theme="light"] .cursor-glow {
  mix-blend-mode: normal;
  background: radial-gradient(circle, rgba(37,99,235,.10), rgba(6,182,212,.05) 42%, transparent 70%);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120;
  background: var(--grad); box-shadow: 0 0 14px rgba(124,108,255,.85);
}

/* ---------- 2. 背景网格缓慢流动 ---------- */
.bg-grid { animation: gridFlow 32s linear infinite; }
@keyframes gridFlow { to { background-position: 52px 52px, 52px 52px; } }

/* ---------- 3. 导航 ---------- */
.logo-mark { animation: markGlow 4.5s ease-in-out infinite; }
@keyframes markGlow {
  0%, 100% { box-shadow: 0 4px 16px -2px rgba(124,108,255,.55); }
  50% { box-shadow: 0 6px 30px 0 rgba(168,85,247,.9); }
}
.nav.scrolled { box-shadow: 0 14px 44px -28px rgba(0,0,0,.95); }
[data-theme="light"] .nav.scrolled { box-shadow: 0 12px 34px -26px rgba(15,23,42,.35); }

.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; border-radius: 2px;
  background: var(--grad); opacity: 0; transform: scaleX(.35);
  transition: opacity .3s ease, transform .3s ease;
}
.nav-links a:hover::after { opacity: .55; transform: scaleX(1); }
.nav-links a.active::after { opacity: 1; transform: scaleX(1); }

/* ---------- 4. 按钮：光泽扫过 ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -85%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .8s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover::after { left: 155%; }
.btn-lg { box-shadow: 0 12px 38px -10px rgba(124,108,255,.65); }

/* ---------- 5. 标题：流动渐变 + 辉光 ---------- */
.hero h1, .page-hero h1 { text-shadow: 0 0 70px rgba(124,108,255,.18); }
.hero h1 .grad, .page-hero h1 .grad, .section-title .grad, .auth-side h2 .grad {
  background-size: 220% 100%;
  animation: gradFlow 7s ease-in-out infinite;
  filter: drop-shadow(0 0 32px rgba(124,108,255,.38));
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(124,108,255,.18);
  animation: pulse 2.4s infinite;
}

/* ---------- 6. Hero 底部数据流线 ---------- */
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(720px, 78%); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(124,108,255,.8), rgba(34,211,238,.8), transparent);
}

/* ---------- 7. 卡片：渐变描边 + 鼠标高光 + 光泽扫过 ---------- */
.product-card {
  background-image:
    radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(124,108,255,.14), transparent 62%),
    linear-gradient(180deg, var(--surface), rgba(255,255,255,.015));
  transition: transform .4s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .35s ease;
}
.product-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,.28), rgba(255,255,255,.05) 32%, transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.product-card::after {
  content: ""; position: absolute; top: 0; left: -65%; width: 42%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.11), transparent);
  transform: skewX(-18deg); transition: left .9s cubic-bezier(.22,.61,.36,1);
}
.product-card:hover::after { left: 135%; }
.product-card:hover { box-shadow: 0 34px 76px -36px rgba(124,108,255,.8); }

[data-theme="light"] .product-card {
  background-image:
    radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(37,99,235,.075), transparent 62%),
    linear-gradient(180deg, #fff, #fff);
}
[data-theme="light"] .product-card::before {
  background: linear-gradient(150deg, rgba(15,23,42,.16), rgba(15,23,42,.03) 32%, transparent 62%);
}
[data-theme="light"] .product-card:hover { box-shadow: 0 30px 66px -34px rgba(37,99,235,.45); }

/* ---------- 8. 信息卡 / 联系卡：同款描边 ---------- */
.info-card, .contact-card, .flow-step, .faq-item, .cta-box, .detail .panel { position: relative; }
.info-card::before, .contact-card::before, .detail .panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,.22), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
[data-theme="light"] .info-card::before,
[data-theme="light"] .contact-card::before,
[data-theme="light"] .detail .panel::before {
  background: linear-gradient(150deg, rgba(15,23,42,.14), transparent 55%);
}

/* ---------- 9. 3D 倾斜（JS 注入 --rx/--ry） ---------- */
.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.tilt:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
}

/* ---------- 10. 图标 / 数据 ---------- */
.product-icon { box-shadow: 0 14px 38px -14px rgba(124,108,255,.9); }
.feature-icon { filter: drop-shadow(0 8px 20px rgba(124,108,255,.45)); }
.stat { position: relative; }
.stat .num {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;
  letter-spacing: -.02em; filter: drop-shadow(0 0 24px rgba(124,108,255,.4));
}
.stat + .stat::before {
  content: ""; position: absolute; left: -15px; top: 22%; bottom: 22%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
@media (max-width: 960px) { .stat + .stat::before { display: none; } }

/* ---------- 11. 表格 / FAQ 交互 ---------- */
table.spec tbody tr { transition: background .25s ease; }
table.spec tbody tr:hover { background: rgba(124,108,255,.07); }
[data-theme="light"] table.spec tbody tr:hover { background: rgba(37,99,235,.05); }
.faq-item[open] { box-shadow: 0 24px 56px -34px rgba(124,108,255,.9); }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary::after { transition: transform .3s ease; }

/* ---------- 12. CTA / 页脚 光边 ---------- */
.cta-box { overflow: hidden; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,.95), rgba(34,211,238,.95), transparent);
}
.cta-box::after {
  content: ""; position: absolute; left: 50%; top: -45%; width: 72%; height: 130%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(124,108,255,.3), transparent 62%);
}
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,108,255,.65), rgba(34,211,238,.55), transparent);
}

/* ---------- 13. 表单：聚焦辉光 ---------- */
.field input:focus, .field textarea:focus, .field select:focus {
  box-shadow: 0 0 0 3px rgba(124,108,255,.20), 0 0 30px -8px rgba(124,108,255,.85);
}

/* ---------- 14. 滚动渐显升级 ---------- */
.reveal {
  opacity: 0; transform: translateY(28px) scale(.99); filter: blur(7px);
  transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1), filter .85s ease;
}
.reveal.visible { opacity: 1; transform: none; filter: blur(0); }

/* ---------- 15. 账号页氛围 ---------- */
.auth-side { position: relative; overflow: hidden; }
.auth-side::after {
  content: ""; position: absolute; right: -130px; top: -90px; width: 440px; height: 440px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124,108,255,.3), transparent 68%);
}

/* ---------- 16. 无障碍 / 触摸设备降级 ---------- */
@media (hover: none) {
  .cursor-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-grid, .logo-mark, .hero h1 .grad, .page-hero h1 .grad,
  .section-title .grad, .auth-side h2 .grad, .eyebrow::before { animation: none !important; }
  .reveal { filter: none; transform: none; }
  .product-card::after, .btn-primary::after { display: none; }
}

/* ============================================================
   导航 tab 排版精修 + 字体栈升级
   —— 置于文件末尾，确保覆盖前述基础样式
   ============================================================ */

:root {
  --font-display: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Source Han Sans SC",
                  "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
                  "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-num: "Bahnschrift", "Segoe UI Variable Display", "SF Pro Display",
              "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- 1. 顶部导航 tab ---------- */
.nav-links { gap: 4px; }

.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
  white-space: nowrap;
  transition: color .28s ease, background .28s ease,
              box-shadow .28s ease, letter-spacing .28s ease;
}

/* 悬停：柔和玻璃底 + 内侧描边高光 */
.nav-links a:hover {
  color: var(--text);
  letter-spacing: .1em;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09),
              0 8px 24px -16px rgba(124, 108, 255, .95);
}

/* 选中：渐变描边胶囊 */
.nav-links a.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(124, 108, 255, .22), rgba(124, 108, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(124, 108, 255, .42),
              0 10px 28px -18px rgba(124, 108, 255, 1);
}

/* 下划线：贴住胶囊底部，渐变 + 发光 */
.nav-links a::after {
  left: 12px; right: 12px; bottom: 4px; height: 2px;
  transform: scaleX(0); opacity: 0;
}
.nav-links a:hover::after { opacity: .6; transform: scaleX(1); }
.nav-links a.active::after {
  opacity: 1; transform: scaleX(1);
  box-shadow: 0 0 10px rgba(124, 108, 255, .95), 0 0 20px rgba(168, 85, 247, .6);
}

/* 移动端菜单同款字形 */
.nav-mobile a { font-family: var(--font-display); font-weight: 500; letter-spacing: .04em; }

/* ---------- 2. 品牌与标题字形统一 ---------- */
.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.005em;
}
.logo-mark { font-size: 15px; font-weight: 800; letter-spacing: .04em; }

.hero h1, .page-hero h1, .section-title, .detail h3, .cta-box h2 {
  font-family: var(--font-display);
  letter-spacing: -.03em;
}
.product-card h3, .info-card h4, .flow-step h4, .contact-card h4,
.faq-item summary, .auth-card h1, .auth-side h2 {
  font-family: var(--font-display);
  letter-spacing: -.012em;
}

/* 数字：等宽对齐，读数更"精密" */
.stat .num, [data-count] {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: -.02em;
}

/* 按钮与标签 */
.btn { letter-spacing: .045em; font-weight: 600; }
.eyebrow { letter-spacing: .2em; }

/* ---------- 3. 浅色主题微调 ---------- */
[data-theme="light"] .nav-links a:hover {
  background: rgba(15, 23, 42, .05);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}
[data-theme="light"] .nav-links a.active {
  background: linear-gradient(180deg, rgba(37, 99, 235, .13), rgba(37, 99, 235, .04));
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .28);
}
[data-theme="light"] .nav-links a.active::after { box-shadow: none; }

/* ============================================================
   平台优势卡（首页「为什么选择泰极AI」+ features.html）
   —— 原 .features-grid / .feature-item 缺样式，此处补全
   ============================================================ */

/* ---------- 1. 网格与卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform .38s cubic-bezier(.22, .61, .36, 1),
              border-color .3s ease,
              box-shadow .38s ease;
}

/* 顶部一道渐亮细线 */
.feature-item::before {
  content: "";
  position: absolute; top: 0; left: 28px; right: 28px; height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--tone, var(--brand)), transparent);
  opacity: .3;
  transition: opacity .35s ease;
}

/* 右上角氛围光 */
.feature-item::after {
  content: "";
  position: absolute; top: -46px; right: -46px; width: 158px; height: 158px;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, var(--tone, var(--brand)), transparent 68%);
  opacity: .09;
  transition: opacity .4s ease, transform .55s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 64px -36px rgba(var(--tone-rgb, 124, 108, 255), .75);
}
.feature-item:hover::before { opacity: .95; }
.feature-item:hover::after { opacity: .2; transform: scale(1.16); }

/* ---------- 2. 图标：玻璃底座 + 线性 SVG ---------- */
.feature-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  color: var(--tone, var(--brand));
  background: linear-gradient(145deg,
              rgba(var(--tone-rgb, 124, 108, 255), .22),
              rgba(var(--tone-rgb, 124, 108, 255), .05));
  box-shadow: inset 0 0 0 1px rgba(var(--tone-rgb, 124, 108, 255), .3);
  filter: none;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}
.feature-icon svg {
  width: 22px; height: 22px;
  display: block;
  overflow: visible;
}
.feature-item:hover .feature-icon {
  transform: translateY(-2px) scale(1.07);
  box-shadow: inset 0 0 0 1px rgba(var(--tone-rgb, 124, 108, 255), .55),
              0 12px 28px -14px rgba(var(--tone-rgb, 124, 108, 255), .95);
}

/* ---------- 3. 字体与排版 ---------- */
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 14px;
  line-height: 1.78;
  letter-spacing: .012em;
  color: var(--text-dim);
  max-width: 30em;
}

/* ---------- 4. 六种色调（品牌紫 → 青 的邻近色分布） ---------- */
.feature-item:nth-child(1) { --tone: #8b7cff; --tone-rgb: 139, 124, 255; }
.feature-item:nth-child(2) { --tone: #a855f7; --tone-rgb: 168, 85, 247; }
.feature-item:nth-child(3) { --tone: #22d3ee; --tone-rgb: 34, 211, 238; }
.feature-item:nth-child(4) { --tone: #38bdf8; --tone-rgb: 56, 189, 248; }
.feature-item:nth-child(5) { --tone: #818cf8; --tone-rgb: 129, 140, 248; }
.feature-item:nth-child(6) { --tone: #c084fc; --tone-rgb: 192, 132, 252; }

/* ---------- 5. features.html 的 info-card 同步这套视觉 ---------- */
.info-card .feature-icon { margin-bottom: 18px; }
.info-card h4 { font-family: var(--font-display); letter-spacing: -.012em; }
.info-card p { line-height: 1.78; letter-spacing: .012em; }

/* ---------- 6. 浅色主题 ---------- */
[data-theme="light"] .feature-item {
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04),
              0 16px 38px -30px rgba(15, 23, 42, .32);
}
[data-theme="light"] .feature-item:hover {
  box-shadow: 0 28px 58px -34px rgba(var(--tone-rgb, 37, 99, 235), .55);
}
[data-theme="light"] .feature-item:nth-child(1) { --tone: #6d5ce7; --tone-rgb: 109, 92, 231; }
[data-theme="light"] .feature-item:nth-child(2) { --tone: #9333ea; --tone-rgb: 147, 51, 234; }
[data-theme="light"] .feature-item:nth-child(3) { --tone: #0891b2; --tone-rgb: 8, 145, 178; }
[data-theme="light"] .feature-item:nth-child(4) { --tone: #0284c7; --tone-rgb: 2, 132, 199; }
[data-theme="light"] .feature-item:nth-child(5) { --tone: #4f46e5; --tone-rgb: 79, 70, 229; }
[data-theme="light"] .feature-item:nth-child(6) { --tone: #a21caf; --tone-rgb: 162, 28, 175; }

/* ---------- 7. 响应式 ---------- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-item { padding: 26px 22px 28px; }
  .feature-item::before { left: 22px; right: 22px; }
}

/* ---------- 8. 降低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .feature-item, .feature-icon { transition: none !important; }
  .feature-item:hover { transform: none; }
  .feature-item:hover .feature-icon { transform: none; }
}

/* ---------- 9. features.html 信息卡同款色调 ---------- */
.grid-3 > .info-card:nth-child(1) { --tone: #8b7cff; --tone-rgb: 139, 124, 255; }
.grid-3 > .info-card:nth-child(2) { --tone: #a855f7; --tone-rgb: 168, 85, 247; }
.grid-3 > .info-card:nth-child(3) { --tone: #22d3ee; --tone-rgb: 34, 211, 238; }
.grid-3 > .info-card:nth-child(4) { --tone: #38bdf8; --tone-rgb: 56, 189, 248; }
.grid-3 > .info-card:nth-child(5) { --tone: #818cf8; --tone-rgb: 129, 140, 248; }
.grid-3 > .info-card:nth-child(6) { --tone: #c084fc; --tone-rgb: 192, 132, 252; }

/* ============================================================
   首屏交互背景：Canvas 粒子星网 + 背景鼠标视差
   ============================================================ */

.hero { isolation: isolate; }
.hero > *:not(.hero-canvas) { position: relative; z-index: 1; }

.hero-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: .92;
  -webkit-mask-image: radial-gradient(122% 86% at 50% 44%, #000 36%, rgba(0, 0, 0, .5) 68%, transparent 93%);
  mask-image: radial-gradient(122% 86% at 50% 44%, #000 36%, rgba(0, 0, 0, .5) 68%, transparent 93%);
}
[data-theme="light"] .hero-canvas { opacity: .58; }

/* 背景层随鼠标轻微位移（--bgx / --bgy 由 JS 递增写入） */
.bg-grid { transform: translate3d(var(--bgx, 0px), var(--bgy, 0px), 0); }
.bg-glow { transform: translate3d(calc(var(--bgx, 0px) * 1.8), calc(var(--bgy, 0px) * 1.8), 0); }

/* 首屏标记：供 JS 判断当前是否在首屏区域 */
.hero { --hero-ready: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-canvas { opacity: .55; }
}

/* ============================================================
   顶部导航 ·「软件下载」悬停下拉
   ============================================================ */
.nav-dropdown { position: relative; display: flex; align-items: center; }

/* hover 桥：撑满按钮与菜单之间的空隙，避免鼠标穿过时闪断 */
.nav-dropdown::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px;
}

.nav-drop-trigger {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px;
  border: 0; border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 500;
  letter-spacing: .08em; line-height: 1.35;
  color: var(--text-dim); white-space: nowrap;
  transition: color .28s ease, background .28s ease,
              box-shadow .28s ease, letter-spacing .28s ease;
}
.nav-drop-trigger .caret { width: 14px; height: 14px; opacity: .7; transition: transform .28s ease, opacity .28s ease; }

.nav-dropdown:hover .nav-drop-trigger,
.nav-dropdown:focus-within .nav-drop-trigger,
.nav-dropdown.open .nav-drop-trigger {
  color: var(--text);
  letter-spacing: .1em;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09),
              0 8px 24px -16px rgba(124, 108, 255, .95);
}
.nav-dropdown:hover .nav-drop-trigger .caret,
.nav-dropdown:focus-within .nav-drop-trigger .caret,
.nav-dropdown.open .nav-drop-trigger .caret { transform: rotate(180deg); opacity: 1; }

.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  min-width: 238px; margin: 0; padding: 8px;
  list-style: none;
  background: rgba(12, 12, 22, .94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 26px 60px -24px rgba(0, 0, 0, .95),
              0 0 0 1px rgba(124, 108, 255, .1);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s;
  z-index: 120;
}
.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown:focus-within .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu li { margin: 0; }
.nav-drop-menu a {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px; letter-spacing: 0;
  color: var(--text); text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-drop-menu a:hover {
  background: rgba(124, 108, 255, .16);
  color: #fff; box-shadow: none;
}
/* 关掉主导航 tab 的悬浮下划线，避免串到菜单项里 */
.nav-drop-menu a::after { display: none !important; }

.nav-drop-menu .drop-name { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.nav-drop-menu .drop-name::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}
.nav-drop-menu .drop-desc { font-size: 12px; letter-spacing: .02em; color: var(--text-mute); }

/* 移动端导航里的下载分组 */
.nav-mobile .mobile-group { display: flex; flex-direction: column; gap: 12px; }
.nav-mobile .mobile-group-title {
  font-size: 12px; letter-spacing: .16em; font-weight: 600;
  color: var(--text-mute); margin: 0;
}
.nav-mobile .mobile-group a { font-size: 16px; color: var(--text-dim); }


