/* ============================================================
   灵犀 AI · 静态单页站点
   深空黑 × 星云紫 × 电光青
   ============================================================ */

:root {
  --bg: #05060f;
  --bg-2: #0a0c1e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef0ff;
  --text-dim: #9aa0c3;
  --violet: #8b7bff;
  --magenta: #e879f9;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #8b7bff 0%, #e879f9 48%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 123, 255, 0.16), rgba(34, 211, 238, 0.1));
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  font-family: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection { background: rgba(139, 123, 255, 0.45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4c3fa8, #1f2a66);
  border-radius: 8px;
  border: 2px solid var(--bg);
}

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

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 背景装饰 ---------- */

.bg-orbs { position: fixed; inset: 0; z-index: -2; pointer-events: none; }

.bg-orbs > div:not(.bg-noise) {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.orb-a {
  width: 640px; height: 640px;
  top: -240px; left: -160px;
  background: radial-gradient(circle, rgba(139, 123, 255, 0.55), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.orb-b {
  width: 720px; height: 720px;
  top: 8%; right: -260px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 65%);
  animation: drift-b 26s ease-in-out infinite alternate;
}

.orb-c {
  width: 680px; height: 680px;
  bottom: -280px; left: 22%;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.28), transparent 65%);
  animation: drift-a 30s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(90px, 60px) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.08); }
  to   { transform: translate(-80px, -50px) scale(0.95); }
}

.bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035;
}

/* 光标光晕 */
.cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 600px; height: 600px;
  margin: -300px 0 0 -300px;
  background: radial-gradient(circle, rgba(139, 123, 255, 0.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s;
}

@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- 通用 ---------- */

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.container-narrow { width: min(800px, 100% - 48px); }

.section { padding: clamp(84px, 10vw, 136px) 0; position: relative; }

.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(44px, 6vw, 72px); }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(139, 123, 255, 0.35);
  background: rgba(139, 123, 255, 0.1);
  color: #c4b5fd;
  margin-bottom: 20px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }

h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }

.section-sub { color: var(--text-dim); margin-top: 16px; font-size: 1.02rem; }

.grad-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease-in-out infinite;
}

@keyframes gradShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  background-size: 180% auto;
  color: #fff;
  box-shadow: 0 8px 32px rgba(139, 123, 255, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 14px 44px rgba(139, 123, 255, 0.55);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--surface-2);
}

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  transition: padding 0.35s var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.nav.scrolled { padding: 8px 0; }

.nav.scrolled .nav-inner {
  background: rgba(10, 12, 30, 0.72);
  border-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; }

.brand em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand img { border-radius: 10px; }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 8px 15px;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 148px 0 90px;
  overflow: hidden;
}

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner { text-align: center; position: relative; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(139, 123, 255, 0.38);
  background: rgba(139, 123, 255, 0.1);
  font-size: 13px;
  color: #c4b5fd;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7ef0c0;
  box-shadow: 0 0 10px 2px rgba(126, 240, 192, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero h1 {
  font-size: clamp(2.7rem, 7vw, 4.9rem);
  font-weight: 900;
  margin-top: 28px;
  line-height: 1.14;
}

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  margin: 26px auto 0;
  max-width: 620px;
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* 灵犀之核 */
.orb-stage {
  position: relative;
  width: min(100%, 600px);
  height: 430px;
  margin: clamp(40px, 7vw, 72px) auto 0;
}

.orb { position: absolute; inset: 0; }

.orb-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 300px; height: 300px;
  margin: -150px 0 0 -150px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 34%,
    #fff 0%,
    #c4b5fd 13%,
    #8b7bff 34%,
    rgba(139, 123, 255, 0.4) 56%,
    rgba(139, 123, 255, 0.08) 74%,
    transparent 78%);
  filter: blur(1px);
  box-shadow:
    0 0 90px 10px rgba(139, 123, 255, 0.45),
    0 0 220px 70px rgba(34, 211, 238, 0.14);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.orb-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.orb-ring::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 3px rgba(34, 211, 238, 0.85);
}

.ring-1 {
  width: 330px; height: 330px;
  margin: -165px 0 0 -165px;
  animation: spin 24s linear infinite;
}

.ring-2 {
  width: 390px; height: 390px;
  margin: -195px 0 0 -195px;
  border-color: rgba(255, 255, 255, 0.13);
  animation: spin-rev 38s linear infinite;
}

.ring-2::after { background: #e879f9; box-shadow: 0 0 14px 3px rgba(232, 121, 249, 0.85); }

.ring-3 {
  width: 450px; height: 450px;
  margin: -225px 0 0 -225px;
  border-color: rgba(139, 123, 255, 0.14);
  animation: spin 52s linear infinite;
}

.ring-3::after { background: #8b7bff; box-shadow: 0 0 14px 3px rgba(139, 123, 255, 0.85); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* 悬浮数据卡 */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 14px;
  background: rgba(18, 20, 42, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  animation: float 6.5s ease-in-out infinite;
  white-space: nowrap;
}

.chip-ico { font-size: 15px; }

.chip-1 { top: 9%; left: 2%; }
.chip-2 { top: 26%; right: 0; animation-delay: -1.8s; }
.chip-3 { bottom: 13%; left: 6%; animation-delay: -3.4s; }
.chip-4 { bottom: 4%; right: 8%; animation-delay: -5s; }

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

/* 数据统计 */
.stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 6vw, 84px);
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 60px);
}

.stat b {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { display: block; font-size: 13.5px; color: var(--text-dim); margin-top: 5px; }

/* ---------- 能力滚动条 ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 19px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: scrollX 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.marquee-track span:hover { color: var(--text); }

.marquee-track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(139, 123, 255, 0.8);
  flex-shrink: 0;
}

@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- 卡片网格 ---------- */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)) border-box;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.card::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ac) 0%, transparent 68%);
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.4s;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.card:hover::before { opacity: 0.22; }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--ac);
  background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 20%, transparent), color-mix(in srgb, var(--ac) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent);
  margin-bottom: 22px;
  transition: transform 0.35s var(--ease);
}

.card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); }

.card h3 { font-size: 1.16rem; margin-bottom: 10px; }

.card p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- 对话演示 ---------- */

.showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.showcase-text h2 { margin-bottom: 4px; }

.points { list-style: none; margin-top: 34px; display: grid; gap: 24px; }

.points li { display: flex; gap: 16px; align-items: flex-start; }

.point-ico {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #06121a;
  background: linear-gradient(135deg, #67e8f9, #34d399);
  box-shadow: 0 0 16px rgba(103, 232, 249, 0.4);
  margin-top: 2px;
}

.points h3 { font-size: 1.02rem; margin-bottom: 4px; }
.points p { color: var(--text-dim); font-size: 0.9rem; }

/* 聊天窗口 */
.chat {
  border-radius: 24px;
  background: rgba(10, 12, 28, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(139, 123, 255, 0.1);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.chat-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-dim);
  flex: 1;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #7ef0c0;
}

.chat-status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #7ef0c0;
  box-shadow: 0 0 8px 1px rgba(126, 240, 192, 0.7);
}

.chat-body {
  height: 396px;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 20px 18px 8px;
}

.chat-body::-webkit-scrollbar { display: none; }

.msg {
  display: flex;
  gap: 11px;
  margin-bottom: 18px;
  animation: msgIn 0.45s var(--ease);
}

.msg.user { flex-direction: row-reverse; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }

.bubble {
  max-width: 82%;
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  border-radius: 6px 16px 16px 16px;
  background: #161a33;
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: pre-line;
  word-break: break-word;
}

.msg.user .bubble {
  background: linear-gradient(135deg, #6d5cff, #7c3aed);
  border: none;
  color: #fff;
  border-radius: 16px 6px 16px 16px;
}

.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8b90b8;
  animation: blink 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes blink {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 18px 18px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 13.5px;
}

.chat-input svg { color: #6d5cff; }

/* ---------- 为什么选择 ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.visual { position: relative; }

.visual::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(139, 123, 255, 0.45), rgba(34, 211, 238, 0.18));
  filter: blur(34px);
  z-index: -1;
  opacity: 0.75;
}

.visual img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.why-point {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.why-point:first-of-type { padding-top: 8px; }

.num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.3;
}

.why-point h3 { font-size: 1.06rem; margin-bottom: 6px; }
.why-point p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- 模型家族 ---------- */

.models { align-items: stretch; }

.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)) border-box;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.model-card:hover { transform: translateY(-7px); box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5); }

.model-card.hot {
  background:
    linear-gradient(rgba(139, 123, 255, 0.1), rgba(139, 123, 255, 0.03)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 20px 60px rgba(139, 123, 255, 0.28);
}

.hot-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 20px rgba(139, 123, 255, 0.5);
  white-space: nowrap;
}

.model-card h3 { font-size: 1.3rem; }

.model-tag {
  display: inline-block;
  margin: 8px 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #c4b5fd;
}

.model-desc { color: var(--text-dim); font-size: 0.93rem; min-height: 52px; }

.model-specs {
  list-style: none;
  margin: 22px 0 28px;
  display: grid;
  gap: 11px;
  flex: 1;
}

.model-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-bottom: 11px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.model-specs b { color: var(--text); font-weight: 700; }

/* ---------- 开发者 ---------- */

.terminal {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0d1d;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(139, 123, 255, 0.08);
}

.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.term-file { margin-left: 8px; font-size: 13px; color: var(--text-dim); flex: 1; }

.term-copy {
  font-size: 12.5px;
  color: #c4b5fd;
  padding: 5px 13px;
  border: 1px solid rgba(139, 123, 255, 0.35);
  border-radius: 999px;
  transition: 0.25s;
}

.term-copy:hover { background: rgba(139, 123, 255, 0.15); }

.term-copy.copied { color: #7ef0c0; border-color: rgba(126, 240, 192, 0.4); }

.term-body {
  padding: 26px 28px;
  overflow-x: auto;
  font-family: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.8;
}

.term-body::-webkit-scrollbar { height: 8px; }

.tok-k { color: #c792ea; }
.tok-f { color: #82aaff; }
.tok-s { color: #a5e075; }
.tok-c { color: #5c6370; font-style: italic; }

.term-note { text-align: center; color: var(--text-dim); font-size: 0.88rem; margin-top: 22px; }

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

.faq-list { display: grid; gap: 14px; }

.faq-item {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s;
}

.faq-item:hover { border-color: rgba(139, 123, 255, 0.35); }

.faq-item[open] {
  border-color: rgba(139, 123, 255, 0.45);
  background: rgba(139, 123, 255, 0.06);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease), color 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); color: #a78bfa; }

.faq-item p {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

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

.cta-card {
  position: relative;
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 24px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(13, 15, 34, 0.85), rgba(13, 15, 34, 0.85)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
}

.cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 720px; height: 480px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(139, 123, 255, 0.3), transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(34, 211, 238, 0.16), transparent 55%);
  pointer-events: none;
}

.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); position: relative; }

.cta-card p { color: var(--text-dim); margin-top: 14px; position: relative; }

.cta-card .cta-row { position: relative; }

.cta-note {
  display: block;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--text-dim);
  opacity: 0.75;
  position: relative;
}

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

.footer {
  border-top: 1px solid var(--border);
  background: rgba(6, 7, 18, 0.7);
  padding: 64px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-top: 16px; }

.footer-col { display: grid; gap: 12px; align-content: start; }

.footer-col h4 { font-size: 0.92rem; margin-bottom: 6px; }

.footer-col a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color 0.25s, transform 0.25s;
}

.footer-col a:hover { color: var(--text); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-links { display: flex; gap: 22px; }

.footer-links a { color: var(--text-dim); transition: color 0.25s; }
.footer-links a:hover { color: var(--text); }

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

@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid, .why-grid { grid-template-columns: 1fr; }
  .showcase-text { order: 1; }
  .chat-wrap { order: 2; max-width: 560px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 4px);
    left: 24px; right: 24px;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: rgba(10, 12, 30, 0.92);
    border: 1px solid var(--border);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 16px; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--surface); }
  .nav-toggle { display: flex; }
  .nav-actions .btn-sm { display: none; }
  .chat-body { height: 340px; }
  .chip { font-size: 12px; padding: 9px 13px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .chip { display: none; }
  .orb-core { width: 230px; height: 230px; margin: -115px 0 0 -115px; }
  .ring-1 { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .ring-2 { width: 310px; height: 310px; margin: -155px 0 0 -155px; }
  .ring-3 { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .orb-stage { height: 330px; }
  .stats { gap: 30px 44px; }
  .hero { padding-top: 128px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .br-desktop { display: none; }
  .term-body { font-size: 12px; padding: 20px; }
}

/* ---------- 动效偏好 ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
