/* ==========================================================================
   DEXTEST NEOBANK & DIGITAL ASSETS - MASTER INSTITUTIONAL STYLESHEET
   ========================================================================== */

:root {
  --primary: #0B192C;
  --primary-hover: #1E293B;
  --primary-light: rgba(11, 25, 44, 0.08);
  --accent: #059669;
  --accent-hover: #047857;
  --accent-light: rgba(5, 150, 105, 0.12);
  --gold: #C5A880;
  --gold-light: rgba(197, 168, 128, 0.15);
  
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-dark: #0B192C;
  --bg-sidebar: #0A1128;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border: #E2E8F0;
  --border-dark: #1E293B;
  --border-light: #F1F5F9;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 16px -2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 20px 45px -10px rgba(11, 25, 44, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.top-nav {
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(11, 25, 44, 0.2);
}

.brand-logo-img {
  max-height: 34px;
  max-width: 140px;
  object-fit: contain;
  display: none;
}

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

.nav-link {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
}

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

.btn-secondary {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  background: #F1F5F9;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary:hover {
  background: #E2E8F0;
  color: var(--primary);
}

.btn-primary {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--primary);
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 25, 44, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 25, 44, 0.3);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all 0.2s ease;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

/* ==========================================================================
   HOMEPAGE HERO & INSTITUTIONAL SECTIONS
   ========================================================================== */
.hero-section {
  padding: 80px 24px 70px;
  background: radial-gradient(circle at 50% 0%, #F1F5F9 0%, #F8FAFC 70%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 25, 44, 0.05);
  border: 1px solid rgba(11, 25, 44, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* 3D Visual Card & Preview */
.hero-card-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.luxury-card {
  width: 100%;
  max-width: 400px;
  height: 245px;
  background: linear-gradient(135deg, #0B192C 0%, #1E293B 50%, #0F172A 100%);
  border-radius: 20px;
  padding: 26px 28px;
  color: #FFFFFF;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.luxury-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-tier-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37 0%, #aa8012 100%);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
  position: relative;
  margin: 12px 0 8px;
}

.card-number-display {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-family: "Courier New", Courier, monospace;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.card-holder-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E2E8F0;
}

.card-expiry-val {
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
}

.card-brand-logo {
  font-size: 20px;
  font-style: italic;
  font-weight: 900;
  color: #FFFFFF;
}

/* Feature Section */
.features-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Clearing Networks Ticker */
.clearing-networks-bar {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 24px;
}

.clearing-networks-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.clearing-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.networks-list {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.network-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   USER BANKING DASHBOARD (dashboard.html)
   ========================================================================== */
.dashboard-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.account-ribbon {
  background: #0B192C;
  color: #FFFFFF;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 12px;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ribbon-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
}

.ribbon-val {
  font-weight: 600;
  color: #F8FAFC;
}

.copy-icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.copy-icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.dashboard-main {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.overview-banner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.balance-card-primary {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.balance-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.balance-amount-huge {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.currency-sub-balances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sub-balance-box {
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.sub-balance-ticker {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
}

.sub-balance-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

.quick-actions-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.actions-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}

.action-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn-large {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #F8FAFC;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.action-btn-large:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.action-btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.action-btn-primary:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
}

/* Virtual Cards Showcase in Dashboard */
.dashboard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.card-module-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.module-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.module-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.card-controls-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* Statement Ledger Table */
.ledger-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.ledger-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.ledger-table td {
  padding: 16px;
  font-size: 13.5px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.badge-cleared {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pending {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-rejected {
  display: inline-block;
  background: #FEE2E2;
  color: #B91C1C;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.amount-positive {
  font-weight: 700;
  color: var(--accent);
}

.amount-negative {
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   MODALS (Deposit Capital & Outbound Wire)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 25, 44, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 36px 32px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeIn 0.2s ease-out;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.modal-tab-btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.bank-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 13px;
}

.bank-detail-lbl {
  color: var(--text-muted);
  font-weight: 600;
}

.bank-detail-val {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08);
}

.compliance-notice-box {
  background: #F1F5F9;
  border-left: 3px solid var(--primary);
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}

/* ==========================================================================
   NOTICE / RESTRICTION SCREEN (status.html)
   ========================================================================== */
.page-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.notice-card {
  width: 100%;
  max-width: 510px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 44px 38px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.graphic-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  min-height: 90px;
}

.status-svg {
  width: 170px;
  height: 90px;
  overflow: visible;
}

.notice-card-img {
  max-height: 95px;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.card-title {
  font-size: 19.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.3;
  white-space: nowrap;
}

@media (max-width: 530px) {
  .card-title {
    font-size: 16px;
    white-space: normal;
  }
}

.card-body-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.card-body-text p {
  margin-bottom: 14px;
}

.card-body-text p:last-child {
  margin-bottom: 0;
}

.support-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.support-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ADMIN OPERATIONS HUB (admin.html)
   ========================================================================== */
.admin-navbar {
  height: 60px;
  background: #0B192C;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav-tabs {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
}

.admin-tab {
  padding: 16px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.metric-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.metric-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 6px;
}

.action-badge-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-right: 6px;
}

.btn-approve {
  background: var(--accent-light);
  color: var(--accent);
}

.btn-approve:hover {
  background: var(--accent);
  color: #fff;
}

.btn-reject {
  background: #FEE2E2;
  color: #B91C1C;
}

.btn-reject:hover {
  background: #B91C1C;
  color: #fff;
}

/* ==========================================================================
   CARD FOOTER & STRICT COMPLIANCE FOOTER
   ========================================================================== */
.card-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
}

.card-footer a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-footer a:hover {
  color: #1d4ed8;
}

.site-global-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: auto;
}

.site-global-footer a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin: 0 4px;
}

.site-global-footer a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE BREAKPOINTS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .overview-banner, .dashboard-grid-2 {
    grid-template-columns: 1fr;
  }
  .features-grid, .currency-sub-balances, .admin-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .features-grid, .currency-sub-balances, .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
  .top-nav {
    padding: 0 16px;
  }
  .nav-links {
    display: none;
  }
}
