/* =============================================================
   道如意心理官网 · Hero v3
   核心：大字标题横排为核，LOGO 仅在 header，hero 不放 LOGO
   风格：纯白底 + 红/绿撞色点缀（对齐 LOGO 调性）
   字体：Noto Sans SC W800（与 LOGO「道如意」同字形）
   ============================================================= */

.hero--v2 {
  --brand-red: #E53935;
  --brand-red-dark: #C62828;
  --brand-green: #43A047;
  --ink: #1a1a1a;
  --ink-soft: #555555;
  --ink-mute: #999999;
  --line: #e5e7eb;
}

.hero--v2 {
  position: relative;
  background: #ffffff;
  padding: 128px 24px 84px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* ===== 角部色块装饰（LOGO 调性） ===== */
.hero--v2 .hero__corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero--v2 .hero__corner--tr {
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle at top right,
    rgba(229, 57, 53, 0.10) 0%,
    rgba(229, 57, 53, 0.10) 38%,
    transparent 39%);
}
.hero--v2 .hero__corner--bl {
  bottom: 0; left: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at bottom left,
    rgba(67, 160, 71, 0.10) 0%,
    rgba(67, 160, 71, 0.10) 38%,
    transparent 39%);
}

/* 让所有正文内容在装饰之上 */
.hero--v2 > * { position: relative; z-index: 1; }

/* ===== eyebrow（顶部小字） ===== */
.hero--v2 .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin: 0 0 36px;
  text-transform: none;
}
.hero--v2 .hero__eyebrow::before,
.hero--v2 .hero__eyebrow::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink-mute);
}

/* ===== 大字标题（横向单排） ===== */
.hero--v2 .hero__title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 28px;
  margin: 0 auto 32px;
  padding: 0 !important;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Heiti SC", "Noto Sans SC", sans-serif !important;
  font-size: 76px;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  text-align: center !important;
}
.hero--v2 .hero__title-line {
  display: inline-block;
  white-space: nowrap;
  text-align: left;
}
.hero--v2 .hero__title-em {
  color: var(--brand-red);
  font-weight: 900;
  position: relative;
  display: inline-block;
}
.hero--v2 .hero__title-em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 6px;
  background: var(--brand-red);
  opacity: 0.20;
  border-radius: 3px;
}
.hero--v2 .hero__title-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-red);
  flex-shrink: 0;
  margin: 0 6px;
}

/* ===== 副标题 ===== */
.hero--v2 .hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.04em;
}

/* ===== 数据条 ===== */
.hero--v2 .stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0 0 48px;
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero--v2 .stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  position: relative;
}
.hero--v2 .stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 18%;
  height: 64%;
  width: 1px;
  background: var(--line);
}
.hero--v2 .stat__num {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero--v2 .stat__unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-red);
  margin-left: 2px;
}
.hero--v2 .stat__unit--green {
  color: var(--brand-green);
}
.hero--v2 .stat__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

/* ===== CTA 行 ===== */
.hero--v2 .hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero--v2 .hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 0;
}
.hero--v2 .hero__cta--primary {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.22);
}
.hero--v2 .hero__cta--primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(229, 57, 53, 0.30);
}
.hero--v2 .hero__cta--primary svg {
  transition: transform 0.2s ease;
}
.hero--v2 .hero__cta--primary:hover svg {
  transform: translateX(2px);
}
.hero--v2 .hero__cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 14.5px 32px;
}
.hero--v2 .hero__cta--ghost span {
  color: var(--brand-green);
  font-weight: 700;
  margin-left: 2px;
}
.hero--v2 .hero__cta--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.hero--v2 .hero__cta--ghost:hover span {
  color: var(--brand-green);
}

/* =============================================================
   响应式：平板
   ============================================================= */
@media (max-width: 1024px) {
  .hero--v2 {
    padding: 96px 20px 72px;
  }
  .hero--v2 .hero__title {
    font-size: 48px;
    gap: 22px;
  }
  .hero--v2 .hero__title-dot {
    width: 10px;
    height: 10px;
  }
  .hero--v2 .stat__num {
    font-size: 34px;
  }
}

/* =============================================================
   响应式：手机
   ============================================================= */
@media (max-width: 640px) {
  .hero--v2 {
    padding: 80px 20px 32px;
  }
  /* 标题改两行（手机宽度不够横排） */
  .hero--v2 .hero__title {
    flex-direction: column;
    gap: 16px;
    font-size: 44px;
    letter-spacing: 0.06em;
    text-align: center;
    margin-bottom: 24px;
  }
  .hero--v2 .hero__title-line {
    text-align: center;
  }
  /* 手机端 dot 隐藏（column 下位置难控，用红色"意"字已足够品牌锚点） */
  .hero--v2 .hero__title-dot {
    display: none;
  }
  /* 隐藏装饰角块（手机太挤） */
  .hero--v2 .hero__corner {
    width: 140px;
    height: 140px;
  }
  .hero--v2 .hero__corner--tr {
    width: 160px;
    height: 160px;
  }
  .hero--v2 .hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 28px;
  }
  .hero--v2 .hero__eyebrow::before,
  .hero--v2 .hero__eyebrow::after {
    width: 20px;
  }
  .hero--v2 .hero__subtitle {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 28px;
    padding: 0;
    max-width: 320px;
    width: 100%;
  }
  .hero--v2 .stats {
    margin-bottom: 36px;
    gap: 0;
    max-width: 320px;
  }
  .hero--v2 .stat {
    padding: 0 6px;
    min-width: 0;
  }
  .hero--v2 .stat__num {
    font-size: 22px;
    gap: 1px;
  }
  .hero--v2 .stat__unit {
    font-size: 12px;
  }
  .hero--v2 .stat__label {
    font-size: 11px;
  }
  .hero--v2 .hero__cta-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero--v2 .hero__cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
  }
}
