/* SendNaira — Tactical Matrix design system.
   Apple minimalism × Matrix digital × military HUD. Pitch black canvas,
   electric neon green, monospaced technical type. */

:root {
  --bg:        #000000;
  --bg-raise:  #050505;
  --neon:      #00FF66;
  --neon-2:    #00FF41;
  --olive:     #223A25;   /* borders */
  --olive-dim: #1E2E21;   /* faint fills */
  --slate:     #6f8a74;   /* secondary text */
  --ink-dim:   #9fbfa6;
  --glow:      0 0 10px rgba(0, 255, 102, 0.55);
  --glow-soft: 0 0 24px rgba(0, 255, 102, 0.18);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: 'Space Grotesk', var(--mono);
  --edge: 1px solid var(--olive);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* — matrix rain canvas + grid + scanline, all decorative — */
#rain { position: fixed; inset: 0; z-index: 0; opacity: 0.30; pointer-events: none; }
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,255,102,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,102,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 85%);
}
.scanline {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background: linear-gradient(rgba(0,0,0,0) 50%, rgba(0,255,102,0.02) 50%);
  background-size: 100% 4px;
}

.wrap { position: relative; z-index: 2; width: min(1120px, 92vw); margin-inline: auto; }

/* — currency / key-number glow utility — */
.cur, .glow {
  color: var(--neon);
  text-shadow: var(--glow);
}

/* — nav — */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; 
}
.brand {
  font-family: var(--mono); font-weight: 800; font-size: 20px; letter-spacing: -0.5px;
  color: var(--neon); text-shadow: var(--glow); text-decoration: none;
}
.brand .caret { animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--slate); text-decoration: none; font-size: 14px; transition: color .3s, text-shadow .3s; }
.nav-links a:hover { color: var(--neon); text-shadow: var(--glow); }

/* — buttons — */
.btn {
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  border-radius: 4px; transition: all .3s ease; white-space: nowrap;
}
.btn-ghost {
  padding: 10px 16px; color: var(--neon); border: 1px solid var(--olive);
  background: rgba(0,255,102,0.02);
}
.btn-ghost:hover { border-color: var(--neon); box-shadow: var(--glow-soft); text-shadow: var(--glow); }
.btn-solid {
  padding: 15px 22px; color: #000; background: var(--neon);
  border: 1px solid var(--neon); box-shadow: var(--glow-soft);
}
.btn-solid:hover { background: var(--neon-2); box-shadow: 0 0 30px rgba(0,255,102,0.5); }
.btn-solid:active { transform: translateY(1px); }

/* — HUD corner brackets — */
.hud { position: relative; }
.corner { position: absolute; width: 14px; height: 14px; pointer-events: none; }
.corner.tl { top: -1px; left: -1px; border-top: 2px solid var(--neon); border-left: 2px solid var(--neon); }
.corner.tr { top: -1px; right: -1px; border-top: 2px solid var(--neon); border-right: 2px solid var(--neon); }
.corner.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--neon); border-left: 2px solid var(--neon); }
.corner.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--neon); border-right: 2px solid var(--neon); }

/* — hero — */
.hero { padding: 7vh 0 6vh; max-width: 760px; }
.badge {
  display: inline-block; font-size: 12px; letter-spacing: 0.14em; color: var(--neon);
  border: 1px solid var(--olive); padding: 7px 12px; border-radius: 3px;
  background: rgba(0,255,102,0.03); text-shadow: var(--glow); margin-bottom: 30px;
}
.display {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(58px, 12vw, 132px); line-height: 0.92; letter-spacing: -0.03em;
  color: #eafff0; margin-bottom: 28px;
}
.sub {
  font-size: clamp(16px, 2.2vw, 20px); color: var(--slate); max-width: 46ch;
  line-height: 1.5; margin-bottom: 38px;
}

/* — access form — */
.access { max-width: 560px; }
.field {
  display: flex; gap: 10px; padding: 8px; border: var(--edge);
  background: var(--bg-raise); border-radius: 6px; transition: all .3s;
}
.field:focus-within { border-color: var(--neon); box-shadow: var(--glow-soft); }
.field input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
  color: #eafff0; font-family: var(--mono); font-size: 15px; padding: 0 12px;
}
.field input::placeholder { color: #3f5a45; }
.micro { margin-top: 14px; font-size: 12.5px; color: var(--slate); letter-spacing: 0.03em; }

/* — dashboard — */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 3vh 0 5vh; }
.panel {
  border: var(--edge); background: var(--bg-raise); border-radius: 6px;
  padding: 22px 24px 26px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.16em; color: var(--slate); margin-bottom: 20px;
}
.tag { color: var(--neon); text-shadow: var(--glow); }
.tag.live { color: var(--slate); }
.tag.live.on { color: var(--neon); text-shadow: var(--glow); }

.count { display: flex; align-items: baseline; gap: 8px; }
.count > div { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.count b {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.5vw, 56px);
  color: var(--neon); text-shadow: var(--glow); font-variant-numeric: tabular-nums; line-height: 1;
}
.count span { font-size: 10px; letter-spacing: 0.15em; color: var(--slate); margin-top: 8px; }
.count .sep {
  font-family: var(--display); font-size: clamp(28px, 4.5vw, 46px); color: var(--olive);
  font-style: normal; align-self: flex-start; margin-top: 2px;
}

.ticker { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ticker .cur { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3.4vw, 32px); }
.ticker .eq { font-size: 22px; color: var(--olive); }
.ticker-note { margin-top: 14px; font-size: 12.5px; color: var(--slate); }

/* — capabilities — */
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 2vh 0 7vh; }
.cap {
  border: var(--edge); background: var(--bg-raise); border-radius: 6px; padding: 30px 28px 34px;
  transition: all .3s;
}
.cap:hover { border-color: var(--olive); box-shadow: var(--glow-soft); transform: translateY(-2px); }
.cap-tag { font-size: 11px; letter-spacing: 0.12em; color: var(--neon); text-shadow: var(--glow); margin-bottom: 22px; }
.cap h2 { font-family: var(--display); font-weight: 700; font-size: 28px; color: #eafff0; margin-bottom: 12px; letter-spacing: -0.01em; }
.cap p { font-size: 15px; color: var(--slate); line-height: 1.6; max-width: 40ch; }

/* — footer — */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 30px 0 46px; border-top: var(--edge); font-size: 12.5px; color: var(--slate); flex-wrap: wrap;
}
.foot a { color: var(--neon); text-decoration: none; text-shadow: var(--glow); }

/* — FAQ page — */
.page-head { padding: 6vh 0 2vh; }
.page-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 8vw, 76px); color: #eafff0; letter-spacing: -0.02em; }
.page-head p { color: var(--slate); margin-top: 10px; }
.faqs { display: grid; gap: 14px; padding-bottom: 6vh; }
.faq {
  border: var(--edge); background: var(--bg-raise); border-radius: 6px; padding: 22px 24px;
  transition: all .3s;
}
.faq:hover { border-color: var(--olive); box-shadow: var(--glow-soft); }
.faq .q { display: flex; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 18px; color: #eafff0; margin-bottom: 8px; }
.faq .q i { color: var(--neon); text-shadow: var(--glow); font-style: normal; }
.faq .a { font-size: 15px; color: var(--slate); line-height: 1.6; }

/* — responsive — */
@media (max-width: 780px) {
  .dash, .caps { grid-template-columns: 1fr; }
  .count > div { min-width: 46px; }
  .nav { padding: 20px 0; }
  .hero { padding: 5vh 0 4vh; }
}
@media (max-width: 560px) {
  .field { flex-direction: column; }
  .btn-solid { text-align: center; }
}
@media (max-width: 460px) {
  .count { gap: 4px; }
  .count > div { min-width: 40px; }
  .badge { font-size: 10.5px; letter-spacing: 0.08em; white-space: normal; }
  .display { font-size: clamp(52px, 17vw, 80px); }
}

/* — accessibility: honour reduced motion — */
@media (prefers-reduced-motion: reduce) {
  #rain, .scanline { display: none; }
  .brand .caret { animation: none; }
  * { transition: none !important; }
}
