/* ==========================================================================
   首页骨架：浅色门户 · 左文右图 Hero → 六入口横向卡带 → 数据带 → 说明区 → CTA
   ========================================================================== */

body.home-page { background: #fbfdfe; color: var(--ink); }

.home-page .brand-mark { background: linear-gradient(140deg, #0f766e, #0e7490); }
.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, #0f766e, #0e7490); }

/* ---------------- Hero ---------------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 92px;
  background:
    radial-gradient(760px 460px at 86% 6%, rgba(14, 116, 144, .14), transparent 64%),
    radial-gradient(560px 420px at 0% 100%, rgba(15, 118, 110, .12), transparent 70%),
    linear-gradient(180deg, #ffffff, #f2f9fa);
}

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

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .2px;
}

.home-pill i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .16);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, .16); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, .05); }
}

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

.home-hero h1 .grad {
  background: linear-gradient(100deg, #0f766e, #0e7490 60%, #155e75);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-lead {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 540px;
}

.home-lead strong { color: var(--ink); font-weight: 700; }

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

.home-page .btn-primary {
  background: linear-gradient(135deg, #0f766e, #0e7490);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 116, 144, .3);
}

.home-page .btn-primary:hover { box-shadow: 0 14px 32px rgba(14, 116, 144, .4); }

.home-page .btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}

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

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

.home-hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 40px;
  border-radius: var(--radius-l);
  background: rgba(14, 116, 144, .1);
  z-index: -1;
}

/* ---------------- 六入口卡带 ---------------- */
.home-entries { padding: 84px 0 40px; }

.home-head {
  max-width: 560px;
  margin-bottom: 40px;
}

.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);
  line-height: 1.3;
  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: 20px;
}

.entry-card {
  position: relative;
  display: block;
  padding: 26px 24px 24px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s;
  overflow: hidden;
}

.entry-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .24s ease;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(14, 116, 144, .24);
}

.entry-card:hover::before { transform: scaleY(1); }

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

.entry-no .dot {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(140deg, #0f766e, #0e7490);
  color: #e6fffb;
  font-size: 13px;
}

.entry-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.2px;
  margin-bottom: 8px;
}

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

.entry-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

.entry-card.feature {
  background: linear-gradient(150deg, #0f766e, #0e7490 70%, #155e75);
  border-color: transparent;
  color: #e6fffb;
}

.entry-card.feature .entry-no,
.entry-card.feature p { color: rgba(230, 255, 251, .82); }

.entry-card.feature h3 { color: #fff; }

.entry-card.feature .entry-no .dot {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.entry-card.feature .entry-go { color: #a7f3d0; }

.entry-card.feature:hover { box-shadow: 0 20px 48px rgba(14, 116, 144, .32); }

/* ---------------- 数据带 ---------------- */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 0 86px;
}

.home-stats > div {
  padding: 22px 26px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
}

.home-stats b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--accent);
  line-height: 1.1;
}

.home-stats span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------------- 说明区 ---------------- */
.home-why {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  padding: 0 0 90px;
  align-items: start;
}

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

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

.home-why .intro p strong { color: var(--ink); }

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

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

.why-list .n {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(14, 116, 144, .1);
  color: var(--accent);
  font-weight: 900;
  font-size: 15px;
}

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

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

/* ---------------- CTA ---------------- */
.home-cta { padding-bottom: 0; }

.home-cta-box {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, #102a2e, #0e7490 130%);
  color: #fff;
  box-shadow: var(--shadow-m);
  text-align: center;
}

.home-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(360px 200px at 12% 0%, rgba(94, 234, 212, .18), transparent 60%),
    radial-gradient(360px 200px at 90% 100%, rgba(125, 211, 252, .14), transparent 60%);
  pointer-events: none;
}

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

.home-cta-box p {
  position: relative;
  margin: 14px auto 26px;
  max-width: 520px;
  color: rgba(230, 255, 251, .8);
  font-size: 15.5px;
}

.home-cta-box .row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

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

.home-cta-box .btn-primary:hover { box-shadow: 0 16px 38px rgba(0, 0, 0, .3); }

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

.home-cta-box .tg:hover {
  border-color: #5eead4;
  background: rgba(94, 234, 212, .1);
  transform: translateY(-2px);
}

/* ---------------- 动画 ---------------- */
[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: 980px) {
  .home-hero-grid,
  .home-why { grid-template-columns: 1fr; gap: 40px; }
  .home-hero-visual { max-width: 480px; }
  .entry-rail { grid-template-columns: 1fr 1fr; }
  .home-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .home-hero { padding: 52px 0 60px; }
  .home-hero h1 { font-size: 34px; }
  .home-hero-visual::after { display: none; }
  .entry-rail { grid-template-columns: 1fr; }
  .home-stats { grid-template-columns: 1fr 1fr; }
  .home-cta-box { padding: 40px 26px; }
}
