:root {
  --bg: #f7f8fc;
  --panel: #ffffff;
  --ink: #14152b;
  --muted: #5b5f7a;
  --border: #e4e6f2;
  --accent: #4f46e5;
  --accent-dark: #3730a3;
  --green: #16a34a;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  scroll-behavior: smooth;
}

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

.banner {
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 12px;
}
.banner a { color: #c7d2fe; text-decoration: underline; }

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { font-weight: 800; font-size: 1.2rem; margin-right: auto; }
.brand sup { font-size: 0.6rem; }
.secret-hit { cursor: pointer; }
.navlinks { display: flex; gap: 20px; }
.navlinks a { color: var(--ink); font-size: 0.9rem; font-weight: 500; }
.navlinks a:hover { color: var(--accent); text-decoration: none; }

.btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: #f0f1fa; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: #eef0ff; }
.btn-small { font-size: 0.8rem; padding: 6px 10px; }
.btn-lg { font-size: 1.05rem; padding: 14px 26px; }

.hero {
  text-align: center;
  padding: 80px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  background: #eef0ff;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.hl { color: var(--accent); }
.hero .sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.trustbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.fake-logo { font-weight: 700; color: #9297b3; font-style: italic; }
.asterisk-note { font-style: italic; opacity: 0.6; font-size: 0.7rem; }
.asterisk-note.center { text-align: center; display: block; margin-top: 16px; }

.dash {
  background: var(--accent-dark);
  padding: 40px 20px;
}
.dash-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-label { color: #c7d2fe; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.stat-value { color: #fff; font-size: 2.2rem; font-weight: 800; font-family: var(--mono); }
.stat-value.stat-green { color: #86efac; }
.stat-note { color: #a5b4fc; font-size: 0.75rem; margin-top: 4px; }

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  text-align: left;
}
.sponsor {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.sponsor-logo { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.sponsor p { color: var(--muted); font-size: 0.85rem; margin: 0; line-height: 1.5; }

.features, .pricing, .pay, .sponsors, .testimonials, .cert {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px;
  text-align: center;
}
h2 { font-size: 2rem; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 560px; margin: 0 auto 40px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  text-align: left;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 14px; line-height: 1.5; }

.sparkline { width: 100%; height: 40px; }
.sparkline line { stroke: var(--accent); stroke-width: 2; }

.mini-form { display: flex; gap: 8px; }
.mini-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.85rem;
}

.sync-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; }
.spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chat-bubble {
  background: #f0f1fa;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: inline-block;
}

.toggles { display: flex; gap: 10px; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border); border-radius: 999px; transition: 0.15s;
}
.slider::before {
  content: ""; position: absolute; height: 16px; width: 16px;
  left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.15s;
}
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }

.lock { color: var(--muted); font-size: 0.85rem; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  position: relative;
}
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.plan-tag {
  position: absolute; top: -12px; left: 22px;
  background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.plan h3 { margin: 6px 0 6px; }
.price { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.price span { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: 0.88rem; }
.plan li { margin-bottom: 8px; }
.plan .btn { width: 100%; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; text-align: left; }
.quote {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.quote p { margin: 0 0 14px; line-height: 1.5; }
.who { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

.wallet-result { margin-top: 30px; text-align: left; max-width: 640px; margin-left: auto; margin-right: auto; }
.wallet-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wallet-row { display: flex; flex-direction: column; gap: 6px; }
.wallet-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.wallet-value-row { display: flex; gap: 8px; align-items: center; }
.wallet-value {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.82rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  overflow-wrap: break-word;
  word-break: break-all;
}
.wallet-warning { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin: 18px 0; }
#pay-now { display: block; margin: 0 auto; }

.cert-result { margin-top: 30px; }
#cert-canvas {
  width: 100%;
  max-width: 640px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(20, 21, 43, 0.08);
}
.cert-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px 60px;
  text-align: center;
}
.foot-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.85rem; }
.fine-print { color: var(--muted); font-size: 0.78rem; max-width: 560px; margin: 0 auto; line-height: 1.6; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
  max-width: 90vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 720px) {
  .hero h1 { font-size: 2.1rem; }
  .dash-inner { grid-template-columns: repeat(2, 1fr); }
  .nav { flex-wrap: wrap; gap: 12px; }
  .navlinks { order: 3; width: 100%; justify-content: center; }
}
