/* =========================================================
   新能源设计平台 · 主页重设计
   深色能源科技风：墨绿底色 + 翠绿/青色光效 + 玻璃拟态
   仅作用于主页（body.home），不影响其他页面
   ========================================================= */
body.home {
  background: #05100c;
  background-image:
    radial-gradient(1000px 560px at 85% -10%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(1100px 620px at 8% -8%, rgba(16,185,129,.12), transparent 62%);
  color: #d7efe4;
}
body.home::before { display: none; }

/* ---------- 顶部导航（深色玻璃） ---------- */
body.home .topbar {
  background: rgba(4,13,10,.72);
  border-bottom: 1px solid rgba(148,233,199,.12);
  box-shadow: 0 1px 24px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.home .logo { color: #eafaf2; }
body.home .logo small { color: rgba(190,224,210,.55); }
body.home .logo-img {
  border-radius: 10px;
  border: 1px solid rgba(148,233,199,.25);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  background: rgba(255,255,255,.08);
}
body.home .topbar .links a { color: rgba(215,239,228,.72); }
body.home .topbar .links a:hover { color: #34d399; }
body.home .topbar .links a.active { color: #34d399; }
body.home .user-area .user-name { color: #eafaf2; }
body.home .user-area .user-avatar {
  background: linear-gradient(135deg, #10b981, #22d3ee);
  box-shadow: 0 2px 10px rgba(16,185,129,.45);
}

/* ---------- 主视觉 ---------- */
body.home .hero { padding: 108px 24px 120px; }
body.home .hero::before, body.home .hero::after { display: none; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,233,199,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,233,199,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-bg .orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5;
  animation: drift 14s ease-in-out infinite;
}
.orb-a { width: 460px; height: 460px; left: 6%; top: -120px; background: rgba(16,185,129,.30); }
.orb-b { width: 380px; height: 380px; right: 4%; top: 40px; background: rgba(34,211,238,.22); animation-delay: -4s; }
.orb-c { width: 300px; height: 300px; left: 42%; bottom: -140px; background: rgba(132,204,22,.16); animation-delay: -8s; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
body.home .hero .en-label { color: #5eead4; font-size: 13px; letter-spacing: 5px; }
body.home .hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900; letter-spacing: 4px; line-height: 1.22;
  background: linear-gradient(120deg, #f0fdf6 20%, #6ee7b7 55%, #67e8f9 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(16,185,129,.25);
}
body.home .hero .sub {
  margin-top: 18px;
  font-size: clamp(17px, 2.4vw, 22px);
  color: #bfe8d4; letter-spacing: 2px;
}
body.home .hero .cta { margin-top: 36px; }
body.home .btn-primary {
  background: linear-gradient(135deg, #10b981, #22d3ee);
  color: #03251a;
  box-shadow: 0 8px 30px rgba(16,185,129,.35);
}
body.home .btn-primary:hover { background: linear-gradient(135deg, #34d399, #38e0f2); }
body.home .btn-ghost {
  color: #d7efe4;
  border-color: rgba(148,233,199,.35);
  background: rgba(148,233,199,.06);
}
body.home .btn-ghost:hover { border-color: #5eead4; color: #5eead4; background: rgba(94,234,212,.12); }
body.home .btn-lg { border-radius: 999px; padding: 14px 34px; }
.scroll-hint { margin-top: 52px; }
.scroll-hint span {
  display: inline-block; width: 26px; height: 42px;
  border: 2px solid rgba(148,233,199,.5); border-radius: 999px; position: relative;
}
.scroll-hint span::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 999px;
  background: #5eead4; animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 数据概览 ---------- */
body.home .stats { padding: 8px 0 12px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; max-width: 980px; margin: 0 auto;
}
.stats-grid .stat-item {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(148,233,199,.14);
  border-radius: 16px; padding: 22px 16px; text-align: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.stats-grid .num { font-size: 30px; font-weight: 800; color: #6ee7b7; font-variant-numeric: tabular-nums; }
.stats-grid .num i { font-style: normal; font-size: 14px; color: #5eead4; margin-left: 2px; }
.stats-grid .lab { font-size: 12px; color: rgba(191,232,212,.72); margin-top: 6px; letter-spacing: 2px; }

/* ---------- 版块标题 ---------- */
body.home .section-head { margin: 76px 0 34px; }
body.home .section-head .en-label { color: #5eead4; }
body.home .section-head h2 { font-size: 26px; color: #eafaf2; letter-spacing: 2px; }
body.home .section-head p { color: rgba(191,232,212,.75); }

/* ---------- 工具卡片（玻璃拟态） ---------- */
body.home .tool-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(148,233,199,.14);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
body.home .tool-card::before { background: linear-gradient(90deg, #10b981, #22d3ee); }
body.home .tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94,234,212,.45);
  box-shadow: 0 18px 44px rgba(16,185,129,.18);
}
body.home .tool-card .icon {
  background: rgba(16,185,129,.14);
  border: 1px solid rgba(94,234,212,.3);
  border-radius: 12px;
}
body.home .tool-card .name { color: #eafaf2; }
body.home .tool-card .desc { color: rgba(191,232,212,.75); }
body.home .tool-card .open { border-radius: 999px; }

/* ---------- 平台特色 ---------- */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; padding-bottom: 40px;
}
.feat-card {
  position: relative; padding: 30px 26px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(148,233,199,.14);
  overflow: hidden; transition: transform .18s ease, border-color .18s ease;
}
.feat-card:hover { transform: translateY(-4px); border-color: rgba(94,234,212,.4); }
.feat-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.18), transparent 70%);
  pointer-events: none;
}
.feat-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  font-size: 24px; border-radius: 14px;
  background: rgba(16,185,129,.16); border: 1px solid rgba(94,234,212,.3);
  margin-bottom: 16px;
}
.feat-card h3 { color: #eafaf2; font-size: 17px; letter-spacing: 1px; }
.feat-card p { color: rgba(191,232,212,.75); font-size: 13px; margin-top: 8px; }

/* ---------- 页脚 ---------- */
body.home .footer {
  border-top: 1px solid rgba(148,233,199,.12);
  background: rgba(3,10,8,.6);
  color: rgba(191,232,212,.65);
}
body.home .footer b { color: #bfe8d4; }

/* ---------- 空状态 ---------- */
body.home .empty { color: rgba(191,232,212,.8); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  body.home .hero { padding: 72px 18px 88px; }
  body.home .hero h1 { letter-spacing: 2px; }
  body.home .section-head { margin: 56px 0 28px; }
}