/* =========================================================
   ZEEGI — Investor Website
   Design tokens & signature components
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  /* Brand core — extracted from the ZEEGI mark */
  --green-900: #052A20;
  --green-800: #073F30;
  --green-700: #0C6B53;   /* primary brand green */
  --green-600: #12805F;
  --green-100: #EAF6F1;
  --green-050: #F5FAF8;

  --gold-600: #B3852F;
  --gold-500: #C99A3E;
  --gold-300: #E8C77A;
  --gold-100: #F7EBD2;

  --paper: #FAF9F5;
  --paper-2: #FFFFFF;

  --ink: #0C1512;
  --ink-soft: #47534D;
  --ink-faint: #7C877F;

  --line: rgba(12,21,18,0.10);
  --line-on-dark: rgba(255,255,255,0.14);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1180px;
  --ease: cubic-bezier(.16,.84,.32,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

::selection{ background:var(--gold-300); color:var(--green-900); }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

.font-display{ font-family:var(--font-display); }
.font-mono{ font-family:var(--font-mono); }

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--ink); letter-spacing:-0.01em; }

/* ---------- Eyebrow / section labels (justified: the site is a fixed, sequential memo) ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--green-700); font-weight:500;
}
.eyebrow::before{
  content:""; width:16px; height:1px; background:var(--green-700); display:inline-block;
}
.eyebrow.on-dark{ color:var(--gold-300); }
.eyebrow.on-dark::before{ background:var(--gold-300); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:15px;
  padding:14px 26px; border-radius:999px; cursor:pointer; border:1px solid transparent;
  transition:transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  text-decoration:none; white-space:nowrap;
}
.btn-primary{
  background:var(--green-700); color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset, 0 12px 24px -12px rgba(7,63,48,.55);
}
.btn-primary:hover{ background:var(--green-800); transform:translateY(-1px); }
.btn-gold{
  background:linear-gradient(180deg, var(--gold-300), var(--gold-500));
  color:var(--green-900);
  box-shadow:0 12px 24px -10px rgba(179,133,47,.5);
}
.btn-gold:hover{ transform:translateY(-1px); filter:brightness(1.03); }
.btn-outline{
  background:transparent; color:var(--ink); border-color:var(--line);
}
.btn-outline:hover{ border-color:var(--green-700); color:var(--green-700); }
.btn-outline.on-dark{ color:#fff; border-color:var(--line-on-dark); }
.btn-outline.on-dark:hover{ border-color:var(--gold-300); color:var(--gold-300); }
.btn-ghost{
  background:transparent; color:var(--ink-soft); border:none; padding:10px 4px;
}
.btn-ghost:hover{ color:var(--green-700); }

/* ---------- Cards ---------- */
.card{
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:20px;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover{ transform:translateY(-3px); box-shadow:0 24px 48px -28px rgba(7,42,32,.28); border-color:rgba(12,107,83,.28); }

.chip{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em;
  padding:5px 10px; border-radius:999px; border:1px solid var(--line); color:var(--ink-soft);
}

/* ---------- Signature texture: JAMB / CBT bubble-sheet grid ----------
   A field of small ring "bubbles" — the exact visual grammar of an
   optical-mark / CBT answer sheet, the artifact every JAMB candidate
   knows by heart. Used sparingly, only on dark grounds. */
.bubble-grid{
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
}
.bubble-grid svg{ position:absolute; inset:0; width:100%; height:100%; }

/* CBT / OMR bubble-sheet texture, rendered in pure CSS.
   Two offset dot-ring layers approximate the look of an optical
   answer sheet — the one artifact every JAMB candidate recognises. */
.bg-bubblesheet{
  background-image:
    radial-gradient(circle, rgba(255,255,255,.5) 0 1.5px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,.22) 0 5px, transparent 5.4px);
  background-size:15px 15px, 15px 15px;
  background-position:0 0, 0 0;
}
.bg-bubblesheet.on-light{
  background-image:
    radial-gradient(circle, rgba(12,107,83,.35) 0 1.5px, transparent 1.6px),
    radial-gradient(circle, rgba(12,107,83,.14) 0 5px, transparent 5.4px);
}

/* ---------- Gradient atmosphere (hero) ---------- */
.atmosphere{
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
}
.orb{
  position:absolute; border-radius:50%; filter:blur(70px); opacity:.55;
}

/* ---------- Nav ---------- */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(250,249,245,0); backdrop-filter:blur(0px);
  transition:background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), padding .3s var(--ease);
  border-bottom:1px solid transparent;
}
.site-nav.scrolled{
  background:rgba(250,249,245,.86); backdrop-filter:blur(14px);
  border-bottom-color:var(--line);
}
.site-nav .navrow{ display:flex; align-items:center; justify-content:space-between; padding:18px 24px; max-width:var(--container); margin:0 auto; }
.navlinks{ display:flex; align-items:center; gap:28px; }
.navlinks a{ font-size:14.5px; color:var(--ink-soft); text-decoration:none; font-weight:500; transition:color .25s; }
.navlinks a:hover{ color:var(--green-700); }
.brandmark{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brandmark img{ height:30px; width:auto; }
.brandmark span{ font-family:var(--font-display); font-weight:600; font-size:19px; color:var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.12s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.19s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.33s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay:.40s; }

/* ---------- Section rhythm ---------- */
.section{ padding:120px 0; position:relative; }
@media (max-width:768px){ .section{ padding:80px 0; } }
.section-dark{ background:var(--green-900); color:#fff; }
.section-dark h2, .section-dark h3, .section-dark h4{ color:#fff; }
.section-dark p{ color:rgba(255,255,255,.72); }
.section-tint{ background:var(--green-050); }

.kicker-line{ width:1px; background:linear-gradient(var(--line), transparent); }

/* ---------- Stat number ---------- */
.stat-num{
  font-family:var(--font-display); font-weight:600; font-size:clamp(34px,5vw,56px);
  color:var(--green-700); letter-spacing:-0.02em; line-height:1;
}
.section-dark .stat-num{ color:var(--gold-300); }

/* ---------- Timeline ---------- */
.timeline-track{ position:relative; }
.timeline-track::before{
  content:""; position:absolute; left:0; right:0; top:11px; height:1px;
  background:repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.timeline-dot{
  width:22px; height:22px; border-radius:50%; background:var(--paper);
  border:2px solid var(--green-700); display:flex; align-items:center; justify-content:center; z-index:1;
}
.timeline-dot::after{ content:""; width:7px; height:7px; border-radius:50%; background:var(--green-700); }

/* ---------- Product ecosystem cards ---------- */
.eco-card{
  padding:26px; border-radius:18px; background:var(--paper-2); border:1px solid var(--line);
}
.eco-icon{
  width:42px; height:42px; border-radius:12px; background:var(--green-100); color:var(--green-700);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}

/* ---------- Distribution bars ---------- */
.dist-row{ display:grid; grid-template-columns:70px 1fr; gap:16px; align-items:center; }
.dist-bar-track{ height:34px; border-radius:8px; background:rgba(255,255,255,.08); overflow:hidden; display:flex; }
.dist-seg{ height:100%; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:12px; transition:width 1.1s var(--ease); }
.dist-seg.zeegi{ background:rgba(255,255,255,.16); color:#fff; }
.dist-seg.partner{ background:var(--gold-500); color:var(--green-900); font-weight:600; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:22px 0; display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-family:var(--font-display); font-size:19px; color:var(--ink);
}
.faq-q .plus{ flex:none; width:24px; height:24px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--green-700); transition:transform .35s var(--ease);
}
.faq-q .plus::before{ left:0; top:50%; width:100%; height:1.5px; transform:translateY(-50%); }
.faq-q .plus::after{ top:0; left:50%; width:1.5px; height:100%; transform:translateX(-50%); }
.faq-item.open .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .5s var(--ease); }
.faq-item.open .faq-a{ }
.faq-a-inner{ padding-bottom:24px; color:var(--ink-soft); font-size:15.5px; max-width:640px; }

/* ---------- Download cards ---------- */
.doc-card{
  display:flex; align-items:center; gap:18px; padding:22px; border-radius:16px;
  border:1px solid var(--line); background:var(--paper-2); text-decoration:none; color:var(--ink);
  transition:border-color .3s, transform .3s var(--ease);
}
.doc-card:hover{ border-color:var(--green-700); transform:translateY(-2px); }
.doc-icon{ width:44px; height:44px; border-radius:10px; background:var(--green-100); color:var(--green-700); display:flex; align-items:center; justify-content:center; flex:none; }

/* ---------- Placeholder frames ---------- */
.placeholder{
  border:1px dashed var(--line); border-radius:18px; background:var(--green-050);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:8px;
  color:var(--ink-faint); font-family:var(--font-mono); font-size:12px; letter-spacing:.04em; text-align:center; padding:20px;
}

/* ---------- Founding partner slots ---------- */
.slot-grid{ display:grid; grid-template-columns:repeat(10,1fr); gap:8px; }
@media (max-width:768px){ .slot-grid{ grid-template-columns:repeat(5,1fr); } }
.slot{
  aspect-ratio:1; border-radius:10px; border:1px solid var(--line-on-dark);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:11px; color:rgba(255,255,255,.45);
}
.slot.filled{ background:var(--gold-500); border-color:var(--gold-500); color:var(--green-900); font-weight:700; }

/* ---------- Misc ---------- */
.divider{ height:1px; background:var(--line); }
.divider.on-dark{ background:var(--line-on-dark); }

.avatar-frame{
  width:100%; aspect-ratio:4/5; border-radius:20px; overflow:hidden; position:relative;
  background:linear-gradient(160deg, var(--green-100), var(--paper-2));
  border:1px solid var(--line);
}

.underline-link{
  background-image:linear-gradient(currentColor,currentColor);
  background-size:0% 1px; background-position:0 100%; background-repeat:no-repeat;
  transition:background-size .35s var(--ease);
}
.underline-link:hover{ background-size:100% 1px; }

/* scrollbar */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--paper); }
::-webkit-scrollbar-thumb{ background:var(--green-100); border-radius:6px; }

.marquee-track{ display:flex; gap:48px; white-space:nowrap; animation:marquee 28s linear infinite; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* mobile menu */
.mobile-menu{
  position:fixed; inset:0; background:var(--paper); z-index:200; transform:translateX(100%);
  transition:transform .45s var(--ease); display:flex; flex-direction:column; padding:24px;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{ font-family:var(--font-display); font-size:28px; color:var(--ink); text-decoration:none; padding:14px 0; border-bottom:1px solid var(--line); }
