/* ============ Sherlock · 数字侦探主题 ============ */
:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1524;
  --bg-card: #141c30;
  --bg-card-2: #1a2338;
  --border: rgba(212, 175, 55, 0.18);
  --primary: #d4af37;        /* 黄铜/金色 放大镜 */
  --primary-light: #e8c96a;
  --primary-glow: rgba(212, 175, 55, 0.35);
  --accent: #8b1e3f;         /* 深红 侦探风 */
  --accent-2: #1f6f5c;       /* 墨绿 */
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============ 导航 ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  object-fit: cover;
}
.logo-text {
  font-size: 22px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--primary-light), #fff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px; font-size: 15px;
  color: var(--text-muted); transition: var(--transition);
}
.nav-links a:hover { color: var(--primary-light); background: rgba(212, 175, 55, 0.08); }
.nav-links .nav-cta {
  color: #0a0e1a; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  font-weight: 700; padding: 9px 20px;
}
.nav-links .nav-cta:hover { box-shadow: 0 0 24px var(--primary-glow); color: #0a0e1a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary-light); border-radius: 2px; transition: var(--transition); }

/* ============ Hero ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 110px 24px 60px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 30, 63, 0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.18), transparent 50%),
    linear-gradient(180deg, #0a0e1a 0%, #0d1322 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.08) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(212, 175, 55, 0.1); border: 1px solid var(--border);
  color: var(--primary-light); margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.2;
  margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 16px; color: var(--text-muted); max-width: 560px; margin-bottom: 28px;
}
.hero-desc strong { color: var(--primary-light); font-weight: 700; }

.hero-meta {
  display: flex; align-items: center; gap: 18px; margin-bottom: 30px;
  padding: 14px 20px; border-radius: var(--radius-sm);
  background: rgba(20, 28, 48, 0.6); border: 1px solid var(--border);
  width: fit-content;
}
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: 12px; color: var(--text-dim); }
.meta-value { font-size: 17px; font-weight: 700; color: var(--primary-light); }
.meta-divider { width: 1px; height: 32px; background: var(--border); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #0a0e1a; box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); }

.hero-stats { display: flex; gap: 36px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 26px; font-weight: 800; color: var(--primary-light); }
.stat span { font-size: 13px; color: var(--text-dim); }

/* ============ 横版截图展示 ============ */
.hero-shot { position: relative; width: 100%; }
.hero-shot-frame {
  position: relative; width: 100%;
  border-radius: 24px; padding: 12px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25), rgba(139, 30, 63, 0.2));
  box-shadow: var(--shadow), 0 0 60px rgba(212, 175, 55, 0.15);
}
.hero-shot-frame img {
  width: 100%; height: auto; border-radius: 16px;
  background: linear-gradient(160deg, #1a2338, #0f1524);
}
.hero-shot-glow {
  position: absolute; inset: -20px; border-radius: 40px; z-index: -1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
  filter: blur(20px);
}

/* ============ 通用 Section ============ */
section { padding: 90px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: 2px; font-weight: 700;
  color: var(--primary); background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border); margin-bottom: 16px;
}
.section-tag.light { color: var(--primary-light); }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px;
  background: linear-gradient(90deg, #fff, var(--primary-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head p { color: var(--text-muted); font-size: 16px; }

/* ============ 功能 ============ */
.features { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0; transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  font-size: 34px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: rgba(212, 175, 55, 0.12); margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--primary-light); }
.feature-card p { font-size: 14.5px; color: var(--text-muted); }

/* ============ 评价 ============ */
.reviews { background: var(--bg-soft); }
.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.review-card {
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border); transition: var(--transition);
}
.review-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #0a0e1a;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  margin-bottom: 14px;
}
.review-stars { color: var(--primary); letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; min-height: 72px; }
.review-name { font-weight: 700; color: var(--text); }
.review-role { font-size: 13px; color: var(--text-dim); }

/* ============ FAQ ============ */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-card);
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); }
.faq-q {
  width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 600; text-align: left; color: var(--text);
}
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 55, 0.15); color: var(--primary); font-size: 18px;
  transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--primary); color: #0a0e1a; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-a p { padding: 0 24px 22px; color: var(--text-muted); font-size: 15px; }

/* ============ 下载 ============ */
.download { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); padding: 90px 0; }
.download-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.25), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(139, 30, 63, 0.3), transparent 50%),
    linear-gradient(160deg, #141c30, #0f1524);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.download-box::before {
  content: "🔍"; position: absolute; right: -30px; top: -30px;
  font-size: 180px; opacity: 0.06;
}
.download-left h2 {
  font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin: 12px 0 14px;
}
.download-left p { color: var(--text-muted); font-size: 16px; margin-bottom: 22px; }
.download-meta { font-size: 14px; color: var(--text-dim); }
.download-meta b { color: var(--primary-light); }
.dot-sep { margin: 0 8px; color: var(--text-dim); }

.download-right { display: flex; flex-direction: column; gap: 16px; z-index: 1; }
.dl-btn {
  display: flex; align-items: center; gap: 16px; padding: 20px 26px;
  border-radius: var(--radius); transition: var(--transition); position: relative;
}
.dl-android {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.35);
}
.dl-ios {
  background: linear-gradient(135deg, #1c1c1e, #2c2c2e);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.dl-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }
.dl-icon {
  font-size: 34px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-ios .dl-icon {
  background: #fff; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/></svg>") center / contain no-repeat;
}
.dl-text { display: flex; flex-direction: column; }
.dl-text small { font-size: 12px; opacity: 0.85; color: #fff; }
.dl-text strong { font-size: 18px; font-weight: 800; color: #fff; }
.dl-tip { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 6px; }

/* ============ Footer ============ */
.footer {
  background: #070a13; border-top: 1px solid var(--border); padding: 36px 0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.footer-brand .logo-img { width: 30px; height: 30px; }
.footer-copy { color: var(--text-dim); font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #0a0e1a; box-shadow: 0 8px 24px var(--primary-glow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ============ 滚动揭示动画 ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-meta { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .download-box { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 14, 26, 0.98); backdrop-filter: blur(14px);
    padding: 16px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; border-radius: 10px; text-align: center; }
  .nav-toggle { display: flex; }
  .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); }

  section { padding: 64px 0; }
  .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .stat b { font-size: 22px; }
  .download-box { padding: 32px 22px; gap: 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
