/* ===== MingPath 首页专属样式（index.html）===== */
.brand { text-decoration: none; color: inherit; }
.brand:hover { text-decoration: none; color: inherit; }
.home-hero {
  position: relative;
  padding: 3.5rem 4vw 4.5rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% -15%, rgba(198,161,91,.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(47,111,94,.05), transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 95%, rgba(166,64,50,.04), transparent 55%),
    linear-gradient(180deg, #0a0908 0%, #0e0d0b 50%, #12100c 100%);
  text-align: center;
  overflow: hidden;
}
.hero-fx {
  position: relative; z-index: 1;
  height: clamp(320px, 52vh, 520px);
  max-width: 700px; margin: 0 auto 1.2rem;
}
#wuxing-stage { display: none; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
#wuxing-stage canvas { display: block; width: 100%; height: 100%; }
.home-hero.wuxing-live #wuxing-stage { display: block; }
.home-hero.wuxing-live #wuxing-static { display: none; }
#wuxing-static {
  position: absolute; left: 50%; top: 50%; width: 340px; height: 340px;
  transform: translate(-50%, -50%); z-index: 1; pointer-events: none; opacity: .95;
}
#wuxing-static::before {
  content: ""; position: absolute; inset: 74px;
  border: 1px solid rgba(198,161,91,.34); border-radius: 50%;
  box-shadow: 0 0 34px rgba(198,161,91,.22), inset 0 0 30px rgba(198,161,91,.12);
}
.taiji-svg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 16px rgba(198,161,91,.35));
  animation: taijiFloat 7s ease-in-out infinite;
}
.w-ring { position: absolute; inset: 0; animation: wuxingSpin 24s linear infinite; }
.w-dot {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; box-shadow: 0 0 18px currentColor;
}
.w-wood { background: var(--wood); color: var(--wood); transform: rotate(0deg) translateY(-150px); }
.w-fire { background: var(--fire); color: var(--fire); transform: rotate(72deg) translateY(-150px); }
.w-earth { background: #b07d4f; color: #b07d4f; transform: rotate(144deg) translateY(-150px); }
.w-metal { background: #e3c17e; color: #e3c17e; transform: rotate(216deg) translateY(-150px); }
.w-water { background: var(--water); color: var(--water); transform: rotate(288deg) translateY(-150px); }
@keyframes wuxingSpin { to { transform: rotate(360deg); } }
@keyframes taijiFloat { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .w-ring, .taiji-svg { animation: none; } }
@media (max-width: 820px) {
  .hero-fx { height: clamp(180px, 40vh, 260px); }
  #wuxing-static { width: 240px; height: 240px; }
  .home-hero { padding: 2rem 4vw 3rem; }
}
.home-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.home-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 1.2rem 0 1.4rem;
  letter-spacing: -0.01em;
}
.home-hero .hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--rice-dim);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto 2.2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr; } }
.feature { padding: 1.6rem 1.4rem; }
.feature .ico {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 16px rgba(198,161,91,.18);
}
.feature h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--rice); }
.feature p { font-size: 0.9rem; color: var(--rice-dim); line-height: 1.7; }
.feature:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-lg); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 1.4rem; }
.step .num {
  width: 48px; height: 48px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: var(--radius-full);
  color: var(--gold); font-size: 1.2rem;
  box-shadow: var(--shadow-xs), 0 0 16px rgba(198,161,91,.12);
}
.step h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--rice); }
.step p { font-size: 0.88rem; color: var(--rice-dim); line-height: 1.7; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { padding: 1.6rem; font-style: italic; color: var(--rice-dim); font-size: 0.92rem; line-height: 1.7; }
.testi-card::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 0.2rem;
}

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }
.price-card { padding: 1.8rem 1.5rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow-md), var(--shadow-gold-sm); }
.price-card .pname { font-family: var(--serif); font-size: 1.3rem; color: var(--rice); margin-bottom: 0.4rem; }
.price-card .price { font-size: 2.2rem; color: var(--gold); font-family: var(--serif); margin-bottom: 1rem; text-shadow: 0 0 16px rgba(198,161,91,.18); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.price-card li { font-size: 0.85rem; color: var(--rice-dim); padding: 0.35rem 0; border-bottom: 1px solid var(--border-default); }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), var(--shadow-gold-sm); border-color: var(--border-gold); }

.cta-band {
  text-align: center;
  padding: 3.5rem 4vw;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(198,161,91,.04), transparent 60%);
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; color: var(--rice); }
.cta-band p { color: var(--rice-dim); max-width: 54ch; margin: 0 auto 1.8rem; line-height: 1.7; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); animation: revealFallback 3s ease 1.5s forwards; }
.reveal.visible { opacity: 1; transform: none; animation: none; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 首页功能卡改为跳转入口的提示 */
.features-grid a.balance-card.feature { transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out); }
.features-grid a.balance-card.feature:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow-lg), var(--shadow-gold-sm); }
.features-grid a.balance-card.feature:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.card-go { display: inline-block; margin-top: 1rem; color: var(--gold); font-size: .82rem; letter-spacing: .04em; font-weight: 500; }
.card-go::after { content: " →"; transition: transform var(--dur-fast) var(--ease-out); }
.features-grid a.balance-card.feature:hover .card-go::after { content: " →→"; }
