/* ================================================
   STRIPE FINTECH COMPACT - Blue Monochrome
   Font plus petite + Cards compactes + 2-3 couleurs max
   ================================================ */

:root {
  /* === PRIMARY BLUE (from footer/CTA gradient) === */
  --blue-dark: #0A2540;      /* Dark navy from gradient */
  --blue-medium: #1E4C7A;    /* Medium blue from gradient */
  --blue-primary: #0A2540;   /* Use dark gradient start for primary */
  --blue-light: #1E4C7A;     /* Use dark gradient end for light */
  --blue-subtle: #E1E8ED;    /* Very light neutral for backgrounds */
  
  /* === NEUTRAL GRAY SCALE (only grays, no colors) === */
  --gray-900: #0F172A;       /* Almost black (footer bg) */
  --gray-800: #1E293B;       /* Very dark gray */
  --gray-700: #334155;       /* Dark gray (body text) */
  --gray-600: #475569;       /* Medium gray */
  --gray-500: #64748B;       /* Mid gray */
  --gray-400: #94A3B8;       /* Light gray */
  --gray-300: #CBD5E1;       /* Very light gray */
  --gray-200: #E2E8F0;       /* Border gray */
  --gray-100: #F1F5F9;       /* Background gray */
  --gray-50:  #F8FAFC;       /* Almost white */
  
  /* === GRADIENTS (blue only) === */
  --gradient-blue-dark: linear-gradient(135deg, #0A2540 0%, #1E4C7A 100%);
  --gradient-blue-light: linear-gradient(135deg, #0A2540 0%, #1E4C7A 100%);
  --gradient-subtle: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  
  /* === SHADOWS (Stripe-style, subtle) === */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 4px 8px -2px rgba(0, 0, 0, 0.12);
  
  /* === BORDERS === */
  --border-color: var(--gray-200);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-width: 1px;
}

/* ================================================
   TYPOGRAPHY - COMPACT STRIPE STYLE
   ================================================ */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 14px;              /* ← Stripe default (was 16px) */
  line-height: 1.5;             /* ← Tighter (was 1.6) */
  color: var(--gray-700);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gray-900);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;       /* ← Reduced spacing */
}

/* Stripe-style heading sizes (smaller) */
h1 { 
  font-size: 2.5rem;            /* was 3.5rem */
  line-height: 1.1; 
  font-weight: 700;
}

h2 { 
  font-size: 1.875rem;          /* was 2.5rem */
  line-height: 1.2; 
  font-weight: 600;
}

h3 { 
  font-size: 1.5rem;            /* was 1.875rem */
  line-height: 1.3; 
}

h4 { 
  font-size: 1.125rem;          /* was 1.5rem */
  line-height: 1.4; 
}

h5 { 
  font-size: 1rem;              /* was 1.25rem */
  line-height: 1.5; 
  font-weight: 600;
}

h6 {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}

/* Lead text (smaller) */
.lead {
  font-size: 1.125rem;          /* was 1.25rem */
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Small text */
.small {
  font-size: 0.875rem;          /* 14px */
}

.text-xs {
  font-size: 0.75rem;           /* 12px - Stripe style */
}

/* Mobile */
@media (max-width: 768px) {
  body { font-size: 14px; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
}

/* ================================================
   STRIPE CARD STYLE - COMPACT
   ================================================ */

.card-stripe {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;              /* Compact (was 2rem) */
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-stripe:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-stripe-sm {
  padding: 1rem;                /* Extra compact */
}

.card-stripe-lg {
  padding: 2rem;
}

/* Card header (optional) */
.card-stripe-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.card-stripe-header h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.card-stripe-header p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Card body */
.card-stripe-body {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Card footer (optional) */
.card-stripe-footer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

/* ================================================
   COLOR UTILITIES - BLUE MONOCHROME ONLY
   ================================================ */

/* Text colors (blues) */
.text-blue-dark { color: var(--blue-dark) !important; }
.text-blue-medium { color: var(--blue-medium) !important; }
.text-blue-primary { color: var(--blue-primary) !important; }
.text-blue-light { color: var(--blue-light) !important; }

/* Text colors (grays) */
.text-gray-900 { color: var(--gray-900) !important; }
.text-gray-800 { color: var(--gray-800) !important; }
.text-gray-700 { color: var(--gray-700) !important; }
.text-gray-600 { color: var(--gray-600) !important; }
.text-gray-500 { color: var(--gray-500) !important; }
.text-gray-400 { color: var(--gray-400) !important; }

/* Background colors (blues) */
.bg-blue-dark { background-color: var(--blue-dark) !important; }
.bg-blue-primary { background-color: var(--blue-primary) !important; }
.bg-blue-subtle { background-color: var(--blue-subtle) !important; }

/* Background colors (grays) */
.bg-gray-900 { background-color: var(--gray-900) !important; }
.bg-gray-50 { background-color: var(--gray-50) !important; }
.bg-gray-100 { background-color: var(--gray-100) !important; }

/* Gradients */
.bg-gradient-blue-dark { background: var(--gradient-blue-dark) !important; }
.bg-gradient-blue-light { background: var(--gradient-blue-light) !important; }
.bg-gradient-subtle { background: var(--gradient-subtle) !important; }

/* ================================================
   BUTTONS - STRIPE STYLE (blue only)
   ================================================ */

.btn-stripe {
  font-size: 0.875rem;          /* 14px */
  font-weight: 500;
  padding: 0.4rem 1rem;         /* Compact - reduced from 0.5rem */
  border-radius: 6px;
  border: 1px solid transparent;
  transition: none;             /* Animation removed */
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.btn-stripe:hover {
  /* Hover animation removed */
}

/* Primary button (blue) */
.btn-stripe-primary {
  background: var(--blue-primary);
  color: white;
  border-color: var(--blue-primary);
}

.btn-stripe-primary:hover {
  background: var(--blue-medium);
  border-color: var(--blue-medium);
  color: white;
}

/* Outline button (blue) */
.btn-stripe-outline {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--gray-300);
}

.btn-stripe-outline:hover {
  background: var(--blue-subtle);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

/* Ghost button (subtle) */
.btn-stripe-ghost {
  background: transparent;
  color: var(--gray-700);
  border: none;
}

.btn-stripe-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

/* Button sizes */
.btn-stripe-sm {
  font-size: 0.8125rem;         /* 13px */
  padding: 0.375rem 0.75rem;
}

.btn-stripe-lg {
  font-size: 1rem;              /* 16px */
  padding: 0.75rem 1.5rem;
}

/* ================================================
   SECTIONS - COMPACT SPACING
   ================================================ */

.section-compact {
  padding: 3rem 0;              /* was 4-5rem */
}

.section-compact-sm {
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .section-compact { padding: 2rem 0; }
  .section-compact-sm { padding: 1.5rem 0; }
}

/* ================================================
   BADGES - STRIPE STYLE (blue only)
   ================================================ */

.badge-stripe {
  font-size: 0.75rem;           /* 12px */
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  letter-spacing: 0.025em;
}

.badge-stripe-blue {
  background: var(--blue-subtle);
  color: var(--blue-primary);
}

.badge-stripe-gray {
  background: var(--gray-100);
  color: var(--gray-700);
}

/* ================================================
   LISTS - COMPACT
   ================================================ */

ul.list-stripe {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.list-stripe li {
  padding: 0.5rem 0;            /* Compact spacing */
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--gray-700);
}

ul.list-stripe li::before {
  content: "✓";
  display: inline-block;
  width: 1.25rem;
  color: var(--blue-primary);
  font-weight: 600;
}

/* ================================================
   ICONS - BLUE ONLY
   ================================================ */

.icon-blue {
  color: var(--blue-primary);
}

.icon-gray {
  color: var(--gray-500);
}

/* Icon sizes */
.icon-sm { font-size: 1rem; }
.icon-md { font-size: 1.25rem; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }

/* ================================================
   PRICING CARDS - COMPACT STRIPE STYLE
   ================================================ */

.pricing-card-stripe {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.pricing-card-stripe:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.pricing-card-stripe.featured {
  border-color: var(--blue-primary);
  border-width: 1px; /* Reduced from 2px to 1px */
  box-shadow: var(--shadow-lg);
}

.pricing-card-stripe .plan-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.pricing-card-stripe .plan-price {
  font-size: 2rem;              /* was 2.5rem */
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.pricing-card-stripe .plan-period {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pricing-card-stripe .plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.pricing-card-stripe .plan-features li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-700);
}

/* Remove button underline */
.btn-stripe,
.btn-stripe-primary,
.btn-stripe-outline,
.btn-stripe-ghost {
  text-decoration: none !important;
}

.btn-stripe:hover,
.btn-stripe-primary:hover,
.btn-stripe-outline:hover {
  text-decoration: none !important;
}

/* Tabs - Neutral style (outline, no colored background) */
.nav-pills .nav-link {
  background-color: transparent !important;
  color: var(--gray-700) !important;
  border: 1px solid var(--gray-300) !important;
  text-decoration: none !important;
  margin: 0 0.5rem !important; /* Increased spacing between buttons */
  transition: none !important; /* All animations removed */
}

.nav-pills .nav-link:hover {
  background-color: transparent !important; /* No background on hover */
  border-color: var(--blue-primary) !important;
  color: var(--gray-900) !important;
  transform: none !important; /* No animation on hover */
}

.nav-pills .nav-link.active {
  background-color: transparent !important;
  border: 1px solid var(--blue-primary) !important; /* Reduced from 2px to 1px */
  color: var(--blue-primary) !important;
  font-weight: 600 !important;
}

/* ================================================
   UTILITIES
   ================================================ */

/* Spacing utilities (compact) */
.mb-compact { margin-bottom: 0.75rem !important; }
.mt-compact { margin-top: 0.75rem !important; }
.py-compact { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }

/* Border utilities */
.border-stripe {
  border: 1px solid var(--border-color) !important;
}

.border-top-stripe {
  border-top: 1px solid var(--border-color) !important;
}

.border-bottom-stripe {
  border-bottom: 1px solid var(--border-color) !important;
}

/* Border radius */
.rounded-stripe {
  border-radius: var(--border-radius) !important;
}

.rounded-stripe-lg {
  border-radius: var(--border-radius-lg) !important;
}

/* Text utilities */
.text-compact {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-compact-sm {
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ================================================
   OVERRIDE BOOTSTRAP COLORS → BLUE/GRAY ONLY
   ================================================ */

/* Remove all colored badges */
.badge.bg-success,
.badge.bg-warning,
.badge.bg-danger {
  background-color: var(--blue-primary) !important;
  color: white !important;
}

/* Remove colored text utilities */
.text-success,
.text-warning,
.text-danger {
  color: var(--gray-700) !important;
}

/* Remove colored buttons */
.btn-success {
  background-color: var(--blue-primary) !important;
  border-color: var(--blue-primary) !important;
  color: white !important;
}

.btn-success:hover {
  background-color: var(--blue-medium) !important;
  border-color: var(--blue-medium) !important;
}

/* Remove colored icons (Bootstrap Icons) */
.bi.text-success,
.bi.text-warning,
.bi.text-danger {
  color: var(--gray-500) !important;
}

/* Check icons → blue */
.bi-check-lg,
.bi-check-circle-fill {
  color: var(--blue-primary) !important;
}

/* X icons → gray */
.bi-x-lg {
  color: var(--gray-400) !important;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 992px) {
  .card-stripe {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .card-stripe {
    padding: 1rem;
  }
  
  .pricing-card-stripe {
    padding: 1.25rem;
  }
  
  .pricing-card-stripe .plan-price {
    font-size: 1.75rem;
  }
  
  /* Hero responsive */
  .hero-section h1 {
    font-size: 1.875rem !important; /* 2.75rem → 1.875rem on mobile */
  }
  
  .hero-section > .container-lg > .row > .col-lg-6:first-child p {
    font-size: 1rem !important; /* 1.125rem → 1rem on mobile */
  }
  
  .hero-section {
    padding: 6rem 0 4rem 0 !important; /* Reduce top padding on mobile */
  }
}
