/* 年会落地页 /nianhui · 年会红金主题（《抽了马 05-视觉风格》第三、六节） */
:root {
  --stage-a: #2a0a0e;
  --stage-b: #4a0f16;
  --red: #c8102e;
  --gold: #e2b75a;
  --gold-hi: #f6dc9a;
  --text: #fff6e6;
  --muted: rgba(255, 246, 230, 0.7);
  --line: rgba(226, 183, 90, 0.28);
  --card: rgba(255, 246, 230, 0.05);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(120% 70% at 70% 0%, var(--stage-b), var(--stage-a) 60%) fixed;
  color: var(--text);
  font: 16px/1.75 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
main, .nh-top, .nh-foot { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.nh-top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nh-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; letter-spacing: 0.06em; }
.nh-brand img { border-radius: 8px; }
.nh-top-cta { text-decoration: none; padding: 6px 16px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-hi); font-size: 14px; }

.nh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: linear-gradient(180deg, #df2a45, var(--red));
  color: #fff; font-weight: 700; letter-spacing: 0.06em; text-decoration: none;
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.35);
}
.nh-btn-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--text); }

/* 首屏 */
.nh-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.nh-kicker { color: var(--gold); letter-spacing: 0.24em; font-size: 13px; margin: 0 0 12px; }
.nh-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; margin: 0; letter-spacing: 0.02em; }
.nh-hero h1 span { background: linear-gradient(90deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nh-lead { color: var(--muted); font-size: 17px; margin: 20px 0 28px; max-width: 34em; }
.nh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nh-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* 演示：大屏 + 手机 */
.nh-demo { position: relative; }
.nh-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden;
  background: radial-gradient(90% 90% at 40% 45%, #5a1219, #1d0609);
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.nh-screen-head { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 12px; color: var(--gold-hi); border-bottom: 1px solid var(--line); }
.nh-screen-body { position: absolute; inset: 38px 0 0; display: grid; grid-template-columns: 1fr 34%; }
.nh-orbit { position: relative; overflow: hidden; }
.nh-orbit span {
  position: absolute; font-size: 12px; color: var(--gold-hi); white-space: nowrap;
  animation: nh-float 9s ease-in-out infinite; opacity: 0.85;
}
@keyframes nh-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -10px); } }
.nh-qr { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 10px; background: rgba(0, 0, 0, 0.3); font-size: 12px; }
.nh-qr p { margin: 0; }
.nh-qr b { color: var(--gold-hi); font-size: 18px; font-variant-numeric: tabular-nums; }
.nh-qr-img {
  width: 72%; aspect-ratio: 1; border-radius: 6px; background-color: #fff;
  background-image:
    linear-gradient(90deg, #111 50%, transparent 0), linear-gradient(#111 50%, transparent 0);
  background-size: 12px 12px; background-blend-mode: difference;
  border: 6px solid #fff;
}
.nh-reveal {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center;
  background: radial-gradient(70% 60% at 50% 50%, rgba(246, 220, 154, 0.95), rgba(226, 183, 90, 0.9) 50%, rgba(90, 18, 25, 0.95));
  color: #4a0f16; opacity: 0; transition: opacity 0.5s;
}
.nh-reveal.on { opacity: 1; }
.nh-reveal small { font-size: 13px; letter-spacing: 0.3em; }
.nh-reveal strong { font-size: clamp(28px, 4vw, 44px); letter-spacing: 0.1em; }
.nh-phone {
  position: absolute; right: -10px; bottom: -36px; width: 26%; aspect-ratio: 9 / 18;
  border-radius: 22px; padding: 8px; background: #120406; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}
.nh-phone-screen {
  height: 100%; border-radius: 16px; display: grid; place-content: center; gap: 4px; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, var(--stage-b), var(--stage-a)); font-size: 11px; transition: background 0.5s, color 0.5s;
}
.nh-phone-screen b { font-size: 18px; color: var(--gold-hi); }
.nh-phone-screen.win { background: radial-gradient(100% 70% at 50% 40%, #fff1c9, var(--gold) 45%, #8a5a12); color: #4a0f16; }
.nh-phone-screen.win b { color: #4a0f16; }

/* 三步 / 卖点 / 价格 / 问答 */
section h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 24px; text-align: center; }
.nh-steps { padding: 56px 0; }
.nh-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.nh-steps li { counter-increment: step; display: grid; gap: 8px; padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.nh-steps li::before { content: counter(step); width: 32px; height: 32px; display: grid; place-content: center; border-radius: 50%; background: var(--red); font-weight: 700; }
.nh-steps li b { font-size: 18px; }
.nh-steps li span, .nh-points p, .nh-faq p { color: var(--muted); }
.nh-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px 0 56px; }
.nh-points article { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.nh-points h3 { margin: 0 0 8px; color: var(--gold-hi); }
.nh-points p { margin: 0; }
.nh-pricing { padding: 40px 0 56px; text-align: center; }
.nh-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 16px; margin-bottom: 28px; text-align: left; }
.nh-plan { padding: 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.nh-plan-pro { border-color: var(--gold); background: rgba(226, 183, 90, 0.08); }
.nh-plan h3 { margin: 0; }
.nh-price { font-size: 34px; font-weight: 800; color: var(--gold-hi); margin: 6px 0 12px; }
.nh-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.nh-plan ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.nh-faq { max-width: 760px; margin: 0 auto; padding: 24px 0 64px; }
.nh-faq details { border-bottom: 1px solid var(--line); padding: 14px 4px; }
.nh-faq summary { cursor: pointer; font-weight: 600; }
.nh-faq p { margin: 10px 0 0; }
.nh-foot { display: flex; justify-content: center; gap: 24px; padding: 24px 20px 40px; color: var(--muted); font-size: 13px; }

@media (max-width: 860px) {
  .nh-hero { grid-template-columns: 1fr; padding-top: 24px; gap: 56px; }
  .nh-steps ol, .nh-points { grid-template-columns: 1fr; }
  .nh-plans { grid-template-columns: 1fr; }
  .nh-phone { right: 4px; width: 30%; }
  .nh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-orbit span { animation: none; }
  .nh-reveal, .nh-phone-screen { transition: none; }
}
