/*
Theme Name: VTUPay
Theme URI: https://vtupay.com
Author: VTUPay
Description: A modern VTU & Bills Payment WordPress Theme with VTPass API integration, Wallet System, and Paystack funding.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: vtupay
*/

/* =============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================= */
:root {
  --green-primary: #00a651;
  --green-dark: #007a3d;
  --green-light: #00c962;
  --green-pale: #e6f7ef;
  --accent-gold: #f5a623;
  --accent-orange: #ff6b35;
  --dark-900: #0a0f0d;
  --dark-800: #111a15;
  --dark-700: #1a2b21;
  --dark-600: #243d2e;
  --gray-500: #6b7c75;
  --gray-300: #b0c4bb;
  --gray-100: #f0f7f3;
  --white: #ffffff;
  --danger: #e53e3e;
  --warning: #d69e2e;
  --info: #3182ce;

  --font-heading: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,166,81,0.08);
  --shadow-md: 0 8px 32px rgba(0,166,81,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(0,166,81,0.25);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-900);
}

/* =============================================
   TYPOGRAPHY SCALE
   ============================================= */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.grid { display: grid; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,166,81,0.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,166,81,0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}
.btn-outline:hover {
  background: var(--green-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark-800);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-700);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.45);
  color: var(--white);
}

.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,166,81,0.08);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-body { padding: 28px; }
.card-header { padding: 20px 28px; border-bottom: 1px solid var(--gray-100); }
.card-footer { padding: 16px 28px; background: var(--gray-100); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-800);
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  background: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px rgba(0,166,81,0.1);
}

.form-control::placeholder { color: var(--gray-300); }

select.form-control { cursor: pointer; }

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success { background: rgba(0,166,81,0.12); color: var(--green-dark); }
.badge-danger { background: rgba(229,62,62,0.12); color: var(--danger); }
.badge-warning { background: rgba(214,158,46,0.12); color: var(--warning); }
.badge-info { background: rgba(49,130,206,0.12); color: var(--info); }

/* =============================================
   ALERTS
   ============================================= */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(0,166,81,0.1); color: var(--green-dark); border-left: 4px solid var(--green-primary); }
.alert-danger { background: rgba(229,62,62,0.1); color: var(--danger); border-left: 4px solid var(--danger); }
.alert-warning { background: rgba(245,166,35,0.1); color: #92400e; border-left: 4px solid var(--accent-gold); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,166,81,0.1);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-900);
}

.nav-logo-text span { color: var(--green-primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-700);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--green-primary);
  background: var(--green-pale);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-700) 100%);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,166,81,0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,166,81,0.08) 0%, transparent 70%);
  animation: pulse 6s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,166,81,0.15);
  border: 1px solid rgba(0,166,81,0.3);
  color: var(--green-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--green-primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-primary);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-item {}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Hero Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  background: var(--dark-700);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,166,81,0.2);
  border: 1px solid rgba(0,166,81,0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-screen {
  background: var(--dark-900);
  border-radius: 32px;
  overflow: hidden;
}

.phone-header {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  padding: 20px;
  text-align: center;
}

.phone-header-balance {
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  margin-bottom: 4px;
}

.phone-header-amount {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.phone-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
}

.phone-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.phone-service-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,166,81,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.phone-service-label {
  font-size: 0.55rem;
  color: var(--gray-300);
  text-align: center;
}

.phone-txns { padding: 0 16px 16px; }

.phone-txn-title {
  font-size: 0.65rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-txn-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.phone-txn-info { display: flex; align-items: center; gap: 8px; }

.phone-txn-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.phone-txn-name { font-size: 0.6rem; color: var(--white); font-weight: 600; }
.phone-txn-date { font-size: 0.5rem; color: var(--gray-500); }
.phone-txn-amount { font-size: 0.65rem; font-weight: 700; }

/* =============================================
   SERVICES SECTION
   ============================================= */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  color: var(--green-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-900);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-pale), transparent);
  opacity: 0;
  transition: var(--transition);
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-pale), rgba(0,166,81,0.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
  position: relative;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  transform: scale(1.1);
}

.service-card:hover .service-icon svg,
.service-card:hover .service-icon span { filter: brightness(0) invert(1); }

.service-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-bg {
  background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
  position: relative;
  overflow: hidden;
}

.how-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,166,81,0.1) 0%, transparent 60%);
}

.how-bg .section-title { color: var(--white); }
.how-bg .section-subtitle { color: var(--gray-300); }
.how-bg .section-label { background: rgba(0,166,81,0.15); color: var(--green-light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,166,81,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(0,166,81,0.08);
  border-color: rgba(0,166,81,0.4);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 24px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.step-desc { font-size: 0.9rem; color: var(--gray-300); line-height: 1.6; }

/* =============================================
   PRICING / WALLET SECTION
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-color: var(--green-primary);
  transform: scale(1.04);
  box-shadow: 0 20px 60px rgba(0,166,81,0.4);
}

.pricing-card.featured * { color: white !important; }
.pricing-card.featured .pricing-price { color: white; }

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 8px;
}

.pricing-desc { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 32px; }

.pricing-features { list-style: none; margin-bottom: 32px; }

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pricing-check {
  width: 20px;
  height: 20px;
  background: rgba(0,166,81,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-check {
  background: rgba(255,255,255,0.2);
  color: white;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0,166,81,0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--dark-700);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--dark-900); }
.testimonial-role { font-size: 0.75rem; color: var(--gray-500); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark-900);
  color: var(--gray-300);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials { display: flex; gap: 12px; }

.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--green-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--gray-500);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--green-primary); padding-left: 6px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  font-size: 0.85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================
   DASHBOARD LAYOUT
   ============================================= */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: var(--gray-100);
}

.sidebar {
  width: 260px;
  background: var(--dark-900);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition);
  overflow-y: auto;
}

.sidebar-logo {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.sidebar-logo-text span { color: var(--green-primary); }

.sidebar-nav { padding: 20px 12px; flex: 1; }

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  padding: 0 8px;
  margin: 16px 0 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
}

.sidebar-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.sidebar-item.active {
  background: rgba(0,166,81,0.15);
  color: var(--green-primary);
  font-weight: 600;
}

.sidebar-item.active .sidebar-icon { color: var(--green-primary); }

.sidebar-icon { width: 18px; text-align: center; font-size: 0.95rem; flex-shrink: 0; }

.sidebar-item-badge {
  margin-left: auto;
  background: var(--green-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-user:hover { background: rgba(255,255,255,0.05); }

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sidebar-user-info {}
.sidebar-username { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.sidebar-useremail { font-size: 0.72rem; color: var(--gray-500); }

.dashboard-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
}

.dashboard-topbar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,166,81,0.08);
  padding: 0 32px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.dashboard-topbar-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-900);
}

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.topbar-notif {
  width: 38px;
  height: 38px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border: none;
}

.topbar-notif:hover { background: var(--green-pale); }

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid white;
}

.dashboard-content { padding: 32px; }

/* =============================================
   WALLET CARD
   ============================================= */
.wallet-card {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 60%, #004d26 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.wallet-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.wallet-card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: 80px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.wallet-label {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.75;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.wallet-balance {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.wallet-balance-sub {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.wallet-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.wallet-btn-fund {
  background: white;
  color: var(--green-dark);
}

.wallet-btn-fund:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

.wallet-btn-transfer {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

.wallet-btn-transfer:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.wallet-id {
  position: absolute;
  bottom: 28px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

/* =============================================
   STATS GRID
   ============================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,166,81,0.06);
  transition: var(--transition);
}

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

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-icon-green { background: rgba(0,166,81,0.12); color: var(--green-primary); }
.stat-icon-gold { background: rgba(245,166,35,0.12); color: var(--accent-gold); }
.stat-icon-blue { background: rgba(49,130,206,0.12); color: var(--info); }
.stat-icon-red { background: rgba(229,62,62,0.12); color: var(--danger); }

.stat-info {}
.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark-900);
  line-height: 1.1;
}

.stat-label { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

.stat-change {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 6px;
}

.stat-change.up { color: var(--green-primary); }
.stat-change.down { color: var(--danger); }

/* =============================================
   QUICK SERVICE BUTTONS
   ============================================= */
.quick-services {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.quick-services-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 20px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  background: var(--gray-100);
  border: 2px solid transparent;
  text-decoration: none;
}

.quick-item:hover {
  background: var(--green-pale);
  border-color: var(--green-primary);
  transform: translateY(-3px);
}

.quick-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.quick-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-700);
  text-align: center;
  line-height: 1.3;
}

/* =============================================
   TRANSACTIONS TABLE
   ============================================= */
.txn-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.txn-table-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}

.txn-table-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-900);
}

.txn-table { width: 100%; border-collapse: collapse; }

.txn-table th {
  padding: 12px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  background: var(--gray-100);
}

.txn-table td { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.txn-table tr:last-child td { border-bottom: none; }
.txn-table tr:hover td { background: rgba(0,166,81,0.02); }

.txn-type-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 12px;
}

.txn-cell-main { display: flex; align-items: center; }
.txn-name { font-weight: 600; font-size: 0.9rem; color: var(--dark-900); }
.txn-id { font-size: 0.75rem; color: var(--gray-500); font-family: var(--font-mono); }

.txn-amount { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; }
.txn-amount.debit { color: var(--danger); }
.txn-amount.credit { color: var(--green-primary); }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: var(--transition);
  overflow: hidden;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 24px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}

.modal-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }

.modal-close {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.modal-close:hover { background: var(--danger); color: white; }

.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--gray-100); display: flex; gap: 12px; justify-content: flex-end; }

/* =============================================
   AUTH PAGES
   ============================================= */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-left {
  background: linear-gradient(135deg, var(--dark-900), var(--dark-800));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,166,81,0.15) 0%, transparent 60%);
}

.auth-left-content { position: relative; z-index: 1; max-width: 440px; }

.auth-left-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.auth-left-title span { color: var(--green-primary); }

.auth-left-desc {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 48px;
}

.auth-features { list-style: none; }
.auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--gray-300);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.auth-feature-check {
  width: 22px;
  height: 22px;
  background: rgba(0,166,81,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--white);
}

.auth-form-wrap { width: 100%; max-width: 400px; }

.auth-form-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: 8px;
}

.auth-form-sub { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 36px; }
.auth-form-sub a { color: var(--green-primary); font-weight: 600; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-300);
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

/* =============================================
   FUND WALLET SECTION
   ============================================= */
.fund-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.fund-amount-btn {
  padding: 12px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  color: var(--dark-800);
  font-family: var(--font-body);
}

.fund-amount-btn:hover,
.fund-amount-btn.active {
  border-color: var(--green-primary);
  background: var(--green-pale);
  color: var(--green-dark);
}

/* =============================================
   PROFILE PAGE
   ============================================= */
.profile-header {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: var(--radius-xl);
  padding: 36px;
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.profile-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.profile-name-lg {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.profile-email { opacity: 0.75; font-size: 0.9rem; margin-top: 4px; }
.profile-joined { font-size: 0.8rem; opacity: 0.6; margin-top: 6px; }

/* =============================================
   RESPONSIVE
   ============================================= */
/* =============================================
   RESPONSIVE — COMPREHENSIVE
   Breakpoints: 1024px (tablet), 768px (mobile), 480px (small mobile)
   Covers: public site, all dashboard pages, all service templates,
           new service pages (betting, waec, jamb, neco, gift cards,
           water, insurance, government, transfer)
   ============================================= */

/* ── 1024px: Tablet ── */
@media (max-width: 1024px) {

  /* Sidebar collapses off-screen */
  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 260px;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 0 0 60px rgba(0,0,0,0.5); }
  #sidebarClose { display: flex !important; }

  /* Dashboard main takes full width */
  .dashboard-main { margin-left: 0 !important; }

  /* Topbar gets a hamburger area */
  .dashboard-topbar { padding: 0 20px; }

  /* Public hero */
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; margin: 0 auto; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Auth */
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-left { display: none; }

  /* Admin panel */
  .vtp-grid-2, .vtp-grid-3 { grid-template-columns: 1fr !important; }

  /* Providers / gateways */
  .providers-grid { grid-template-columns: repeat(3, 1fr); }
  .gateways-row   { grid-template-columns: 1fr 1fr; }

  /* Insurance form grid */
  .vtp-grid-2.ins-grid { grid-template-columns: 1fr !important; }
}

/* ── 768px: Mobile ── */
@media (max-width: 768px) {

  /* ── Public nav ── */
  .nav-menu   { display: none; }
  .nav-toggle { display: flex; }

  /* ── Public sections ── */
  .hero     { padding: 80px 0 60px; }
  .section  { padding: 60px 0; }
  .hero-title       { font-size: 2.2rem; }
  .hero-actions     { flex-direction: column; gap: 12px; align-items: stretch; }
  .hero-actions .btn-lg { text-align: center; justify-content: center; }
  .stats-strip      { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services-grid-public { grid-template-columns: repeat(2, 1fr); }
  .how-grid         { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
  .cta-box          { flex-direction: column; gap: 16px; text-align: center; }

  /* ── Dashboard layout ── */
  .dashboard-content  { padding: 16px; }
  .dashboard-topbar   { padding: 0 16px; height: 56px; }
  .dashboard-topbar-title { font-size: 1.1rem; }

  /* Wallet card */
  .wallet-card        { padding: 24px 20px; border-radius: 20px; }
  .wallet-balance     { font-size: 2.2rem !important; }
  .wallet-actions     { flex-direction: column; gap: 10px; }
  .wallet-actions .btn { width: 100%; justify-content: center; }

  /* Stats grid — 2 columns on mobile */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card  { padding: 16px; }
  .stat-value { font-size: 1.3rem; }
  .stat-icon  { width: 40px; height: 40px; font-size: 1rem; }

  /* Quick actions — 3 per row on mobile */
  .quick-grid  { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .quick-item  { padding: 14px 8px; }
  .quick-icon  { width: 44px; height: 44px; font-size: 1.1rem; }
  .quick-label { font-size: 0.7rem; }

  /* Fund amounts */
  .fund-amounts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .fund-amount-btn { padding: 10px 8px; font-size: 0.82rem; }

  /* Transaction table */
  .txn-table          { font-size: 0.8rem; }
  .txn-table th,
  .txn-table td       { padding: 10px 8px; }
  /* Hide less important columns on mobile */
  .txn-table .col-ref { display: none; }

  /* Card */
  .card-body   { padding: 20px 16px; }
  .card-header { padding: 16px; }

  /* Form */
  .form-control { font-size: 0.9rem; padding: 10px 12px; }
  .form-label   { font-size: 0.82rem; }

  /* Modals */
  .modal          { width: calc(100vw - 32px); max-width: 100% !important; margin: 0 16px; border-radius: 16px; }
  .modal-header   { padding: 16px 20px; }
  .modal-body     { padding: 16px 20px; }
  .modal-footer   { padding: 12px 20px; flex-direction: column; gap: 8px; }
  .modal-footer .btn { width: 100%; justify-content: center; }

  /* ── Airtime page ── */
  .network-selector   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .network-btn        { padding: 14px 10px; }
  .airtime-amounts    { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* ── Data page ── */
  .data-network-selector { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* ── Electricity page ── */
  .disco-selector     { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .meter-toggle       { flex-direction: column; gap: 8px; }
  .elec-amounts       { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* ── Cable page ── */
  .cable-provider     { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  /* ── Betting page ── */
  #bookmakersGrid     { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .bookmaker-btn      { padding: 10px 6px !important; font-size: 0.72rem !important; }
  .bookmaker-btn div  { font-size: 1.1rem !important; }

  /* ── WAEC page ── */
  .waec-types         { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* ── JAMB page ── */
  #jambServiceGrid    { grid-template-columns: 1fr 1fr !important; gap: 10px; }

  /* ── Gift cards page ── */
  #giftCardGrid       { grid-template-columns: repeat(3, 1fr) !important; gap: 10px; }
  .denom-btns         { flex-wrap: wrap; gap: 6px; }

  /* ── Insurance page ── */
  .ins-type-grid      { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ins-details-grid   { grid-template-columns: 1fr !important; }

  /* ── Government page ── */
  #govServiceGrid     { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .gov-service-btn    { padding: 12px 8px !important; }

  /* ── Bank transfer page ── */
  .bank-verify-row    { flex-direction: column; gap: 8px; }
  .bank-verify-row .btn { width: 100%; }

  /* ── Transactions page ── */
  .txn-filters        { flex-direction: column; gap: 10px; }
  .txn-filter-select  { width: 100%; }

  /* ── Profile page ── */
  .profile-header-card { border-radius: 16px; padding: 24px 20px; }
  .profile-grid        { grid-template-columns: 1fr !important; gap: 16px; }

  /* ── Wallet page ── */
  .wallet-stats-grid  { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .wallet-bottom-grid { grid-template-columns: 1fr !important; gap: 16px; }

  /* ── Gateway selection (fund modal) ── */
  .gateway-option     { padding: 10px 12px !important; }
  .gw-logo            { font-size: 1.2rem; }
  .gw-info strong     { font-size: 0.85rem; }
  .gw-info span       { font-size: 0.75rem; }

  /* ── Topbar wallet badge ── */
  .topbar-wallet-balance { font-size: 0.85rem; }
  .topbar-wallet { padding: 6px 10px; font-size: 0.82rem; }

  /* Auth pages */
  .auth-right-inner  { max-width: 100% !important; }
  .auth-form-header h1 { font-size: 1.4rem; }
  .form-row-2        { grid-template-columns: 1fr !important; }
}

/* ── 480px: Small Mobile ── */
@media (max-width: 480px) {

  /* Container */
  .container { padding: 0 16px; }

  /* Public hero */
  .hero-actions     { flex-direction: column; }
  .btn-lg           { padding: 14px 24px; font-size: 0.95rem; }

  /* Stats — single column on very small screens */
  .stats-grid       { grid-template-columns: 1fr; gap: 10px; }

  /* Wallet */
  .wallet-balance   { font-size: 1.9rem !important; }
  .wallet-card      { padding: 20px 16px; }
  .wallet-id        { font-size: 0.72rem; }

  /* Quick grid — 3 columns but smaller */
  .quick-grid       { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quick-item       { padding: 12px 6px; }
  .quick-icon       { width: 38px; height: 38px; font-size: 1rem; }
  .quick-label      { font-size: 0.65rem; }

  /* Fund amounts — 2 columns */
  .fund-amounts     { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Pricing card */
  .pricing-card.featured { transform: none; }

  /* Network / service selectors */
  .network-selector { grid-template-columns: 1fr 1fr; }
  .disco-selector   { grid-template-columns: 1fr 1fr; }
  #bookmakersGrid   { grid-template-columns: repeat(2, 1fr) !important; }
  #jambServiceGrid  { grid-template-columns: 1fr 1fr !important; }
  #giftCardGrid     { grid-template-columns: repeat(2, 1fr) !important; }
  #govServiceGrid   { grid-template-columns: 1fr 1fr !important; }

  /* Wallet stats */
  .wallet-stats-grid { grid-template-columns: 1fr !important; }

  /* Dashboard topbar — hide wallet on very small */
  .topbar-wallet-text { display: none; }

  /* Modal full screen on tiny devices */
  .modal-overlay { align-items: flex-end; }
  .modal {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Transaction table — show only 3 columns */
  .txn-table .col-network { display: none; }
  .txn-table .col-phone   { display: none; }

  /* Buttons full width in forms */
  .btn-full-mobile { width: 100% !important; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Touch / Hover ── */
@media (hover: none) {
  /* Remove hover transforms on touch devices */
  .stat-card:hover,
  .quick-item:hover,
  .card:hover { transform: none; }
}

/* ── Sidebar hamburger button (always show on < 1024px) ── */
@media (max-width: 1024px) {
  .sidebar-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-right: 12px;
    font-size: 1.1rem;
    color: var(--dark-900);
    flex-shrink: 0;
  }
}
.sidebar-toggle-btn { display: none; }


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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-up { animation: fadeInUp 0.6s ease both; }
.animate-fade { animation: fadeIn 0.6s ease both; }
.animate-slide { animation: slideIn 0.5s ease both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* =============================================
   LOADING SPINNER
   ============================================= */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(0,166,81,0.2);
  border-top-color: var(--green-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(4px);
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: rgba(0,166,81,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-primary); }

/* =============================================
   NOTICE / BANNER
   ============================================= */
.top-banner {
  background: linear-gradient(90deg, var(--green-dark), var(--green-primary), var(--green-dark));
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* =============================================
   WP ALIGNMENT CLASSES
   ============================================= */
.wp-block-image.aligncenter { margin: 0 auto; }
.alignleft { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { display: block; margin: 0 auto; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
