/* 基础样式 */
:root {
  --bg: #0b1020;
  --panel: #111831;
  --text: #e6e9f2;
  --muted: #a7afc4;
  --brand: #4f7cff;
  --brand-2: #7aa2ff;
  --card: #0f152b;
  --border: #1b2447;
  --success: #27c498;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, Segoe UI, Roboto, Noto Sans, Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #1a2250 0%, transparent 60%),
              radial-gradient(1000px 700px at 120% 20%, #1b375d 0%, transparent 60%),
              var(--bg);
}

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

/* 头部导航 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,16,32,0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.brand.small { font-size: 14px; }
.logo { font-size: 20px; }

/* 首屏 */
.hero { padding: 72px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.hero h1 { font-size: 40px; margin: 0 0 12px; }
.hero p { margin: 0 0 20px; color: var(--muted); }
.cta { display: flex; gap: 12px; margin-bottom: 12px; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: none; }
.btn:hover { filter: brightness(1.05); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--panel); color: var(--text); text-decoration: none; border: 1px solid var(--border); }
.badge.outline { background: transparent; }

/* 视觉占位：手机模型 */
.hero-visual { display: flex; justify-content: center; }
.phone-mock { width: 280px; height: 560px; border-radius: 36px; background: var(--panel); border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 0 0 8px #0b1020; }
.screen { position: relative; margin: 20px; border-radius: 24px; height: calc(100% - 40px); overflow: hidden; background: linear-gradient(180deg, #0d1329, #0b1120); border: 1px solid var(--border); }
.map { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #0f1a3a, #0f1a3a 10px, #0e1732 10px, #0e1732 20px); opacity: 0.6; }
.pin { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); width: 16px; height: 16px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 6px rgba(39,196,152,0.25), 0 0 0 12px rgba(39,196,152,0.15); }

/* 通用区块 */
.section { padding: 48px 0; }
.section.muted { background: linear-gradient(180deg, rgba(17,24,49,0.5), rgba(17,24,49,0.2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); padding: 18px; border-radius: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.muted-text { color: var(--muted); }

/* 文档页 */
.doc { padding: 32px 0; }
.doc h1 { margin-top: 24px; }
.doc h2 { margin-top: 28px; }
.doc a { color: var(--brand-2); }
.doc details { margin: 10px 0; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--border); background: rgba(11,16,32,0.6); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.site-footer nav a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.site-footer nav a:hover { color: var(--text); }

/* 响应式 */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .phone-mock { width: 240px; height: 480px; }
  .grid-3 { grid-template-columns: 1fr; }
}


