/* ============================================
   NanzhiDSP — 简约宣传页样式
   暖色调 · 无蓝紫
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #faf9f7;
  --ink: #1a1a1a;
  --ink-soft: #55524e;
  --ink-faint: #8a8783;
  --line: #e8e5e0;
  --accent: #e8590c;
  --accent-strong: #d9480f;
  --accent-soft: #fff1e8;
  --dark: #171614;
  --dark-soft: #23211e;
  --dark-line: #35322e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(26, 25, 24, .05), 0 8px 24px rgba(26, 25, 24, .06);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  font-family: Consolas, "Courier New", monospace;
  font-size: .88em;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(.98); }

.btn-small { padding: 7px 16px; font-size: 14px; }

.btn-lg { padding: 15px 34px; font-size: 17px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 89, 12, .32);
}

.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--bg);
}

.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 24px 96px;
  background:
    radial-gradient(1200px 500px at 85% -10%, #fdeadd 0%, transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

.hero-inner { max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #f8d7c2;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}

.hero-sub {
  max-width: 560px;
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 44px;
  list-style: none;
  font-size: 14px;
  color: var(--ink-faint);
}

.hero-meta li { position: relative; }
.hero-meta li + li { padding-left: 22px; }
.hero-meta li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line);
  transform: translateY(-50%);
}

/* ---------- Sections ---------- */

.section {
  padding: 92px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -.01em;
}

.section-sub { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--bg);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #e0d7cc;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
}

.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Download section (dark) ---------- */

.section-dark {
  max-width: none;
  background: var(--dark);
  color: #f2efea;
}

.section-dark .section-head { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-dark .eyebrow { color: #ffa25e; background: rgba(255, 162, 94, .12); border-color: rgba(255, 162, 94, .25); }
.section-dark .section-sub { color: #a29d96; }

.download-box {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--dark-soft);
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  padding: 44px;
}

.download-info h3 { font-size: 21px; margin-bottom: 6px; }
.download-info > p { color: #a29d96; font-size: 14.5px; margin-bottom: 18px; }
.download-info ul { list-style: none; }
.download-info li {
  position: relative;
  padding-left: 22px;
  color: #cfc9c2;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.download-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffa25e;
  font-weight: 700;
}

.download-action { text-align: center; }

.download-tip {
  margin-top: 14px;
  font-size: 13px;
  color: #8f8a83;
  min-height: 20px;
}

.download-tip.done { color: #ffa25e; }

.download-note {
  text-align: center;
  margin-top: 26px;
  font-size: 12.5px;
  color: #7a756e;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}

.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 46px 24px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-powered { margin-top: 10px; }
.footer-powered a { color: var(--ink-soft); font-weight: 600; }
.footer-powered a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero { padding: 76px 20px 64px; }
  .nav-links { display: none; }
  .download-box { grid-template-columns: 1fr; padding: 30px 24px; }
  .section { padding: 68px 20px; }
}
