/* =====================================================================
   LimbApps Technology Limited — Public Homepage
   ===================================================================== */

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fb;
  --c-ink: #0b1d3a;
  --c-ink-soft: #3a4866;
  --c-muted: #6b7591;
  --c-line: #e3e8f1;
  --c-brand: #1a4ed8;
  --c-brand-dark: #0b1d3a;
  --c-accent: #14b8a6;
  --c-warn-bg: #fff7ed;
  --c-warn-border: #fed7aa;
  --c-warn-ink: #9a3412;
  --shadow-sm: 0 1px 2px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 29, 58, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 29, 58, 0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1140px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--c-brand); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; color: var(--c-ink-soft); }

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

/* Accessibility — skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-brand-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
  border-radius: 4px;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-ink);
  font-weight: 700;
}
.brand:hover, .brand:focus-visible { text-decoration: none; }
.brand-mark {
  display: inline-block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.05rem; font-weight: 800; }
.brand-tag { font-size: 0.72rem; color: var(--c-muted); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

.primary-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav .nav-list a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--c-ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav .nav-list a:hover,
.primary-nav .nav-list a:focus-visible {
  background: var(--c-bg-alt);
  text-decoration: none;
  color: var(--c-ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: 8px 12px 16px;
    box-shadow: var(--shadow-md);
  }
  .primary-nav .nav-list.open { display: flex; }
  .primary-nav .nav-list a {
    padding: 12px 14px;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
  }
  .primary-nav .nav-list li:last-child a { border-bottom: 0; }
  .site-header { position: relative; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1d3a 0%, #112a5e 60%, #0b1d3a 100%);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(26, 78, 216, 0.35), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.08);
  border: 1px solid rgba(125, 211, 252, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 0 0 20px;
}

.hero h1 {
  color: #fff;
  max-width: 820px;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
}
.hero-sub {
  max-width: 720px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}
.hero-sub strong { color: #fff; }
.hero-subtitle {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  color: #fff;
  opacity: 0.95;
  margin-top: -4px;
  margin-bottom: 18px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: #fff;
  color: var(--c-brand-dark);
}
.btn-primary:hover, .btn-primary:focus-visible { background: #eef2ff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin: 0 0 8px;
}
.section h2 { margin-top: 0; }
.lead { font-size: 1.08rem; color: var(--c-ink-soft); max-width: 760px; }

.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--c-ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--c-brand-dark);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* =====================================================================
   GRIDS / FEATURES / SERVICES
   ===================================================================== */
.grid { display: grid; gap: 24px; margin-top: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.feature, .service {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feature:hover, .service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}
.feature h3, .service h3 { margin-top: 14px; }
.feature p, .service p { margin-bottom: 0; }

/* "What is Monie Naija?" at-a-glance items — reuses existing card pattern */
.whatis-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.whatis-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #c7d2fe;
}
.whatis-item h3 { margin-top: 0; }
.whatis-item p { margin-bottom: 0; }
.whatis-item strong { color: var(--c-ink); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: #eef2ff;
  color: var(--c-brand);
  border-radius: 10px;
}

/* =====================================================================
   STATUS BANNER
   ===================================================================== */
.status-banner {
  margin-top: 40px;
  padding: 16px 20px;
  background: var(--c-warn-bg);
  border: 1px solid var(--c-warn-border);
  color: var(--c-warn-ink);
  border-radius: var(--radius);
  font-size: 0.98rem;
  max-width: 820px;
}
.status-banner strong { color: var(--c-warn-ink); }

/* =====================================================================
   STAGING SECTION
   ===================================================================== */
#staging p { max-width: 820px; }
.muted { color: var(--c-muted); font-size: 0.95rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.contact-label {
  font-weight: 600;
  color: var(--c-ink);
  min-width: 90px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--c-brand-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
  margin-top: 0;
}
.site-footer h4 { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-tag { color: rgba(255, 255, 255, 0.6); }
.brand-footer .brand-mark {
  /* Invert the original multi-color logo to pure white for the dark footer.
     The original artwork is preserved as the source asset. */
  filter: brightness(0) invert(1);
  background: transparent;
}
.footer-blurb { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; max-width: 360px; }

.footer-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 12px;
  font-weight: 700;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.footer-list a:hover, .footer-list a:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.footer-contact a { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.6); }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
