/* BiaoZi.Store 首页 —— 依赖 style.css 的变量与按钮 */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body.home {
  background:
    radial-gradient(900px 520px at 72% -8%, rgba(247, 201, 72, .08), transparent 65%),
    radial-gradient(700px 500px at 0% 30%, rgba(82, 168, 255, .045), transparent 65%),
    #000;
}
body.home::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 980px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 25%, transparent 75%);
}
.home main { margin: 0 auto; padding: 0; min-height: 0; max-width: none; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- 顶栏 ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(0, 0, 0, .7);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
}
.hd-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; }
.logo:hover { color: #fff; text-decoration: none; }
.logo em { font-style: normal; color: var(--muted); font-weight: 500; }
.logo img { flex: none; }
.hd-nav { display: flex; gap: 2px; }
.hd-nav a { padding: 6px 12px; border-radius: var(--r); color: var(--muted); font-size: .93rem; font-weight: 500; }
.hd-nav a:hover { color: var(--fg); background: var(--bg-3); text-decoration: none; }
.hd-cta { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.menu-btn { display: none; width: 36px; padding: 0; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 84px 0 64px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--fg-2);
  font-size: .87rem;
}
.pill:hover { border-color: var(--line-3); color: #fff; text-decoration: none; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.pill span { color: var(--muted); }
.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #fff 30%, #a9a9b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hand { position: relative; display: inline-block; color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hand svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; overflow: visible; }
.hand svg path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1s ease .5s forwards; }
.lead { max-width: 540px; color: var(--muted); font-size: 1.07rem; line-height: 1.75; margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5.6 12.6c1.5 1.3 2.8 2.7 4 4.2 2.6-3.8 5.2-7 8.6-10'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5.6 12.6c1.5 1.3 2.8 2.7 4 4.2 2.6-3.8 5.2-7 8.6-10'/></svg>") center/contain no-repeat;
}

/* 控制台示意 */
.hero-art { position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(247, 201, 72, .14), transparent);
  filter: blur(20px);
}
.mock {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transform-origin: left center;
}
.mock-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2f; }
.mock-url { flex: 1; max-width: 300px; margin: 0 auto; padding: 3px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; color: var(--faint); font-family: var(--mono); font-size: .76rem; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mock-head b { display: block; font-size: 1.02rem; }
.mock-head small { font-family: var(--mono); font-size: .8rem; }
.mock-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-specs span { padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); font-size: .78rem; }
.mock-specs b { display: block; color: var(--fg); font-size: .95rem; margin-top: 2px; }
.mock-clock { display: grid; gap: 2px; padding: 14px 16px; background: linear-gradient(135deg, rgba(247, 201, 72, .08), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; }
.mock-clock small { font-size: .8rem; }
.mock-clock b { font-family: var(--mono); font-size: 2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-size: .8rem; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s ease-in-out infinite; }
.mock-term { background: #050506; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mock-term-bar { padding: 6px 12px; border-bottom: 1px solid var(--line); color: var(--faint); font-family: var(--mono); font-size: .74rem; }
.mock-term pre { margin: 0; padding: 10px 12px 12px; min-height: 104px; border: 0; background: none; color: #d6e9dd; font-size: .82rem; }
.mock-term .p { color: var(--ok); }
.mock-term .caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.mock-clock { position: relative; }
.note-hand { position: absolute; right: 16px; top: 12px; display: flex; align-items: flex-start; gap: 2px; color: var(--accent); font-size: .82rem; line-height: 1.4; transform: rotate(-3deg); pointer-events: none; }
.note-hand svg { width: 54px; height: 36px; margin-top: 12px; }

/* ---------- 指标条 ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); }
.facts div { padding: 18px 20px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: .87rem; }

/* ---------- 区块 ---------- */
.sec { padding: 96px 0 0; scroll-margin-top: 70px; }
.sec-head { max-width: 640px; margin: 0 0 32px; }
.kicker { display: inline-block; margin-bottom: 10px; color: var(--accent); font-size: .84rem; font-weight: 600; letter-spacing: .08em; }
.sec-head h2, .faq-side h2, .cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 10px; }
.sec-head p { color: var(--muted); font-size: 1rem; margin: 0; }

.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feat { padding: 24px 22px 22px; background: var(--bg); transition: background .2s; }
.feat:hover { background: var(--bg-1); }
.feat svg { width: 30px; height: 30px; color: var(--fg); margin-bottom: 16px; }
.feat h3 { margin: 0 0 6px; font-size: 1rem; }
.feat p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ---------- 方案 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.plan:hover { border-color: var(--line-3); }
.plan.featured { border-color: rgba(247, 201, 72, .45); background: linear-gradient(180deg, rgba(247, 201, 72, .06), transparent 40%), var(--bg-1); }
.plan.sk { min-height: 340px; background: linear-gradient(100deg, var(--bg-1) 30%, var(--bg-3) 50%, var(--bg-1) 70%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }
.plan .tag { position: absolute; top: 18px; right: 18px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--accent); color: #1a1405; font-size: .76rem; font-weight: 650; line-height: 22px; }
.plan .pool { color: var(--muted); font-size: .84rem; }
.plan h3 { margin: 4px 0 14px; font-size: 1.15rem; }
.plan .big { font-size: 2.3rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .big small { margin-left: 6px; font-size: .86rem; font-weight: 400; letter-spacing: 0; }
.plan ul { flex: 1; display: grid; gap: 9px; margin: 20px 0 22px; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); font-size: .9rem; line-height: 1.5; }
.plan li::before {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5.6 12.6c1.5 1.3 2.8 2.7 4 4.2 2.6-3.8 5.2-7 8.6-10'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5.6 12.6c1.5 1.3 2.8 2.7 4 4.2 2.6-3.8 5.2-7 8.6-10'/></svg>") center/contain no-repeat;
}
.plan li.off { color: var(--faint); }
.plan li.off::before { background: var(--faint); -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><path d='M6.4 12.2c3.8-.2 7.4-.2 11.2 0'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><path d='M6.4 12.2c3.8-.2 7.4-.2 11.2 0'/></svg>"); }
.plan .btn { width: 100%; }
.plan-grid > .panel { grid-column: 1 / -1; margin: 0; }
.note { margin: 18px 0 0; color: var(--faint); font-size: .86rem; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 18px 18px 16px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); }
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -13px;
  z-index: 1;
  width: 14px;
  height: 14px;
  background: var(--line-3);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8.6 5.4c2.4 2.2 4.6 4.4 6.8 6.8-2.2 2.2-4.4 4.4-6.8 6.4'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8.6 5.4c2.4 2.2 4.6 4.4 6.8 6.8-2.2 2.2-4.4 4.4-6.8 6.4'/></svg>") center/contain no-repeat;
}
.steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border: 1px solid var(--line-3); border-radius: 8px; color: var(--accent); font-family: var(--mono); font-size: .82rem; }
.steps h3 { margin: 0 0 4px; font-size: .98rem; }
.steps p { margin: 0; color: var(--muted); font-size: .87rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-side p { color: var(--muted); margin-bottom: 20px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 2px; cursor: pointer; list-style: none; font-size: 1rem; font-weight: 550; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><path d='M12 5.6v12.8M5.6 12h12.8'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><path d='M12 5.6v12.8M5.6 12h12.8'/></svg>") center/contain no-repeat;
  transition: transform .2s;
}
.qa summary:hover { color: #fff; }
.qa details[open] summary::after { transform: rotate(45deg); background: var(--accent); }
.qa details p { margin: 0; padding: 0 30px 18px 2px; color: var(--muted); font-size: .94rem; line-height: 1.75; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin: 100px 0 0;
  padding: 40px 44px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(600px 260px at 90% 0%, rgba(247, 201, 72, .12), transparent 70%), var(--bg-1);
}
.cta p { margin: 0; color: var(--muted); }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.ft { margin-top: 100px; padding: 48px 0 36px; border-top: 1px solid var(--line); }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.ft p { max-width: 320px; margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.ft h4 { margin: 4px 0 12px; color: var(--fg); font-size: .9rem; font-weight: 600; }
.ft ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ft ul a { color: var(--muted); font-size: .9rem; }
.ft ul a:hover { color: var(--fg); }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: .85rem; }

/* ---------- 入场 ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 60px; }
  .hero-art { max-width: 620px; }
  .mock { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .hd-in { flex-wrap: wrap; height: auto; min-height: 58px; gap: 10px; padding: 11px 0; }
  .hd-nav { display: none; order: 3; width: 100%; flex-direction: column; padding-bottom: 6px; }
  .hd.open .hd-nav { display: flex; }
  .hd-cta .text { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 2.15rem; }
  .lead { font-size: 1rem; }
  .mock-clock b { font-size: 1.6rem; }
  .sec { padding-top: 72px; }
  .feat-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; margin-top: 72px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
}
