:root {
  --bg: #0d0d10;
  --bg-soft: #14141a;
  --card: #1b1b22;
  --card-hover: #21212b;
  --text: #f5f5f7;
  --text-muted: #a2a2ab;
  --accent: #e02e24;
  --accent-2: #ff5448;
  --accent-soft: rgba(224, 46, 36, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 13, 16, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  font-style: italic;
}

.brand-name { font-size: 18px; font-weight: 600; letter-spacing: 0.5px; }

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

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 18px rgba(224, 46, 36, 0.35);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(224, 46, 36, 0.5); }

.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.04); }

.btn-nav { padding: 8px 18px; font-size: 13px; }

/* ---------- 汉堡菜单 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 75% 15%, rgba(224, 46, 36, 0.16), transparent 65%),
    radial-gradient(500px 300px at 15% 80%, rgba(224, 46, 36, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  color: var(--accent-2);
  border: 1px solid rgba(224, 46, 36, 0.35);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 640px;
  margin: 24px auto 36px;
  font-size: 16px;
  color: var(--text-muted);
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }

.stat strong {
  font-size: 30px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { font-size: 13px; color: var(--text-muted); }

/* ---------- 通用 section ---------- */
.section { padding: 96px 24px; }

.section-dark {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; margin-bottom: 56px; }

.section-head h2 { font-size: 32px; font-weight: 700; letter-spacing: 0.5px; }

.section-head h2::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: 14px auto 0;
}

.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 15px; }

/* ---------- 栅格 ---------- */
.grid { max-width: 1120px; margin: 0 auto; display: grid; gap: 24px; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, background 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: rgba(224, 46, 36, 0.4);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(224, 46, 36, 0.3);
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }

.card p { font-size: 14px; color: var(--text-muted); }

/* ---------- 优势 ---------- */
.adv {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s;
}

.adv:hover { border-color: rgba(224, 46, 36, 0.4); }

.adv h3 { font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }

.adv h3::before {
  content: "";
  width: 6px; height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.adv p { font-size: 14px; color: var(--text-muted); }

/* ---------- 关于 ---------- */
.about-body {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- 联系 ---------- */
.contact-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  transition: border-color 0.25s;
}

.contact-item:hover { border-color: rgba(224, 46, 36, 0.4); }

.contact-label { font-size: 13px; color: var(--text-muted); }

.contact-value { font-size: 17px; font-weight: 500; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  background: var(--bg-soft);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.footer-icp { color: rgba(255, 255, 255, 0.5); }

/* ---------- 滚动渐显 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 36px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
  }

  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }

  .nav-toggle { display: flex; }

  .btn-nav { display: none; }

  .grid-3, .grid-2, .contact-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 20px; }

  .hero { padding: 100px 20px 60px; }

  .hero-stats { gap: 28px; margin-top: 48px; }
}
