/* 叶爆官网 · 仿 DeepSeek 极简风
   配色：白底 + 深灰正文 + 单一品牌蓝；大量留白、弱边框、轻阴影 */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1a1a1e;
  --text-2: #6b7280;
  --accent: #4d6bfe;
  --accent-hover: #3d5bf0;
  --border: #e5e7eb;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

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

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

/* ---------------- 导航 ---------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: baseline; gap: 8px; }

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
}

.brand-en { font-size: 14px; font-weight: 600; color: var(--text-2); }

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-size: 14.5px;
  color: var(--text-2);
  transition: color .15s ease;
}

.nav-links a:hover { color: var(--text); }

/* ---------------- 首屏 ---------------- */

.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 120px 24px 96px;
  text-align: center;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 6px;
}

.hero-en {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-2);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: #9ca3af;
}

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  transition: all .15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- 通用段落 ---------------- */

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 24px;
  text-align: center;
}

.section-alt {
  max-width: none;
  background: var(--bg-alt);
}

.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }

.section-title { font-size: 34px; font-weight: 800; letter-spacing: 1px; }

.section-sub { margin-top: 14px; font-size: 16px; color: var(--text-2); }

/* ---------------- 功能卡片 ---------------- */

.grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, .08);
  border-color: #d9defc;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef1ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-top: 16px; font-size: 17.5px; font-weight: 700; }

.card p { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* ---------------- 下载 ---------------- */

.dl-row {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dl-card {
  width: 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .18s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(17, 24, 39, .08);
  border-color: var(--accent);
}

.dl-name { font-size: 19px; font-weight: 800; }

.dl-desc { font-size: 13.5px; color: var(--text-2); }

.dl-go { margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--accent); }

.dl-note { margin-top: 22px; font-size: 12.5px; color: #9ca3af; }

/* ---------------- 邀请 ---------------- */

.invite-steps {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  width: 280px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: left;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}

.step p { margin-top: 12px; font-size: 14.5px; color: var(--text); }

/* ---------------- 页脚 ---------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px 44px;
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
}

.footer a { color: var(--accent); }

.footer a:hover { text-decoration: underline; }

.footer-note { margin-top: 8px; font-size: 12px; color: #9ca3af; }

/* ---------------- 移动端 ---------------- */

@media (max-width: 760px) {
  .hero { padding: 80px 20px 64px; }
  .hero-title { font-size: 44px; letter-spacing: 3px; }
  .hero-en { font-size: 24px; }
  .hero-sub br { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .section-title { font-size: 26px; }
  .dl-card { width: 100%; }
  .step { width: 100%; }
}
