/**
 * ============================================================================
 * UTILITIES.CSS - Financier Buzz PROFESSIONAL BANKING DESIGN SYSTEM
 * Helper Classes | Glassmorphism | Luxury Buttons | Badges & Typography
 * ============================================================================
 */

/* 1. Color Helpers */
.text-navy { color: var(--color-primary) !important; }
.text-navy-dark { color: var(--color-primary-dark) !important; }
.text-gold { color: var(--color-gold) !important; }
.text-gold-light { color: var(--color-gold-light) !important; }
.text-emerald { color: var(--color-emerald) !important; }

.bg-navy { background-color: var(--color-primary) !important; }
.bg-navy-dark { background-color: var(--color-primary-dark) !important; }
.bg-navy-950 { background-color: var(--bg-navy-950) !important; }
.bg-navy-900 { background-color: var(--bg-navy-900) !important; }
.bg-gold { background-color: var(--color-gold) !important; }
.bg-gold-subtle { background-color: var(--color-gold-subtle) !important; }
.bg-emerald { background-color: var(--color-emerald) !important; }
.bg-emerald-subtle { background-color: var(--color-emerald-subtle) !important; }

/* 2. Typography */
.font-heading { font-family: var(--font-heading) !important; }
.font-body { font-family: var(--font-body) !important; }
.font-accent { font-family: var(--font-accent) !important; }
.font-numeric { font-family: var(--font-numeric) !important; font-variant-numeric: tabular-nums; }

/* 3. Glassmorphism */
.glass-panel-light {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-panel-dark {
  background: rgba(6, 24, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* 4. Luxury Banking Buttons */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 50%, #aa8216 100%);
  color: #06182a !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.65rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e5be42 0%, #d4af37 50%, #b88d1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  color: #06182a !important;
}

.btn-navy {
  background: linear-gradient(135deg, #0a2540 0%, #163e68 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.65rem;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.25);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-navy:hover {
  background: linear-gradient(135deg, #103357 0%, #1c4b7d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 37, 64, 0.35);
  color: #ffffff !important;
}

.btn-outline-navy {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary) !important;
  background: transparent;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.45rem;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-outline-navy:hover {
  background: var(--color-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-base);
}

.btn-phone-pill:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* 5. Badges & Tags */
.badge-gold {
  background: var(--color-gold-subtle);
  color: var(--color-gold);
  border: 1px solid var(--color-gold-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-emerald {
  background: var(--color-emerald-subtle);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 6. Section Headers */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-border);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* 7. Layout & Spacing Helpers */
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* 8. Slate Neutrals */
.text-slate-100 { color: #f1f5f9 !important; }
.text-slate-200 { color: #e2e8f0 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-900 { color: #0f172a !important; }

.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-200 { background-color: #e2e8f0 !important; }
.bg-slate-800 { background-color: #1e293b !important; }
.bg-slate-900 { background-color: #0f172a !important; }

.text-brandNavy { color: #0a2540 !important; }
.bg-brandNavy { background-color: #0a2540 !important; }

/* 9. Accent & Emerald Colors */
.text-emerald-400 { color: #34d399 !important; }
.text-emerald-500 { color: #10b981 !important; }
.text-emerald-600 { color: #059669 !important; }
.bg-emerald-500 { background-color: #10b981 !important; }
.bg-emerald-600 { background-color: #059669 !important; }

.text-amber-200 { color: #fde68a !important; }
.text-amber-300 { color: #fcd34d !important; }
.text-amber-400 { color: #fbbf24 !important; }
.text-amber-500 { color: #f59e0b !important; }

.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* 10. Spacing & Padding Utilities */
.py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.py-8  { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-6  { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4  { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-2  { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }

.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }

.mb-20 { margin-bottom: 5rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-10 { margin-bottom: 2.5rem !important; }
.mb-8  { margin-bottom: 2rem !important; }
.mb-6  { margin-bottom: 1.5rem !important; }
.mb-4  { margin-bottom: 1rem !important; }

.mt-20 { margin-top: 5rem !important; }
.mt-16 { margin-top: 4rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-8  { margin-top: 2rem !important; }
.mt-6  { margin-top: 1.5rem !important; }

/* 11. Flex & Alignment Helpers */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.flex-col { flex-direction: column !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }

@media (max-width: 767px) {
  .py-24, .py-20 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .py-16 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .py-12 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
  .mb-16 { margin-bottom: 2.25rem !important; }
  .mb-12 { margin-bottom: 1.75rem !important; }
}
