/* ============================================================
   CryptoPulse AI — main.css
   Dark cyberpunk trading terminal · Glassmorphism · No deps
   ============================================================ */

@import url("https://fonts.googleapis.cn/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@500;700&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  --bg: #05070d;
  --bg-2: #0a0f1e;
  --card: rgba(17, 24, 39, 0.55);
  --line: rgba(255, 255, 255, 0.09);

  --green: #00ff66;
  --purple: #8b5cf6;
  --gold: #ffd60a;
  --red: #ff4d6d;

  --text: #f4f7fb;
  --text-2: #9aa4b8;
  --text-3: #5b6578;

  --font-sans: "Noto Sans SC", "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "Noto Sans SC", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

.text-gradient {
  background: linear-gradient(100deg, var(--green) 10%, var(--purple) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-glow-green {
  color: var(--green);
  text-shadow: 0 0 18px rgba(0, 255, 102, 0.55);
}

.text-gold {
  color: var(--gold);
}

.t-green {
  color: var(--green);
}

/* ---------- 背景：网格 + 光晕 + 扫描线 ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%),
    var(--bg);
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
}

.bg-glow--green {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: var(--green);
}

.bg-glow--purple {
  width: 460px;
  height: 460px;
  top: 320px;
  left: -180px;
  background: var(--purple);
  opacity: 0.16;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.018) 0px,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 4px
  );
}

/* ---------- 玻璃卡片 ---------- */
.glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 12px;
  padding: 13px 26px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), background 0.25s var(--ease-out);
  overflow: hidden;
  white-space: nowrap;
}

.btn__icon {
  flex-shrink: 0;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn--xl {
  padding: 19px 42px;
  font-size: 19px;
  border-radius: 14px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green), #00d455);
  color: #03130a;
  box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.4), 0 8px 30px rgba(0, 255, 102, 0.25);
}

.btn--primary:hover {
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.7), 0 10px 40px rgba(0, 255, 102, 0.45);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.btn--outline:hover {
  transform: scale(1.03);
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0, 255, 102, 0.18);
  color: var(--green);
}

.btn--ghost {
  border: 1px solid transparent;
  color: var(--text-2);
}

.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn--block {
  width: 100%;
}

/* 光泽扫过 */
.btn--shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  animation: shimmer 3.2s infinite;
}

@keyframes shimmer {
  0% { left: -80%; }
  45% { left: 130%; }
  100% { left: 130%; }
}

/* 呼吸脉冲 */
.btn--pulse {
  animation: btnPulse 2.4s var(--ease-out) infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.4), 0 8px 30px rgba(0, 255, 102, 0.25); }
  50% { box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.7), 0 10px 46px rgba(0, 255, 102, 0.5); }
}

/* ---------- LIVE 红点 ---------- */
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7);
  animation: livePulse 1.6s infinite;
  flex-shrink: 0;
}

.live-dot--sm {
  width: 7px;
  height: 7px;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand__accent {
  background: linear-gradient(100deg, var(--green), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 8px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 109, 0.35);
  background: rgba(255, 77, 109, 0.08);
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 26px;
}

.live-badge b {
  color: var(--text);
  font-family: var(--font-mono);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__subtitle b {
  color: var(--text);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__proof {
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 22px;
}

.hero__proof b {
  color: var(--text);
}

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  padding: 5px 12px 5px 9px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--green);
  background: rgba(0, 255, 102, 0.06);
  border: 1px dashed rgba(0, 255, 102, 0.35);
  border-radius: 999px;
}

.hero__hint b {
  color: var(--gold);
}

.chain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chain-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, color 0.25s;
}

.chain-chip:hover {
  color: var(--text);
  border-color: rgba(0, 255, 102, 0.4);
}

/* ---------- 终端面板 ---------- */
.terminal {
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 255, 102, 0.06);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.terminal__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
  font-size: 12.5px;
  color: var(--text-3);
  margin-left: 8px;
}

.terminal__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-family: var(--font-mono);
  color: var(--red);
  font-weight: 700;
}

.terminal__body {
  padding: 18px;
  font-size: 12.5px;
  line-height: 2.1;
}

.terminal__line {
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-time {
  color: var(--text-3);
  margin-right: 8px;
}

.t-muted {
  color: var(--text-3);
}

.t-tag {
  display: inline-block;
  min-width: 52px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 5px;
  padding: 1px 7px;
  margin-right: 8px;
}

.t-tag--whale { background: rgba(0, 255, 102, 0.14); color: var(--green); }
.t-tag--signal { background: rgba(139, 92, 246, 0.18); color: #b59bff; }
.t-tag--roi { background: rgba(0, 255, 102, 0.14); color: var(--green); }
.t-tag--safe { background: rgba(0, 255, 102, 0.14); color: var(--green); }
.t-tag--rug { background: rgba(255, 77, 109, 0.16); color: var(--red); }

.cursor-blink {
  animation: blink 1.1s steps(1) infinite;
  color: var(--green);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* 终端新行滑入 + 荧光扫过 */
.terminal__line--new {
  animation: termLineIn 0.55s var(--ease-out);
}

@keyframes termLineIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
    filter: brightness(1.6);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }
}

/* 计算器数值跳动的脉冲反馈 */
.calc-result-card.kick {
  animation: calcKick 0.26s var(--ease-out);
}

@keyframes calcKick {
  0% { transform: scale(1); }
  40% { transform: scale(1.035); }
  100% { transform: scale(1); }
}
/* ---------- 通用 Section Head ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 16px;
}

.eyebrow--gold {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-2);
  font-size: 16px;
}

/* ---------- Ticker ---------- */
.ticker-section {
  padding: 40px 0 72px;
}

.ticker-viewport {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.ticker-viewport:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.win-card {
  width: 268px;
  flex-shrink: 0;
  padding: 22px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.win-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 102, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 102, 0.12);
}

.win-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.win-card__token {
  font-size: 18px;
  font-weight: 700;
}

.chain-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
}

.win-card__desc {
  font-size: 13.5px;
  color: var(--text-2);
  margin-bottom: 6px;
}

.win-card__roi {
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  line-height: 1.2;
  margin-bottom: 8px;
}

.win-card__meta {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.win-card__link {
  font-size: 12.5px;
  color: var(--purple);
  transition: color 0.2s;
}

.win-card__link:hover {
  color: var(--green);
}

/* ---------- Stats ---------- */
.stats {
  padding: 24px 0 80px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  padding: 30px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 102, 0.35);
}

.stat__num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 24px rgba(0, 255, 102, 0.35);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Features ---------- */
.features {
  padding: 80px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 32px 30px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 102, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 34px rgba(0, 255, 102, 0.1);
}

.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon--green {
  background: rgba(0, 255, 102, 0.12);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 102, 0.3);
}

.feature-card__icon--purple {
  background: rgba(139, 92, 246, 0.14);
  color: #b59bff;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.35);
}

.feature-card__icon--gold {
  background: rgba(255, 214, 10, 0.12);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255, 214, 10, 0.3);
}

.feature-card__icon--red {
  background: rgba(255, 77, 109, 0.13);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.32);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card__pain {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.feature-card__sol {
  font-size: 15px;
  color: var(--text-2);
}

.feature-card__sol b {
  color: var(--green);
}

/* ---------- Calculator ---------- */
.calculator {
  padding: 80px 0;
}

.calculator__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 48px;
  align-items: center;
}

.calculator .section-title {
  text-align: left;
}

.calculator .eyebrow {
  justify-content: flex-start;
}

.calculator__copy .section-sub {
  margin-bottom: 30px;
}

.calc-label {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.calc-range-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--fill, 8%), rgba(255, 255, 255, 0.1) var(--fill, 8%));
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid #04140b;
  box-shadow: 0 0 0 1px var(--green), 0 0 16px rgba(0, 255, 102, 0.6);
  cursor: pointer;
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  border: 4px solid #04140b;
  box-shadow: 0 0 0 1px var(--green);
  cursor: pointer;
}

.calc-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--text-2);
}

.calc-input-wrap input {
  width: 90px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
}

.calc-hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.calc-result-card {
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: var(--radius);
  padding: 36px 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 102, 0.1), transparent 60%),
    rgba(5, 10, 8, 0.7);
  text-align: center;
}

.calc-result-label {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.calc-result-value {
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 34px rgba(0, 255, 102, 0.5);
  line-height: 1.1;
  margin-bottom: 24px;
  transition: transform 0.15s;
}

.calc-result-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 16px;
}

.calc-result-bar__fill {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--purple));
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.6);
  transition: width 0.35s var(--ease-out);
}

.calc-result-foot {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
}
/* ---------- Testimonials ---------- */
.testimonials {
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 28px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.testimonial-card__avatar {
  border-radius: 50%;
  border: 1px solid var(--line);
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 15px;
}

.testimonial-card__role {
  font-size: 11.5px;
  color: var(--text-3);
}

.testimonial-card__x {
  margin-left: auto;
  color: var(--text-3);
}

.testimonial-card__quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-card__quote b {
  font-weight: 700;
}

.testimonial-card__shot {
  display: inline-block;
  font-size: 12px;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 80px 0 90px;
}

.scarcity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 10, 0.35);
  background: rgba(255, 214, 10, 0.07);
  font-size: 14px;
  color: var(--text-2);
  flex-wrap: wrap;
  justify-content: center;
}

.scarcity__fire {
  font-size: 15px;
}

.countdown {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 7px;
  padding: 2px 10px;
}

/* 名额递减的脉冲提醒 */
#spotsLeft {
  display: inline-block;
  min-width: 2ch;
}

.spots-pulse {
  animation: spotsPulse 0.7s var(--ease-out);
}

@keyframes spotsPulse {
  0% { color: var(--red); transform: scale(1.4); }
  60% { color: var(--red); transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* 实时加入队列 */
.join-feed {
  margin: 18px auto 0;
  max-width: 420px;
  min-height: 22px;
  text-align: left;
}

.section-head > .join-feed {
  text-align: left;
}

.join-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 14px;
  margin-bottom: 7px;
  transition: opacity 0.5s, height 0.5s, transform 0.5s, margin 0.5s;
}

.join-item--out {
  opacity: 0;
  transform: translateY(-8px);
}

.join-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

.join-item__name {
  color: var(--green);
  font-weight: 700;
  font-size: 12.5px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.price-card:hover {
  transform: translateY(-6px);
}

.price-card--featured {
  border-color: rgba(0, 255, 102, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.2), 0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 255, 102, 0.12);
  transform: translateY(-10px);
}

.price-card--featured:hover {
  transform: translateY(-14px);
}

.price-card__ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 700;
  color: #03130a;
  background: linear-gradient(90deg, var(--gold), #ffb800);
  border-radius: 999px;
  padding: 5px 16px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.35);
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.price-card__name .mono {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.price-card__price {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 6px;
}

.price-card__old {
  font-size: 18px;
  color: var(--text-3);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 500;
}

.price-card__period {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  margin-top: 4px;
}

.price-card__tagline {
  font-size: 14px;
  color: var(--green);
  margin-bottom: 22px;
}

.price-card__list {
  flex: 1;
  margin-bottom: 26px;
}

.price-card__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text-2);
  margin-bottom: 12px;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(0, 255, 102, 0.4);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 26px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}

.faq-item__icon::before {
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
}

.faq-item__icon::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.faq-item[open] .faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item__a {
  padding: 0 26px 22px;
  color: var(--text-2);
  font-size: 15px;
}

.faq-item__a b {
  color: var(--text);
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 80px 0 90px;
}

.final-cta__inner {
  text-align: center;
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
}

.final-cta__inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.08), transparent 55%);
  animation: ctaOrbit 8s linear infinite;
  pointer-events: none;
}

@keyframes ctaOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  position: relative;
}

.final-cta__sub {
  color: var(--text-2);
  margin-bottom: 34px;
  position: relative;
}

.final-cta .btn {
  position: relative;
}

.final-cta__note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-3);
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
  background: rgba(3, 5, 10, 0.7);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.site-footer__slogan {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-3);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer__links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--green);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
}

.social-link:hover {
  color: var(--green);
  border-color: rgba(0, 255, 102, 0.5);
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.2);
  transform: translateY(-3px);
}

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.disclaimer {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.8;
  margin-bottom: 12px;
}

.site-footer__copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(0, 255, 102, 0.4);
  color: var(--text);
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 255, 102, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   注册弹窗 Modal
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 38px 36px 32px;
  border: 1px solid rgba(0, 255, 102, 0.22);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 60px rgba(0, 255, 102, 0.1);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease-out);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 26px;
  line-height: 1;
  color: var(--text-3);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}

.modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.modal__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green);
}

.modal__title {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  margin: 10px 0 8px;
  line-height: 1.3;
}

.modal__sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 22px;
}

.modal__sub b {
  color: var(--text);
}

/* 蜜罐隐藏 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* 表单 */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}

.req {
  color: var(--green);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 15px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input::placeholder {
  color: var(--text-3);
}

.form-input:focus {
  outline: none;
  border-color: rgba(0, 255, 102, 0.55);
  background: rgba(0, 255, 102, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.12);
}

.form-input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.12);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA4B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-select option {
  background: #0a0f1e;
  color: var(--text);
}

.form-error {
  font-size: 12.5px;
  color: var(--red);
  margin-top: 6px;
  min-height: 0;
}

/* 链选择 chips */
.chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pick-chip {
  cursor: pointer;
}

.pick-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick-chip span {
  display: inline-block;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s var(--ease-out);
}

.pick-chip input:checked + span {
  color: var(--green);
  border-color: rgba(0, 255, 102, 0.55);
  background: rgba(0, 255, 102, 0.1);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.15);
}

.pick-chip input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* 同意条款 */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
}

.form-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.form-footnote {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-3);
}

/* 提交 loading */
#signupSubmit {
  margin-top: 4px;
}

.submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(3, 19, 10, 0.3);
  border-top-color: #03130a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#signupSubmit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

#signupSubmit.is-loading .submit-label {
  display: none;
}

#signupSubmit.is-loading .submit-spinner {
  display: inline-block;
}

/* 成功页 */
.modal__pane--success {
  position: relative;
  text-align: center;
}

.success-check {
  margin: 6px auto 18px;
}

.success-check__ring {
  stroke: var(--green);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: drawRing 0.6s var(--ease-out) forwards;
}

.success-check__tick {
  stroke: var(--green);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawTick 0.4s 0.5s var(--ease-out) forwards;
}

@keyframes drawRing {
  to { stroke-dashoffset: 0; }
}

@keyframes drawTick {
  to { stroke-dashoffset: 0; }
}

.success-summary {
  font-size: 12.5px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ---------- 4 步解锁向导 ---------- */
.wiz-steps {
  display: flex;
  gap: 4px;
  margin: 2px 0 14px;
}
.wiz-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.25s var(--ease-out);
}
.wiz-step.is-done,
.wiz-step.is-active {
  opacity: 1;
}
.wiz-step__num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s var(--ease-out);
}
.wiz-step.is-active .wiz-step__num {
  color: #03130a;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.5);
}
.wiz-step.is-done .wiz-step__num {
  color: var(--green);
  border-color: rgba(0, 255, 102, 0.5);
}
.wiz-step__label {
  font-size: 11px;
  color: var(--text-2);
}
.wiz-step.is-active .wiz-step__label {
  color: var(--green);
}
.wiz-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 22px;
}
.wiz-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #7ef5ad);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.45);
  transition: width 0.45s var(--ease-out);
}

.wiz-pane {
  display: none;
}
.wiz-pane.is-active {
  display: block;
  animation: paneIn 0.38s var(--ease-out);
  text-align: left;
}
.wiz-pane.is-active .modal__title {
  margin-top: 2px;
}
@keyframes paneIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* 接收方式选择卡 */
.medium-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0 18px;
}
.medium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
}
.medium-card:hover {
  border-color: rgba(0, 255, 102, 0.4);
  transform: translateY(-2px);
}
.medium-card.is-selected {
  border-color: rgba(0, 255, 102, 0.6);
  background: rgba(0, 255, 102, 0.09);
  box-shadow: 0 0 18px rgba(0, 255, 102, 0.16);
}
.medium-card.is-selected .medium-card__icon {
  color: var(--green);
}
.medium-card__icon {
  color: var(--text-2);
  transition: color 0.22s;
}
.medium-card b {
  font-size: 14px;
}
.medium-card__hint {
  font-size: 11px;
  color: var(--text-3);
}
.medium-card__advisor {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.3;
  color: var(--green);
  opacity: 0.75;
}
.medium-card.is-selected .medium-card__advisor {
  opacity: 1;
}

/* Telegram 顾问横幅 */
.advisor-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 255, 102, 0.32);
  border-radius: 12px;
  background: rgba(0, 255, 102, 0.07);
  animation: bannerIn 0.3s var(--ease-out);
}
.advisor-banner[hidden] { display: none; }
.advisor-banner__text {
  font-size: 12.5px;
  color: var(--text-2);
}
.advisor-banner__text b {
  color: var(--green);
  font-weight: 600;
}
.btn-copy {
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--green);
  border: 1px solid rgba(0, 255, 102, 0.45);
  border-radius: 8px;
  background: rgba(0, 255, 102, 0.1);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.btn-copy:hover {
  background: rgba(0, 255, 102, 0.2);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}
.btn-copy:active { transform: scale(0.96); }
@keyframes bannerIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

/* 解锁动画 */
.unlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 10px 0 6px;
  text-align: center;
}
.unlock__radar {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
}
.unlock__holder {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #03130a;
  background: var(--green);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.6);
  z-index: 2;
}
.unlock__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 50%;
  animation: ringExpand 2.1s var(--ease-out) infinite;
}
.unlock__ring--2 { animation-delay: 0.7s; }
.unlock__ring--3 { animation-delay: 1.4s; }
@keyframes ringExpand {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}
.unlock__pulse {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: blip 1.1s ease-in-out infinite;
}
@keyframes blip {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.unlock__panel {
  font-size: 13px;
  color: var(--text-2);
  min-height: 20px;
}
.unlock__bar {
  width: 100%;
  max-width: 320px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.unlock__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 999px;
  transition: width 0.09s linear;
  box-shadow: 0 0 14px rgba(0, 255, 102, 0.5);
}
.unlock__pct {
  font-size: 15px;
  color: var(--green);
}

/* 解锁成功页 */
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 2px;
}
.modal__pane--success .modal__title {
  margin-top: 16px;
}

/* 彩花 */
.confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
.confetti span {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 11px;
  opacity: 0.9;
  animation-name: confettiFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
@keyframes confettiFall {
  0% { transform: translate3d(0, -10px, 0) rotate(0deg); }
  100% { transform: translate3d(0, 520px, 0) rotate(640deg); }
}

/* 弹窗移动端 */
@media (max-width: 560px) {
  .modal {
    padding: 30px 22px 24px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .medium-group {
    grid-template-columns: 1fr;
  }
  .wiz-step__label {
    font-size: 9.5px;
  }
}

/* 打开弹窗时锁定 body 滚动 */
body.modal-lock {
  overflow: hidden;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .terminal {
    max-width: 560px;
  }

  .calculator__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .price-card--featured {
    transform: none;
    order: -1;
  }

  .price-card--featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .nav,
  .header__connect {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    gap: 0;
    background: rgba(5, 7, 13, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    margin: 0;
  }

  .nav--open .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hide-mobile {
    display: none;
  }

  .calculator__inner {
    padding: 30px 22px;
  }

  .final-cta__inner {
    padding: 48px 22px;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .calc-range-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 420px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .header__actions .btn--sm {
    padding: 8px 13px;
    font-size: 13px;
  }

  .win-card {
    width: 230px;
  }
}

/* ---------- 可访问性：尊重减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

