/* ============ DeepSeek Orb 官网样式 · 深色科技风 ============ */
:root {
  --bg: #05060f;
  --bg-soft: #0b0e1c;
  --panel: #10142a;
  --line: rgba(122, 140, 255, 0.16);
  --text: #e8ecff;
  --text-dim: #9aa3c7;
  --text-faint: #5d6689;
  --blue: #4d6bfe;
  --blue-2: #7ea2ff;
  --purple: #9b6bff;
  --win: #38b6ff;
  --grad: linear-gradient(120deg, #4d6bfe, #9b6bff);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(77, 107, 254, 0.14);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--blue-2);
  word-break: break-all;
}

/* ---- 背景装饰 ---- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow { position: fixed; z-index: -2; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.bg-glow-1 { width: 620px; height: 620px; top: -220px; left: 50%; transform: translateX(-70%); background: rgba(77, 107, 254, 0.22); }
.bg-glow-2 { width: 520px; height: 520px; top: -160px; left: 50%; transform: translateX(10%); background: rgba(155, 107, 255, 0.14); }

/* ---- 导航 ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 6, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--text); font-weight: 600; }
.nav-brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.orb-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #9db8ff, #4d6bfe 55%, #18246d);
  box-shadow: 0 0 14px rgba(77, 107, 254, 0.8);
  display: inline-block;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav-links a { color: var(--text-dim); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-github {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px;
  color: var(--text) !important;
  transition: border-color .2s, background .2s;
}
.nav-github:hover { border-color: var(--blue); background: rgba(77, 107, 254, 0.1); }

/* ---- Hero ---- */
.hero { max-width: 1120px; margin: 0 auto; padding: 84px 24px 56px; text-align: center; }
.hero-tag {
  display: inline-block; font-size: 13.5px; color: var(--blue-2);
  border: 1px solid rgba(126, 162, 255, 0.35); border-radius: 999px;
  padding: 7px 18px; margin-bottom: 30px;
  background: rgba(77, 107, 254, 0.08);
}
.hero h1 {
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 20%, #aebdff 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 26px;
  text-shadow: 0 0 80px rgba(77, 107, 254, 0.35);
}
.hero-sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-dim); max-width: 760px; margin: 0 auto 44px; }
.hero-sub b { color: var(--text); }

/* ---- 下载卡片（核心 CTA）---- */
.dl-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; max-width: 980px; margin: 0 auto;
}
.dl-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 26, 52, 0.75), rgba(10, 13, 28, 0.85));
}
.dl-card-mac { border-color: rgba(126, 162, 255, 0.3); box-shadow: 0 0 60px rgba(77, 107, 254, 0.12) inset, 0 18px 50px rgba(0,0,0,0.45); }
.dl-card-win { border-color: rgba(56, 182, 255, 0.3);  box-shadow: 0 0 60px rgba(56, 182, 255, 0.10) inset, 0 18px 50px rgba(0,0,0,0.45); }

.dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 26px 30px;
  border-radius: 16px;
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 700; color: #fff !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}
.dl-btn:hover { text-decoration: none; transform: translateY(-3px) scale(1.015); filter: brightness(1.08); }
.dl-btn:active { transform: translateY(0) scale(0.99); }
.dl-btn-mac {
  background: linear-gradient(135deg, #4d6bfe 0%, #7b5cff 60%, #9b6bff 100%);
  box-shadow: 0 12px 40px rgba(77, 107, 254, 0.5), 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.dl-btn-mac:hover { box-shadow: 0 18px 55px rgba(77, 107, 254, 0.65), 0 0 0 1px rgba(255,255,255,0.18) inset; }
.dl-btn-win {
  background: linear-gradient(135deg, #0f7fd6 0%, #22a7f0 55%, #38b6ff 100%);
  box-shadow: 0 12px 40px rgba(34, 167, 240, 0.45), 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.dl-btn-win:hover { box-shadow: 0 18px 55px rgba(34, 167, 240, 0.6), 0 0 0 1px rgba(255,255,255,0.18) inset; }
.dl-icon { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.dl-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; }
.dl-title { font-size: 1.08em; letter-spacing: 0.01em; }
.dl-meta { font-size: 13.5px; font-weight: 500; opacity: 0.92; white-space: nowrap; }

.dl-side { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 0 4px; }
.badge { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.badge-ok  { color: #7ef0b2; background: rgba(62, 207, 142, 0.12); border: 1px solid rgba(62, 207, 142, 0.35); }
.badge-warn{ color: #ffd479; background: rgba(255, 193, 77, 0.10); border: 1px solid rgba(255, 193, 77, 0.35); }
.dl-alt { font-size: 13px; color: var(--text-faint); }
.dl-alt:hover { color: var(--blue-2); }

.hero-note { margin-top: 30px; font-size: 13.5px; color: var(--text-faint); }

/* ---- 通用 Section ---- */
.section { max-width: 1120px; margin: 0 auto; padding: 72px 24px 8px; }
.section h2, .cta h2 {
  font-size: clamp(30px, 4.4vw, 42px); font-weight: 800; letter-spacing: -0.01em;
  text-align: center; margin-bottom: 14px;
}
.section-sub { text-align: center; color: var(--text-dim); margin-bottom: 46px; font-size: 16px; }

/* ---- 功能卡片 ---- */
.grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 22, 44, 0.6), rgba(9, 11, 24, 0.7));
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(126, 162, 255, 0.45); box-shadow: 0 16px 44px rgba(0,0,0,0.4), 0 0 30px rgba(77, 107, 254, 0.08); }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-dim); }

/* ---- 示意图 ---- */
.preview-wrap { max-width: 980px; margin: 0 auto; }
.shot {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(77, 107, 254, 0.08);
  background: var(--bg-soft);
}
.shot-svg { display: block; width: 100%; height: auto; }

/* ---- 安装步骤 ---- */
.install-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.install-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 22, 44, 0.6), rgba(9, 11, 24, 0.7));
  padding: 30px 28px;
}
.install-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; margin-bottom: 18px;
}
.install-card h3 svg { color: var(--blue-2); }
.install-card ol { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.install-card li { font-size: 14.5px; color: var(--text-dim); }
.install-card li b { color: var(--text); }
.tip { margin-top: 18px; font-size: 13.5px; border-radius: 12px; padding: 12px 16px; }
.tip-ok   { color: #9defc1; background: rgba(62, 207, 142, 0.08);  border: 1px solid rgba(62, 207, 142, 0.3); }
.tip-warn { color: #ffe0a3; background: rgba(255, 193, 77, 0.07); border: 1px solid rgba(255, 193, 77, 0.3); }
.install-req {
  margin-top: 26px; text-align: center; font-size: 14px; color: var(--text-dim);
  border: 1px dashed var(--line); border-radius: 14px; padding: 16px 22px;
}

/* ---- 版本说明 ---- */
.rel-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 22, 44, 0.6), rgba(9, 11, 24, 0.7));
  padding: 30px 28px;
}
.rel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.rel-ver { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 18px; color: var(--text); }
.rel-badge {
  font-size: 12px; color: #ffd479; border: 1px solid rgba(255, 193, 77, 0.4);
  background: rgba(255, 193, 77, 0.08); border-radius: 999px; padding: 3px 12px;
}
.rel-gh { margin-left: auto; font-size: 14px; }
.rel-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.rel-cols h4 { font-size: 15.5px; margin-bottom: 12px; color: var(--blue-2); }
.rel-cols ul { padding-left: 18px; display: flex; flex-direction: column; gap: 9px; }
.rel-cols li { font-size: 13.8px; color: var(--text-dim); }
.rel-disclaim { margin-top: 24px; font-size: 13px; color: var(--text-faint); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---- 底部 CTA ---- */
.cta { max-width: 1120px; margin: 0 auto; padding: 90px 24px 100px; text-align: center; }
.cta h2 {
  background: linear-gradient(180deg, #ffffff 20%, #aebdff 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 38px;
}
.cta-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.dl-btn-sm { padding: 20px 34px; font-size: 19px; gap: 14px; }
.dl-btn-sm .dl-icon { width: 30px; height: 30px; }
.dl-btn-sm .dl-title { font-size: 17px; font-weight: 600; }

/* ---- 页脚 ---- */
.footer { border-top: 1px solid var(--line); background: rgba(8, 10, 22, 0.6); }
.footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 40px 24px 18px;
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.footer-note { font-size: 13px; color: var(--text-faint); max-width: 460px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-links a { color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px 30px;
  font-size: 12.5px; color: var(--text-faint); text-align: center;
}

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-row { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .nav-links a:not(.nav-github) { display: none; }
  .hero { padding-top: 56px; }
  .grid, .install-cols, .rel-cols { grid-template-columns: 1fr; }
  .dl-btn { padding: 22px 18px; gap: 14px; }
  .dl-meta { white-space: normal; }
  .dl-side { justify-content: center; }
  .br-desktop { display: none; }
  .rel-gh { margin-left: 0; }
}

/* ---- 入场动画 ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero > *, .dl-row { animation: rise .7s ease both; }
  .dl-row { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
