/* ============================================================
   AIRPUMPR — Light, clean, getipo.fun-style with green pill vibes
   ============================================================ */

:root {
  --bg: #f5f9f4;
  --panel: #ffffff;
  --ink: #0d1f12;
  --ink-mid: #4a6852;
  --ink-dim: #6b8474;
  --line: #d8e8dd;
  --line-2: #b8d4c0;

  --green-deep: #0d4d1f;
  --green-mid: #1a8c3a;
  --green: #22c55e;
  --green-bright: #2dd64f;
  --green-soft: #c6f6d5;
  --green-tint: #e8f7eb;

  --accent-pink: #ff7eb9;
  --accent-teal: #34d6c4;

  --r: 14px;
  --shadow-sm: 0 2px 6px rgba(13,40,24,0.08);
  --shadow-md: 0 12px 32px rgba(13,40,24,0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; letter-spacing: 0.02em;
}
.brand-logo {
  height: 36px; width: 36px; object-fit: cover; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
}
.brand-name { font-size: 18px; }
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-mid);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--green-mid); }
.topbar-cta { display: flex; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-weight: 700; font-size: 14px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.18s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); border-color: var(--green); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-primary {
  background: var(--green-bright);
  color: #04140a;
  border-color: var(--green-bright);
}
.btn-primary:hover { background: var(--green); border-color: var(--green); }
.btn-ghost {
  background: #ffffff; color: var(--ink);
}

/* ---------- Main ---------- */
main { max-width: 1200px; margin: 0 auto; padding: 40px 24px 60px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 56px;
}
.hero-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--green-mid);
  background: var(--green-tint);
  border: 2px solid var(--green-soft);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: 56px; line-height: 1.05;
  letter-spacing: -0.03em; font-weight: 900;
  margin: 0 0 18px;
  color: var(--ink);
}
.hero-title .hl {
  background: var(--green-soft);
  padding: 2px 10px; border-radius: 8px;
  color: var(--green-deep);
}
.hero-sub {
  font-size: 17px; color: var(--ink-mid);
  max-width: 520px; margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-size: 26px; font-weight: 900; color: var(--green-deep);
  letter-spacing: -0.01em;
}
.stat-lbl { font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }

.hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-art {
  width: 280px; height: 280px;
  border-radius: 24px;
  background: #ffffff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
  position: relative; z-index: 2;
}
.hero-art-glow {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--green-soft);
  z-index: 1;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ---------- Sections ---------- */
section { padding: 48px 0; }
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: 32px; letter-spacing: -0.02em; font-weight: 900;
  margin: 0 0 6px;
}
.section-sub { color: var(--ink-mid); margin: 0; font-size: 15px; }

/* ---------- Receive (single-token basket) ---------- */
.basket {
  display: flex; justify-content: center;
}
.basket-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 28px 32px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
}
.basket-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  font-weight: 900; font-size: 14px; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.basket-icon.pump {
  background: var(--green-bright); color: #04140a;
  border: 2px solid var(--green-deep);
}
.basket-name { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.basket-pct { color: var(--green-mid); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; }
.basket-desc { color: var(--ink-mid); font-size: 14px; margin-top: 10px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.step {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.step:hover { border-color: var(--green); transform: translateY(-3px); }
.step-n {
  font-size: 12px; font-weight: 900; letter-spacing: 0.15em;
  color: var(--green-mid);
  background: var(--green-tint);
  display: inline-block; padding: 4px 9px; border-radius: 6px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-mid); font-size: 14px; }

/* ---------- Check wallet ---------- */
.check { padding-top: 24px; padding-bottom: 24px; }
.check-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 28px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.check-head h2 {
  font-size: 24px; letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.check-head p {
  margin: 0 0 22px;
  color: var(--ink-mid); font-size: 14px;
}
.check-form {
  display: flex; gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}
.check-input {
  flex: 1 1 320px;
  min-width: 0;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.check-input:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.check-input::placeholder { color: var(--ink-dim); font-family: inherit; }
.check-btn { flex: 0 0 auto; padding-left: 26px; padding-right: 26px; }

.check-result {
  margin-top: 18px;
  min-height: 0;
  font-size: 14px;
}
.check-result.success,
.check-result.error {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
  text-align: left;
  animation: result-pop 0.35s ease;
}
.check-result.success {
  background: var(--green-tint);
  border: 2px solid var(--green-soft);
  color: var(--green-deep);
}
.check-result.error {
  background: #fdecec;
  border: 2px solid #f5b4b4;
  color: #8a1b1b;
}
.check-result .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-weight: 900; font-size: 14px; flex-shrink: 0;
}
.check-result.success .badge {
  background: var(--green-bright); color: #04140a;
  border: 2px solid var(--green-deep);
}
.check-result.error .badge {
  background: #f5b4b4; color: #8a1b1b;
  border: 2px solid #8a1b1b;
}
.check-result .msg-title { font-weight: 800; font-size: 14px; }
.check-result .msg-sub { font-size: 13px; opacity: 0.85; margin-top: 2px; }
.check-result .msg-sub .addr-mini {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.6);
  padding: 1px 6px; border-radius: 4px;
  margin-left: 4px;
}
@keyframes result-pop {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Eligibility / Flywheel ---------- */
.elig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.elig-card {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
}
.elig-head {
  font-size: 11px; font-weight: 900; letter-spacing: 0.2em;
  color: var(--green-mid);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.elig-list { padding-left: 20px; margin: 0; color: var(--ink-mid); }
.elig-list li { margin-bottom: 10px; font-size: 15px; }
.elig-list li strong { color: var(--ink); }

/* ---------- Live distributions ---------- */
.dist .section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 12px;
}
.dist-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-tint);
  border: 2px solid var(--green-soft);
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; color: var(--green-mid); font-weight: 700;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-bright);
  display: inline-block;
}
.dot.pulse { animation: dot-pulse 1.4s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--green-bright); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

.dist-table-wrap {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.dist-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.dist-table thead th {
  text-align: left;
  padding: 14px 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  background: var(--green-tint);
  border-bottom: 2px solid var(--line);
  font-weight: 800;
}
.dist-table thead th.num { text-align: right; }
.dist-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.dist-table tbody td.num { text-align: right; font-weight: 800; color: var(--green-deep); }
.dist-table tbody tr:hover { background: var(--green-tint); }
.dist-table tbody tr:last-child td { border-bottom: none; }
.dist-table tbody tr.fresh {
  animation: row-flash 1s ease;
}
@keyframes row-flash {
  0%   { background: var(--green-soft); }
  100% { background: transparent; }
}
.addr-mini {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--ink-mid);
}
.tier-pill {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  padding: 3px 9px; border-radius: 999px;
  border: 2px solid currentColor;
}
.tier-pill.t1 { color: #6b8474; }
.tier-pill.t2 { color: #3a8c5a; }
.tier-pill.t3 { color: #1a8c3a; }
.tier-pill.t4 { color: var(--green-deep); background: var(--green-soft); }
.tx-link { color: var(--green-mid); font-weight: 700; font-size: 12px; }
.tx-link:hover { text-decoration: underline; }

/* ---------- Whitepaper ---------- */
.paper-body {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 32px 36px;
  max-width: 880px; margin: 0 auto;
}
.paper-body h3 {
  font-size: 17px; margin: 22px 0 8px;
  letter-spacing: -0.01em;
}
.paper-body h3:first-child { margin-top: 0; }
.paper-body p { margin: 0; color: var(--ink-mid); font-size: 15px; }
.paper-body strong { color: var(--ink); }

.paper-pill {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--green-tint);
  border: 2px solid var(--green-soft);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 14px 0 8px;
}
.paper-label {
  font-size: 11px; font-weight: 900; letter-spacing: 0.12em;
  color: var(--green-mid); text-transform: uppercase;
}
.addr {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px; color: var(--green-deep);
  word-break: break-all;
  flex: 1 1 240px;
}
.copy-mini {
  background: var(--green-bright); color: #04140a;
  border: 2px solid var(--green-deep);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}
.copy-mini:hover { background: var(--green); }
.addr-link {
  font-size: 12px; font-weight: 700;
  color: var(--green-mid);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 30px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 14px; color: var(--ink-mid); }
.footer-links a:hover { color: var(--green-mid); }
.footer-disc {
  flex-basis: 100%;
  text-align: center;
  margin: 8px 0 0;
  color: var(--ink-dim); font-size: 12px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-deep); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  box-shadow: var(--shadow-md);
}
.toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 24px 0 40px; }
  .hero-title { font-size: 38px; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-right { order: -1; }
  .hero-art { width: 200px; height: 200px; }
  .hero-art-glow { width: 240px; height: 240px; }
  .elig { grid-template-columns: 1fr; }
  .nav { display: none; }
  .section-head h2 { font-size: 26px; }
  .dist-table thead th, .dist-table tbody td { padding: 10px 12px; }
  .dist-table thead th:nth-child(3), .dist-table tbody td:nth-child(3) { display: none; }
}
@media (max-width: 520px) {
  .topbar-cta .btn { padding: 8px 12px; font-size: 13px; }
  .brand-name { display: none; }
  .hero-title { font-size: 30px; }
  .paper-body { padding: 22px; }
}
