/* ============================================
   MFO Landing Page - Design System
   Mexico Market - 2025
   ============================================ */

/* ============================================
   1. VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  /* PRIMARY COLORS - Indigo (Modern Fintech) */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #a5b4fc;

  /* SECONDARY COLORS - Pink (Accent) */
  --color-secondary: #ec4899;
  --color-secondary-dark: #db2777;
  --color-secondary-light: #f9a8d4;

  /* ACCENT COLORS - Amber (Promo, Attention) */
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-accent-light: #fbbf24;

  /* FUNCTIONAL COLORS */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* NEUTRAL COLORS */
  --color-background: #ffffff;
  --color-background-light: #f9fafb;
  --color-background-dark: #f3f4f6;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;
  --color-divider: #e5e7eb;
  --color-border: #e5e7eb;

  /* GRADIENTS (Modern!) */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* TYPOGRAPHY */
  --font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  --font-size-5xl: 48px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-base: 1.5;
  --line-height-heading: 1.25;

  /* SPACING (Enhanced) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-xxl: 64px;

  /* BORDER RADIUS (More Rounded) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;
  --radius-full: 50%;

  /* SHADOWS (Dramatic) */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px 0 rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px 0 rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 32px 0 rgba(0, 0, 0, 0.18);
  --shadow-2xl: 0 20px 48px 0 rgba(0, 0, 0, 0.24);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* COLORED SHADOWS (For Accent) */
  --shadow-primary: 0 8px 24px 0 rgba(99, 102, 241, 0.35);
  --shadow-secondary: 0 8px 24px 0 rgba(236, 72, 153, 0.35);
  --shadow-accent: 0 8px 24px 0 rgba(245, 158, 11, 0.35);

  /* CONTAINER */
  --container-max-width: 1200px;
  --container-padding: var(--space-md);

  /* TRANSITIONS */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.4s ease;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-xl) 0;
}

.section-small {
  padding: var(--space-md) 0;
}

/* ============================================
   5. HEADER
   ============================================ */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.header-logo {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-cta .btn {
  box-shadow: var(--shadow-md);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition-base);
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5;
}

/* Ripple effect on click */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Primary button with gradient */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px 0 rgba(99, 102, 241, 0.45);
  color: white;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary button with accent gradient */
.btn-secondary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px 0 rgba(245, 158, 11, 0.45);
  color: white;
}

.btn-secondary:active {
  transform: translateY(0) scale(1);
}

/* Outline button */
.btn-outline {
  background: white;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Link button */
.btn-link {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 0;
  font-weight: var(--font-weight-regular);
  text-decoration: underline;
  overflow: visible;
}

.btn-link::after {
  display: none;
}

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

/* Button sizes */
.btn-full-width {
  width: 100%;
}

.btn-large {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
}

/* ============================================
   7. CARDS
   ============================================ */
.card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-highlight {
  border: 2px solid var(--color-primary);
  position: relative;
}

.card-highlight::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  left: 16px;
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
}

/* ============================================
   8. BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
}

.badge-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.badge-success {
  background-color: #d4edda;
  color: var(--color-success);
}

.badge-warning {
  background-color: #fff3cd;
  color: var(--color-warning);
}

.badge-secondary {
  background-color: #fff8dc;
  color: var(--color-secondary-dark);
}

/* ============================================
   9. VERIFICATION BANNER
   ============================================ */
.verification-banner {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.verification-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-success);
  flex-shrink: 0;
}

.verification-banner-text {
  margin: 0;
  color: var(--color-text);
  font-weight: var(--font-weight-semibold);
}

/* ============================================
   9B. INFORMATION ACCORDION
   ============================================ */
.info-accordion {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.accordion-toggle {
  width: 100%;
  background: white;
  border: none;
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.accordion-toggle:hover {
  background: var(--color-background-light);
}

.accordion-toggle[aria-expanded="true"] {
  background: #eef2ff;
  box-shadow: none;
}

.accordion-toggle[aria-expanded="true"] .accordion-text {
  color: var(--color-primary);
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
  filter: none;
  color: var(--color-primary);
}

.accordion-toggle[aria-expanded="true"] .accordion-arrow {
  color: var(--color-primary);
  transform: rotate(180deg);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.accordion-text {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.accordion-arrow {
  font-size: 20px;
  color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out, visibility 0.4s, opacity 0.4s;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}

.accordion-content.open {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.accordion-inner {
  padding: var(--space-lg);
  background-color: var(--color-background);
  overflow: hidden;
  min-height: 0;
}

.accordion-heading {
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  text-align: center;
}

/* ============================================
   10. PROCESS STEPS
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  position: relative;
  margin-bottom: var(--space-md);
}

/* Connecting lines between steps (desktop only) */
@media (min-width: 769px) {
  .process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(to right,
        var(--color-primary-light),
        var(--color-secondary-light),
        var(--color-accent-light));
    z-index: 0;
  }
}

.process-step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
  z-index: 1;
}

.process-step:hover {
  transform: translateY(-4px);
}

.process-step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-extrabold);
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Outer ring on hover */
.process-step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary-light);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step:hover .process-step-number::before {
  opacity: 1;
}

.process-step-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.process-step-description {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  margin: 0;
}

.process-warning {
  background-color: #fff3cd;
  border-left: 4px solid var(--color-warning);
  padding: var(--space-md);
  margin-top: var(--space-md);
  font-size: var(--font-size-small);
  color: var(--color-text);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.process-warning::before {
  content: '⚠️';
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================
   11. TRUST BADGES
   ============================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 24px;
  background: white;
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-pill);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Gradient background (hidden by default) */
.trust-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.trust-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-primary);
  border-color: var(--color-primary);
}

.trust-badge:hover::before {
  opacity: 1;
}

/* Make text white on hover */
.trust-badge:hover * {
  color: white !important;
  position: relative;
  z-index: 1;
}

.trust-badge-icon {
  font-size: 28px;
  position: relative;
  z-index: 1;
}

/* ============================================
   12. OFFERS SECTION
   ============================================ */
.offers-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.offers-header h2 {
  font-size: 28px;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

/* Recommended offers layout with promo block */
.recommended-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
  /* Increased gap for better separation */
  margin-bottom: var(--space-xl);
  align-items: start;
  /* Reverted to start so promo block doesn't stretch */
}

@media (max-width: 1024px) {
  .recommended-section {
    grid-template-columns: 1fr;
    /* Stack on smaller screens */
  }

  .promo-block {
    order: -1;
    /* Show promo first on mobile/tablet */
    margin-bottom: var(--space-md);
  }
}

.recommended-offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .recommended-offers {
    grid-template-columns: 1fr;
    /* Force full width on mobile to prevent sticking */
    justify-items: center;
    /* Center items if they don't fill width */
  }

  .recommended-offers .offer-card {
    width: 100%;
    /* Ensure card takes full width */
  }
}

/* ============================================
   13. OFFER CARD
   ============================================ */
.offer-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Ensure content is spaced out */
  height: 100%;
  /* Fill the grid cell */
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Gradient top border - hidden by default */
.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.3);
}

.offer-card:hover::before {
  opacity: 1;
}

/* Recommended cards - highlighted */
.card-highlight {
  background: linear-gradient(135deg, #faf5ff 0%, #f3f4f6 100%);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-primary);
}

.card-highlight .offer-card-header {
  margin-top: var(--space-md);
  /* Extra spacing for recommended cards */
}

.card-highlight::before {
  opacity: 1;
  height: 6px;
}

.offer-social-proof {
  font-size: 13px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-xs);
  min-height: 20px;
}

.offer-highlight-box {
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  /* Reduced padding */
  text-align: center;
  margin: var(--space-md) 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-primary);
}

/* Shine effect animation */
.offer-highlight-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 70%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.offer-highlight-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  margin-bottom: 4px;
  font-weight: var(--font-weight-medium);
  position: relative;
  z-index: 1;
}

.offer-highlight-value {
  font-size: clamp(20px, 2.5vw, 32px);
  /* Responsive font size */
  font-weight: var(--font-weight-extrabold);
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  word-break: normal;
  /* Allow normal breaking */
  white-space: normal;
}

.offer-highlight-sublabel {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-sm);
  margin-top: 8px;
  font-weight: var(--font-weight-semibold);
  position: relative;
  z-index: 1;
}

.btn-cta-pulse {
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  font-size: 16px !important;
  font-weight: 700 !important;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
  }
}

.offer-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.offer-logo {
  width: 80px;
  height: 40px;
  object-fit: contain;
}

.offer-detail-logo {
  max-width: 150px;
  max-height: 60px;
  object-fit: contain;
}

.offer-name {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.offer-approval-rate {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  color: var(--color-success);
  margin-bottom: var(--space-xs);
  min-height: 20px;
}

.offer-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-sm) 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  margin: var(--space-sm) 0;
}

.offer-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-small);
}

.offer-detail-label {
  color: var(--color-text-light);
}

.offer-detail-value {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.offer-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.offer-feature::before {
  content: '✓';
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.offer-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: auto;
}

/* ============================================
   14. PROMO BLOCK
   ============================================ */
.promo-block {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  /* Reverted height: 100% based on user feedback */
}

.currency-suffix {
  font-size: 0.5em;
  /* Much smaller currency symbol */
  vertical-align: super;
  opacity: 0.8;
  font-weight: 600;
}

.promo-title {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 0;
}

.promo-gift-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.promo-text {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0;
}

.promo-highlight {
  font-size: 18px;
  color: var(--color-secondary-dark);
}

/* ============================================
   15. FILTERS
   ============================================ */
.filters-container {
  background-color: var(--color-background-light);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.filter-label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.filter-select,
.filter-input {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: border-color var(--transition-base);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
  background-color: var(--color-background-light);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--color-text-light);
  font-size: var(--font-size-small);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-disclaimer {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  line-height: 1.6;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-divider);
  text-align: center;
}

.footer-copyright {
  text-align: center;
  font-size: var(--font-size-small);
  color: var(--color-text-lighter);
  margin-top: var(--space-sm);
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--space-xs);
}

.mt-2 {
  margin-top: var(--space-sm);
}

.mt-3 {
  margin-top: var(--space-md);
}

.mt-4 {
  margin-top: var(--space-lg);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-xs);
}

.mb-2 {
  margin-bottom: var(--space-sm);
}

.mb-3 {
  margin-bottom: var(--space-md);
}

.mb-4 {
  margin-bottom: var(--space-lg);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   14. COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: var(--space-md);
  z-index: 1000;
  border-top: 1px solid var(--color-border);
  animation: slideUp 0.5s ease-out;
}

.cookie-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-content p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content button {
    width: 100%;
  }

  /* Mobile Optimization for Cards */
  /* Mobile Optimization for Cards */
  .offer-card {
    padding: var(--space-md);
    align-items: center;
    /* Center flex items */
    text-align: center;
    /* Center text */
  }

  /* Fix logo size and alignment on mobile */
  .offer-card-header {
    display: flex !important;
    /* Force flex */
    justify-content: center !important;
    /* Force center */
    width: 100%;
    margin-bottom: var(--space-sm);
  }

  .offer-logo {
    display: block !important;
    margin: 0 auto !important;
    /* Fallback centering */
    width: auto !important;
    height: auto !important;
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
  }



  .offer-approval-rate,
  .offer-social-proof {
    justify-content: center;
    width: 100%;
  }

  .offer-highlight-box {
    padding: var(--space-md);
  }

  .offer-highlight-value {
    font-size: var(--font-size-3xl);
  }
}

/* ============================================
   15. STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: var(--space-md);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  display: none;
  /* Hidden by default, shown via JS */
}

.sticky-cta.visible {
  transform: translateY(0);
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ============================================
   16. SKELETON LOADING
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
  color: transparent !important;
  user-select: none;
}

.skeleton-text {
  height: 1em;
  width: 100%;
  display: inline-block;
}

.skeleton-rect {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ============================================
   17. REPRESENTATIVE EXAMPLE
   ============================================ */
.representative-example {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.representative-example h3 {
  margin-bottom: var(--space-md);
  color: var(--color-text);
  font-size: var(--font-size-xl);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background-color: var(--color-background-light);
  border-radius: var(--radius-md);
}

.example-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.example-item.highlight .example-value {
  color: var(--color-primary);
  font-weight: 800;
}

.example-label {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
}

.example-value {
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  font-size: 1.1rem;
}

.example-note {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  margin-top: var(--space-md);
  font-style: italic;
}

@media (max-width: 600px) {
  .example-grid {
    grid-template-columns: 1fr 1fr;
  }

  .example-item.highlight {
    grid-column: 1 / -1;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px dashed var(--color-border);
  }
}