:root {
  --afro-navy: #0b1f3a;
  --afro-blue: #1f4fa3;
  --afro-gold: #f6c544;
  --afro-bg: #f7f9fc;
  --afro-soft: #eef4fb;
  --afro-text: #0f172a;
  --afro-muted: #475569;
  --afro-border: #dbe4f0;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--afro-bg);
  color: var(--afro-text);
  line-height: 1.6;
}

body,
h1,
h2,
h3,
h4,
p,
a,
button,
input,
select,
textarea,
label,
li,
td,
th,
div,
span,
strong,
small {
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  cursor: pointer;
}

.site-header {
  background: var(--afro-navy);
  color: white;
  padding: 18px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand img {
  height: 54px;
  width: auto;
}

.brand strong {
  color: white;
  font-size: 20px;
  line-height: 1;
}

.brand span {
  color: var(--afro-gold);
}

.brand small {
  color: white;
  font-size: 15px;
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.navlink,
.footerlink {
  color: white;
  font-size: 15px;
  font-weight: 700;
  opacity: 0.9;
}

.navlink.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.navlink:hover,
.footerlink:hover {
  opacity: 1;
  text-decoration: underline;
}

.btn {
  background: var(--afro-gold);
  color: var(--afro-navy);
  padding: 12px 18px;
  border-radius: 11px;
  font-weight: 800;
  border: none;
  display: inline-block;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}

.btn.dark {
  background: var(--afro-navy);
  color: white;
}

.hero {
  background: var(--afro-navy);
  color: white;
  text-align: center;
  padding: 92px 20px;
  transition: background 0.5s ease;
}

.hero-default {
  background: var(--afro-navy) !important;
}

.hero-nigeria {
  background: #173b6d !important;
}

.hero-ghana {
  background: #1f4fa3 !important;
}

.hero-botswana {
  background: #244d3a !important;
}

.hero h1 {
  color: white;
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero p {
  color: white;
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
}

#heroKicker,
.kicker {
  color: var(--afro-gold);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 52px 20px;
}

.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

h1,
h2,
h3,
h4 {
  color: var(--afro-navy);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
}

h3 {
  font-size: 20px;
  font-weight: 800;
}

p {
  font-size: 15.5px;
  line-height: 1.7;
}

.muted {
  color: var(--afro-muted);
  line-height: 1.7;
}

/* Preview Section */
.preview-section {
  background: var(--afro-soft);
  padding: 56px 20px;
  border-bottom: 1px solid var(--afro-border);
  overflow: hidden;
}

.preview-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.preview-layout > div,
.preview-panel,
.chart-card,
.table-card,
.signal-card,
.comparison-note-card {
  min-width: 0;
}

.preview-layout h2 {
  font-size: 34px;
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 16px;
}

.preview-layout .muted {
  font-size: 15.5px;
  line-height: 1.75;
}

.preview-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 22px;
  max-width: 560px;
}

.preview-controls label {
  margin-right: 4px;
  font-weight: 800;
  color: var(--afro-navy);
  white-space: nowrap;
}

.preview-controls select {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: white;
  font-size: 14px;
}

.preview-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  max-width: 600px;
}

.preview-section .hero-actions .btn {
  min-width: 240px;
}

.preview-panel {
  background: white;
  border: 1px solid var(--afro-border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.1);
  overflow: hidden;
  width: 100%;
}

.preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.preview-topbar strong {
  font-size: 20px;
  color: var(--afro-navy);
}

.preview-subtitle {
  font-size: 14px;
  color: #64748b;
}

.risk-badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.risk-stable {
  background: #e8f7ee;
  color: #1f8f4e;
}

.risk-watch {
  background: #fff7db;
  color: #8a6400;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
  min-width: 0;
}

.metric-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748b;
  text-transform: uppercase;
}

.metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--afro-navy);
  margin-top: 8px;
}

.metric-note {
  font-size: 12px;
  color: #64748b;
}

.snapshot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.snapshot-right {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.chart-card,
.table-card,
.signal-card,
.comparison-note-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px;
}

.comparison-note-card {
  margin-top: 14px;
}

.chart-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--afro-navy);
  margin-bottom: 10px;
}

.line-chart-wrap {
  background: linear-gradient(180deg, #fbfdff, #f4f8fc);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

.line-chart {
  width: 100%;
  height: 150px;
  display: block;
}

.trend-dot {
  fill: var(--afro-gold);
  stroke: var(--afro-navy);
  stroke-width: 2;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.preview-table td {
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
  word-break: break-word;
}

.preview-table td:last-child {
  text-align: right;
  font-weight: 800;
  color: var(--afro-navy);
}

.signal-list {
  display: grid;
  gap: 8px;
}

.signal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
}

.signal-pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.signal-strong {
  background: #e8f7ee;
  color: #1f8f4e;
}

.signal-watch {
  background: #fff7db;
  color: #8a6400;
}

.signal-stable {
  background: #eef4ff;
  color: #1d4ed8;
}

.comparison-note {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Cards */
.serve-flow,
.pricing-grid,
.advisory-journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.serve-item,
.advisory-step,
.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.serve-icon,
.advisory-step-number {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--afro-navy), #2b5ca8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Why */
.why-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 24px;
}

.why-visual {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-main-circle{
    width:330px;
    height:330px;
    border-radius:50%;
    background:linear-gradient(135deg,#4F46E5,#1DA1F2);

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:#fff;

    font-size:26px;
    font-weight:800;
    line-height:1.4;
    letter-spacing:1px;

    padding:30px;
    box-sizing:border-box;
}

.why-points {
  display: grid;
  gap: 18px;
}

.why-point {
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Pricing */
.pricing-card {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--afro-gold) 0%, var(--afro-navy) 30%, #1b335f 100%);
  color: white;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.18);
}

.pricing-head {
  text-align: center;
  padding: 18px 16px 12px;
}

.pricing-head h3 {
  color: var(--afro-navy);
}

.price {
  font-size: 42px;
  font-weight: 800;
  margin: 0;
  color: white;
}

.price-note {
  font-size: 13px;
  opacity: 0.85;
}

.pricing-body {
  padding: 20px;
}

.pricing-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  line-height: 1.9;
}

.pricing-body li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  margin-top: 10px;
  color: white;
  font-size: 14px;
}

.pricing-btn {
  background: white;
  color: var(--afro-navy);
  border: 2px solid white;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.pricing-btn.alt {
  background: transparent;
  color: white;
}

/* Forms */
.form-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  max-width: 760px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px;
  margin: 10px 0;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  font-size: 15px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

#formMessage {
  font-weight: 700;
  margin-top: 14px;
}

/* Footer */
.site-footer {
  background: var(--afro-navy);
  color: white;
  margin-top: 60px;
  padding: 46px 36px 34px;
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(180px, 0.7fr) minmax(260px, 1fr);
  gap: 42px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  color: var(--afro-gold);
  margin: 0 0 14px;
  line-height: 1.25;
}

.site-footer h3 {
  font-size: 21px;
  font-weight: 800;
}

.site-footer h4 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 12px;
}

.site-footer .footerlink {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.site-footer .btn {
  margin-top: 10px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: transparent;
  font-size: 30px;
  color: var(--navy);
}

.modal-section {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 18px;
}

.message-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px;
  white-space: pre-wrap;
}

.reply-history {
  display: grid;
  gap: 12px;
}

.reply-item {
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 12px;
}

.reply-item strong {
  color: var(--navy);
}

/* Responsive */
@media (max-width: 1180px) {
  .preview-layout {
    grid-template-columns: 1fr;
  }

  .snapshot-layout {
    grid-template-columns: 1fr;
  }

  .preview-section .hero-actions {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .site-footer,
  .why-layout {
    grid-template-columns: 1fr;
  }

  .preview-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    gap: 26px;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
    padding: 16px 20px;
  }

  .brand img {
    height: 44px;
  }

  .brand strong {
    font-size: 17px;
  }

  nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .hero {
    padding: 70px 18px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

  .preview-section {
    padding: 38px 16px;
  }

  .preview-layout h2 {
    font-size: 28px;
  }

  .preview-controls {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .preview-controls select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .preview-controls label {
    margin-top: 6px;
  }

  .preview-section .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .preview-section .hero-actions .btn,
  .btn,
  .pricing-btn {
    width: 100%;
    min-width: 0;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    padding: 14px;
  }

  .line-chart {
    height: 130px;
  }

  h2 {
    font-size: 27px;
  }

  .why-main-circle {
    width: 190px;
    height: 190px;
    font-size: 26px;
  }

  .site-footer {
    padding: 38px 22px 28px;
  }
}
/* ==========================================
   CENTER REQUEST ACCESS BUTTON
   ========================================== */

.preview-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 700px;
}

.preview-section .hero-actions .btn {
  min-width: 260px;
}

.preview-section .hero-actions .btn.dark {
  flex-basis: 100%;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}