/* ── AMINEX HUB — Main Stylesheet ── */

:root {
  --primary: #ffffff;
  --primary-dark: #dce8ff;
  --secondary: #000e2b;
  --bg: #000e2b;
  --surface: #001333;
  --surface2: #001a40;
  --text: #ffffff;
  --text-muted: #8aaad4;
  --accent: #4d9fff;
  --border: rgba(255,255,255,0.12);
  --border-hover: rgba(255,255,255,0.4);
  --glow: rgba(77,159,255,0.25);
  --green: #00c853;
  --red: #ff4444;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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; }
img { max-width: 100%; border-radius: 8px; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,14,43,0.97);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.nav-links a:hover { color: #fff; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.accent { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #000e2b;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.2);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: #fff; color: #000e2b; border-color: #fff; }
.btn-full { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  cursor: pointer;
  transition: color var(--transition);
  text-decoration: none;
}
.btn-ghost:hover { color: #fff; }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }

.alt-bg { background: var(--surface); max-width: 100%; padding: 5rem 2rem; }
.alt-bg > * { max-width: 800px; margin-left: auto; margin-right: auto; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 2.5rem; }

/* ── SERVICES ── */
.services { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; text-align: center; }

.services-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(77,159,255,0.1);
  border: 1px solid rgba(77,159,255,0.25);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.2rem;
}

.services .section-title { margin-bottom: 0.6rem; }
.services .section-sub   { margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--icon-color, var(--accent)), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--icon-color, var(--accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color, var(--accent)) 30%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--icon-color, var(--accent));
  flex-shrink: 0;
  transition: all var(--transition);
}

.service-icon-wrap svg { width: 26px; height: 26px; }
.service-card:hover .service-icon-wrap {
  background: color-mix(in srgb, var(--icon-color, var(--accent)) 20%, transparent);
  transform: scale(1.08);
}

.service-card-body { display: flex; flex-direction: column; gap: 0.4rem; }
.service-card-body h3 { font-size: 1.05rem; font-weight: 700; color: #fff; }
.service-card-body p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--icon-color, var(--accent));
  margin-top: 0.4rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
  display: inline-block;
}

.service-card:hover .service-link { opacity: 1; transform: translateX(0); }

/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-muted); white-space: nowrap;
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ── NETWORK TABS ── */
.network-tabs {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0;
}

.tab-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.5rem; border-radius: 50px;
  border: 2px solid var(--border); background: transparent;
  color: var(--text-muted); cursor: pointer; font-size: 0.9rem; font-weight: 600;
  transition: all var(--transition);
}

.tab-btn img { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; }
.tab-btn:hover, .tab-btn.active { background: #fff; border-color: #fff; color: #000e2b; }

/* ── PLANS GRID ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.plan-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.plan-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 6px 24px var(--glow);
}

.plan-size     { font-size: 1.8rem; font-weight: 800; color: #fff; }
.plan-validity { font-size: 0.78rem; color: var(--text-muted); margin: 0.3rem 0; }
.plan-price    { font-size: 1.15rem; font-weight: 700; color: var(--accent); margin-top: 0.4rem; }

.plan-buy {
  margin-top: 0.8rem; padding: 0.5rem 1.2rem;
  background: #fff; color: #000e2b;
  border: none; border-radius: 8px;
  font-weight: 700; cursor: pointer; width: 100%; font-size: 0.85rem;
  transition: all var(--transition);
}
.plan-buy:hover { background: var(--accent); color: #fff; }

.loading { grid-column: 1/-1; text-align: center; color: var(--text-muted); padding: 3rem; }

/* ── WAEC CARDS ── */
.waec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.waec-card {
  background: var(--surface2);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.waec-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.waec-card.featured {
  border-color: rgba(167,139,250,0.4);
  box-shadow: 0 0 0 1px rgba(167,139,250,0.2);
}

.waec-featured-tag {
  position: absolute; top: 1rem; right: 1rem;
  background: #a78bfa; color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 0.25rem 0.7rem; border-radius: 20px;
  letter-spacing: 0.5px; text-transform: uppercase;
}

.waec-card-top {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--wc, var(--accent)) 8%, #001333), #001333);
  padding: 2rem 1.5rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.waec-logo {
  width: 56px; height: 56px; object-fit: contain;
  border-radius: 10px; background: #fff; padding: 4px; flex-shrink: 0;
}

.waec-badge {
  font-size: 0.78rem; font-weight: 800;
  padding: 0.3rem 0.9rem; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
}

.waec-card-body {
  padding: 1.5rem; display: flex; flex-direction: column; flex: 1;
}
.waec-card-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.waec-card-body p  { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.8rem; flex: 1; }
.waec-price        { font-size: 1.4rem; font-weight: 800; color: #fff; }
.waec-price span   { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.waec-buy-btn      { background: #fff; color: #000e2b; font-weight: 700; }
.waec-buy-btn:hover { background: var(--accent); color: #fff; }

.waec-modal-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.waec-modal-header h3 { margin-bottom: 0; font-size: 1.1rem; }

/* ── SUBSCRIPTIONS ── */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}

.sub-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.8rem; border: 1px solid var(--border); transition: all var(--transition);
}
.sub-card:hover { border-color: var(--border-hover); box-shadow: 0 4px 20px var(--glow); }
.sub-logo { font-size: 2.5rem; margin-bottom: 0.6rem; }
.sub-card h3 { margin-bottom: 1rem; font-size: 1.1rem; }
.sub-plans { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.plan-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 8px;
  padding: 0.45rem 0.9rem; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.plan-btn:hover { background: #fff; border-color: #fff; color: #000e2b; }

/* ── FORM CARD ── */
.form-card {
  background: var(--surface2); border-radius: var(--radius);
  padding: 2.5rem; max-width: 480px; margin: 0 auto; border: 1px solid var(--border);
}

label {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1.2rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
}

input, select {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.75rem 1rem; color: var(--text);
  font-size: 1rem; outline: none; transition: border-color var(--transition);
}
input:focus, select:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }
select option { background: var(--surface2); }

.price-display {
  background: rgba(77,159,255,0.1); border: 1px solid rgba(77,159,255,0.3);
  border-radius: 8px; padding: 0.75rem 1rem; text-align: center;
  font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 1.2rem;
}

/* ── ECG AMOUNT GRID ── */
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.6rem; margin-bottom: 0.8rem; }

.amount-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-muted);
  padding: 0.5rem; cursor: pointer; font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition);
}
.amount-btn:hover, .amount-btn.active { background: #fff; border-color: #fff; color: #000e2b; }

/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; margin-top: 3rem; position: relative;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 1.5rem; position: relative;
}

.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), #0062cc);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; margin-bottom: 1.2rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(77,159,255,0.12);
}

.step-connector {
  position: absolute; top: 24px;
  left: calc(50% + 24px); right: calc(-50% + 24px);
  height: 2px;
  background: linear-gradient(90deg, rgba(77,159,255,0.4), rgba(77,159,255,0.1));
}

.step-body { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.step-body svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 0.3rem; }
.step h4 { font-size: 1rem; font-weight: 700; color: #fff; }
.step p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }

/* ── CONTACT ── */
.contact-cards {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem;
}

.contact-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 2rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface2);
  transition: all var(--transition); min-width: 200px;
}
.contact-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 4px 20px var(--glow); }
.contact-card div  { display: flex; flex-direction: column; }
.contact-card strong { font-size: 1rem; color: #fff; }
.contact-card div span { font-size: 0.85rem; color: var(--text-muted); }

.contact-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg {
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35); transition: transform var(--transition);
}
.contact-card:hover .contact-icon svg { transform: scale(1.1); }
.whatsapp:hover { border-color: #25d366; box-shadow: 0 4px 20px rgba(37,211,102,0.2); }
.contact-card.phone:hover { border-color: #4d9fff; box-shadow: 0 4px 20px rgba(77,159,255,0.2); }
.contact-card.email:hover { border-color: #EA4335; box-shadow: 0 4px 20px rgba(234,67,53,0.2); }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.8); z-index: 200;
  align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface); border-radius: var(--radius);
  padding: 2.5rem; width: 100%; max-width: 440px;
  position: relative; border: 1px solid var(--border);
  animation: slideUp 0.25s ease;
  max-height: 90vh; overflow-y: auto;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--text-muted); font-size: 1.5rem; cursor: pointer;
  line-height: 1; transition: color var(--transition);
}
.modal-close:hover { color: #fff; }
.modal h3 { margin-bottom: 1.5rem; font-size: 1.2rem; }

.selected-plan-info {
  background: rgba(77,159,255,0.1); border: 1px solid rgba(77,159,255,0.3);
  border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1.5rem;
  font-size: 0.9rem; color: var(--accent); font-weight: 600;
}

/* ── SUCCESS MODAL ── */
.success-modal { text-align: center; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-modal h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.success-modal p { color: var(--text-muted); margin-bottom: 0.5rem; }
.success-ref {
  font-size: 0.8rem; background: rgba(255,255,255,0.05); border-radius: 6px;
  padding: 0.4rem 0.8rem; display: inline-block; margin-bottom: 1.5rem !important;
  font-family: monospace; color: var(--accent);
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface2); color: var(--text);
  padding: 0.9rem 2rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500; border: 1px solid var(--border);
  z-index: 999; transition: transform 0.35s ease; white-space: nowrap; box-shadow: var(--shadow);
}
.toast.show    { transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--red);   color: var(--red); }

/* ── FOOTER ── */
.footer {
  background: #000a1f; text-align: center;
  padding: 3rem 2rem; border-top: 1px solid var(--border);
}
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem;
}
.footer p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.4rem; }
.footer-copy { margin-top: 1.5rem !important; font-size: 0.8rem !important; }

/* ── SPINNER ── */
.spinner {
  border: 3px solid rgba(255,255,255,0.1); border-top-color: #fff;
  border-radius: 50%; width: 20px; height: 20px;
  animation: spin 0.8s linear infinite;
  display: inline-block; vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════
   CART SYSTEM
   ════════════════════════════════════════ */

/* ── Cart nav button ── */
.cart-nav-btn {
  position: relative;
  background: linear-gradient(135deg, rgba(77,159,255,0.15), rgba(77,159,255,0.08));
  border: 1px solid rgba(77,159,255,0.3);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition);
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
}
.cart-nav-btn::after {
  content: 'Cart';
  color: rgba(255,255,255,0.85);
}
.cart-nav-btn svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.cart-nav-btn:hover {
  background: linear-gradient(135deg, rgba(77,159,255,0.25), rgba(77,159,255,0.15));
  border-color: rgba(77,159,255,0.6);
  box-shadow: 0 0 12px rgba(77,159,255,0.2);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -7px; right: -7px;
  background: #fff;
  color: #000e2b;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  padding: 0 3px;
  line-height: 1;
}

@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.cart-bump { animation: cartBump 0.35s ease; }

/* ── Plan card add-to-cart button ── */
.plan-add-cart {
  margin-top: 0.4rem;
  padding: 0.4rem;
  background: rgba(77,159,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(77,159,255,0.3);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-size: 0.78rem;
  transition: all var(--transition);
}
.plan-add-cart:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Cart overlay ── */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 300;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

/* ── Cart drawer ── */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-drawer-header h3 { font-size: 1.1rem; margin: 0; }

.cart-close-btn {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.cart-close-btn:hover { color: #fff; background: rgba(255,255,255,0.12); }

.cart-clear-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: color var(--transition);
}
.cart-clear-btn:hover { color: #ff6b6b; }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

/* ── Empty state ── */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  gap: 0.6rem;
}
.cart-empty-icon { font-size: 3rem; opacity: 0.5; }
.cart-empty p    { font-weight: 600; font-size: 1rem; }
.cart-empty span { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

/* ── Cart item ── */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-icon {
  font-size: 1.4rem;
  width: 38px; height: 38px;
  background: var(--surface2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-weight: 600; font-size: 0.88rem; color: #fff; }
.cart-item-meta  { color: var(--text-muted); font-size: 0.76rem; margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-top: 0.3rem; }

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 26px; height: 26px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.cart-qty-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }

.cart-qty {
  min-width: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
  transition: color var(--transition);
  margin-left: 0.2rem;
}
.cart-remove-btn:hover { color: #ff6b6b; }

/* ── Cart footer ── */
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--surface2);
}

.cart-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.cart-footer-total {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

/* ── Checkout modal ── */
.checkout-modal { max-height: 90vh; overflow-y: auto; }

.checkout-items {
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1rem;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-icon { font-size: 1.1rem; flex-shrink: 0; }
.checkout-item-info { flex: 1; display: flex; flex-direction: column; }
.checkout-item-name { font-weight: 600; color: #fff; }
.checkout-item-meta { color: var(--text-muted); font-size: 0.76rem; }
.checkout-item-price { color: var(--accent); font-weight: 700; white-space: nowrap; }

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.checkout-total-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

/* ── Floating cart button (mobile) ── */
.float-cart-btn {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #4d9fff, #0062cc);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(77,159,255,0.55), 0 2px 8px rgba(0,0,0,0.3);
  z-index: 150;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(77,159,255,0.65);
}
.float-cart-btn:active { transform: scale(0.96); }

/* ════════════════════════════════════════
   CREATIVE SERVICES — PREMIUM REDESIGN
   ════════════════════════════════════════ */

/* ── Category tabs ── */
.creative-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0 2rem;
}

.creative-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  transition: all var(--transition);
  position: relative;
}

.creative-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.creative-tab:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.creative-tab.active {
  background: #fff;
  border-color: #fff;
  color: #000e2b;
}

.creative-tab-badge {
  font-size: 0.75rem;
  margin-left: 0.1rem;
}

/* ── Panel ── */
.creative-panel {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.creative-panel.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Panel intro header ── */
.creative-panel-intro {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.creative-panel-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pc, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc, var(--accent)) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc, var(--accent));
  flex-shrink: 0;
}

.creative-panel-icon svg { width: 24px; height: 24px; }

.creative-panel-intro h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #fff;
}

.creative-panel-intro p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.learn-popular-badge {
  position: absolute;
  top: -10px;
  right: 1.2rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* ── Items grid ── */
.creative-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.85rem;
}

/* ── Individual item card ── */
.creative-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.creative-item-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--ci, var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.creative-item-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: var(--surface2);
  transform: translateX(4px);
}

.creative-item-card:hover::before { opacity: 1; }

.ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--ci, var(--accent)) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--ci, var(--accent)) 28%, transparent);
  color: var(--ci, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.ci-icon svg { width: 18px; height: 18px; }
.creative-item-card:hover .ci-icon {
  background: color-mix(in srgb, var(--ci, var(--accent)) 22%, transparent);
}

.ci-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.ci-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.ci-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}

.ci-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ci, var(--accent));
}

.ci-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition);
}

.creative-item-card:hover .ci-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ════════════════════════════════════════
   HERO — REDESIGN
   ════════════════════════════════════════ */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(135deg, #000e2b 0%, #001333 55%, #001a40 100%);
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77,159,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Eyebrow ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(77,159,255,0.1);
  border: 1px solid rgba(77,159,255,0.25);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.4rem;
  letter-spacing: 0.3px;
}

.hero-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── Headline ── */
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

/* ── Service tags row ── */
.hero-services-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 1.2rem;
}

.hero-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-service-tag svg {
  width: 14px; height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-divider {
  color: rgba(255,255,255,0.2);
  font-size: 0.9rem;
}

/* ── Sub text ── */
.hero-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Buttons ── */
.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}

/* ── Stats row ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Right visual — network cards ── */
.hero-visual { flex-shrink: 0; }

.hero-networks-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 220px;
}

.hero-network-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  transition: all var(--transition);
  cursor: default;
}

.hero-network-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(77,159,255,0.3);
  transform: translateX(-4px);
}

.hero-network-card img {
  width: 40px; height: 40px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-network-card div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hnc-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.hnc-sub {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
}

/* ════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Navbar */
  .hamburger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #000e2b;
    padding: 1rem 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }

  /* Sections */
  .section       { padding: 2.5rem 1.2rem; }
  .section-title { font-size: 1.3rem; }
  .section-sub   { font-size: 0.85rem; margin-bottom: 1.5rem; }
  .alt-bg        { padding: 2.5rem 1.2rem; }

  /* Services */
  .services        { padding: 2.5rem 1.2rem; }
  .services-grid   { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
  .service-card    { padding: 1.2rem 1rem; gap: 0.8rem; }
  .service-icon-wrap { width: 40px; height: 40px; border-radius: 10px; }
  .service-icon-wrap svg { width: 18px; height: 18px; }
  .service-card-body h3 { font-size: 0.92rem; }
  .service-card-body p  { font-size: 0.8rem; }
  .trust-bar  { padding: 1rem; gap: 0.5rem 1rem; }
  .trust-item { font-size: 0.76rem; }

  /* Network tabs */
  .network-tabs { gap: 0.5rem; margin: 1.2rem 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tab-btn { padding: 0.4rem 0.9rem; font-size: 0.78rem; flex-shrink: 0; }
  .tab-btn img { width: 20px; height: 20px; }

  /* Plans */
  .plans-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .plan-card   { padding: 0.9rem 0.65rem; }
  .plan-size   { font-size: 1.35rem; }
  .plan-validity { font-size: 0.7rem; }
  .plan-price  { font-size: 0.95rem; }
  .plan-buy    { font-size: 0.75rem; padding: 0.38rem; margin-top: 0.5rem; }

  /* WAEC */
  .waec-grid     { grid-template-columns: 1fr; gap: 1rem; }
  .waec-card-top { padding: 1.1rem 1.1rem 0.9rem; }
  .waec-logo     { width: 40px; height: 40px; }
  .waec-card-body { padding: 1rem 1.1rem; }
  .waec-card-body h3 { font-size: 0.92rem; }
  .waec-card-body p  { font-size: 0.8rem; }
  .waec-price    { font-size: 1.1rem; }

  /* Subscriptions */
  .sub-grid  { grid-template-columns: 1fr; gap: 1rem; }
  .sub-card  { padding: 1.1rem; }
  .sub-logo  { font-size: 1.6rem; margin-bottom: 0.3rem; }
  .sub-card h3 { font-size: 0.92rem; margin-bottom: 0.5rem; }
  .plan-btn  { font-size: 0.76rem; padding: 0.32rem 0.65rem; }

  /* Forms */
  .form-card  { padding: 1.2rem 1rem; }
  label       { font-size: 0.8rem; margin-bottom: 0.9rem; }
  input, select { padding: 0.6rem 0.8rem; font-size: 0.88rem; }
  .price-display { font-size: 0.95rem; padding: 0.6rem; }
  .amount-grid { gap: 0.45rem; }
  .amount-btn  { font-size: 0.76rem; padding: 0.38rem; }

  /* Steps */
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 0.8rem; }
  .step-connector { display: none; }
  .step-num { width: 40px; height: 40px; font-size: 0.95rem; margin-bottom: 0.8rem; }
  .step-body svg { width: 22px; height: 22px; }
  .step h4 { font-size: 0.88rem; }
  .step p  { font-size: 0.78rem; }

  /* Contact */
  .contact-cards { flex-direction: column; gap: 0.8rem; }
  .contact-card  { min-width: unset; width: 100%; padding: 0.9rem 1.1rem; }
  .contact-icon svg { width: 36px; height: 36px; }
  .contact-card strong { font-size: 0.88rem; }
  .contact-card div span { font-size: 0.75rem; }

  /* Modals */
  .modal { padding: 1.4rem 1.1rem; }
  .modal h3 { font-size: 0.98rem; margin-bottom: 0.9rem; }
  .selected-plan-info { font-size: 0.8rem; padding: 0.55rem 0.8rem; margin-bottom: 0.9rem; }

  /* Footer */
  .footer { padding: 2rem 1.2rem; }
  .footer-brand { font-size: 1.05rem; }
  .footer p { font-size: 0.78rem; }

  /* Cart */
  .float-cart-btn { display: flex; }
  .cart-nav-btn   { display: none; }
  .cart-drawer    { width: 100vw; }

  /* Creative services */
  .creative-tabs { gap: 0.5rem; }
  .creative-tab  { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .creative-tab svg { width: 14px; height: 14px; }
  .creative-panel-intro { padding: 1.1rem; gap: 0.85rem; flex-wrap: wrap; }
  .creative-panel-icon  { width: 44px; height: 44px; }
  .creative-panel-icon svg { width: 20px; height: 20px; }
  .creative-panel-intro h3 { font-size: 0.95rem; }
  .creative-panel-intro p  { font-size: 0.8rem; }
  .creative-items-grid { grid-template-columns: 1fr; gap: 0.65rem; }
  .creative-item-card  { padding: 0.9rem 1rem; }
  .ci-icon  { width: 36px; height: 36px; border-radius: 9px; }
  .ci-icon svg { width: 16px; height: 16px; }
  .ci-name  { font-size: 0.85rem; }
  .ci-desc  { font-size: 0.72rem; }
  .ci-price { font-size: 0.92rem; }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.2rem 2.5rem;
    min-height: unset;
    gap: 2rem;
  }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-services-row { justify-content: center; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-networks-stack {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 0.6rem;
  }
  .hero-network-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    width: calc(50% - 0.3rem);
    gap: 0.5rem;
  }
  .hero-network-card:hover { transform: translateY(-3px); }
  .hero-network-card img { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .nav-brand { font-size: 1.05rem; }
  .nav-logo  { width: 28px; height: 28px; }
  .services-label { font-size: 0.62rem; letter-spacing: 2px; }
  .waec-featured-tag { font-size: 0.6rem; padding: 0.18rem 0.45rem; }
  .plan-size { font-size: 1.2rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stat-num   { font-size: 1rem; }
  .hero-networks-stack { gap: 0.5rem; }
  .hero-network-card { width: calc(50% - 0.25rem); }
  .btn-ghost { display: none; }
}

@media (max-width: 360px) {
  .hero-content h1 { font-size: 1.25rem; }
  .plans-grid { gap: 0.5rem; }
  .plan-card  { padding: 0.75rem 0.5rem; }
  .plan-size  { font-size: 1.1rem; }
  .plan-price { font-size: 0.88rem; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .btn  { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
}
