/* ============================================================
   首页样式 —— 极简高端
   复用全局设计令牌（--bg / --text / --accent 等）
   ============================================================ */

.home-wrap{background:var(--bg);color:var(--text);}

/* ============ Hero ============ */
.h-hero{
  position:relative;
  padding:160px 24px 120px;
  text-align:center;
  overflow:hidden;
}
.h-hero::before{
  content:'';
  position:absolute;
  top:-40%;
  left:50%;
  transform:translateX(-50%);
  width:800px;
  height:800px;
  background:radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events:none;
  z-index:0;
}
.h-hero-inner{position:relative;z-index:1;max-width:720px;margin:0 auto;}
.h-eyebrow{
  display:inline-flex;align-items:center;gap:6px;
  font-size:0.8rem;font-weight:500;color:var(--accent);
  border:1px solid var(--accent-soft);background:var(--accent-soft);
  padding:6px 14px;border-radius:999px;margin-bottom:32px;
}
.h-title{
  font-size:clamp(2.6rem,7vw,4rem);
  font-weight:800;line-height:1.05;
  margin:0 0 24px;letter-spacing:-0.04em;
  background:linear-gradient(180deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.h-desc{
  font-size:1.1rem;color:var(--text-muted);
  max-width:540px;margin:0 auto 40px;line-height:1.7;
}
.h-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

/* ============ 产品预览动图 ============ */
.h-preview{
  padding:0 24px 80px;
  background:var(--bg);
}
.h-preview-inner{
  max-width:820px;margin:0 auto;
}
.h-preview-svg{
  width:100%;height:auto;
  display:block;
}
.h-preview-svg .hp-cursor{
  animation:hpBlink 1s step-end infinite;
}
@keyframes hpBlink{0%,100%{opacity:1;}50%{opacity:0;}}
.h-preview-svg .hp-result{
  animation:hpSlideIn .4s ease backwards;
}
.h-preview-svg .hp-r2{animation-delay:.8s;}
.h-preview-svg .hp-r3{animation-delay:1.2s;}
@keyframes hpSlideIn{
  from{opacity:0;transform:translateX(-10px);}
  to{opacity:1;transform:translateX(0);}
}
.h-preview-svg .hp-select{
  animation:hpSelectMove 4s ease-in-out infinite;
}
@keyframes hpSelectMove{
  0%,25%{transform:translateY(0);}
  35%,60%{transform:translateY(44px);}
  70%,100%{transform:translateY(88px);}
}
.h-preview-svg .hp-ball{
  animation:hpFloat 3s ease-in-out infinite;
}
@keyframes hpFloat{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-6px);}
}

/* ============ Features ============ */
.h-features{
  padding:120px 24px;
  border-top:1px solid var(--border);
}
.h-features-inner{max-width:1100px;margin:0 auto;}
.h-section-title{
  text-align:center;font-size:clamp(1.6rem,4vw,2.2rem);
  font-weight:700;margin:0 0 16px;color:var(--text);letter-spacing:-0.03em;
}
.h-section-sub{
  text-align:center;color:var(--text-muted);font-size:0.95rem;margin:0 0 64px;
}
.h-feat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.h-feat-card{
  background:var(--surface);border:1px solid var(--border);
  border-radius:14px;padding:32px 28px;transition:all .25s ease;
}
.h-feat-card:hover{
  border-color:var(--accent);box-shadow:var(--shadow-2);
}
.h-feat-icon{
  width:40px;height:40px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  color:var(--accent);margin-bottom:20px;
}
.h-feat-icon svg{width:22px;height:22px;stroke-width:1.8;}
.h-feat-card h3{
  font-size:1.05rem;font-weight:600;margin:0 0 8px;
  color:var(--text);letter-spacing:-0.01em;
}
.h-feat-card p{font-size:0.9rem;color:var(--text-muted);line-height:1.6;margin:0;}

/* ============ 插件入口 ============ */
.h-plugins{
  padding:120px 24px;text-align:center;
  border-top:1px solid var(--border);
}
.h-plugins-inner{max-width:520px;margin:0 auto;}
.h-plugins h2{
  font-size:clamp(1.5rem,3.5vw,2rem);font-weight:700;
  margin:0 0 14px;color:var(--text);letter-spacing:-0.03em;
}
.h-plugins p{color:var(--text-muted);font-size:0.95rem;line-height:1.6;margin:0 0 32px;}

/* ============ 响应式 ============ */
@media(max-width:768px){
  .h-hero{padding:100px 20px 80px;}
  .h-features{padding:80px 20px;}
  .h-plugins{padding:80px 20px;}
  .h-feat-grid{grid-template-columns:1fr;gap:12px;}
  .h-feat-card{padding:24px 20px;}
  .h-section-sub{margin-bottom:40px;}
}
