:root {
  --primary: #00a651;
  --primary-dark: #008c44;
  --accent: #00c853;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --radius: 12px;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.accent { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--text); font-size: 1.3rem; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 100%);
  padding: 60px 0 50px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #0f172a;
}
.hero-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.9rem;
}
.mini-card i {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Features (Glo Café style) */
.features { padding: 60px 0; background: var(--white); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; margin-bottom: 6px; }
.section-title p { color: var(--text-muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  transition: all .2s;
  display: block;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}
.feature-icon.blue { background: #3b82f6; }
.feature-icon.green { background: #10b981; }
.feature-icon.orange { background: #f59e0b; }
.feature-icon.red { background: #ef4444; }
.feature-icon.purple { background: #8b5cf6; }
.feature-icon.teal { background: #14b8a6; }

.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* How */
.how { padding: 60px 0; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step-item { text-align: center; }
.step-circle {
  width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  margin: 0 auto 14px;
}
.step-item h3 { margin-bottom: 6px; }
.step-item p { color: var(--text-muted); font-size: 0.92rem; }

/* Payment section */
.pay-section { padding: 40px 0; }
.pay-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.pay-left h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pay-left p { color: var(--text-muted); font-size: 0.9rem; }
.pay-details { display: flex; gap: 32px; flex-wrap: wrap; }
.pay-item span { display: block; color: var(--text-muted); font-size: 0.8rem; }
.pay-item strong { font-size: 1.1rem; }

/* Page head */
.page-head {
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 100%);
  padding: 40px 0 20px;
  text-align: center;
}
.page-head h1 { font-size: 1.9rem; margin-bottom: 6px; }
.page-head p { color: var(--text-muted); }

/* Plans */
.plans-wrap { padding: 20px 0 60px; }
.net-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.net-tab {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.net-tab.active, .net-tab:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.plans { display: none; }
.plans.active { display: block; }

.group-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 24px 0 14px;
  font-weight: 600;
}
.cheap {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 6px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  position: relative;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.plan:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.popular { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.pop {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
}
.size { font-size: 1.4rem; font-weight: 800; margin-bottom: 2px; }
.valid { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 10px; }
.price { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.buy-btn {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.buy-btn:hover { background: var(--primary-dark); }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none; border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-box h2 { margin-bottom: 18px; font-size: 1.3rem; }

.summary {
  background: var(--bg);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.summary p { margin-bottom: 3px; font-size: 0.95rem; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  font-weight: 500;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.pay-info {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px;
  margin: 16px 0;
  text-align: center;
}
.pay-info .small { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.success-box { text-align: center; }
.success-icon { font-size: 3.2rem; color: var(--primary); margin-bottom: 14px; }
.ref {
  background: var(--bg);
  padding: 10px;
  border-radius: 8px;
  margin: 14px 0;
  font-size: 0.92rem;
}

/* Auth */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow);
}
.auth-logo { justify-content: center; margin-bottom: 24px; }
.auth-card h1 { text-align: center; font-size: 1.45rem; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--text-muted); margin-bottom: 22px; font-size: 0.9rem; }

.btn-google {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px;
  background: #fff;
  color: #333;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.btn-google:hover { background: #f8fafc; }

.divider {
  display: flex; align-items: center;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.divider span { padding: 0 12px; }

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 18px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}
.footer-logo { margin-bottom: 10px; }
.footer-logo .accent { color: var(--accent); }
.footer p, .footer a {
  color: #94a3b8;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 6px;
}
.footer a:hover { color: #fff; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  text-align: center;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 18px;
    border-bottom: 1px solid var(--border);
    gap: 14px;
    box-shadow: var(--shadow);
  }
  .menu-toggle { display: block; }
  .pay-details { gap: 16px; }
  .top-bar .container { flex-direction: column; gap: 2px; }
}

/* Multi-step flow (Glo Café style) */
.steps-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: center;
}
.step-pill {
  padding: 8px 16px;
  border-radius: 20px;
  background: #e2e8f0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.step-pill.active {
  background: var(--primary);
  color: #fff;
}
.step-pill.done {
  background: #bbf7d0;
  color: #166534;
}
.flow-step { display: none; }
.flow-step.active { display: block; }
.step-hint {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.flow-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Network / provider cards */
.net-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}
.net-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  font-weight: 600;
  color: var(--text);
}
.net-card:hover, .net-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,166,81,0.15);
}
.net-badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-weight: 800; font-size: 0.85rem;
  color: #fff;
}
.net-badge.mtn { background: #ffcc00; color: #1a1a1a; }
.net-badge.airtel { background: #ed1c24; }
.net-badge.glo { background: #00a651; }
.net-badge.nine { background: #006600; }
.net-badge.dstv { background: #0066b3; }
.net-badge.gotv { background: #e85d04; }
.net-badge.startimes { background: #7c3aed; }

/* Disco grid */
.disco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.disco-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all .2s;
  color: var(--text);
}
.disco-card:hover, .disco-card.selected {
  border-color: var(--primary);
  background: #f0fdf4;
}

/* Amount buttons */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}
.amt-btn {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all .2s;
  color: var(--text);
}
.amt-btn:hover, .amt-btn.selected {
  border-color: var(--primary);
  background: #f0fdf4;
  color: var(--primary);
}

/* Summary card */
.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 420px;
  margin: 0 auto;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.sum-row:last-child { border-bottom: none; }
.sum-row span { color: var(--text-muted); }

@media (max-width: 600px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .net-grid { grid-template-columns: repeat(2, 1fr); }
}
