/* ============================================================
   FLYEXCEL SERVICES — Shared Design System
   Colors: Navy #1B3A6B | Gold #C9A84C | White #FFFFFF
   ============================================================ */

:root {
  --navy:       #1B3A6B;
  --navy-dark:  #122750;
  --navy-light: #2A5298;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark:  #A07830;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FA;
  --gray-100:   #F1F3F5;
  --gray-200:   #E9ECEF;
  --gray-300:   #DEE2E6;
  --gray-400:   #CED4DA;
  --gray-500:   #ADB5BD;
  --gray-600:   #6C757D;
  --gray-700:   #495057;
  --gray-800:   #343A40;
  --gray-900:   #212529;
  --green:      #28A745;
  --green-light:#D4EDDA;
  --red:        #DC3545;
  --red-light:  #F8D7DA;
  --amber:      #FFC107;
  --amber-light:#FFF3CD;
  --blue:       #007BFF;
  --blue-light: #D1ECF1;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --radius:     10px;
  --radius-sm:  6px;
  --radius-lg:  16px;
  --transition: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Typography ── */
h1 { font-size: 2.4rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 1.9rem; font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-sm     { font-size: .875rem; }
.text-xs     { font-size: .75rem; }
.text-lg     { font-size: 1.125rem; }
.fw-500      { font-weight: 500; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ── Colors ── */
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-gray   { color: var(--gray-600); }
.text-white  { color: var(--white); }
.bg-navy     { background: var(--navy); }
.bg-gold     { background: var(--gold); }
.bg-white    { background: var(--white); }
.bg-gray     { background: var(--gray-100); }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
}
.navbar-logo {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: var(--navy);
}
.navbar-name { font-size: 1.1rem; font-weight: 700; }
.navbar-tagline { font-size: .7rem; opacity: .75; letter-spacing: .3px; }
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.navbar-nav a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; transition: var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--white); background: rgba(255,255,255,.12); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 6px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-primary { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,168,76,.35); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); }
.btn-success { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-success:hover { background: #218838; }
.btn-danger { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-danger:hover { background: #c82333; }
.btn-amber { background: var(--amber); color: var(--gray-900); border-color: var(--amber); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-body { padding: 24px; }
.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: .875rem; font-weight: 600; color: var(--gray-700);
}
.form-label span.req { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--gray-800);
  transition: var(--transition); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,58,107,.12); }
.form-control.is-invalid { border-color: var(--red); }
.form-hint { font-size: .78rem; color: var(--gray-500); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Badges / Tags ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
}
.badge-gold    { background: #FFF3CD; color: #856404; }
.badge-navy    { background: #D6E4FF; color: var(--navy); }
.badge-green   { background: var(--green-light); color: #155724; }
.badge-red     { background: var(--red-light); color: #721c24; }
.badge-gray    { background: var(--gray-200); color: var(--gray-700); }
.badge-amber   { background: var(--amber-light); color: #856404; }
.badge-blue    { background: var(--blue-light); color: #0c5460; }

/* ── Status Pills ── */
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; margin-right: 6px;
}
.status-dot.green  { background: var(--green); }
.status-dot.amber  { background: var(--amber); }
.status-dot.red    { background: var(--red); }
.status-dot.gray   { background: var(--gray-400); }
.status-dot.blue   { background: var(--blue); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left; font-size: .82rem;
  font-weight: 600; letter-spacing: .4px; white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius) 0 0; }
tbody tr { border-bottom: 1px solid var(--gray-100); transition: var(--transition); }
tbody tr:hover { background: var(--gray-50); }
tbody td { padding: 12px 16px; font-size: .875rem; vertical-align: middle; }
tbody tr:last-child { border-bottom: none; }

/* ── Modals ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform .25s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex; justify-content: flex-end; gap: 12px;
}
.modal-close {
  background: none; border: none; font-size: 1.4rem; color: var(--gray-500);
  line-height: 1; padding: 4px; border-radius: 4px;
}
.modal-close:hover { color: var(--gray-800); background: var(--gray-100); }

/* ── Alerts ── */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9rem; margin-bottom: 16px;
}
.alert-success { background: var(--green-light); color: #155724; border-left: 4px solid var(--green); }
.alert-error   { background: var(--red-light); color: #721c24; border-left: 4px solid var(--red); }
.alert-warning { background: var(--amber-light); color: #856404; border-left: 4px solid var(--amber); }
.alert-info    { background: var(--blue-light); color: #0c5460; border-left: 4px solid var(--blue); }

/* ── Progress / Steps ── */
.steps-bar {
  display: flex; align-items: flex-start; gap: 0;
  margin-bottom: 36px; overflow-x: auto; padding-bottom: 4px;
}
.step-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  position: relative; min-width: 80px;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute; top: 16px; left: calc(50% + 16px);
  width: calc(100% - 32px); height: 2px;
  background: var(--gray-300); transition: var(--transition);
}
.step-item.completed:not(:last-child)::after { background: var(--gold); }
.step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-300); color: var(--gray-600);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; z-index: 1;
  transition: var(--transition);
}
.step-item.active .step-circle { background: var(--navy); color: var(--white); }
.step-item.completed .step-circle { background: var(--gold); color: var(--navy); }
.step-label { font-size: .72rem; color: var(--gray-500); margin-top: 6px; text-align: center; font-weight: 500; }
.step-item.active .step-label   { color: var(--navy); font-weight: 700; }
.step-item.completed .step-label{ color: var(--gold-dark); }

/* ── Progress Bar ── */
.progress-bar-wrap { background: var(--gray-200); border-radius: 10px; height: 8px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .5s ease; }

/* ── Sidebar Layout (portal/admin) ── */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--navy-dark);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-brand {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-logo {
  width: 40px; height: 40px; border-radius: 8px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px;
}
.sidebar-firm-name { color: var(--white); font-weight: 700; font-size: 1rem; }
.sidebar-tagline   { color: rgba(255,255,255,.5); font-size: .7rem; margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 12px 12px; }
.sidebar-section-title {
  color: rgba(255,255,255,.38); font-size: .68rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 8px 4px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.72); font-size: .875rem; font-weight: 500;
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar-link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.sidebar-link.active { color: var(--white); background: rgba(201,168,76,.18); border-left: 3px solid var(--gold); }
.sidebar-link .icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-link .badge-count {
  margin-left: auto; background: var(--gold); color: var(--navy);
  font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 10px;
}
.sidebar-footer {
  padding: 16px; border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-size: .82rem;
}
.sidebar-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; flex-shrink: 0;
}

/* ── Main content area ── */
.main-content { flex: 1; overflow-x: hidden; }
.page-header {
  padding: 24px 32px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.page-title { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); }
.page-subtitle { font-size: .875rem; color: var(--gray-500); margin-top: 2px; }
.page-body { padding: 24px 32px; }

/* ── Stat Cards ── */
.stat-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 24px;
  border-left: 4px solid var(--navy);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-card.gold  { border-color: var(--gold); }
.stat-card.green { border-color: var(--green); }
.stat-card.red   { border-color: var(--red); }
.stat-card.blue  { border-color: var(--blue); }
.stat-value { font-size: 1.9rem; font-weight: 700; color: var(--gray-900); }
.stat-label { font-size: .82rem; color: var(--gray-500); font-weight: 500; margin-top: 4px; }
.stat-icon  { font-size: 2rem; opacity: .15; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
.stat-card { position: relative; }
.stat-change { font-size: .78rem; margin-top: 6px; }
.stat-change.up   { color: var(--green); }
.stat-change.down { color: var(--red); }

/* ── Timeline ── */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item::before {
  content: ''; position: absolute; left: -21px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item.done::before  { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-item.pending::before { background: var(--gray-300); box-shadow: 0 0 0 2px var(--gray-300); }
.timeline-date { font-size: .75rem; color: var(--gray-500); }
.timeline-title { font-weight: 600; font-size: .9rem; color: var(--gray-800); }
.timeline-desc  { font-size: .82rem; color: var(--gray-600); margin-top: 2px; }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed var(--gray-300); border-radius: var(--radius);
  padding: 40px 24px; text-align: center;
  cursor: pointer; transition: var(--transition);
  background: var(--gray-50);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--navy); background: #EEF3FF;
}
.upload-icon { font-size: 2.8rem; margin-bottom: 12px; }
.upload-text  { font-weight: 600; color: var(--gray-700); }
.upload-hint  { font-size: .82rem; color: var(--gray-500); margin-top: 4px; }
.file-list    { margin-top: 16px; }
.file-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.file-item-icon { font-size: 1.3rem; }
.file-item-name { flex: 1; font-size: .875rem; font-weight: 500; }
.file-item-size { font-size: .78rem; color: var(--gray-500); }
.file-item-remove { background: none; border: none; color: var(--red); font-size: 1.1rem; padding: 2px 6px; border-radius: 4px; }
.file-item-remove:hover { background: var(--red-light); }

/* ── Notification Toast ── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  padding: 14px 18px; display: flex; align-items: flex-start; gap: 12px;
  min-width: 280px; max-width: 380px;
  border-left: 4px solid var(--navy);
  animation: slideInRight .3s ease;
}
.toast.success { border-color: var(--green); }
.toast.error   { border-color: var(--red); }
.toast.warning { border-color: var(--amber); }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.toast-title { font-weight: 700; font-size: .875rem; }
.toast-msg   { font-size: .82rem; color: var(--gray-600); margin-top: 2px; }

/* ── Package Card ── */
.pkg-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 32px 28px;
  border: 2px solid transparent; transition: var(--transition);
  position: relative; overflow: hidden;
}
.pkg-card:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pkg-card.featured { border-color: var(--gold); }
.pkg-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: 16px; right: -22px;
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700; padding: 4px 36px;
  transform: rotate(45deg); letter-spacing: .5px;
}
.pkg-icon { font-size: 2.4rem; margin-bottom: 12px; }
.pkg-name { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.pkg-tagline { font-size: .85rem; color: var(--gray-500); margin-top: 4px; }
.pkg-price { margin: 20px 0 8px; }
.pkg-price-from { font-size: .78rem; color: var(--gray-500); }
.pkg-price-amount { font-size: 2rem; font-weight: 800; color: var(--navy); }
.pkg-price-unit { font-size: .85rem; color: var(--gray-500); }
.pkg-features { margin: 20px 0; }
.pkg-feature {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: .875rem; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.pkg-feature:last-child { border-bottom: none; }
.pkg-feature-check { color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── KYC Form ── */
.kyc-section { background: var(--white); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; border: 1px solid var(--gray-200); }
.kyc-section-title { font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-100); display: flex; align-items: center; gap: 8px; }

/* ── Compliance Calendar ── */
.cal-event {
  padding: 10px 14px; border-radius: var(--radius-sm);
  margin-bottom: 10px; border-left: 4px solid var(--navy);
  background: var(--white); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 12px;
}
.cal-event.urgent { border-color: var(--red); }
.cal-event.warning{ border-color: var(--amber); }
.cal-event.done   { border-color: var(--green); opacity: .65; }
.cal-date { font-size: .78rem; font-weight: 700; color: var(--gray-500); min-width: 64px; }
.cal-title { font-weight: 600; font-size: .875rem; }
.cal-desc  { font-size: .8rem; color: var(--gray-500); }

/* ── Animations ── */
@keyframes fadeIn    { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes slideInRight { from { transform:translateX(50px); opacity:0; } to { transform:none; opacity:1; } }
@keyframes pulse     { 0%,100% { opacity:1; } 50% { opacity:.4; } }
@keyframes spin      { to { transform: rotate(360deg); } }

.fade-in  { animation: fadeIn .4s ease both; }
.pulse    { animation: pulse 2s infinite; }
.spinner  { width:20px; height:20px; border:2.5px solid var(--gray-200); border-top-color:var(--navy); border-radius:50%; animation:spin .7s linear infinite; }

/* ── Page Tabs ── */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px; gap: 4px; overflow-x: auto; }
.tab-btn {
  padding: 10px 20px; border: none; background: none;
  font-size: .9rem; font-weight: 500; color: var(--gray-500);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: var(--transition); white-space: nowrap;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .3s; }

/* ── Hero (landing) ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 90px 0 80px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: -60px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(201,168,76,.07); pointer-events: none;
}
.hero-tag  { display: inline-block; background: rgba(201,168,76,.2); color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1   { color: var(--white); font-size: 2.8rem; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero-sub  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero-badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8); font-size: .78rem; font-weight: 500;
  padding: 6px 14px; border-radius: 20px; display: flex; align-items: center; gap: 6px;
}

/* ── How it works ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: start;
}
.how-step {
  text-align: center; padding: 28px 20px;
}
.how-step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); font-size: 1.3rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-step-icon { font-size: 2rem; margin-bottom: 10px; }
.how-step h4 { color: var(--navy); margin-bottom: 8px; }
.how-step p  { font-size: .875rem; color: var(--gray-600); }

/* ── Footer ── */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-name { color: var(--white); font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.footer-copy { font-size: .82rem; }
.footer-links h5 { color: var(--white); font-size: .875rem; font-weight: 700; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: .85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px; display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem;
}
.footer-reg { color: rgba(255,255,255,.45); font-size: .75rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .page-body { padding: 20px 16px; }
  .page-header { padding: 16px 16px 0; }
  .navbar-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-arrow-hide { display: none; }
}

/* ── WhatsApp Floating Button ── */
#wa-btn { position: relative; overflow: visible; }
#wa-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2s ease-out infinite;
  opacity: .6;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

