/* ==========================================================================
   Sigma Securities Limited — stylesheet
   Plain CSS, mobile-first, no build step.
   ========================================================================== */

:root {
  --navy: #0a1a30;
  --navy-dark: #061426;
  --navy-light: #123a63;
  --gold: #c9a227;
  --gold-dark: #a3821c;
  --white: #ffffff;
  --gray-bg: #f4f6f9;
  --text-dark: #16213a;
  --text-muted: #4b5872;
  --border-soft: #e1e6ee;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for keyboard/screen-reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--navy-dark);
  padding: 12px 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  height: 32px;
  width: auto;
  background: var(--white);
  border-radius: 4px;
  padding: 2px 6px;
}

.brand-name {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 45%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 88px 0 96px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201, 162, 39, 0.65);
  color: #f2dfa1;
  background: rgba(201, 162, 39, 0.1);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 720px;
  margin: 0 auto 16px;
  color: #eef2f8;
  font-weight: 500;
}

.hero-support {
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 40px;
  color: #c4cede;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

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

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 15px 32px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Why Sigma section
   -------------------------------------------------------------------------- */

.why {
  background: var(--gray-bg);
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 800;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(10, 26, 48, 0.05);
}

.feature-check {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 6px 0 0;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Footer / closing band
   -------------------------------------------------------------------------- */

.closing {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 72px 24px 32px;
}

.closing-tagline {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 36px;
  color: var(--white);
}

.closing-tagline .accent {
  color: var(--gold);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 13px;
  color: #9aa7bd;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer .license-line {
  color: #c4cede;
}

/* --------------------------------------------------------------------------
   Buy Dangote Shares modal (in-page NGX embed)
   -------------------------------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 20, 38, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-panel {
  background: var(--white);
  width: 100%;
  max-width: 960px;
  height: min(85vh, 800px);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(6, 20, 38, 0.45);
}

.modal-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 20px;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-close {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.modal-close:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.modal-loading {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  pointer-events: none;
}

.modal-fallback {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  background: #fff7e0;
  color: var(--text-dark);
  font-size: 14px;
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.modal-fallback a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 0;
  }

  .modal-panel {
    max-width: none;
    height: 100vh;
    border-radius: 0;
  }
}
