:root{
  --bg:#0a0f1c; --bg-alt:#0d1326; --card:#0e1630cc; --txt:#e6ecff;
  --muted:#93a2c7; --primary:#5ae0ff; --accent:#8a5cff; --warn:#ffb86b;
  --glass:rgba(255,255,255,.06); --border:rgba(255,255,255,.12);
  --shadow:0 10px 30px rgba(0,0,0,.35), inset 0 0 0 1px var(--border);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC","Hiragino Sans GB","Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color:var(--txt); background: radial-gradient(1200px 800px at 10% -10%, #0b1d3a 0%, transparent 55%), radial-gradient(1000px 600px at 110% 10%, #1a0d3a 0%, transparent 60%), var(--bg);
  line-height:1.6; overflow-x:hidden;
}

/* Canvas 背景占满屏 */
.bg-canvas{position:fixed; inset:0; z-index:-1; background:linear-gradient(180deg, #060912, #0a0f1c)}

/* 顶部导航 */
.header{
  position:sticky; top:0; backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(12,18,36,.7), rgba(12,18,36,.3));
  border-bottom:1px solid var(--border); z-index:50;
}
.nav{max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:14px 20px;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--txt)}
.brand .logo{
  width:34px; height:34px; border-radius:8px; background: conic-gradient(from 180deg, var(--primary), var(--accent));
  box-shadow: 0 0 20px rgba(90,224,255,.5);
}
.brand .name{font-weight:700; letter-spacing:.3px}
.menu{display:flex; gap:14px; align-items:center}
.menu a{
  color:var(--txt); text-decoration:none; padding:10px 12px; border-radius:10px; font-weight:500; border:1px solid transparent;
}
.menu a.active, .menu a:hover{
  background:var(--glass); border-color:var(--border);
  box-shadow: inset 0 0 20px rgba(90,224,255,.05), 0 0 0 1px rgba(90,224,255,.15);
}
.cta{
  padding:10px 14px; background:linear-gradient(135deg, var(--primary), var(--accent));
  color:#051018; font-weight:700; border-radius:12px; text-decoration:none
}

/* 汉堡菜单 */
.burger{display:none; border:1px solid var(--border); background:var(--glass); color:var(--txt); padding:10px 12px; border-radius:10px}

/* 首屏 */
.hero{
  position:relative; max-width:1200px; margin:32px auto 0; padding:60px 20px 40px;
}
.hero-inner{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--border); border-radius:18px; padding:36px; box-shadow:var(--shadow);
}
.kicker{color:var(--muted); font-size:14px; letter-spacing:.2em; text-transform:uppercase}
.hero h1{margin:8px 0 12px; font-size:40px; line-height:1.15}
.hero p{color:#c7d2ff; max-width:720px}
.hero-actions{margin-top:18px; display:flex; gap:12px; flex-wrap:wrap}

/* 通用栅格 */
.section{max-width:1200px; margin:24px auto; padding:0 20px}
.grid{display:grid; gap:16px}
.grid.cards{grid-template-columns: repeat(3, minmax(0, 1fr))}
.card{
  border:1px solid var(--border); border-radius:16px; background:var(--card); box-shadow:var(--shadow);
  overflow:hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.45)}
.card img{width:100%; height:180px; object-fit:cover; display:block}
.card .body{padding:16px}
.badge{display:inline-block; font-size:12px; padding:4px 8px; border-radius:999px; border:1px solid var(--border); color:var(--muted)}

/* 展示组件 */
.demo{
  border:1px dashed var(--border); border-radius:14px; padding:16px; background:rgba(90,224,255,.04)
}

/* 底部 */
.footer{
  margin-top:40px; border-top:1px solid var(--border); padding:20px; color:var(--muted); background:linear-gradient(180deg, rgba(12,18,36,.3), rgba(12,18,36,.6));
}

/* 响应式 */
@media (max-width: 960px){
  .grid.cards{grid-template-columns: repeat(2, minmax(0, 1fr))}
}
@media (max-width: 640px){
  .hero{padding-top:28px}
  .hero h1{font-size:30px}
  .menu{display:none; position:absolute; top:64px; right:12px; left:12px; flex-direction:column; padding:8px; background:var(--bg-alt); border:1px solid var(--border); border-radius:14px}
  .menu.open{display:flex}
  .burger{display:inline-flex; align-items:center; gap:8px}
  .grid.cards{grid-template-columns: 1fr}
  .card img{height:160px}
}
