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

:root {
  --bg: #0b1020;
  --bg2: #111a33;
  --card: #16213f;
  --text: #e8ecf6;
  --muted: #9aa7c7;
  --accent: #f6821f;
  --accent2: #4f7cff;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 导航栏 */
.navbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 16, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; font-size: 1.1rem; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: 110px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79,124,255,0.25), transparent),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(246,130,31,0.15), transparent);
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  background: linear-gradient(90deg, #fff, #a8c0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 28px; border-radius: 10px;
  text-decoration: none; font-weight: 600; transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.25); color: var(--text); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }

.hero-card {
  margin-top: 56px;
  display: flex; justify-content: center; gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  max-width: 640px; margin-left: auto; margin-right: auto;
  overflow: hidden;
}
.stat { flex: 1; padding: 22px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.08); }
.stat span { font-size: 1.5rem; font-weight: 700; display: block; }
.stat label { color: var(--muted); font-size: 0.85rem; }

/* 特性 */
.features { padding: 80px 0; }
.features h2, .about h2 { text-align: center; margin-bottom: 48px; font-size: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79,124,255,0.5); }
.card .icon { font-size: 2rem; margin-bottom: 12px; }
.card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* 关于 */
.about { padding: 60px 0 90px; text-align: center; }
.about p { color: var(--muted); max-width: 640px; margin: 0 auto 14px; }
.about code {
  background: rgba(255,255,255,0.08);
  padding: 2px 8px; border-radius: 6px;
  font-size: 0.85em; color: #ffd9a8;
}
.tip { font-size: 0.9rem; }
kbd {
  background: #1c2a4d; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px; padding: 1px 7px; font-size: 0.85em;
}

footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero { padding: 70px 0 50px; }
  .hero-card { flex-direction: column; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}
