/* ==========================================================================
   Credit Consultant — Minimalist Financial UI/UX Design System
   Tailored for Indian Credit Bureau Advisory, CIBIL Repair & Loan Sanction
   ========================================================================== */

@font-face {
  font-family: 'Google Sans Flex';
  src: local('Google Sans Flex'), local('GoogleSansFlex-Regular'), local('Google Sans'), local('Outfit');
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: local('Google Sans'), local('GoogleSans-Regular'), local('Plus Jakarta Sans');
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --primary-navy: #0f172a;
  --primary-blue: #1d4ed8;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --surface-ground: #f8fafc;
  --border-hairline: rgba(226, 232, 240, 0.8);
}

/* ── Typography & Global Reset ────────────────────────────── */
html, body {
  font-family: 'Google Sans', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
  color: #1e293b;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Google Sans Flex', 'Google Sans', 'Outfit', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ── Subtle Financial Card Tokens ──────────────────────────── */
.fin-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fin-card:hover {
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}

.fin-card-interactive {
  transition: all 0.2s ease-in-out;
}

.fin-card-interactive:hover {
  border-color: #93c5fd;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(37, 99, 235, 0.12);
}

/* ── Glassmorphism & Overlays ─────────────────────────────── */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Micro Animations ─────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.85; transform: scale(1.02); }
}

@keyframes marquee {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-float         { animation: float 5s ease-in-out infinite; }
.animate-pulse-subtle  { animation: pulse-subtle 3s ease-in-out infinite; }
.animate-marquee       { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
