/* ============================================================
   RB Developers &amp; Technologies — Online Investor Portal — Premium SaaS Design
   ============================================================ */

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

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

:root {
  --blue-900: #0a1628;
  --blue-800: #0d2144;
  --blue-700: #1a3a6b;
  --blue-600: #1e4fa8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --accent:   #6366f1;
  --gold:     #f59e0b;
  --green:    #10b981;
  --red:      #ef4444;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white:    #ffffff;
  --radius:   12px;
  --radius-lg:20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.20);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--blue-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── HEADER ─── */
.site-header {
  background: rgba(10,22,40,.97);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-dot { color: var(--blue-400); }
.logo:hover { text-decoration: none; color: #fff; }
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: rgba(255,255,255,.7);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all .2s;
}
nav a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
nav a.nav-active { color: #fff; background: rgba(59,130,246,.25); }
.nav-logout {
  background: rgba(239,68,68,.15) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239,68,68,.25) !important;
}
.nav-logout:hover { background: rgba(239,68,68,.3) !important; color: #fff !important; }

/* ─── HERO ─── */
.hero-section {
  background: linear-gradient(135deg, var(--blue-900) 0%, #0f2b5e 45%, #1a3a6b 100%);
  color: #fff;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.18);
  border: 1px solid rgba(59,130,246,.35);
  color: var(--blue-300);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge span { width:6px; height:6px; background:var(--blue-400); border-radius:50%; display:inline-block; animation: pulse 2s infinite; }
.hero-section h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--blue-200, #bfdbfe) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.72);
  max-width: 680px;
  margin: 0 auto 48px;
  font-weight: 400;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.hero-stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 16px 24px;
  text-align: center;
  min-width: 140px;
  transition: all .3s;
  animation: fadeInUp .6s both;
}
.hero-stat-card:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
  border-color: rgba(59,130,246,.4);
}
.hero-stat-icon { font-size: 22px; margin-bottom: 6px; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.65); font-weight: 500; letter-spacing: .3px; }

/* ─── SECTION LAYOUT ─── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-dark {
  background: linear-gradient(135deg, var(--blue-900) 0%, #0d2144 100%);
  color: #fff;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-500);
  background: var(--blue-50);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-dark .section-eyebrow { color: var(--blue-300); background: rgba(59,130,246,.15); }
.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p { color: var(--gray-500); font-size: 17px; max-width: 580px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,.65); }

/* ─── GRID ─── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* ─── GLASS CARDS ─── */
.glass-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all .3s ease;
}
.glass-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-100);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-200); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--gray-500); line-height: 1.55; }

/* ─── STAT CARDS ─── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stat-card.accent-blue { border-top: 4px solid var(--blue-500); }
.stat-card.accent-green { border-top: 4px solid var(--green); }
.stat-card.accent-gold { border-top: 4px solid var(--gold); }
.stat-card.accent-purple { border-top: 4px solid var(--accent); }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--gray-500); font-weight: 500; }

/* ─── CEO QUOTE ─── */
.ceo-quote-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 100%);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.ceo-quote-section::before {
  content: '"';
  position: absolute;
  top: -20px; left: 40px;
  font-size: 280px;
  font-family: Georgia, serif;
  color: rgba(59,130,246,.08);
  line-height: 1;
}
.ceo-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ceo-quote blockquote {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
}
.ceo-quote cite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-style: normal;
  color: rgba(255,255,255,.6);
  font-size: 14px;
}
.ceo-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #fff;
}

/* ─── COMPARISON TABLE ─── */
.compare-table {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.compare-table thead tr { background: var(--blue-900); color: #fff; }
.compare-table thead th { padding: 18px 24px; font-weight: 600; font-size: 15px; text-align: left; }
.compare-table thead th:first-child { color: rgba(255,255,255,.7); }
.compare-table thead th.highlight { color: var(--blue-300); }
.compare-table tbody tr:nth-child(odd) { background: var(--white); }
.compare-table tbody tr:nth-child(even) { background: var(--gray-50); }
.compare-table td { padding: 14px 24px; font-size: 14px; vertical-align: middle; }
.compare-table td:first-child { color: var(--gray-500); font-weight: 500; }
.compare-table .bad { color: var(--red); font-weight: 500; }
.compare-table .bad::before { content: '✕  '; }
.compare-table .good { color: var(--green); font-weight: 600; }
.compare-table .good::before { content: '✓  '; }

/* ─── REVENUE CARDS ─── */
.revenue-tier {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.revenue-tier.featured {
  background: linear-gradient(135deg, var(--blue-600), var(--accent));
  border-color: transparent;
  color: #fff;
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}
.revenue-tier:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.revenue-tier.featured:hover { transform: scale(1.04) translateY(-4px); }
.revenue-tier-badge {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.featured .revenue-tier-badge { background: rgba(255,255,255,.2); color: #fff; }
.revenue-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.featured .revenue-amount { color: #fff; }
.revenue-period { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.featured .revenue-period { color: rgba(255,255,255,.7); }
.revenue-details { font-size: 14px; color: var(--gray-600, #4b5563); }
.featured .revenue-details { color: rgba(255,255,255,.85); }
.revenue-details li { list-style: none; padding: 6px 0; border-bottom: 1px solid var(--gray-100); }
.featured .revenue-details li { border-color: rgba(255,255,255,.15); }
.revenue-details li:last-child { border: none; }

/* ─── INVESTMENT CARDS ─── */
.equity-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
  position: relative;
}
.equity-card.popular {
  border-color: var(--blue-500);
  background: var(--blue-50);
}
.equity-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.equity-pct {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-600), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.equity-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--gray-500); text-transform: uppercase; margin-bottom: 20px; }
.equity-amount {
  background: var(--gray-900);
  color: #fff;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}
.equity-card .popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ─── ROADMAP TIMELINE ─── */
.roadmap {
  position: relative;
  display: flex;
  gap: 0;
  padding: 40px 0;
  overflow-x: auto;
}
.roadmap::before {
  content: '';
  position: absolute;
  top: 66px;
  left: 48px;
  right: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  border-radius: 3px;
}
.roadmap-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 0 12px;
  position: relative;
}
.roadmap-node {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(37,99,235,.18);
  transition: all .3s;
}
.roadmap-step:hover .roadmap-node { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(37,99,235,.15); }
.roadmap-step h4 { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.roadmap-step p { font-size: 12.5px; color: var(--gray-500); line-height: 1.4; }

/* ─── GALLERY / LIGHTBOX ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--gray-900);
  box-shadow: var(--shadow);
  transition: all .3s;
  aspect-ratio: 16/10;
}
.gallery-card:hover { box-shadow: var(--shadow-xl); transform: scale(1.02); }
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: all .4s;
  opacity: .9;
}
.gallery-card:hover img { opacity: 1; transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,22,40,.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
}
.gallery-placeholder .ph-icon { font-size: 36px; }
.gallery-label { color: #fff; font-weight: 600; font-size: 14px; }
.gallery-zoom { color: rgba(255,255,255,.8); font-size: 12px; display: flex; align-items: center; gap: 6px; }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow-xl); }
.lightbox-title { color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; margin-top: 16px; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* ─── TECH STACK ─── */
.tech-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all .3s;
}
.tech-card:hover { box-shadow: var(--shadow); border-color: var(--blue-200); transform: translateY(-3px); }
.tech-card h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--blue-50); }
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  margin: 4px;
}

/* ─── FORMS ─── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: all .2s;
  outline: none;
}
.form-control:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.form-control::placeholder { color: var(--gray-300); }
textarea.form-control { resize: vertical; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); box-shadow: 0 6px 20px rgba(37,99,235,.45); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-200); color: var(--gray-900); }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--blue-400);
  color: var(--blue-400);
}
.btn-outline:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }
.btn-success { background: linear-gradient(135deg, #059669, var(--green)); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,.3); }
.btn-success:hover { box-shadow: 0 6px 20px rgba(16,185,129,.4); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ─── ALERTS ─── */
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-info { background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ─── CARDS (GENERIC) ─── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h3, .card-header h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); margin: 0; }
.card-body { padding: 24px; }

/* ─── TABLE ─── */
.table { width: 100%; border-collapse: collapse; }
.table th { padding: 12px 16px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--gray-500); background: var(--gray-50); border-bottom: 1px solid var(--gray-200); text-align: left; }
.table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.table tbody tr:hover { background: var(--gray-50); }

/* ─── BADGES ─── */
.badge { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #fffbeb; color: #92400e; }
.badge-approved { background: #ecfdf5; color: #065f46; }
.badge-rejected { background: #fef2f2; color: #b91c1c; }
.badge-active { background: var(--blue-50); color: var(--blue-700); }

/* ─── CLOSING SECTION ─── */
.closing-section {
  background: linear-gradient(135deg, var(--blue-900) 0%, #101d3a 50%, var(--blue-800) 100%);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(99,102,241,.15) 0%, transparent 60%);
}
.closing-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.closing-body {
  max-width: 640px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}
.closing-body p {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: italic;
}
.closing-body strong { color: var(--blue-300); font-style: normal; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 32px 24px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: #fff; }

/* ─── COUNTER ANIMATION ─── */
.counter { display: inline-block; }

/* ─── ARCHITECTURE DIAGRAM ─── */
.arch-diagram {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  overflow-x: auto;
}
.arch-layer {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.arch-box {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.arch-box.gray { background: linear-gradient(135deg, var(--gray-600, #4b5563), var(--gray-500)); }
.arch-box.accent { background: linear-gradient(135deg, var(--accent), #818cf8); }
.arch-box.green { background: linear-gradient(135deg, #059669, var(--green)); }
.arch-arrow { text-align: center; color: var(--gray-300); font-size: 22px; margin-bottom: 8px; }

/* ─── WHITE LABEL CARD ─── */
.wl-card {
  background: linear-gradient(135deg, var(--blue-900) 0%, #1a3a6b 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wl-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(99,102,241,.15);
}
.wl-feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.wl-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.wl-feature-list li::before { content: '✓'; color: var(--blue-300); font-weight: 700; flex-shrink: 0; }

/* ─── DISCLAIMER ─── */
.disclaimer {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 24px;
  font-style: italic;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
@keyframes countUp {
  from { opacity: 0; transform: scale(.8); }
  to   { opacity: 1; transform: scale(1); }
}

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── LOGIN PAGE ─── */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-900) 0%, #0f2b5e 50%, #1a3a6b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(99,102,241,.12) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 70% 60%, rgba(59,130,246,.1) 0%, transparent 60%);
}
.login-container {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}
.login-left {
  background: linear-gradient(160deg, #0a1628 0%, #1a3a6b 100%);
  padding: 52px 44px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-right { padding: 52px 44px; background: var(--white); }
.login-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.login-brand span { color: var(--blue-400); }
.login-tagline { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 500; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 48px; }
.login-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}
.login-feature-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(59,130,246,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.login-feature h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.login-feature p { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.45; }
.login-right h2 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.login-right .login-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 32px; line-height: 1.55; }
.tab-switcher {
  display: flex;
  background: var(--gray-100);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
}
.tab-btn {
  flex: 1;
  padding: 9px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.tab-btn.active { background: var(--white); color: var(--gray-900); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
/* ID-specific overrides for login page tabs - wins over class rules */
#panel-login   { display: block; }
#panel-register { display: none; }

/* ─── MISC ─── */
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-half { flex: 1; min-width: 280px; }
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.mt-4 { margin-top: 24px; }
.mt-8 { margin-top: 48px; }
.mb-4 { margin-bottom: 24px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .login-container { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { padding: 36px 28px; }
  .hero-section { padding: 70px 20px 60px; }
  nav { display: none; }
  .roadmap { flex-direction: column; }
  .roadmap::before { display: none; }
  .wl-feature-list { grid-template-columns: 1fr; }
}

/* ─── WhatsApp Field ─── */
.form-group select.form-control {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.whatsapp-hint {
  font-size: 11.5px;
  color: #10b981;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Responsive fix for phone+select combo ─── */
@media (max-width: 480px) {
  .login-brand { font-size: 26px !important; }
}
