/**
 * ============================================================================
 * REPOSITORY: MSME Vyapari (Celestiq Insights OPC Pvt. Ltd.)
 * MODULE: Modern FinTech SaaS Design System (design-system.css)
 * INSPIRATION: Finorio / Modern Next.js SaaS Aesthetics
 * ============================================================================
 */

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

:root {
  /* Core Brand Tokens */
  --brand-dark: #0A0D14;
  --brand-navy: #0F172A;
  --brand-primary: #10B981; /* Emerald Primary */
  --brand-primary-hover: #059669;
  --brand-primary-light: #ECFDF5;
  --brand-primary-glow: rgba(16, 185, 129, 0.15);

  --brand-gold: #FEE01E;
  --brand-gold-hover: #FACC15;
  --brand-gold-glow: rgba(254, 224, 30, 0.35);

  /* Semantic Financial Accents */
  --semantic-jama: #059669;
  --semantic-jama-bg: #ECFDF5;
  --semantic-jama-border: #A7F3D0;

  --semantic-udhar: #E11D48;
  --semantic-udhar-bg: #FFF1F2;
  --semantic-udhar-border: #FECDD3;

  /* Surfaces & Backgrounds */
  --bg-page: #F8FAFC;
  --bg-page-secondary: #F1F5F9;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-dark-card: #131722;

  /* Borders */
  --border-light: #F1F5F9;
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Typography Colors */
  --text-primary: #0A0D14;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(10, 13, 20, 0.04);
  --shadow-sm: 0 2px 4px -1px rgba(10, 13, 20, 0.06), 0 1px 2px -1px rgba(10, 13, 20, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(10, 13, 20, 0.08), 0 3px 6px -3px rgba(10, 13, 20, 0.04);
  --shadow-lg: 0 14px 24px -4px rgba(10, 13, 20, 0.08), 0 6px 12px -6px rgba(10, 13, 20, 0.03);
  --shadow-xl: 0 24px 48px -12px rgba(10, 13, 20, 0.12);
  --shadow-glow-emerald: 0 12px 32px -4px rgba(16, 185, 129, 0.25);
  --shadow-card-float: 0 20px 40px -15px rgba(15, 23, 42, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Animations & Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg-page);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.2rem, 4vw, 2.5rem);
  padding-right: clamp(1.2rem, 4vw, 2.5rem);
}

.section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
}

/* Modern FinTech Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}

.pill-badge-tag {
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  text-transform: uppercase;
}

/* Finorio Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  white-space: nowrap;
}

.btn-primary-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%), #0A0D14;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 2px rgba(10, 13, 20, 0.2), 0 0 0 1px #000000;
}
.btn-primary-dark:hover {
  background-color: #1E2433;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(10, 13, 20, 0.3);
}

.btn-emerald {
  background-color: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow-emerald);
}
.btn-emerald:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background-color: var(--bg-page-secondary);
  border-color: var(--border-medium);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  border-radius: 10px;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
