@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #6C5CE7;
  --primary-light: #9B8FFF;
  --primary-dark: #5546D6;
  --secondary: #FF5C8A;
  --accent: #2DD4BF;
  --dark: #0A0A12;
  --dark-card: #131320;
  --dark-card-2: #181828;
  --dark-border: #232336;
  --text-primary: #FFFFFF;
  --text-secondary: #9494B0;
  --text-muted: #5C5C78;
  --success: #2DD4BF;
  --warning: #F5A623;
  --danger: #FF5C5C;
  --gradient: linear-gradient(135deg, #6C5CE7 0%, #A663F2 50%, #FF5C8A 100%);
  --gradient-soft: linear-gradient(135deg, rgba(108,92,231,0.14) 0%, rgba(255,92,138,0.08) 100%);
  --card-bg: rgba(19, 19, 32, 0.7);
  --glass: rgba(255,255,255,0.03);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

.naira-safe, .wallet-amount, .stat-card h3, .info-row-value, .amount,
.plan-price, .sum-amount, td[class*="naira"] {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 15px; }
body {
  font-family: var(--font-body); background: var(--dark); color: var(--text-primary);
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.5;
}
h1, h2, h3, h4, .navbar-brand, .hero h1, .section-header h2, .auth-card h2 { font-family: var(--font-display); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-border); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 14px 0; background: rgba(10,10,18,0.85); backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,0.06); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.navbar-brand { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 9px; color: var(--text-primary); text-decoration: none; letter-spacing: -0.02em; }
.brand-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #fff; flex-shrink: 0; }
.navbar-links { display: flex; align-items: center; gap: 26px; }
.navbar-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.navbar-links a:hover { color: var(--text-primary); }
.navbar-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--dark-border); align-items: center; justify-content: center; cursor: pointer; background: var(--glass); color: var(--text-primary); font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.8rem; cursor: pointer; transition: all 0.2s ease; border: none; text-decoration: none; gap: 7px; letter-spacing: -0.01em; white-space: nowrap; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 16px rgba(108,92,231,0.35); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline { background: var(--glass); color: var(--text-primary); border: 1px solid var(--dark-border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(108,92,231,0.08); }
.btn-success { background: var(--success); color: #06231F; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.74rem; border-radius: 8px; }
.btn-lg { padding: 13px 26px; font-size: 0.9rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 90px 20px 50px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 50% at 25% 30%, rgba(108,92,231,0.2) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 80% 15%, rgba(255,92,138,0.1) 0%, transparent 60%); }
.hero-grid { position: absolute; inset: 0; z-index: 0; opacity: 0.5; background-image: linear-gradient(rgba(108,92,231,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(108,92,231,0.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%); }
.hero .container { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(108,92,231,0.12); border: 1px solid rgba(108,92,231,0.28); padding: 6px 13px 6px 10px; border-radius: 50px; font-size: 0.72rem; color: var(--primary-light); margin-bottom: 18px; font-weight: 600; }
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
.hero h1 { font-size: 2.7rem; font-weight: 800; line-height: 1.12; margin-bottom: 16px; letter-spacing: -0.03em; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 0.98rem; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.65; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.stat-item h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-item p { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; font-weight: 500; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card { background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-xl); padding: 24px; width: 100%; max-width: 330px; backdrop-filter: blur(24px); box-shadow: 0 24px 70px rgba(0,0,0,0.5); }
.hero-card-header { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.hero-card-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff; flex-shrink: 0; }
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.network-item { background: var(--glass); border: 1px solid var(--dark-border); border-radius: var(--radius-sm); padding: 11px; text-align: center; cursor: pointer; transition: all 0.2s; }
.network-item:hover, .network-item.active { border-color: var(--primary); background: rgba(108,92,231,0.08); }
.net-dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 5px; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; color: #0A0A12; }
.network-item span { font-size: 0.68rem; color: var(--text-secondary); font-weight: 700; letter-spacing: 0.02em; }

/* ===== SECTIONS ===== */
.section { padding: 64px 20px; }
.section-header { text-align: center; margin-bottom: 42px; }
.section-header h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.section-header h2 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { color: var(--text-secondary); font-size: 0.86rem; }
.container { max-width: 1180px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.service-card { background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 22px; text-align: left; transition: all 0.25s ease; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.service-card:hover { border-color: rgba(108,92,231,0.4); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(108,92,231,0.12); }
.service-icon { width: 44px; height: 44px; margin-bottom: 14px; background: var(--gradient-soft); border: 1px solid rgba(108,92,231,0.2); border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-light); }
.service-card h3 { font-size: 0.96rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.service-card p { color: var(--text-secondary); font-size: 0.81rem; line-height: 1.55; }

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout { display: flex; min-height: 100vh; }
.sidebar { width: 230px; min-height: 100vh; background: var(--dark-card); border-right: 1px solid var(--dark-border); padding: 20px 0; position: fixed; left: 0; top: 0; z-index: 100; display: flex; flex-direction: column; }
.sidebar-brand { padding: 0 20px 18px; border-bottom: 1px solid var(--dark-border); font-size: 1.08rem; font-weight: 800; display: flex; align-items: center; gap: 9px; letter-spacing: -0.02em; }
.sidebar-nav { flex: 1; padding: 18px 0; overflow-y: auto; }
.nav-section { margin-bottom: 6px; }
.nav-section-title { padding: 0 20px; margin-bottom: 6px; font-size: 0.62rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 20px; color: var(--text-secondary); text-decoration: none; font-size: 0.83rem; font-weight: 500; transition: all 0.15s; border-left: 2px solid transparent; }
.nav-item:hover { color: var(--text-primary); background: var(--glass); }
.nav-item.active { color: var(--primary-light); background: rgba(108,92,231,0.08); border-left-color: var(--primary); }
.nav-item i { font-size: 1.05rem; width: 18px; text-align: center; flex-shrink: 0; }
.sidebar-user { padding: 16px 20px; border-top: 1px solid var(--dark-border); }
.sidebar-user-info { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.user-info-text small { color: var(--text-muted); font-size: 0.68rem; display: block; }
.user-info-text strong { font-size: 0.82rem; }
.main-content { flex: 1; margin-left: 230px; padding: 22px; min-height: 100vh; background: var(--dark); max-width: 100%; padding-bottom: 90px; }
.top-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-border); gap: 12px; flex-wrap: wrap; }
.top-bar h1 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.mobile-menu-btn { display: none; }

/* ===== BOTTOM NAV (mobile) ===== */
.bottom-nav { display: none; }

/* ===== CARDS ===== */
.card { background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 20px; backdrop-filter: blur(10px); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.card-title { font-size: 0.92rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-title i { color: var(--primary-light); font-size: 1rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat-card { background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-md); padding: 16px; position: relative; overflow: hidden; }
.stat-card-icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 12px; }
.stat-card.purple .stat-card-icon { background: rgba(108,92,231,0.15); color: var(--primary-light); }
.stat-card.pink .stat-card-icon { background: rgba(255,92,138,0.15); color: var(--secondary); }
.stat-card.green .stat-card-icon { background: rgba(45,212,191,0.15); color: var(--accent); }
.stat-card.orange .stat-card-icon { background: rgba(245,166,35,0.15); color: var(--warning); }
.stat-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 2px; letter-spacing: -0.02em; }
.stat-card p { color: var(--text-secondary); font-size: 0.72rem; font-weight: 500; }

/* ===== WALLET BANNER ===== */
.wallet-banner { background: var(--gradient); border-radius: var(--radius-lg); padding: 22px; position: relative; overflow: hidden; margin-bottom: 22px; }
.wallet-banner::before { content: ''; position: absolute; top: -40%; right: -8%; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.wallet-label { font-size: 0.76rem; opacity: 0.9; margin-bottom: 6px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.wallet-amount { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.wallet-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wallet-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 0.78rem; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; }
.wallet-btn-white { background: rgba(255,255,255,0.18); color: #fff; }
.wallet-btn-white:hover { background: rgba(255,255,255,0.28); }
.wallet-btn-solid { background: #fff; color: var(--primary); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 14px; background: var(--glass); border: 1px solid var(--dark-border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.88rem; font-family: var(--font-body); transition: all 0.2s; outline: none; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.14); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control option { background: var(--dark-card); }
.form-control:disabled { opacity: 0.55; cursor: not-allowed; }

/* ===== ALERTS ===== */
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.82rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.alert-success { background: rgba(45,212,191,0.08); border: 1px solid rgba(45,212,191,0.25); color: var(--success); }
.alert-danger { background: rgba(255,92,92,0.08); border: 1px solid rgba(255,92,92,0.25); color: var(--danger); }
.alert-warning { background: rgba(245,166,35,0.08); border: 1px solid rgba(245,166,35,0.25); color: var(--warning); }
.alert-info { background: rgba(108,92,231,0.08); border: 1px solid rgba(108,92,231,0.25); color: var(--primary-light); }

/* ===== TABLE ===== */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
thead th { padding: 10px 12px; text-align: left; color: var(--text-muted); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--dark-border); white-space: nowrap; }
tbody td { padding: 12px; border-bottom: 1px solid rgba(35,35,54,0.6); color: var(--text-secondary); }
tbody tr:hover { background: var(--glass); }
tbody tr:last-child td { border-bottom: none; }

/* ===== BADGES ===== */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 50px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.01em; }
.badge-success { background: rgba(45,212,191,0.12); color: var(--success); }
.badge-danger { background: rgba(255,92,92,0.12); color: var(--danger); }
.badge-warning { background: rgba(245,166,35,0.12); color: var(--warning); }
.badge-info { background: rgba(108,92,231,0.12); color: var(--primary-light); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.65); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: all 0.25s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 24px; width: 100%; max-width: 420px; transform: scale(0.96); transition: transform 0.25s; }
.modal-overlay.active .modal { transform: scale(1); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-title { font-size: 1rem; font-weight: 700; }
.modal-close { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--dark-border); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.modal-close:hover { border-color: var(--danger); color: var(--danger); }

/* ===== NETWORK SELECTOR ===== */
.network-selector { display: flex; gap: 8px; margin-bottom: 16px; }
.net-btn { flex: 1; padding: 11px 6px; border-radius: var(--radius-sm); border: 1.5px solid var(--dark-border); background: var(--glass); color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-size: 0.72rem; font-weight: 700; text-align: center; }
.net-btn:hover { border-color: var(--primary); }
.net-btn.active { border-color: var(--primary); background: rgba(108,92,231,0.1); color: var(--primary-light); }
.net-icon-wrap { width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 5px; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 800; color: #0A0A12; }

/* ===== PLAN CARDS ===== */
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 14px 0; }
.plan-card { border: 1.5px solid var(--dark-border); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; transition: all 0.2s; background: var(--glass); }
.plan-card:hover { border-color: var(--primary); }
.plan-card.selected { border-color: var(--primary); background: rgba(108,92,231,0.1); }
.plan-card .plan-size { font-size: 0.95rem; font-weight: 800; color: var(--primary-light); letter-spacing: -0.01em; }
.plan-card .plan-validity { font-size: 0.68rem; color: var(--text-muted); margin: 2px 0; }
.plan-card .plan-price { font-size: 0.84rem; font-weight: 700; color: var(--text-primary); }
.plan-card .plan-type { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ===== LOADER / TOAST ===== */
.loader { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.toast-container { position: fixed; top: 16px; right: 16px; left: 16px; z-index: 99999; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: var(--radius-sm); padding: 12px 15px; max-width: 320px; width: 100%; display: flex; align-items: center; gap: 10px; font-size: 0.82rem; animation: slideIn 0.25s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--primary); }
@keyframes slideIn { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse 50% 40% at 25% 20%, rgba(108,92,231,0.16) 0%, transparent 65%), radial-gradient(ellipse 40% 30% at 80% 10%, rgba(255,92,138,0.08) 0%, transparent 55%), var(--dark); }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; max-width: 1180px; margin: 0 auto; width: 100%; }
.auth-topbar-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text-primary); font-weight: 800; font-size: 1.05rem; font-family: var(--font-display); }
.auth-topbar-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); text-decoration: none; font-size: 0.82rem; font-weight: 600; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--dark-border); background: var(--glass); transition: all 0.2s; }
.auth-topbar-back:hover { color: var(--primary-light); border-color: var(--primary); }
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-xl); padding: 32px 28px; width: 100%; max-width: 400px; backdrop-filter: blur(24px); }
.auth-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; text-align: center; letter-spacing: -0.02em; }
.auth-card .subtitle { color: var(--text-secondary); font-size: 0.82rem; margin-bottom: 24px; text-align: center; }
.auth-link { text-align: center; margin-top: 18px; color: var(--text-secondary); font-size: 0.82rem; }
.auth-link a { color: var(--primary-light); text-decoration: none; font-weight: 600; }

/* ===== QUICK ACTIONS ===== */
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.quick-action { background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-md); padding: 16px 8px; text-align: center; cursor: pointer; transition: all 0.2s; text-decoration: none; color: inherit; }
.quick-action:hover { border-color: var(--primary); transform: translateY(-2px); }
.qa-icon { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.qa-data .qa-icon { background: rgba(108,92,231,0.15); color: var(--primary-light); }
.qa-airtime .qa-icon { background: rgba(45,212,191,0.15); color: var(--accent); }
.qa-cable .qa-icon { background: rgba(255,92,138,0.15); color: var(--secondary); }
.qa-electricity .qa-icon { background: rgba(245,166,35,0.15); color: var(--warning); }
.quick-action span { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); }

/* ===== TRANSACTIONS LIST ===== */
.tx-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(35,35,54,0.5); }
.tx-item:last-child { border-bottom: none; }
.tx-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.tx-icon.data { background: rgba(108,92,231,0.12); color: var(--primary-light); }
.tx-icon.airtime { background: rgba(45,212,191,0.12); color: var(--accent); }
.tx-icon.cable { background: rgba(255,92,138,0.12); color: var(--secondary); }
.tx-icon.electricity { background: rgba(245,166,35,0.12); color: var(--warning); }
.tx-icon.wallet { background: rgba(96,165,250,0.12); color: #60A5FA; }
.tx-info { flex: 1; min-width: 0; }
.tx-info h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-info p { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-amount { text-align: right; flex-shrink: 0; }
.tx-amount .amount { font-size: 0.85rem; font-weight: 700; }
.tx-amount .amount.debit { color: var(--text-primary); }
.tx-amount .amount.credit { color: var(--success); }
.tx-amount small { display: block; color: var(--text-muted); font-size: 0.68rem; margin-top: 1px; }

/* ===== PRICING TABS ===== */
.pricing-tabs { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.price-tab { padding: 7px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; border: 1px solid var(--dark-border); background: var(--glass); color: var(--text-secondary); cursor: pointer; transition: all 0.2s; }
.price-tab.active { background: var(--gradient); border-color: transparent; color: #fff; }
.pricing-table { display: none; }
.pricing-table.active { display: block; }

/* ===== FOOTER ===== */
.footer { padding: 48px 20px 24px; background: var(--dark-card); border-top: 1px solid var(--dark-border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.65; }
.footer-col h4 { font-weight: 700; margin-bottom: 13px; font-size: 0.82rem; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--dark-border); color: var(--text-muted); font-size: 0.74rem; flex-wrap: wrap; gap: 10px; }

/* ===== INPUT WITH ICON ===== */
.input-icon-wrap { position: relative; }
.input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.95rem; pointer-events: none; z-index: 1; }
.form-control.with-icon { padding-left: 40px; }
.toggle-password { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.95rem; padding: 0; z-index: 1; }
.toggle-password:hover { color: var(--primary); }

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay { display: none; position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); }
.sidebar-overlay.active { display: block; }

/* ===== PROFILE PAGE ===== */
.profile-header { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--card-bg); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); margin-bottom: 20px; }
.profile-avatar-lg { width: 60px; height: 60px; border-radius: 16px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.info-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(35,35,54,0.5); }
.info-row:last-child { border-bottom: none; }
.info-row-label { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.info-row-value { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 768px) {
  html { font-size: 14.5px; }
  .hero { padding: 80px 16px 40px; min-height: auto; }
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { margin-left: auto; margin-right: auto; font-size: 0.88rem; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 320px; padding: 20px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 22px; margin-top: 30px; }
  .stat-item h3 { font-size: 1.2rem; }
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .navbar-cta .btn-outline { display: none; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 16px; padding-bottom: 86px; }
  .mobile-menu-btn { display: none !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 44px 16px; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 1.4rem; }
  .auth-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .wallet-amount { font-size: 1.6rem; }
  .top-bar h1 { font-size: 1.05rem; }
  .card { padding: 16px; border-radius: var(--radius-md); }
  .network-selector { gap: 6px; }
  .net-btn { padding: 9px 4px; font-size: 0.66rem; }

  /* BOTTOM NAV ACTIVATES ON MOBILE */
  .bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
    background: rgba(19,19,32,0.92); backdrop-filter: blur(20px); border-top: 1px solid var(--dark-border);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bn-item { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--text-muted); font-size: 0.62rem; font-weight: 600; flex: 1; padding: 4px 0; }
  .bn-item i { font-size: 1.25rem; }
  .bn-item.active { color: var(--primary-light); }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.55rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-brand h2 { justify-content: center; }
  .wallet-amount { font-size: 1.4rem; }
  .profile-header { flex-direction: column; text-align: center; }
  .quick-actions { gap: 8px; }
  .qa-icon { width: 34px; height: 34px; font-size: 1rem; }
  .quick-action span { font-size: 0.66rem; }
}