/* ExactPass 营销站共享样式
   设计规则：主色 #165DFF，中性浅灰渐变背景，文字 #1D2129 / 次要 #4E5969
   间距 8px 倍数，卡片圆角 12px，轻微阴影，Inter / PingFang SC */

:root {
  --primary: #165DFF;
  --primary-hover: #0E42D2;
  --primary-soft: #E8F0FF;
  --text: #1D2129;
  --text-secondary: #4E5969;
  --text-muted: #86909C;
  --bg: #F5F7FA;
  --bg-gradient: linear-gradient(180deg, #F5F7FA 0%, #FFFFFF 100%);
  --surface: #FFFFFF;
  --border: #E5E6EB;
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 8px 20px rgba(22, 93, 255, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --max: 1120px;
  --font: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg-gradient);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.nav a { color: var(--text-secondary); font-weight: 500; }
.nav a:hover { color: var(--primary); text-decoration: none; }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--primary-hover); transform: translateY(-1px); text-decoration: none; }

/* Hero */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 700;
}
.hero p.lede {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.3);
  text-decoration: none;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-store {
  background: #000;
  color: #fff;
}
.btn-store:hover { background: #222; transform: translateY(-2px); text-decoration: none; }
.btn-disabled {
  background: #E5E6EB;
  color: #86909C;
  cursor: not-allowed;
  pointer-events: none;
}

/* 卡片 */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--text-secondary); margin: 0; font-size: 14px; }

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav { gap: 12px; font-size: 13px; }
}

/* 章节 */
.section { padding: 48px 0; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.section-sub {
  color: var(--text-secondary);
  margin: 0 0 32px;
  font-size: 16px;
}

/* 规格表 */
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}
.spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.spec b { display: block; font-size: 24px; letter-spacing: -0.02em; color: var(--primary); margin-bottom: 4px; }
.spec span { color: var(--text-secondary); font-size: 13px; }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } }

/* 列表 */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 2px solid var(--primary);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px; top: 19px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* 提示框 */
.callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text);
}
.callout strong { color: var(--primary); }

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 48px;
  color: var(--text-secondary);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { margin: 0 0 12px; color: var(--text); font-size: 14px; }
.footer-grid a { display: block; color: var(--text-secondary); margin-bottom: 6px; font-size: 13px; }
.footer-grid a:hover { color: var(--primary); }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.site-footer .legal {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* 面包屑 */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0 8px;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb span { margin: 0 6px; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--text-secondary); margin: 12px 0 0; font-size: 14px; }
