/* ============================================================
   全能TRX · cantrx.com · 深墨绿 + 翡翠 + 金色 主题
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root {
  --bg: #07140f;
  --bg-2: #0a1f17;
  --surface: #0e2a1f;
  --surface-2: #133b2b;
  --line: #1d4d39;
  --line-2: #2a6b50;
  --text: #e7faf1;
  --muted: #8fb4a3;
  --dim: #5a7d6c;
  --em-1: #34d399;
  --em-2: #10b981;
  --em-3: #059669;
  --gold: #fbbf24;
  --gold-2: #f59e0b;
  --rose: #fb7185;
  --good: #34d399;
  --bad: #fb7185;
  --warn: #fbbf24;
  --r: 10px;
  --r-lg: 16px;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote { margin: 0; padding: 0; }
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
em { font-style: normal; }
input { font-family: inherit; }
.mono, code { font-family: "SF Mono", "JetBrains Mono", Consolas, monospace; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ---------- 背景 ---------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(52,211,153,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(52,211,153,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0,0,0,1), rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0,0,0,1), rgba(0,0,0,0) 75%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  top: -340px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 760px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(16,185,129,0.22), transparent 60%),
    radial-gradient(ellipse at 75% 30%, rgba(251,191,36,0.16), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.skip-link {
  position: absolute; top: -48px; left: 16px; z-index: 999;
  padding: 8px 16px; background: var(--em-2); color: #07140f;
  border-radius: 6px; font-size: 13px; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: none; }

/* ---------- Topline ---------- */
.topline {
  background: linear-gradient(90deg, rgba(16,185,129,0.10), rgba(251,191,36,0.08));
  border-bottom: 1px solid rgba(16,185,129,0.18);
  font-size: 12.5px;
  color: var(--muted);
  position: relative; z-index: 3;
}
.topline-row { display: flex; align-items: center; gap: 12px; height: 36px; }
.tl-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--em-1);
  box-shadow: 0 0 0 4px rgba(52,211,153,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
.tl-text b { color: var(--em-1); font-weight: 700; }
.tl-time {
  margin-left: auto; font-family: "SF Mono", Consolas, monospace;
  color: var(--em-1); font-weight: 600;
}

/* ---------- Nav ---------- */
.nav {
  background: rgba(7,20,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.nav-row { display: flex; align-items: center; gap: 24px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(52,211,153,0.16), rgba(251,191,36,0.12));
  border: 1px solid rgba(52,211,153,0.3);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.logo-name b {
  background: linear-gradient(90deg, var(--em-1), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.logo-text small { color: var(--dim); font-size: 10.5px; letter-spacing: 0.4px; text-transform: uppercase; }

.nav-menu { display: flex; gap: 28px; margin-left: auto; }
.nav-a {
  position: relative; padding: 6px 0;
  font-size: 14.5px; color: var(--muted);
  transition: color 0.2s;
}
.nav-a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: linear-gradient(90deg, var(--em-1), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s;
}
.nav-a:hover { color: var(--text); }
.nav-a:hover::after { transform: scaleX(1); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--em-2), var(--em-3));
  color: #fff !important; font-weight: 700; font-size: 14px;
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(16,185,129,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(16,185,129,0.42); }
.cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.25);
  animation: pulse 1.4s infinite;
}

.nav-burger { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 4px; align-items: center; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--em-1); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 100px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px; align-items: center;
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; margin-bottom: 22px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.28);
  border-radius: 999px;
  color: var(--em-1);
  font-size: 12.5px; font-weight: 600;
}
.chip-led {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--em-1);
  box-shadow: 0 0 8px var(--em-1);
}
.hero-h1 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hl {
  background: linear-gradient(110deg, var(--em-1) 0%, var(--em-2) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl2 {
  background: linear-gradient(110deg, var(--gold) 0%, var(--gold-2) 60%, var(--em-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 16.5px; color: var(--muted);
  max-width: 580px; margin-bottom: 30px;
}
.hero-lead strong, .hero-lead b { color: var(--text); font-weight: 700; }
.hero-lead b { color: var(--em-1); }

.hero-actions { display: flex; gap: 14px; margin-bottom: 42px; flex-wrap: wrap; }

.btn-em {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--em-2), var(--em-3) 60%, var(--gold-2));
  color: #07140f !important;
  font-weight: 800; font-size: 15px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16,185,129,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-em:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(16,185,129,0.5); }
.btn-em-sm {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--em-2), var(--em-3));
  color: #fff !important; font-weight: 700; font-size: 13.5px;
  border-radius: 8px;
  transition: transform 0.2s;
}
.btn-em-sm:hover { transform: translateY(-1px); }

.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  background: transparent;
  color: var(--em-1) !important; font-weight: 700; font-size: 15px;
  border: 1.5px solid rgba(52,211,153,0.4);
  border-radius: 12px;
  transition: all 0.2s;
}
.btn-line:hover {
  background: rgba(52,211,153,0.08);
  border-color: var(--em-1);
}
.btn-xl { padding: 15px 30px; font-size: 15.5px; }

.hero-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 600px;
}
.hero-kpi li {
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.kpi-key { display: block; font-size: 12px; color: var(--dim); letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 8px; }
.hero-kpi b { font-size: 22px; font-weight: 800; color: var(--em-1); display: block; }
.hero-kpi b small { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 4px; }

/* ---------- Terminal 终端 ---------- */
.terminal {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(16,185,129,0.1),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  position: relative;
}
.terminal::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(251,191,36,0.10), transparent 50%);
  pointer-events: none;
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--line);
}
.term-led {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--rose);
}
.led-amber { background: var(--gold); }
.led-green { background: var(--em-1); }
.term-title {
  margin-left: 8px; font-size: 12.5px; color: var(--muted);
  font-family: "SF Mono", Consolas, monospace;
}
.term-body { padding: 20px 22px; position: relative; }
.term-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; font-size: 13.5px;
}
.term-row span { color: var(--muted); }
.term-row b { font-weight: 700; color: var(--text); font-family: "SF Mono", Consolas, monospace; }
.term-row .ok { color: var(--em-1); font-weight: 600; }
.term-input {
  color: var(--gold) !important;
  background: rgba(251,191,36,0.08);
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px dashed rgba(251,191,36,0.3);
}
.term-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
  margin: 12px 0;
}
.term-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.term-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  background: rgba(52,211,153,0.15);
  border: 1px solid rgba(52,211,153,0.35);
  border-radius: 4px;
  font-size: 11px; color: var(--em-1); font-weight: 700; letter-spacing: 1px;
}
.term-tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--em-1);
  box-shadow: 0 0 6px var(--em-1); animation: pulse 1.2s infinite;
}
.term-mono { color: var(--muted); font-family: "SF Mono", Consolas, monospace; font-size: 12px; }

/* ---------- 公共 head ---------- */
section { padding: 80px 0; position: relative; }
.head { margin-bottom: 44px; }
.head.center { text-align: center; }
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.28);
  border-radius: 4px;
  font-size: 11.5px; color: var(--gold);
  font-weight: 700; letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.h2 em { color: var(--em-1); }
.lead { color: var(--muted); font-size: 15.5px; max-width: 720px; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Compare ---------- */
.compare { padding-top: 40px; }
.cmp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.cmp-col {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
}
.cmp-col header { padding-bottom: 18px; border-bottom: 1px dashed var(--line); margin-bottom: 18px; }
.cmp-col header h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.cmp-col header span { color: var(--dim); font-size: 13px; }
.cmp-price {
  font-size: 18px; color: var(--muted);
  margin-bottom: 22px;
}
.cmp-price b {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
  margin: 0 4px;
}
.cmp-price small { font-size: 13px; color: var(--dim); font-weight: 500; }
.cmp-ul li {
  position: relative; padding: 7px 0 7px 28px;
  font-size: 14px;
}
.cmp-ul li::before {
  content: ''; position: absolute; left: 4px; top: 14px;
  width: 14px; height: 14px; border-radius: 50%;
}
.cmp-ul li.good { color: var(--text); }
.cmp-ul li.good::before { background: radial-gradient(circle, var(--em-1) 40%, transparent 50%); box-shadow: 0 0 0 2px rgba(52,211,153,0.2); }
.cmp-ul li.good b { color: var(--gold); }
.cmp-ul li.bad { color: var(--muted); }
.cmp-ul li.bad::before { background: var(--bad); opacity: 0.6; }
.cmp-ul li.mid { color: var(--muted); }
.cmp-ul li.mid::before { background: var(--gold); opacity: 0.7; }

.cmp-col-hi {
  border: 1.5px solid rgba(52,211,153,0.5);
  background:
    linear-gradient(180deg, rgba(16,185,129,0.10), rgba(7,20,15,0.6)),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 18px 50px rgba(16,185,129,0.18);
  transform: translateY(-8px);
}
.cmp-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--em-2), var(--gold-2));
  color: #07140f;
  font-size: 12px; font-weight: 800;
  border-radius: 999px;
  white-space: nowrap;
}
.cmp-col-hi .cmp-price b { color: var(--em-1); font-size: 38px; }
.cmp-foot { margin-top: 24px; color: var(--dim); font-size: 13px; text-align: center; }

/* ---------- Services ---------- */
.sv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sv-card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.sv-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.sv-id {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 4px;
  font-size: 11px; color: var(--gold);
  font-weight: 700; letter-spacing: 1px;
  margin-bottom: 16px;
}
.sv-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.sv-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.sv-link { color: var(--em-1); font-size: 13.5px; font-weight: 700; }
.sv-link:hover { color: var(--gold); }

.sv-card-hi {
  background: linear-gradient(180deg, rgba(16,185,129,0.08), var(--bg-2));
  border-color: rgba(52,211,153,0.35);
}
.sv-card-hi .sv-id { background: rgba(52,211,153,0.15); border-color: rgba(52,211,153,0.4); color: var(--em-1); }

/* ---------- Buy ---------- */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.buy-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.buy-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.buy-card h3 { font-size: 22px; font-weight: 800; }
.buy-tag {
  padding: 4px 12px;
  background: rgba(143,180,163,0.1);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 11.5px; color: var(--muted);
  font-weight: 700; letter-spacing: 1px;
}
.buy-tag-hi {
  background: linear-gradient(135deg, var(--em-2), var(--gold-2));
  border-color: transparent;
  color: #07140f;
}
.buy-price {
  font-size: 16px; color: var(--muted);
  padding: 20px 0; margin-bottom: 6px;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.buy-price b {
  font-size: 38px;
  font-weight: 800;
  color: var(--em-1);
  letter-spacing: -1px;
  margin-right: 4px;
}
.buy-price small { font-size: 14px; color: var(--dim); font-weight: 500; }
.buy-ul { padding: 18px 0 20px; }
.buy-ul li {
  position: relative; padding: 5px 0 5px 22px;
  font-size: 13.5px; color: var(--muted);
}
.buy-ul li::before {
  content: '✓'; position: absolute; left: 0; top: 5px;
  color: var(--em-1); font-weight: 800;
}

.buy-card-hi {
  border: 1.5px solid rgba(52,211,153,0.5);
  background:
    linear-gradient(180deg, rgba(16,185,129,0.10), var(--bg-2));
  box-shadow: 0 20px 60px rgba(16,185,129,0.18);
}
.buy-card-hi .buy-price b { color: var(--gold); }

/* ---------- Rental ---------- */
.rent-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.rent-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.rent-h3 {
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.rent-h3.mt { margin-top: 28px; }
.rent-tier { display: flex; flex-direction: column; gap: 12px; }
.rent-tier li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(7,20,15,0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.t-key { color: var(--muted); font-size: 13.5px; }
.t-price { color: var(--em-1); font-weight: 800; font-size: 18px; }
.t-price small { color: var(--dim); font-weight: 500; font-size: 12px; margin-left: 2px; }
.t-note { color: var(--gold); font-size: 12px; font-style: normal; }

.amt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.amt {
  padding: 10px 18px;
  background: rgba(7,20,15,0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700; font-size: 14px;
  transition: all 0.2s;
}
.amt:hover { color: var(--text); border-color: var(--line-2); }
.amt.is-on {
  background: linear-gradient(135deg, var(--em-2), var(--em-3));
  border-color: var(--em-1);
  color: #fff;
  box-shadow: 0 6px 18px rgba(16,185,129,0.4);
}

.amt-sum {
  margin-top: 22px; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(251,191,36,0.10), rgba(16,185,129,0.06));
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 10px;
}
.amt-sum span { color: var(--muted); font-size: 14px; }
.amt-sum b { color: var(--gold); font-size: 22px; font-weight: 800; font-family: "SF Mono", Consolas, monospace; }

.addr-box {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: rgba(7,20,15,0.5);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  margin-bottom: 20px;
}
.addr-box code {
  flex: 1; min-width: 0;
  color: var(--em-1);
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
}
.copy-btn {
  padding: 8px 16px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.35);
  border-radius: 8px;
  color: var(--em-1); font-weight: 700; font-size: 12.5px;
  white-space: nowrap;
}
.copy-btn:hover { background: rgba(52,211,153,0.22); }

.rent-tips li {
  display: flex; gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13.5px;
}
.rent-tips li span {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.28);
  border-radius: 6px;
  color: var(--gold); font-size: 11px; font-weight: 800;
}
.rent-tips li b { color: var(--text); }

/* ---------- Packages ---------- */
.pk-table {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pk-head, .pk-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr 1.2fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 26px;
}
.pk-head {
  background: rgba(7,20,15,0.5);
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.pk-row {
  border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
  transition: background 0.2s;
}
.pk-row:hover { background: rgba(16,185,129,0.04); }
.pk-row:last-child { border-bottom: 0; }
.pk-row b { color: var(--text); font-weight: 700; }
.pk-row-hi {
  background: linear-gradient(90deg, rgba(16,185,129,0.10), rgba(251,191,36,0.06));
  border-left: 3px solid var(--em-1);
}
.pk-row-hi b { color: var(--em-1); }
.pk-foot { margin-top: 16px; color: var(--dim); font-size: 13px; text-align: center; }

/* ---------- Swap ---------- */
.swap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.swap-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.swap-meta li {
  padding: 14px 16px;
  background: rgba(7,20,15,0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.swap-meta span { display: block; color: var(--dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.swap-meta b { color: var(--em-1); font-weight: 700; font-size: 14.5px; font-family: "SF Mono", Consolas, monospace; }

.swap-box {
  padding: 30px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.swap-row { margin-bottom: 14px; }
.swap-row label { display: block; color: var(--dim); font-size: 12px; margin-bottom: 6px; letter-spacing: 0.4px; text-transform: uppercase; }
.swap-input {
  display: flex; align-items: center;
  padding: 12px 18px;
  background: rgba(7,20,15,0.4);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.swap-input input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--text);
  font-size: 22px; font-weight: 700;
  font-family: "SF Mono", Consolas, monospace;
}
.swap-input span { color: var(--gold); font-weight: 700; font-size: 14px; }
.swap-arrow {
  text-align: center;
  color: var(--em-1);
  font-size: 22px; font-weight: 800;
  margin: 8px 0;
}
.swap-addr {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(7,20,15,0.5);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
}
.swap-addr code {
  flex: 1; min-width: 0;
  color: var(--em-1);
  font-size: 12.5px;
  overflow-x: auto; white-space: nowrap;
}
.swap-note { margin-top: 14px; color: var(--dim); font-size: 12.5px; }

/* ---------- Flow ---------- */
.fl-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: fl;
}
.fl-list li {
  position: relative;
  padding: 30px 26px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.fl-no {
  display: inline-block;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 14px; font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.fl-list h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.fl-list p { color: var(--muted); font-size: 14px; }

/* ---------- Usecase ---------- */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.uc-card {
  padding: 26px 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.2s, border-color 0.2s;
}
.uc-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.uc-ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--em-2), var(--gold-2));
  color: #07140f;
  font-weight: 800; font-size: 18px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.uc-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.uc-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- API ---------- */
.api-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.api-card {
  padding: 26px 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.api-no {
  display: block;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 13px; font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.api-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.api-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }
.api-card code {
  display: block;
  padding: 8px 12px;
  background: rgba(7,20,15,0.5);
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--em-1);
  font-size: 12px;
}
.api-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 26px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(52,211,153,0.35); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; list-style: none;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.faq-x {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq-x::before, .faq-x::after {
  content: ''; position: absolute; top: 50%; left: 0;
  width: 18px; height: 2px;
  background: var(--em-1);
  border-radius: 2px;
  transition: transform 0.2s;
}
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x::after { transform: rotate(0); }
.faq-item p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.faq-item p strong { color: var(--text); }
.faq-item p a { color: var(--em-1); border-bottom: 1px dashed var(--em-1); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ct-card {
  padding: 24px 26px;
  background: linear-gradient(135deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.ct-tag {
  padding: 4px 10px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 4px;
  color: var(--gold);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
}
.ct-card h3 { font-size: 17px; font-weight: 700; font-family: "SF Mono", Consolas, monospace; }
.ct-card p { color: var(--dim); font-size: 12.5px; grid-column: 2; }
.ct-card .btn-line {
  padding: 8px 16px; font-size: 12.5px;
  grid-row: 1 / span 2; grid-column: 3;
}

/* ---------- Footer ---------- */
.ft {
  margin-top: 40px;
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,20,15,0.6), var(--bg));
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 36px;
}
.ft-brand p { color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.ft h4 { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.ft ul li { padding: 5px 0; font-size: 13.5px; color: var(--muted); }
.ft ul li a:hover { color: var(--em-1); }

.ft-friend {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}
.ft-friend span:first-child { margin-right: 12px; color: var(--gold); }
.ft-friend a {
  display: inline-block;
  padding: 4px 12px;
  margin: 3px 6px 3px 0;
  background: rgba(7,20,15,0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  transition: all 0.2s;
}
.ft-friend a:hover { color: var(--em-1); border-color: var(--line-2); }

.ft-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  color: var(--dim); font-size: 13px;
}
.ft-status { display: inline-flex; align-items: center; gap: 8px; }
.dot-on { width: 7px; height: 7px; border-radius: 50%; background: var(--em-1); box-shadow: 0 0 8px var(--em-1); }

/* ---------- 资讯中心（首页区块） ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  display: block;
  padding: 26px 24px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(52,211,153,0.35); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); margin-bottom: 12px; }
.news-tag {
  padding: 3px 10px;
  background: rgba(251,191,36,0.10);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 4px;
  color: var(--gold); font-weight: 700; letter-spacing: 0.5px;
}
.news-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; color: var(--text); }
.news-card p { color: var(--muted); font-size: 13.5px; }
.news-card:hover h3 { color: var(--em-1); }
.news-more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- 文章页 ---------- */
.crumb {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--em-1); }
.crumb span { margin: 0 8px; color: var(--dim); }

.article-wrap { padding: 40px 0 60px; }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.article {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
}
.article-header { padding-bottom: 24px; border-bottom: 1px dashed var(--line); margin-bottom: 28px; }
.article-header h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--dim); }
.article-meta .tag {
  padding: 3px 10px;
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: 4px;
  color: var(--em-1); font-weight: 700;
}
.article-body { font-size: 15.5px; line-height: 1.85; color: var(--muted); }
.article-body p { margin-bottom: 16px; }
.article-body p strong, .article-body strong { color: var(--text); font-weight: 700; }
.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--em-1);
  line-height: 1.4;
}
.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body ul li, .article-body ol li { margin-bottom: 6px; list-style: disc; color: var(--muted); }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--em-1); border-bottom: 1px dashed var(--em-1); }
.article-body a:hover { color: var(--gold); border-color: var(--gold); }
.article-body blockquote {
  margin: 20px 0;
  padding: 16px 22px;
  background: rgba(251,191,36,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--text);
  font-size: 14.5px;
}

.article-cta {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(251,191,36,0.06));
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: var(--r-lg);
  text-align: center;
}
.article-cta h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.article-cta p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; align-self: start; }
.aside-block {
  padding: 22px 24px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.aside-block h4 {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.aside-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { color: var(--muted); display: block; }
.aside-list a:hover { color: var(--em-1); }
.aside-list .date { display: block; color: var(--dim); font-size: 11.5px; margin-top: 4px; }
.aside-cta { text-align: center; background: linear-gradient(135deg, rgba(16,185,129,0.10), rgba(251,191,36,0.06)); border-color: rgba(52,211,153,0.3); }
.aside-cta p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 760px) {
  .news-grid { grid-template-columns: 1fr; }
  .article { padding: 28px 22px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 19px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  background: rgba(7,20,15,0.95);
  border: 1px solid var(--em-1);
  border-radius: 999px;
  color: var(--em-1);
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .terminal { max-width: 480px; margin: 0 auto; }
  .sv-grid, .uc-grid, .api-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pk-head, .pk-row { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; padding: 14px 18px; font-size: 13px; }
}

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .tl-text { font-size: 11.5px; }
  .tl-time { display: none; }

  .nav-row { height: 64px; }
  .logo-text small { display: none; }
  .nav-menu {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
    gap: 4px;
    z-index: 20;
  }
  .nav-menu.open { display: flex; }
  .nav-a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-a::after { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .cta-btn { display: none; }

  section { padding: 56px 0; }
  .hero { padding: 50px 0 70px; }
  .hero-h1 { font-size: 34px; }
  .hero-lead { font-size: 15px; }
  .hero-kpi { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-kpi b { font-size: 18px; }

  .head { margin-bottom: 28px; }
  .h2 { font-size: 24px; }

  .cmp, .buy-grid, .sv-grid, .uc-grid, .api-grid, .fl-list { grid-template-columns: 1fr; }
  .cmp-col-hi { transform: none; }

  .rent-cols { grid-template-columns: 1fr; gap: 28px; }
  .rent-card { padding: 24px 20px; }
  .rent-tier li { grid-template-columns: 1fr; gap: 4px; text-align: left; }
  .t-key { font-size: 12px; color: var(--dim); }

  .pk-head { display: none; }
  .pk-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }
  .pk-row > div:nth-child(1) { grid-column: 1 / 3; padding-bottom: 6px; border-bottom: 1px dashed var(--line); margin-bottom: 6px; font-size: 14px; }
  .pk-row > div:nth-child(1) b::before { content: '套餐：'; color: var(--dim); font-weight: 500; }
  .pk-row > div:nth-child(2)::before { content: '笔数 '; color: var(--dim); font-weight: 500; font-size: 12px; }
  .pk-row > div:nth-child(3)::before { content: '有效期 '; color: var(--dim); font-weight: 500; font-size: 12px; }
  .pk-row > div:nth-child(4)::before { content: '单价 '; color: var(--dim); font-weight: 500; font-size: 12px; }
  .pk-row > div:nth-child(5)::before { content: '合计 '; color: var(--dim); font-weight: 500; font-size: 12px; }
  .pk-row > div:nth-child(6) { grid-column: 1 / 3; margin-top: 8px; }
  .pk-row > div:nth-child(6) a { width: 100%; padding: 10px 18px; font-size: 14px; }

  .swap-grid { grid-template-columns: 1fr; gap: 30px; }
  .swap-meta { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .ct-card { grid-template-columns: 1fr; gap: 8px; }
  .ct-card .btn-line { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 4px; }

  .ft-grid { grid-template-columns: 1fr; gap: 28px; }
  .ft-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
