:root {
  --bg: #f5f6f8;
  --card: #fff;
  --text: #1a1d21;
  --muted: #5c6570;
  --primary: #16a34a;
  --primary-hover: #15803d;
  --border: #e2e6ea;
  --danger: #b42318;
  --neon: #39FF14;
  --dark-bg: #0a0d14;
  --dark-surface: #111827;
  --dark-border: #1f2937;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ── Header (light pages) ── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
nav a { margin-left: 20px; font-size: 0.92rem; color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}
.card h2 { margin-top: 0; font-size: 1.1rem; font-weight: 700; }
.card h3 { margin-top: 0; font-size: 1rem; font-weight: 700; }

/* ── Forms ── */
label { display: block; font-size: 0.88rem; margin-bottom: 5px; color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.97rem;
  margin-bottom: 15px;
  background: #fff;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── Buttons ── */
button, .btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 11px 22px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}
button:hover, .btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
button.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 500;
}
button.secondary:hover { background: #f5f5f5; transform: none; }
button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ── Alerts ── */
.msg {
  padding: 12px 15px;
  border-radius: 9px;
  margin-bottom: 16px;
  font-size: 0.93rem;
}
.msg.ok { background: #e8f5ef; color: #145a3a; border: 1px solid #a7f3c0; }
.msg.err { background: #fdecec; color: var(--danger); border: 1px solid #fca5a5; }
.msg.info { background: #eef4ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { border-bottom: 1px solid var(--border); padding: 10px 8px; text-align: left; vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  background: #dcfce7;
  color: #15803d;
}

/* ── Misc ── */
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: 10px; line-height: 1.7; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
footer {
  margin-top: 48px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 2;
}

/* ── Dark Hero (index only) ── */
.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
}
.site-nav .brand {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.site-nav .brand span { color: var(--neon); }
.site-nav .nav-links a {
  margin-left: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav .nav-links a:hover { color: #fff; }
.site-nav .nav-links .nav-cta {
  background: var(--neon);
  color: #000;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
}
.site-nav .nav-links .nav-cta:hover { background: #fff; text-decoration: none; }

.hero-dark {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  padding: 80px 24px 100px;
  text-align: center;
}
.hero-dark::before {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(57,255,20,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-dark .hero-tag {
  display: inline-block;
  background: rgba(57,255,20,0.12);
  color: var(--neon);
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.hero-dark h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.hero-dark h1 .neon { color: var(--neon); }
.hero-dark .hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-dark .hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-neon {
  display: inline-block;
  background: var(--neon);
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-neon:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(57,255,20,0.4); text-decoration: none; }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: #fff; text-decoration: none; }

/* ── Content sections on index ── */
.index-content { background: var(--bg); }
.section { max-width: 960px; margin: 0 auto; padding: 56px 24px; }
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--muted); margin: 0 0 32px; font-size: 0.95rem; }

/* ── Scam vs Real comparison ── */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.compare-card {
  border-radius: 14px;
  padding: 22px;
}
.compare-card.bad {
  background: #fff5f5;
  border: 1px solid #fecaca;
}
.compare-card.good {
  background: #f0fdf4;
  border: 1px solid #86efac;
}
.compare-card h4 { margin: 0 0 14px; font-size: 0.92rem; font-weight: 700; }
.compare-card.bad h4 { color: #b91c1c; }
.compare-card.good h4 { color: #15803d; }
.compare-card ul { margin: 0; padding-left: 1.2em; }
.compare-card li { font-size: 0.88rem; line-height: 1.8; color: #374151; }

/* ── How it works steps ── */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 24px; }
.how-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.how-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--dark-bg);
  color: var(--neon);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 12px;
}
.how-step h4 { margin: 0 0 6px; font-size: 0.92rem; font-weight: 700; }
.how-step p { margin: 0; font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ── Sample table on index ── */
.sample-wrap { background: var(--dark-surface); border-radius: 14px; padding: 20px; overflow-x: auto; }
.sample-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.sample-table th { color: rgba(255,255,255,0.4); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 12px; border-bottom: 1px solid #1f2937; }
.sample-table td { color: rgba(255,255,255,0.85); padding: 10px 12px; border-bottom: 1px solid #1a2234; }
.sample-table tr:last-child td { border-bottom: none; }
.sample-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 0.75rem; font-weight: 700; background: rgba(57,255,20,0.12); color: var(--neon); border: 1px solid rgba(57,255,20,0.25); }

/* ── Footer dark on index ── */
.footer-dark {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 32px 24px;
  text-align: center;
}
.footer-dark .brand { font-weight: 900; color: #fff; font-size: 1rem; }
.footer-dark .brand span { color: var(--neon); }
.footer-dark p { color: rgba(255,255,255,0.35); font-size: 0.82rem; margin: 8px 0 0; line-height: 1.9; }

/* ── App page header ── */
.app-header {
  background: var(--dark-bg);
  border-bottom: 1px solid var(--dark-border);
  padding: 0;
  margin-bottom: 0;
}
.app-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-brand { font-weight: 900; color: #fff; font-size: 1rem; letter-spacing: -0.02em; }
.app-brand span { color: var(--neon); }
.app-brand small { font-weight: 400; color: rgba(255,255,255,0.4); font-size: 0.78rem; margin-left: 8px; }
.app-nav a { color: rgba(255,255,255,0.55); font-size: 0.88rem; text-decoration: none; margin-left: 16px; }
.app-nav a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-dark { padding: 60px 20px 80px; }
  .section { padding: 40px 16px; }
}
