@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand:       #0f4c81;
  --brand-dark:  #0a3560;
  --brand-light: #1a6bb5;
  --accent:      #f0a500;
  --accent-dark: #d4900a;
  --success:     #16a34a;
  --danger:      #dc2626;
  --warning:     #d97706;
  --info:        #0284c7;
  --bg:          #f0f4f8;
  --surface:     #ffffff;
  --border:      #e2e8f0;
  --text:        #1e293b;
  --muted:       #64748b;
  --sidebar-w:   260px;
  --radius:      10px;
  --shadow:      0 2px 12px rgba(15,76,129,.08);
  --shadow-lg:   0 8px 30px rgba(15,76,129,.14);
}

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

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

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

.auth-visual {
  background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-light) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px; color: #fff; position: relative; overflow: hidden;
}

.auth-visual::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  top: -150px; right: -150px;
}
.auth-visual::after {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  bottom: -80px; left: -60px;
}

.auth-visual .brand { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.auth-visual .tagline { font-size: .9rem; opacity: .75; margin-bottom: 40px; }

.auth-features { width: 100%; max-width: 320px; }
.auth-feature {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 14px 18px;
  margin-bottom: 12px; font-size: .85rem;
}
.auth-feature .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.auth-box {
  display: flex; align-items: center; justify-content: center;
  padding: 40px 32px; background: var(--surface);
}

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

.auth-logo { margin-bottom: 32px; }
.auth-logo h1 { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.auth-logo p { color: var(--muted); font-size: .85rem; margin-top: 4px; }

/* ══════════════════════════════════
   FORMS
══════════════════════════════════ */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: .6px; margin-bottom: 6px;
}

.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: 'Poppins', sans-serif; font-size: .88rem;
  color: var(--text); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15,76,129,.1);
}
.form-control:disabled, .form-control[readonly] {
  background: #f8fafc; color: var(--muted);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

.input-wrap { position: relative; }
.input-wrap .form-control { padding-left: 40px; }
.input-wrap .inp-icon {
  position: absolute; left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); font-size: 1rem; pointer-events: none;
}
.input-wrap .inp-btn {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: .9rem; padding: 4px;
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 10px 20px;
  border-radius: var(--radius); font-family: 'Poppins', sans-serif;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent; text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

.btn-primary   { background: var(--brand);   color: #fff; border-color: var(--brand);   }
.btn-primary:hover:not(:disabled) { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-accent    { background: var(--accent);   color: #fff; border-color: var(--accent);  }
.btn-accent:hover:not(:disabled)  { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-success   { background: var(--success);  color: #fff; }
.btn-danger    { background: var(--danger);   color: #fff; }
.btn-warning   { background: var(--warning);  color: #fff; }
.btn-info      { background: var(--info);     color: #fff; }
.btn-outline   { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover:not(:disabled) { background: var(--brand); color: #fff; }
.btn-ghost     { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover:not(:disabled) { background: var(--bg); color: var(--text); }

.btn-sm  { padding: 6px 14px; font-size: .78rem; border-radius: 8px; }
.btn-lg  { padding: 13px 28px; font-size: .95rem; }
.btn-full{ width: 100%; }
.btn-icon{ width: 34px; height: 34px; padding: 0; border-radius: 8px; }

/* ══════════════════════════════════
   ALERTS
══════════════════════════════════ */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: var(--radius);
  font-size: .85rem; margin-bottom: 16px;
  border-left: 4px solid;
}
.alert-success { background: #f0fdf4; color: #166534; border-color: var(--success); }
.alert-danger  { background: #fef2f2; color: #991b1b; border-color: var(--danger);  }
.alert-warning { background: #fffbeb; color: #92400e; border-color: var(--warning); }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: var(--info);    }

/* ══════════════════════════════════
   BADGE
══════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px;
  font-size: .72rem; font-weight: 600; letter-spacing: .3px;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-brand   { background: #dbeafe; color: var(--brand); }
.badge-gray    { background: #f1f5f9; color: var(--muted); }
.badge-accent  { background: #fef3c7; color: #92400e; }

/* ══════════════════════════════════
   LAYOUT
══════════════════════════════════ */
.app-wrap { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: var(--sidebar-w); background: var(--brand-dark);
  position: fixed; top: 0; left: 0; height: 100vh;
  display: flex; flex-direction: column;
  overflow-y: auto; z-index: 200;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

.sidebar-head {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-brand { display: flex; align-items: center; gap: 11px; }
.sidebar-logo-icon {
  width: 38px; height: 38px; background: var(--accent);
  border-radius: 9px; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; font-weight: 800;
  color: var(--brand-dark); flex-shrink: 0;
}
.sidebar-name { font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.2; }
.sidebar-role { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 2px; }

.nav-section {
  padding: 14px 20px 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 20px; color: rgba(255,255,255,.72);
  font-size: .85rem; font-weight: 500; text-decoration: none;
  border-left: 3px solid transparent;
  transition: all .18s;
}
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.active {
  background: rgba(255,255,255,.1); color: #fff;
  border-left-color: var(--accent); font-weight: 600;
}
.nav-link .ni { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.nav-badge {
  margin-left: auto; background: var(--accent); color: var(--brand-dark);
  font-size: .65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
}

.sidebar-footer {
  margin-top: auto; padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
}
.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.sidebar-uname { font-size: .82rem; font-weight: 600; color: #fff; }
.sidebar-uemail{ font-size: .7rem; color: rgba(255,255,255,.45); }

/* Main */
.main { margin-left: var(--sidebar-w); display: flex; flex-direction: column; min-height: 100vh; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--text); padding: 6px; border-radius: 8px;
}
.topbar-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 10px; }

.wallet-chip {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 7px 14px; border-radius: 20px;
  font-size: .82rem; font-weight: 700;
}

/* Page Content */
.page { padding: 24px; flex: 1; }
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.page-title { font-size: 1.15rem; font-weight: 700; }
.page-sub   { font-size: .8rem; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════════════
   CARDS
══════════════════════════════════ */
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-head h3 { font-size: .92rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 20px; }

/* Stat Cards */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin-bottom: 24px; }

.stat {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  border-top: 3px solid;
  transition: transform .2s, box-shadow .2s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.stat-icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.stat-val  { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.stat-lbl  { font-size: .75rem; color: var(--muted); margin-top: 3px; }

.stat-blue   { border-color: var(--brand);   } .stat-blue   .stat-icon { background: #dbeafe; }
.stat-green  { border-color: var(--success); } .stat-green  .stat-icon { background: #dcfce7; }
.stat-orange { border-color: var(--warning); } .stat-orange .stat-icon { background: #fef3c7; }
.stat-red    { border-color: var(--danger);  } .stat-red    .stat-icon { background: #fee2e2; }
.stat-accent { border-color: var(--accent);  } .stat-accent .stat-icon { background: #fef9c3; }

/* ══════════════════════════════════
   PAN SEARCH HERO
══════════════════════════════════ */
.search-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-radius: var(--radius); padding: 30px; color: #fff;
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.search-hero::before {
  content: ''; position: absolute;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  top: -100px; right: -60px;
}
.search-hero h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.search-hero p  { opacity: .8; font-size: .83rem; margin-bottom: 20px; }

.server-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.server-tab {
  padding: 8px 18px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff;
  cursor: pointer; font-size: .8rem; font-weight: 600;
  transition: all .2s; font-family: 'Poppins', sans-serif;
}
.server-tab.active { background: #fff; color: var(--brand-dark); border-color: #fff; }

.search-row { display: flex; gap: 10px; max-width: 520px; }
.search-row input {
  flex: 1; padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .9rem; outline: none;
  font-family: 'Poppins', sans-serif;
  transition: border-color .2s;
}
.search-row input::placeholder { color: rgba(255,255,255,.55); }
.search-row input:focus { border-color: rgba(255,255,255,.7); }

.search-btn {
  padding: 12px 22px; background: var(--accent);
  color: var(--brand-dark); font-weight: 700; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; gap: 7px;
  transition: all .2s; white-space: nowrap;
}
.search-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.search-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Result card */
.result-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1.5px solid #e0f2fe; box-shadow: var(--shadow);
  padding: 22px; margin-top: 16px;
  animation: slideUp .35s ease;
}
.result-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.result-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink: 0;
}
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.result-item {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: 8px; padding: 12px;
}
.result-item .rl { font-size: .7rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; }
.result-item .rv { font-size: .95rem; font-weight: 700; margin-top: 4px; }
.result-item .rv.pan { font-size: 1.1rem; letter-spacing: 1.5px; color: var(--brand); }

/* ══════════════════════════════════
   TABLE
══════════════════════════════════ */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 11px 14px; font-size: .73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); background: #f8fafc;
  border-bottom: 2px solid var(--border); text-align: left;
  white-space: nowrap;
}
tbody td { padding: 13px 14px; font-size: .84rem; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #f8fafc; }
td .sub { font-size: .73rem; color: var(--muted); margin-top: 2px; }

/* Pagination */
.pagination { display: flex; gap: 5px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.pg-btn {
  padding: 7px 13px; border-radius: 8px; font-size: .8rem;
  font-weight: 600; cursor: pointer; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); text-decoration: none;
  font-family: 'Poppins', sans-serif; transition: all .2s;
}
.pg-btn:hover, .pg-btn.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* ══════════════════════════════════
   MODAL
══════════════════════════════════ */
.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 1000; display: flex; align-items: center;
  justify-content: center; padding: 16px;
  backdrop-filter: blur(3px);
  animation: fadeIn .2s ease;
}
.modal {
  background: var(--surface); border-radius: 14px;
  padding: 28px; width: 100%; max-width: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: slideUp .3s ease;
}
.modal h3 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ══════════════════════════════════
   SETTINGS TABS
══════════════════════════════════ */
.tab-nav { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 22px; }
.tab-btn {
  padding: 8px 18px; border-radius: 8px; font-size: .82rem;
  font-weight: 600; cursor: pointer; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--muted);
  text-decoration: none; transition: all .2s;
  font-family: 'Poppins', sans-serif;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* Toggle switch */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; background: #f8fafc;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px;
}
.toggle-lbl  { font-size: .87rem; font-weight: 600; }
.toggle-sub  { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.switch { position: relative; width: 46px; height: 26px; display: inline-block; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #cbd5e1; border-radius: 26px; transition: .3s;
}
.slider::before {
  content: ''; position: absolute;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; left: 3px; bottom: 3px; transition: .3s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
input:checked + .slider { background: var(--brand); }
input:checked + .slider::before { transform: translateX(20px); }

/* ══════════════════════════════════
   LANDING
══════════════════════════════════ */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 32px; display: flex; align-items: center;
  justify-content: space-between;
  background: rgba(10,53,96,.92); backdrop-filter: blur(10px);
}
.lp-brand { color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; display: flex; align-items: center; gap: 9px; }
.lp-links { display: flex; gap: 8px; align-items: center; }
.lp-links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .85rem; padding: 7px 14px; border-radius: 8px; transition: all .2s; }
.lp-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.lp-links .cta { background: var(--accent); color: var(--brand-dark); font-weight: 700; }
.lp-links .cta:hover { background: var(--accent-dark); }

.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #060d1a 0%, var(--brand-dark) 45%, var(--brand) 100%);
  display: flex; align-items: center;
  padding: 100px 32px 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(240,165,0,.08) 0%, transparent 70%);
  top: -100px; right: -200px;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(240,165,0,.15); color: var(--accent);
  border: 1px solid rgba(240,165,0,.3);
  padding: 6px 14px; border-radius: 20px;
  font-size: .78rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.8; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 30px; color: #fff; backdrop-filter: blur(6px);
}
.hero-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.hero-card p  { font-size: .8rem; opacity: .7; margin-bottom: 22px; }
.hero-input {
  width: 100%; padding: 13px 16px; margin-bottom: 12px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius); background: rgba(255,255,255,.08);
  color: #fff; font-size: .9rem; font-family: 'Poppins', sans-serif; outline: none;
}
.hero-input::placeholder { color: rgba(255,255,255,.45); }
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px;
}
.hero-stat {
  background: rgba(255,255,255,.08); border-radius: 10px;
  padding: 14px; text-align: center;
}
.hero-stat .hs-val { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.hero-stat .hs-lbl { font-size: .72rem; opacity: .7; margin-top: 3px; }

.features { padding: 80px 32px; background: #fff; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 1.8rem; font-weight: 800; }
.section-head p  { color: var(--muted); margin-top: 8px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 22px; }
.feat-card {
  padding: 26px; border-radius: var(--radius);
  border: 1.5px solid var(--border); transition: all .25s;
}
.feat-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.feat-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: .82rem; color: var(--muted); line-height: 1.7; }

.pricing { padding: 80px 32px; background: var(--bg); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.plan-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; text-align: center;
  border-top: 4px solid var(--brand);
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-icon { font-size: 2rem; margin-bottom: 12px; }
.plan-name { font-size: .95rem; font-weight: 700; color: var(--brand); }
.plan-price { font-size: 1.6rem; font-weight: 800; margin: 10px 0; }
.plan-desc { font-size: .78rem; color: var(--muted); }

footer {
  background: var(--brand-dark); color: rgba(255,255,255,.65);
  text-align: center; padding: 22px 32px; font-size: .8rem;
}
footer a { color: rgba(255,255,255,.65); }

/* ══════════════════════════════════
   SPINNER
══════════════════════════════════ */
.spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite; display: inline-block;
}
.spinner-dark {
  border-color: rgba(15,76,129,.2);
  border-top-color: var(--brand);
}

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card  { display: none; }
  .hero h1    { font-size: 2rem; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-260px); width: 260px; }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .menu-btn { display: block; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .topbar { padding: 12px 16px; }
  .page { padding: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .lp-nav { padding: 14px 16px; }
  .hero { padding: 90px 20px 50px; }
  .hero h1 { font-size: 1.7rem; }
  .search-row { flex-direction: column; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
}

/* Sidebar overlay */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 199;
}
.sidebar-overlay.show { display: block; }

/* Form grid */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Settings section card */
.s-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 18px; }
.s-card h4 { font-size: .9rem; font-weight: 700; color: var(--brand); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1.5px solid var(--border); }

/* Charge grid */
.charge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.charge-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border-top: 3px solid var(--brand); }
.charge-card h5 { font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.charge-card p  { font-size: .75rem; color: var(--muted); margin-bottom: 14px; }

/* Wallet card */
.wallet-hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: var(--radius); padding: 24px; color: #fff; margin-bottom: 20px;
}
.wallet-hero .lbl { font-size: .75rem; opacity: .7; margin-bottom: 6px; }
.wallet-hero .amount { font-size: 2.2rem; font-weight: 800; }

.recharge-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.preset-btn {
  padding: 7px 16px; border-radius: 8px; font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--surface);
  cursor: pointer; transition: all .2s; font-family: 'Poppins', sans-serif;
}
.preset-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
