/* ============================================
   NaijaCharge — Main Stylesheet
   Focus on Monesave Ltd. · naijacharge.com
   ============================================ */

:root {
  --purple: #6B21E8;
  --purple-light: #8B5CF6;
  --purple-dark: #4C0DB0;
  --green: #22C55E;
  --green-light: #4ADE80;
  --green-dark: #15803D;
  --gold: #F59E0B;
  --black: #0A0A0F;
  --dark: #10101A;
  --card-bg: #14141F;
  --surface: #1C1C2E;
  --border: rgba(255,255,255,0.08);
  --text: #F0F0F8;
  --muted: #8888AA;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.logo span { color: var(--purple-light); }
.logo .bolt { color: var(--green); font-size: 1.6rem; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107,33,232,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(34,197,94,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,33,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,33,232,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(107,33,232,0.15);
  border: 1px solid rgba(107,33,232,0.4);
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  position: relative;
}

h1 em {
  font-style: normal;
  color: var(--purple-light);
}

h1 .green { color: var(--green); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--purple);
  color: white;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid var(--purple-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107,33,232,0.4);
}

.btn-secondary {
  background: rgba(34,197,94,0.1);
  color: var(--green-light);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid rgba(34,197,94,0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(34,197,94,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34,197,94,0.2);
}

/* ── STATS BAR ── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem 3rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--purple-light);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ── SECTION LAYOUT ── */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── HOW IT WORKS ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.how-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.how-card:hover {
  border-color: rgba(107,33,232,0.4);
  transform: translateY(-4px);
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  opacity: 0;
  transition: opacity 0.3s;
}

.how-card:hover::before { opacity: 1; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(107,33,232,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.how-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.how-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ── IMAGE MOSAIC ── */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
  border-radius: 20px;
  overflow: hidden;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic .tall { grid-row: 1 / 3; }

/* ── SPONSOR SECTION ── */
.sponsor-section {
  background: linear-gradient(160deg, rgba(107,33,232,0.08) 0%, transparent 60%);
  border-top: 1px solid rgba(107,33,232,0.15);
  border-bottom: 1px solid rgba(107,33,232,0.15);
}

/* ── IMPACT BOX ── */
.impact-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  margin-top: 2.5rem;
}

.impact-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.impact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(107,33,232,0.15);
  border: 1px solid rgba(107,33,232,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.impact-item strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.25rem;
}

.impact-item span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── CTA CARD ── */
.cta-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 3rem;
}

.cta-card .section-eyebrow { margin-bottom: 0.5rem; }

.steps-list {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.step-dot.green { background: var(--green-dark); }

.steps-list li p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.steps-list li strong { color: var(--text); }

/* ── LOCATION BLOCK ── */
.location-block {
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.location-block p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.location-tag {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: var(--green-light);
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-weight: 500;
}

/* ── OPERATOR SECTION ── */
.operator-section {
  background: linear-gradient(160deg, rgba(34,197,94,0.06) 0%, transparent 60%);
  border-top: 1px solid rgba(34,197,94,0.15);
  border-bottom: 1px solid rgba(34,197,94,0.15);
}

/* ── REQUIREMENTS ── */
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.req-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.req-check {
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.req-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
  line-height: 1.5;
}

/* ── CARD SHOWCASE ── */
.card-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.membership-card {
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1a2e 50%, #0d1117 100%);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,197,94,0.1);
}

.membership-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(34,197,94,0.08) 0%, transparent 60%);
}

.mc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.mc-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.mc-logo .green { color: var(--green); }

.mc-nfc {
  color: var(--muted);
  font-size: 0.75rem;
  text-align: right;
}

.mc-leaf {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.2), rgba(34,197,94,0.05));
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 0 30px rgba(34,197,94,0.15);
}

.mc-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.mc-type {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.mc-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mc-feat {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.mc-feat span:first-child { font-size: 1.1rem; }

/* ── DIASPORA QUOTE ── */
.diaspora-quote {
  background: var(--card-bg);
  border-left: 3px solid var(--purple);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.diaspora-quote strong {
  color: var(--text);
  font-style: normal;
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-logo span { color: var(--purple-light); }
.footer-logo .bolt { color: var(--green); }

footer p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

footer a {
  color: var(--purple-light);
  text-decoration: none;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.footer-socials a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-socials a:hover { color: var(--text); }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero > * { animation: fadeUp 0.7s ease both; }
.hero .badge        { animation-delay: 0.10s; }
.hero h1            { animation-delay: 0.20s; }
.hero .hero-sub     { animation-delay: 0.35s; }
.hero .hero-ctas    { animation-delay: 0.50s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .stats { gap: 1rem; }
  .stat-item { border-right: none; padding: 1rem 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse { direction: ltr; }
  .mosaic { grid-template-rows: 160px 160px; }
  .cta-card { padding: 2rem 1.5rem; }
}

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

@media (max-width: 520px) {
  .mosaic { grid-template-columns: 1fr; grid-template-rows: 200px; }
  .mosaic .tall { grid-row: auto; }
  .mosaic img:not(:first-child) { display: none; }
}
