:root {
  --bg: #f5f6ff;
  --fg: #0d0a2e;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --primary: #3B6FE8;
  --primary-dark: #5B21B6;
  --primary-glow: rgba(124, 58, 237, 0.2);
  --primary-fg: #ffffff;
  --pink: #E91E8C;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(59, 111, 232, 0.12);
  --shadow-lg: 0 16px 40px rgba(59, 111, 232, 0.18);
  --gradient-hero: linear-gradient(135deg, #3B6FE8 0%, #7C3AED 60%, #E91E8C 100%);
  --gradient-text: linear-gradient(135deg, #7C3AED, #E91E8C);

  --mtn: #fbbf24;
  --airtel: #ef4444;
  --glo: #3B6FE8;
  --ninem: #7C3AED;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* REUSABLE COMPONENTS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 44px;
  }
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.2s ease;
  gap: 8px;
  font-size: 15px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 111, 232, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 111, 232, 0.45);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: white;
  color: var(--fg);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f5f6ff;
}

.btn-ghost {
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.08);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 38px;
  width: auto;
}

.nav {
  display: none;
  gap: 36px;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link:hover::after {
  width: 100%;
}

/* ==================== HERO ==================== */
.hero {
  background: var(--fg);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,111,232,0.5), transparent 70%);
  top: -150px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 70%);
  bottom: -100px;
  left: -80px;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233,30,140,0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 7px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.badge-light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: white;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
  color: white;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 80px;
  }
}

.hero-gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-desc strong {
  color: white;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* STATS BAR */
.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  padding: 28px 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stat-item { padding: 12px 20px; }
}

/* ==================== OPERATORS ==================== */
.section-operators {
  padding: 80px 0;
}

.op-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 32px;
}

.operator-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.op-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.op-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  border-radius: var(--radius-md);
}

.op-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: white;
}

.op-card:hover::after {
  opacity: 1;
}

.op-card > * {
  position: relative;
  z-index: 1;
}

.op-card:hover p,
.op-card:hover h3 {
  color: rgba(255,255,255,0.9);
}

.op-card:hover .op-link {
  color: white;
}

.op-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: white;
}

.op-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.op-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.op-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.op-link:hover {
  gap: 8px;
}

/* ==================== FEATURES ==================== */
.section-features {
  background: var(--fg);
  color: white;
}

.section-features .section-eyebrow {
  color: var(--pink);
}

.section-features .section-title {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px 36px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.feature-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.feat-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--gradient-hero);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feat-icon {
  font-size: 26px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.feature-item p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */
.section-how {
  background: var(--bg);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.step-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 40px 24px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.step-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--pink));
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .step-connector { display: none; }
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--gradient-hero);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 20px;
  font-size: 22px;
  box-shadow: 0 0 0 10px var(--primary-glow);
}

.step-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==================== SERVICES ==================== */
.section-services {
  background: #f0f1ff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.service-card {
  background: white;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
  cursor: default;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}

/* ==================== PLANS ==================== */
.plans-section {
  background: var(--bg);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 40px;
}

.tab {
  padding: 10px 28px;
  background: transparent;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  color: var(--muted);
}

.tab.active {
  background: var(--gradient-hero);
  color: white;
  box-shadow: 0 2px 10px rgba(59,111,232,0.3);
}

.tab:hover:not(.active) {
  color: var(--fg);
  background: var(--bg);
}

.plans-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.plans-grid .plan-card {
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 240px;
}

.plan-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan-popular {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--pink));
  color: white;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-data {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.plan-validity {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.plan-price {
  font-size: 26px;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

/* ==================== TESTIMONIALS ==================== */
.section-testimonials {
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testi-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--fg);
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-hero);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ==================== FAQ ==================== */
.section-faq {
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ==================== CTA ==================== */
.section-cta {
  padding: 40px 0 60px;
}

.cta-section {
  background: var(--fg);
  color: white;
  text-align: center;
  padding: 64px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59,111,232,0.6), transparent 70%);
  top: -60px;
  left: -40px;
}

.cta-orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(233,30,140,0.5), transparent 70%);
  bottom: -60px;
  right: -40px;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  margin-top: 20px;
  letter-spacing: -0.04em;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 54px;
  }
}

/* ==================== FOOTER ==================== */
.footer {
  background: #0d0a2e;
  color: #94a3b8;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-col > p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==================== LOGIN PAGE ==================== */
.login-container {
  display: flex;
  min-height: 100vh;
}

.login-side {
  flex: 1;
  background: var(--gradient-hero);
  color: white;
  padding: 60px;
  display: none;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .login-side {
    display: flex;
  }
}

.login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 15px;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* ==================== ANIMATIONS ==================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== ALERTS ==================== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
}

.shake {
  animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* ==================== NETWORK BRANDING ==================== */
.bg-mtn    { background: var(--mtn); color: #000; }
.bg-airtel { background: var(--airtel); color: #fff; }
.bg-glo    { background: var(--glo); color: #fff; }
.bg-9mobile{ background: var(--ninem); color: #fff; }

.operator-hero {
  padding: 80px 0;
  text-align: center;
}