/* ==========================================================================
   名爵机器人官网 首页骨架：深空蓝紫 Hero + 七入口卡片 + 统计条 + CTA
   ========================================================================== */

body.home-page {
  background: radial-gradient(1200px 640px at 82% -8%, rgba(124, 58, 237, .12), transparent 60%),
              radial-gradient(900px 520px at 0% 14%, rgba(67, 56, 202, .09), transparent 62%),
              #f7f8fc;
}

.home-page .brand-mark {
  background: linear-gradient(140deg, #4338ca, #7c3aed);
  color: #eef2ff;
  box-shadow: 0 6px 16px rgba(67, 56, 202, .3);
}
.home-page .brand-text em { color: var(--accent); }
.home-page .site-nav a.is-active { color: var(--accent); }
.home-page .site-nav a::after { background: var(--accent); }
.home-page .btn-login {
  background: linear-gradient(135deg, #4338ca, #7c3aed);
  box-shadow: 0 8px 20px rgba(67, 56, 202, .28);
}
.home-page .btn-login:hover { box-shadow: 0 12px 26px rgba(67, 56, 202, .4); }
.home-page .footer-col a:hover { color: #a5b4fc; }
.home-page .footer-contact a:hover { border-color: #a5b4fc; background: rgba(165, 180, 252, .1); }

/* ---------------- Hero ---------------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
  background: linear-gradient(140deg, #0f1226 0%, #1e1b4b 46%, #312e81 100%);
  color: #fff;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent, #000 42%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 54px;
  align-items: center;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 700;
  color: #c7d2fe;
}

.home-pill i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f0abfc;
  box-shadow: 0 0 0 4px rgba(240, 171, 252, .22);
}

.home-hero h1 {
  margin: 24px 0 16px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.8px;
}

.home-hero h1 .grad {
  background: linear-gradient(100deg, #a5b4fc, #f0abfc 58%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-lead {
  font-size: 16.5px;
  line-height: 1.9;
  color: #c7d2fe;
  max-width: 540px;
}

.home-lead strong { color: #fff; }

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-page .btn-primary {
  background: linear-gradient(135deg, #818cf8, #a855f7);
  color: #fff;
  box-shadow: 0 10px 28px rgba(109, 40, 217, .5);
}

.home-page .btn-primary:hover { box-shadow: 0 14px 34px rgba(109, 40, 217, .66); }

.home-page .btn-room {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #e0e7ff;
}

.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 13.5px;
  color: #a5b4fc;
}

.home-hero-meta a { color: #c4b5fd; font-weight: 700; }
.home-hero-meta a:hover { text-decoration: underline; }

.home-hero-visual { position: relative; }

.home-hero-visual img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}

.home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 12px -14px -14px 22px;
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, rgba(129, 140, 248, .35), rgba(168, 85, 247, .28));
  z-index: -1;
  filter: blur(2px);
}

/* ---------------- 七入口 ---------------- */
.home-entries { padding: 80px 0; }

.home-head {
  max-width: 580px;
  margin-bottom: 46px;
}

.home-head .k {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--accent);
  margin-bottom: 12px;
}

.home-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -.4px; }

.home-head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

.entry-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.entry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid rgba(16, 20, 24, .07);
  box-shadow: var(--shadow-s);
  transition: transform .24s, box-shadow .24s, border-color .24s;
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-m);
  border-color: rgba(67, 56, 202, .4);
}

.entry-card.feature {
  background: linear-gradient(140deg, #1e1b4b, #4338ca 100%);
  color: #fff;
  border-color: transparent;
}

.entry-card.feature p { color: rgba(199, 210, 254, .86); }
.entry-card.feature .entry-go { color: #e0e7ff; }
.entry-card.feature .entry-go::before { color: #c4b5fd; }

.entry-no {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--accent);
  margin-bottom: 16px;
}

.entry-card.feature .entry-no { color: #c4b5fd; }

.entry-no .dot {
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(140deg, #4338ca, #7c3aed);
  color: #fff;
  font-size: 12px;
}

.entry-card h3 { font-size: 19px; font-weight: 900; margin-bottom: 8px; }

.entry-card p { font-size: 14px; line-height: 1.75; color: var(--muted); flex: 1; }

.entry-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.entry-go::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); }

/* ---------------- 统计条 ---------------- */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 40px 36px;
  margin: 10px auto 0;
  max-width: 980px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid rgba(16, 20, 24, .06);
  box-shadow: var(--shadow-m);
  text-align: center;
}

.home-stats div { display: flex; flex-direction: column; gap: 4px; }

.home-stats b {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  background: linear-gradient(100deg, #4338ca, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.home-stats span { font-size: 13.5px; color: var(--muted); }

/* ---------------- 说明 ---------------- */
.home-why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.home-why h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.4px; }

.home-why .intro p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.why-list { display: grid; gap: 16px; }

.why-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid rgba(16, 20, 24, .06);
  box-shadow: var(--shadow-s);
}

.why-list .n {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, #4338ca, #7c3aed);
  color: #fff;
  font-weight: 900;
}

.why-list h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }

.why-list p { font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------------- CTA ---------------- */
.home-cta { padding: 20px 0 88px; }

.home-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 44px;
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, #1e1b4b, #4338ca);
  color: #fff;
  box-shadow: var(--shadow-m);
}

.home-cta-box h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; }

.home-cta-box p { color: rgba(224, 231, 255, .82); margin-top: 8px; font-size: 15px; max-width: 460px; }

.home-cta-box .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.home-cta-box .btn-primary {
  background: #fff;
  color: #3730a3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

.home-cta-box .btn-room {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #e0e7ff;
}

.home-cta-box .tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #e0e7ff;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.home-cta-box .tg:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .18); }

/* ---------------- 动画 ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .entry-rail { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .home-hero-visual { max-width: 560px; }
  .home-why { grid-template-columns: 1fr; gap: 30px; }
  .home-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .home-hero { padding: 54px 0 64px; }
  .home-hero h1 { font-size: 32px; }
  .entry-rail { grid-template-columns: 1fr; }
  .home-cta-box { flex-direction: column; text-align: center; align-items: center; padding: 30px; }
  .home-cta-box .row { justify-content: center; }
}
