
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --tron-red: #FF0013;
  --tron-dark: #1a1a2e;
  --tron-bg: #0f0f23;
  --tron-card: #16213e;
  --tron-accent: #e94560;
  --tron-green: #00d4aa;
  --tron-gold: #ffd700;
  --tron-blue: #4361ee;
  --gradient-main: linear-gradient(135deg, #FF0013, #e94560, #ff6b6b);
  --gradient-dark: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--gradient-dark);
  color: #e0e0e0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ═══ 顶部导航 ═══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 19, 0.2);
  padding: 0 20px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: #fff;
}
.navbar .logo span { color: var(--tron-red); }
.navbar .badge {
  background: var(--gradient-main);
  color: #fff; font-size: 11px; padding: 3px 10px;
  border-radius: 20px; font-weight: 600;
}

/* ═══ Hero 区域 ═══ */
.hero {
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 19, 0.08) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero h1 {
  font-size: 36px; font-weight: 800; position: relative;
  background: linear-gradient(135deg, #fff, #ff6b6b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px; line-height: 1.3;
}
.hero .subtitle {
  font-size: 18px; color: #a0a0b8; margin-bottom: 30px; position: relative;
}
.hero .price-tag {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 0, 19, 0.1);
  border: 2px solid var(--tron-red);
  border-radius: 16px; padding: 16px 32px;
  position: relative;
}
.hero .price-tag .amount {
  font-size: 48px; font-weight: 900; color: var(--tron-red);
}
.hero .price-tag .unit {
  font-size: 20px; color: #ff6b6b; font-weight: 600;
}
.hero .price-tag .label {
  font-size: 14px; color: #a0a0b8;
}

/* ═══ 统计条 ═══ */
.stats-bar {
  display: flex; justify-content: center; gap: 40px;
  padding: 20px; margin: 0 20px 40px;
  background: var(--tron-card);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 28px; font-weight: 800; color: var(--tron-green);
}
.stat-item .desc {
  font-size: 13px; color: #888; margin-top: 4px;
}

/* ═══ 功能卡片 ═══ */
.section { padding: 0 20px 50px; max-width: 900px; margin: 0 auto; }
.section-title {
  font-size: 26px; font-weight: 700; color: #fff;
  text-align: center; margin-bottom: 10px;
}
.section-desc {
  font-size: 15px; color: #888; text-align: center; margin-bottom: 30px;
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--tron-card);
  border-radius: 16px; padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.feature-card:hover {
  border-color: rgba(255, 0, 19, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 0, 19, 0.1);
}
.feature-card .icon {
  width: 52px; height: 52px;
  background: rgba(255, 0, 19, 0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #999; line-height: 1.7; }

/* ═══ 对比表格 ═══ */
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--tron-card);
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.compare-table th {
  background: rgba(255, 0, 19, 0.15);
  color: #fff; padding: 16px; font-size: 14px; font-weight: 600;
}
.compare-table td {
  padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 14px; color: #ccc;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight { color: var(--tron-green); font-weight: 700; }
.compare-table .old-price { color: #ff4444; text-decoration: line-through; }

/* ═══ 步骤流程 ═══ */
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--tron-card);
  border-radius: 16px; padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.step .num {
  min-width: 44px; height: 44px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
}
.step h4 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.step p { font-size: 14px; color: #999; line-height: 1.6; }

/* ═══ CTA 按钮 ═══ */
.cta-section {
  text-align: center; padding: 40px 20px 60px;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gradient-main);
  color: #fff; border: none;
  padding: 18px 48px; border-radius: 60px;
  font-size: 20px; font-weight: 700;
  cursor: pointer; position: relative;
  box-shadow: 0 8px 32px rgba(255, 0, 19, 0.3);
  transition: all 0.3s ease;
  animation: glow 2s ease-in-out infinite;
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 48px rgba(255, 0, 19, 0.5);
}
@keyframes glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(255, 0, 19, 0.3); }
  50% { box-shadow: 0 8px 48px rgba(255, 0, 19, 0.5), 0 0 80px rgba(255, 0, 19, 0.15); }
}
.cta-note {
  margin-top: 16px; font-size: 13px; color: #888;
}

/* ═══ FAQ ═══ */
.faq-item {
  background: var(--tron-card);
  border-radius: 12px; margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.faq-q {
  padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: #fff;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '▸'; color: var(--tron-red); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(90deg); }
.faq-a {
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: all 0.3s ease; font-size: 14px; color: #999; line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 20px 18px; max-height: 200px; }

/* ═══ 底部 ═══ */
.footer {
  text-align: center; padding: 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px; color: #555;
}

/* ═══ 弹窗 ═══ */
.modal-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--tron-card);
  border-radius: 24px;
  width: 100%; max-width: 460px;
  border: 1px solid rgba(255, 0, 19, 0.3);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: modalIn 0.4s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  background: var(--gradient-main);
  padding: 24px; text-align: center;
}
.modal-header h2 {
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.modal-header p { color: rgba(255,255,255,0.8); font-size: 14px; margin-top: 6px; }
.modal-body { padding: 28px; }
.address-box {
  background: rgba(0, 0, 0, 0.3);
  border: 2px dashed var(--tron-red);
  border-radius: 14px; padding: 20px;
  text-align: center; margin-bottom: 20px;
}
.address-label {
  font-size: 13px; color: #888; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.address-text {
  font-family: 'Courier New', monospace;
  font-size: 15px; color: var(--tron-gold);
  word-break: break-all; line-height: 1.6;
  letter-spacing: 0.5px; font-weight: 600;
  user-select: all;
}
.copy-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: var(--gradient-main);
  color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
  margin-bottom: 16px;
}
.copy-btn:hover { opacity: 0.9; transform: scale(1.02); }
.copy-btn.copied { background: linear-gradient(135deg, #00d4aa, #00b894); }
.modal-tips {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 10px; padding: 14px;
  font-size: 13px; color: #ccc; line-height: 1.7;
}
.modal-tips li { margin-bottom: 4px; list-style: none; }
.modal-tips li::before { content: '✓ '; color: var(--tron-green); font-weight: 700; }
.close-btn {
  display: block; width: 100%;
  padding: 14px; margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #999; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; font-size: 15px;
  cursor: not-allowed; transition: all 0.3s;
}
.close-btn.enabled {
  cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.close-btn.enabled:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ═══ Toast ═══ */
.toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%);
  background: var(--tron-green); color: #000;
  padding: 12px 28px; border-radius: 30px;
  font-size: 14px; font-weight: 600;
  z-index: 2000; opacity: 0;
  transition: opacity 0.3s;
}
.toast.show { opacity: 1; }

/* ═══ 侧边 Telegram 联系入口 ═══ */
.telegram-float {
  position: fixed;
  top: 50%;
  right: max(14px, env(safe-area-inset-right));
  z-index: 90;
  display: inline-flex;
  min-width: 52px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: #229ed9;
  box-shadow: 0 8px 26px rgba(0, 136, 204, 0.35);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  appearance: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.telegram-float:hover {
  background: #168ac4;
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.48);
  transform: translateY(calc(-50% - 2px));
}
.telegram-float:active { transform: translateY(-50%) scale(0.97); }
.telegram-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.telegram-float[aria-busy="true"] { cursor: wait; opacity: 0.72; pointer-events: none; }
.telegram-float:disabled { cursor: not-allowed; opacity: 0.62; }
.telegram-float svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }

/* ═══ 响应式 ═══ */
@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .hero .price-tag .amount { font-size: 36px; }
  .stats-bar { gap: 20px; }
  .stat-item .num { font-size: 22px; }
  .cta-btn { font-size: 17px; padding: 16px 36px; }
  .address-text { font-size: 13px; }
  .telegram-float { right: max(10px, env(safe-area-inset-right)); max-width: calc(100vw - 20px); min-height: 48px; padding: 10px 13px; border-radius: 999px; }
  .telegram-float span { white-space: nowrap; }
}

/* ═══ Language selector ═══ */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a0a0b8;
  font-size: 12px;
  font-weight: 600;
}
.language-switcher select {
  min-height: 36px;
  padding: 7px 30px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: rgba(22, 33, 62, 0.94);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.language-switcher select:hover { border-color: rgba(255, 215, 0, 0.7); background: rgba(22, 33, 62, 1); }
.language-switcher select:active { border-color: var(--tron-gold); }
.language-switcher select:focus-visible { outline: 2px solid var(--tron-gold); outline-offset: 2px; box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14); }
.language-switcher select:disabled { cursor: not-allowed; opacity: 0.55; }
@media (max-width: 600px) {
  .language-switcher label { display: none; }
  .language-switcher select { min-height: 34px; padding-left: 8px; padding-right: 24px; }
}

/* ═══ Payment records ═══ */
.payment-section { padding-top: 0; }
.payment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.payment-heading .section-title,
.payment-heading .section-desc { text-align: left; }
.payment-heading .section-desc { margin-bottom: 0; max-width: 620px; }
.payment-demo-tag {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 212, 170, 0.34);
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.09);
  color: var(--tron-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.payment-records {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.payment-card {
  padding: 20px;
  background: linear-gradient(145deg, rgba(22, 33, 62, 0.98), rgba(15, 25, 47, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}
.payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.payment-card-head time {
  color: #8f96ab;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}
.payment-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--tron-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.payment-status > span:first-child {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.14);
  font-size: 12px;
}
.payment-details { margin: 0; }
.payment-details > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}
.payment-details > div:last-child { border-bottom: 0; padding-bottom: 0; }
.payment-details dt { color: #8f96ab; font-size: 13px; }
.payment-details dd { margin: 0; color: #dfe5f4; font-size: 13px; text-align: right; }
.payment-details dd strong { color: #21c6e8; font-size: 16px; font-weight: 700; }
.payment-details .payment-address { color: #d8def0; font-family: 'Courier New', monospace; letter-spacing: 0.02em; }
@media (max-width: 700px) {
  .payment-heading { flex-direction: column; gap: 12px; }
  .payment-heading .section-title,
  .payment-heading .section-desc { text-align: center; }
  .payment-heading .section-desc { margin-left: auto; margin-right: auto; }
  .payment-demo-tag { align-self: center; }
  .payment-records { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .payment-card { padding: 16px; }
  .payment-card-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .payment-card-head time { text-align: left; }
  .payment-details dt,
  .payment-details dd { font-size: 12px; }
  .payment-details dd strong { font-size: 15px; }
}
