/* 搬砖官网 · 样式
 *
 * 配色跟客户端一致：底色 #0c0a09（近黑），主色 蓝 #3b82f6，字体跟系统走。
 * 结构很朴素（就一个 CSS 文件），没有构建步骤，双击 index.html 就能看。
 */

:root {
  --bg: #0c0a09;
  --surface: #17150f;
  --surface-2: #1c1917;
  --border: rgba(250, 250, 249, 0.09);
  --border-strong: rgba(250, 250, 249, 0.16);
  --text: #fafaf9;
  --muted: #a8a29e;
  --dim: #78716c;
  --accent: #3b82f6;
  --accent-hi: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --radius: 16px;
  --wrap: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 顶栏是吸顶的，锚点跳过去别被挡住 */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

.dot {
  margin: 0 0.5em;
  color: var(--dim);
}

/* ── 按钮 ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease,
    color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.9);
}
.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(250, 250, 249, 0.03);
}
.btn-ghost:hover {
  border-color: rgba(250, 250, 249, 0.3);
  background: rgba(250, 250, 249, 0.06);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
  border-radius: 13px;
}

/* ── 顶部导航 ────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 10, 9, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand-mark {
  border-radius: 7px;
}
.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  transition: color 0.16s ease;
}
.nav-links a:hover {
  color: var(--text);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.22), transparent 100%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(250, 250, 249, 0.03);
}

.hero-title {
  font-size: clamp(46px, 8vw, 76px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-slogan {
  margin-top: 10px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  color: var(--text);
}

.hero-desc {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-meta {
  margin-top: 18px;
  font-size: 14px;
  color: var(--dim);
}

.hero-shot {
  margin: 52px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
}
.hero-shot img {
  width: 100%;
  height: auto;
}

/* ── 通用小节 ────────────────────────────────────────────────────────── */
.section {
  padding: 84px 0;
}
.section-alt {
  background: linear-gradient(180deg, rgba(250, 250, 249, 0.02), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 650;
}
.section-sub {
  margin-top: 10px;
  color: var(--muted);
  max-width: 640px;
}

/* ── 功能卡片 ────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.card {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
.card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: #1f1c1a;
  transform: translateY(-3px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-hi);
}
.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
}
.card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
}

/* ── 卖点 3 条 ───────────────────────────────────────────────────────── */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.point-num {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: rgba(96, 165, 250, 0.55);
  letter-spacing: 0.04em;
  line-height: 1;
}

.points h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}
.points p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 15px;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  max-width: 780px;
  margin-top: 34px;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}

/* 展开/收起的箭头（纯 CSS 画，不用图片） */
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.faq summary:hover {
  color: var(--accent-hi);
}

.faq-body {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 15px;
  max-width: 700px;
}
.faq-body strong {
  color: var(--text);
  font-weight: 600;
}

/* ── 收尾 CTA ────────────────────────────────────────────────────────── */
.cta {
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 650;
}
.cta-inner > p {
  margin: 12px 0 26px;
  color: var(--muted);
}
.cta-meta {
  margin-top: 16px !important;
  font-size: 14px;
  color: var(--dim) !important;
}

/* ── 页脚 ────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 46px;
  background: #0a0908;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}

.footer-legal,
.footer-note {
  font-size: 13px;
  color: var(--dim);
  max-width: 640px;
}

/* ── 手机 / 窄屏 ─────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .nav-inner {
    gap: 14px;
  }
  .nav-links {
    display: none; /* 窄屏先把中间那排链接藏掉，保留品牌和下载按钮 */
  }
  .hero {
    padding: 56px 0 48px;
  }
  .hero-shot {
    margin-top: 36px;
    border-radius: 12px;
  }
  .section {
    padding: 60px 0;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
