/* ===========================================================
   Desk Rabbit · 单页官网（测试版）
   主题：深色科技感 + 紫/青 渐变高光
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #0a0c10;
  --bg-1: #0f1218;
  --bg-2: #161a22;
  --bg-3: #1d222c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --text: #e8ecf3;
  --text-2: #aab1c0;
  --text-3: #6e7585;

  --brand-1: #a78bfa;   /* purple */
  --brand-2: #5eead4;   /* teal   */
  --accent:  #facc15;   /* device yellow ring */

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --shadow: 0 12px 40px -10px rgba(0, 0, 0, .55);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- 背景氛围 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(167, 139, 250, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(94, 234, 212, .10), transparent 60%);
  pointer-events: none;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
}
.brand img { border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links > a:not(.btn) {
  font-size: 14px;
  color: var(--text-2);
  transition: color .2s;
}
.nav-links > a:not(.btn):hover { color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #0a0c10;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(167, 139, 250, .45);
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand-2);
  border: 1px solid rgba(94, 234, 212, .35);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
  background: rgba(94, 234, 212, .07);
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.01em;
}
.grad {
  background: linear-gradient(120deg, var(--brand-1) 10%, var(--brand-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  margin-top: 20px;
  max-width: 34em;
  font-size: 17px;
  color: var(--text-2);
}

/* ---------- 下载按钮 ---------- */
.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  min-width: 176px;
  transition: transform .15s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.dl-btn svg { width: 26px; height: 26px; flex: none; }
.dl-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.dl-text small { font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.dl-text strong { font-size: 15px; font-weight: 700; }
.dl-btn:hover {
  transform: translateY(-2px);
  border-color: transparent;
}
.dl-windows:hover {
  background: linear-gradient(135deg, rgba(167, 139, 250, .25), rgba(94, 234, 212, .18));
  box-shadow: 0 12px 30px -10px rgba(167, 139, 250, .5);
}
.dl-android:hover {
  background: linear-gradient(135deg, rgba(94, 234, 212, .22), rgba(74, 222, 128, .16));
  box-shadow: 0 12px 30px -10px rgba(94, 234, 212, .45);
}
.dl-ios { cursor: not-allowed; }
.dl-ios .dl-text strong { color: var(--text-3); }
.dl-ios.disabled {
  opacity: .55;
  background: transparent;
  border-style: dashed;
}

.dl-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- Hero 渲染图（透明底 · 高级感呈现） ---------- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 44px;
}
/* 舞台光晕：紫青渐变 + 产品黄点缀 */
.hero-art .glow {
  position: absolute;
  inset: -8% 4%;
  background:
    radial-gradient(closest-side at 55% 45%, rgba(250, 204, 21, .16), transparent 55%),
    radial-gradient(closest-side at 40% 60%, rgba(167, 139, 250, .22), transparent 70%),
    radial-gradient(closest-side at 65% 40%, rgba(94, 234, 212, .14), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
.hero-art picture { position: relative; z-index: 1; }
.hero-art img {
  width: min(580px, 100%);
  height: auto;
  filter:
    drop-shadow(0 40px 50px rgba(0, 0, 0, .55))
    drop-shadow(0 0 60px rgba(167, 139, 250, .18))
    drop-shadow(0 0 26px rgba(250, 204, 21, .12));
  animation: float 6s ease-in-out infinite;
}
/* 地面倒影（Chromium 系生效，其他浏览器自动忽略） */
@supports (-webkit-box-reflect: below 0) {
  .hero-art img {
    -webkit-box-reflect: below 6px linear-gradient(transparent 72%, rgba(255, 255, 255, .14));
  }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
}

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
}
.section-sub {
  text-align: center;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 16px;
}

/* ---------- 特色卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 139, 250, .4);
  box-shadow: 0 16px 44px -14px rgba(167, 139, 250, .3);
}
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(167, 139, 250, .16), rgba(94, 234, 212, .12));
  border: 1px solid var(--line);
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-2); }

/* ---------- 外壳说明条 ---------- */
.shell-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(167, 139, 250, .08), rgba(94, 234, 212, .06));
}
.shell-note p { font-size: 14.5px; color: var(--text-2); }
.shell-note strong { color: var(--text); }
.shell-badge {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-1);
  border: 1px solid rgba(167, 139, 250, .4);
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(167, 139, 250, .08);
}
@media (max-width: 640px) {
  .shell-note { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- 使用步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.step-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-2);
  transition: color .2s, transform .15s;
}
.step-link:hover { color: var(--text); transform: translateX(2px); }
.step {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.step-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand-2);
}
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { font-size: 14.5px; color: var(--text-2); }

/* ---------- 底部 CTA ---------- */
.cta {
  padding: 88px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(167, 139, 250, .06));
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta p { margin-top: 10px; color: var(--text-2); }
.cta .download-row { justify-content: center; margin-top: 30px; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-0);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}
.footer-meta { font-size: 13px; color: var(--text-3); }
.footer-icp {
  font-size: 13px;
  color: var(--text-3);
  transition: color .2s;
}
.footer-icp:hover { color: var(--text-2); }

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero { padding: 64px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .sub { margin-left: auto; margin-right: auto; }
  .download-row { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
