:root {
  --blue: #2f6bff;
  --blue-deep: #1f4fd6;
  --blue-soft: #eaf0ff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --dark: #111827;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  --shadow-soft: 0 10px 30px rgba(47, 107, 255, 0.12);
  --container: 1120px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.container.narrow { width: min(720px, calc(100% - 40px)); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.muted { color: var(--muted); margin: 0; }
.amount {
  margin: 4px 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
}
.logo-text.dark { color: var(--ink); }
.logo-mark { display: grid; place-items: center; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a:not(.btn) {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:not(.btn):hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 90px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(255,255,255,0.35), transparent 55%),
    radial-gradient(800px 420px at 90% -20%, rgba(255,255,255,0.28), transparent 50%),
    linear-gradient(160deg, #3b82ff 0%, #2f6bff 45%, #2563eb 100%);
  color: #fff;
  text-align: center;
}
.hero-glow {
  position: absolute;
  inset: auto 10% -120px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 auto 28px;
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.join-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 8px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.18);
}
.join-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.join-form input::placeholder { color: #98a2b3; }
.form-note {
  margin-top: 12px;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.hero-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.9fr;
  gap: 18px;
  margin-top: 56px;
  text-align: left;
  color: var(--ink);
}
.glass-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.card-balance { transform: translateY(18px); }
.card-tx { transform: translateY(-8px); }
.card-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(28px);
}
.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.card-top strong, .card-top small { display: block; }
.card-top small { color: var(--muted); font-size: 0.8rem; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  font-weight: 800;
}
.badge-dot {
  margin-left: auto;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.15);
}
.mini-row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}
.pill-soft {
  background: var(--blue-soft);
  color: var(--blue);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.tx-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.tx-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.tx-list li:last-child { border-bottom: 0; }
.tx-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
}
.tx-icon.blue { background: #e8efff; color: var(--blue); }
.tx-icon.green { background: #e8faf0; color: #16a34a; }
.tx-icon.orange { background: #fff4e8; color: #ea580c; }
.stat-ring {
  position: relative;
  width: 72px; height: 72px;
}
.stat-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Trust */
.trust {
  padding: 48px 0 28px;
  background: var(--bg);
}
.trust-title {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 22px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
  opacity: 0.85;
  filter: grayscale(1);
}

/* Sections */
.section {
  padding: 72px 0;
}
.section h2 {
  margin: 0 auto 28px;
  max-width: 18ch;
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.segmented {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin: 0 auto 34px;
  background: #eef2f7;
  border-radius: 999px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.seg-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.seg-btn.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(16,24,40,0.08);
}

.audience-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(16,24,40,0.04);
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}
.audience-card.side {
  opacity: 0.55;
  transform: scale(0.96);
}
.audience-card.main,
.audience-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.audience-card h3 {
  margin: 14px 0 8px;
  font-size: 1.25rem;
}
.audience-card p { color: var(--muted); margin: 0; }
.icon-box {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
}
.icon-box.blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.icon-box.violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.icon-box.teal { background: linear-gradient(135deg, #5eead4, #0d9488); }
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink);
  font-weight: 600;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 4px var(--blue);
}

/* Rewards / invoice */
.rewards { background: var(--bg-soft); }
.invoice-card {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.invoice-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.invoice-head small {
  display: block;
  color: var(--muted);
}
.amount-lg {
  margin-left: auto;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.invoice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.invoice-grid label span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.invoice-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  color: var(--ink);
}

/* Security */
.secure-map {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  margin-top: 12px;
}
.secure-lines {
  position: absolute;
  inset: 20px 8%;
  width: auto;
  height: auto;
  z-index: 0;
}
.secure-card {
  position: relative;
  z-index: 2;
  width: min(320px, 90%);
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.secure-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.lock {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
}
.node {
  position: absolute;
  z-index: 2;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #dbe6ff;
  display: grid; place-items: center;
  font-weight: 800;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(16,24,40,0.08);
}
.n1 { top: 18px; left: 12%; }
.n2 { top: 18px; right: 12%; }
.n3 { bottom: 18px; left: 12%; }
.n4 { bottom: 18px; right: 12%; }

/* Speed */
.speed { background: var(--bg-soft); }
.speed-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.speed-copy { text-align: left; }
.speed-copy h2 {
  text-align: left;
  margin: 0 0 14px;
  max-width: 14ch;
}
.speed-copy > p {
  color: var(--muted);
  max-width: 42ch;
}
.feature-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.feature-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 700;
}
.fp-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #dff7ea;
  color: #16a34a;
}

.phone-mock { display: flex; justify-content: center; }
.phone {
  width: min(300px, 100%);
  background: #111827;
  border-radius: 36px;
  padding: 18px 16px 22px;
  box-shadow: 0 30px 60px rgba(16,24,40,0.28);
  color: #fff;
}
.phone-notch {
  width: 96px; height: 10px;
  border-radius: 999px;
  background: #374151;
  margin: 4px auto 18px;
}
.virtual-card {
  background: linear-gradient(135deg, #60a5fa, #2563eb 55%, #1d4ed8);
  border-radius: 18px;
  padding: 18px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.virtual-card strong {
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}
.phone-balance {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px;
  margin-top: 14px;
}
.phone-balance .amount { color: #fff; font-size: 1.5rem; }
.phone-balance .muted { color: #9ca3af; }
.success-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #d1d5db;
}
.ok-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* CTA */
.cta {
  padding: 80px 0;
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(255,255,255,0.28), transparent 55%),
    linear-gradient(160deg, #3b82ff, #2563eb);
  color: #fff;
  text-align: center;
}
.cta h2 {
  margin: 0 auto 24px;
  max-width: 16ch;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand p {
  color: var(--muted);
  max-width: 32ch;
  margin: 14px 0 0;
}
.site-footer h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin: 8px 0; }
.site-footer li a { color: var(--muted); }
.site-footer li a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }
  .card-stat { grid-column: 1 / -1; transform: none; }
  .card-balance, .card-tx { transform: none; }
  .audience-stage { grid-template-columns: 1fr; }
  .audience-card.side { opacity: 1; transform: none; display: none; }
  .audience-card.side.active,
  .audience-card.main.active { display: block; }
  .speed-grid { grid-template-columns: 1fr; }
  .speed-copy, .speed-copy h2 { text-align: center; }
  .speed-copy > p { margin-inline: auto; }
  .feature-points { display: grid; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .secure-lines { display: none; }
  .node { position: static; margin: 8px; }
  .secure-map {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    min-height: 0;
  }
  .secure-card { order: -1; width: 100%; margin-bottom: 8px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(17, 24, 39, 0.96);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) {
    padding: 10px 12px;
    border-radius: 10px;
  }
  .site-nav .btn { width: 100%; }

  .hero { padding: 108px 0 64px; }
  .hero-cards { grid-template-columns: 1fr; margin-top: 36px; }
  .join-form {
    flex-direction: column;
    border-radius: 22px;
    padding: 12px;
  }
  .join-form .btn { width: 100%; }
  .invoice-grid { grid-template-columns: 1fr; }
  .invoice-head { flex-wrap: wrap; }
  .amount-lg { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .segmented {
    width: min(100%, 360px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .seg-btn { padding: 10px 8px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .audience-card { transition: none; }
}
