:root {
  --bg: #0a0e1a;
  --bg-alt: #0d1326;
  --surface: #131a2e;
  --surface-2: #1a2338;
  --border: #232b42;
  --border-soft: #1a2138;
  --blue: #2f6fed;
  --blue-hover: #4a83f5;
  --blue-light: #5b9bff;
  --blue-dim: #16233f;
  --text1: #f4f6fb;
  --text2: #98a2c0;
  --text3: #6b7690;
  --green: #22c55e;
  --green-dim: #0f2a1c;
  --red: #ef4444;
  --red-dim: #2a1414;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text1);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 650;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text1);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text3); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ---------- Header / Nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { width: 34px; height: 34px; }

.brand-text { line-height: 1.15; }
.brand-name { font-size: 13.5px; font-weight: 800; letter-spacing: 0.01em; }
.brand-rc { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--text3); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a {
  font-size: 14px;
  font-weight: 550;
  color: var(--text2);
  transition: color 0.15s ease;
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--text1); }
nav.main-nav a.active { color: var(--text1); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  color: var(--text1);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  header.site-header { position: sticky; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    padding: 4px 32px 12px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
  nav.main-nav a:last-child { border-bottom: none; }
  nav.main-nav a.active::after { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Eyebrow / labels ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--blue-dim);
  color: var(--blue-light);
  border: 1px solid rgba(91, 155, 255, 0.25);
  margin-bottom: 24px;
}

/* ---------- Headings ---------- */

h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.01em; }

h1 { font-size: 48px; font-weight: 800; line-height: 1.08; }
h2 { font-size: 34px; font-weight: 800; line-height: 1.15; }
h3 { font-size: 18px; font-weight: 700; }

.section-lede {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 58ch;
  margin: 18px 0 0;
}

@media (max-width: 720px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
}

/* ---------- Section shell ---------- */

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
section.border-top { border-top: 1px solid var(--border-soft); }
section.alt-bg { background: var(--bg-alt); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-dim);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--text2); line-height: 1.6; margin: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--blue-light);
  margin-top: 16px;
}

/* ---------- Grids ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Stats bar ---------- */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 56px;
}

.stat-cell {
  padding: 26px 24px;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.stat-cell:last-child { border-right: none; }

.stat-num {
  font-size: 27px;
  font-weight: 800;
  color: var(--text1);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text3);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
}

/* ---------- CTA banner ---------- */

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--blue-dim), var(--surface));
  border: 1px solid rgba(91, 155, 255, 0.2);
  border-radius: 14px;
  padding: 32px 36px;
  margin-top: 64px;
}
.cta-banner h3 { font-size: 20px; margin: 0; }

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 28px;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 0 16px;
}

.footer-col a, .footer-col span {
  display: block;
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 11px;
}
.footer-col a:hover { color: var(--text1); }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0;
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text3);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============ HOME PAGE ============ */

.hero-section { padding: 76px 0 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: 22px; }
.hero-copy h1 .accent { color: var(--blue-light); text-decoration: underline; text-decoration-color: rgba(91,155,255,0.35); text-underline-offset: 6px; }
.hero-copy p.section-lede { margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Dashboard mockup */
.dash-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 30px 80px -30px rgba(47,111,237,0.25);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.dash-titlebar .dt-label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; }
.dash-live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--green); }
.dash-live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }

.dash-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }

.dash-section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--text3); text-transform: uppercase; margin-bottom: 10px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.dash-stat { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 10px; }
.dash-stat .ds-label { font-size: 9.5px; color: var(--text3); margin-bottom: 5px; }
.dash-stat .ds-val { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dash-stat .ds-delta { font-size: 9.5px; margin-top: 3px; font-weight: 650; }
.ds-delta.up { color: var(--green); }
.ds-delta.down { color: var(--red); }

.dash-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.dash-card:last-child { margin-bottom: 0; }

.spark { width: 100%; height: 44px; display: block; }

.bank-list-row, .txn-list-row, .pay-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 11.5px;
  border-bottom: 1px solid var(--border-soft);
}
.bank-list-row:last-child, .txn-list-row:last-child, .pay-list-row:last-child { border-bottom: none; }
.bl-name { display: flex; align-items: center; gap: 6px; color: var(--text2); }
.bl-name .bl-dot { width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.bl-count { font-weight: 700; font-variant-numeric: tabular-nums; }

.txn-status { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.txn-status.ok { background: var(--green-dim); color: var(--green); }
.txn-status.fail { background: var(--red-dim); color: var(--red); }

.dash-view-all { font-size: 11px; color: var(--blue-light); font-weight: 650; margin-top: 10px; display: inline-block; }

.net-status-pill { display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color: var(--green); }
.net-status-pill::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--green); }

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-top: 88px;
}
.feature-cell {
  padding: 32px 28px;
  border-right: 1px solid var(--border-soft);
  display: flex;
  gap: 14px;
}
.feature-cell:last-child { border-right: none; }
.feature-cell .fc-icon { width: 20px; height: 20px; color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.feature-cell h4 { font-size: 14.5px; font-weight: 700; margin: 0 0 4px; }
.feature-cell p { font-size: 13px; color: var(--text3); margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature-cell:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-cell { border-right: none !important; border-bottom: 1px solid var(--border-soft); }
}

/* Trust bar */
.trust-bar { padding: 40px 0; background: linear-gradient(135deg, #0d1a3c, #0a1230); text-align: center; }
.trust-bar p { font-size: 13.5px; color: var(--text2); margin: 0 0 26px; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.trust-logo-chip { background: #fff; border-radius: 8px; padding: 8px 14px; display: flex; align-items: center; height: 26px; }
.trust-logo-chip img { height: 100%; width: auto; object-fit: contain; }
.trust-logos span { font-size: 13px; color: var(--text3); }

@media (max-width: 720px) {
  .dash-body { grid-template-columns: 1fr; }
}

/* ============ ABOUT PAGE ============ */

.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 76px 0 0; }
@media (max-width: 980px) { .about-hero { grid-template-columns: 1fr; } }

.globe-wrap { position: relative; aspect-ratio: 1.3/1; }
.globe-wrap svg { width: 100%; height: 100%; }

/* ============ INDUSTRY / SOLUTION shared ============ */

.icon-sq {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-dim);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-sq svg { width: 22px; height: 22px; }

/* ============ CONTACT PAGE ============ */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 76px 0 0; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 650; color: var(--text2); margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text1);
  font-family: inherit;
  font-size: 14px;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.contact-info-item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-info-item .cii-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--blue-dim);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .cii-icon svg { width: 18px; height: 18px; }
.contact-info-item h4 { font-size: 13.5px; margin: 0 0 4px; color: var(--text3); font-weight: 650; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-info-item p { margin: 0; font-size: 15px; font-weight: 600; }

.map-placeholder {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
