/* =========================================
   MICRO MART ENTERPRISE CTA 6.0
   Ultra-Professional | Responsive | Modern
========================================= */

:root {
    --cta-primary: #2563eb;
    --cta-primary-dark: #1e40af;
    --cta-accent: #10b981;
    --cta-bg-1: #0f172a;
    --cta-bg-2: #111827;
    --cta-text-light: rgba(255, 255, 255, 0.85);
    --cta-text-muted: rgba(255, 255, 255, 0.65);
  }
  
  /* SECTION BASE */
  
  .micromart-cta {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 1.5rem;
    background: linear-gradient(135deg, var(--cta-bg-1), var(--cta-bg-2));
    overflow: hidden;
    color: #fff;
    isolation: isolate;
  }
  
  /* Animated gradient glow */
  
  .micromart-cta::before,
  .micromart-cta::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    z-index: 0;
    animation: ctaFloat 18s infinite alternate ease-in-out;
  }
  
  .micromart-cta::before {
    background: var(--cta-primary);
    top: -150px;
    left: -150px;
  }
  
  .micromart-cta::after {
    background: var(--cta-accent);
    bottom: -150px;
    right: -150px;
  }
  
  @keyframes ctaFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 40px); }
  }
  
  .micromart-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* HEADER */
  
  .micromart-cta__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 1rem;
  }
  
  .micromart-cta__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
  }
  
  .micromart-cta__lead {
    max-width: 780px;
    margin: 0 auto 3rem;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.75;
    color: var(--cta-text-light);
  }
  
  /* VALUE STRIP */
  
  .micromart-cta__value-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
  }
  
  .micromart-cta__value {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    font-weight: 500;
    transition: all 0.35s ease;
  }
  
  .micromart-cta__value i {
    color: var(--cta-primary);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
  }
  
  .micromart-cta__value:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .micromart-cta__value:hover i {
    transform: scale(1.2);
  }
  
  /* CTA ACTIONS */
  
  .micromart-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
  }
  
  .btn--large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    transition: all 0.3s ease;
  }
  
  .btn--primary {
    background: var(--cta-primary);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
  }
  
  .btn--primary:hover {
    background: var(--cta-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
  }
  
  .btn--secondary {
    background: transparent;
    border: 2px solid var(--cta-primary);
    color: #fff;
  }
  
  .btn--secondary:hover {
    background: var(--cta-primary);
    transform: translateY(-3px);
  }
  
  /* FOOTNOTE */
  
  .micromart-cta__footnote {
    font-size: 0.9rem;
    max-width: 720px;
    margin: 0 auto;
    color: var(--cta-text-muted);
    line-height: 1.6;
  }
  
  /* ENTRANCE ANIMATION */
  
  .micromart-cta {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .micromart-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* RESPONSIVE IMPROVEMENTS */
  
  @media (max-width: 1024px) {
    .micromart-cta__value-strip {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
  
    .micromart-cta {
      padding: 4rem 1.25rem;
    }
  
    .micromart-cta__title {
      font-size: 2rem;
    }
  
    .micromart-cta__lead {
      font-size: 1rem;
    }
  
    .micromart-cta__actions {
      flex-direction: column;
    }
  
    .btn--large {
      width: 100%;
    }
  
    .micromart-cta__value {
      padding: 1rem;
    }
  
  }
  
  @media (max-width: 480px) {
  
    .micromart-cta__value-strip {
      grid-template-columns: 1fr;
    }
  
  }





  /* =========================================
   MICRO MART CTA — LIGHT/DARK THEME SUPPORT
   Append Only
========================================= */

/* --------------------------------------------------
   LIGHT THEME OVERRIDES
-------------------------------------------------- */

html[data-theme="light"] .micromart-cta {
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  color: #0f172a;
}

html[data-theme="light"] .micromart-cta::before,
html[data-theme="light"] .micromart-cta::after {
  opacity: 0.15;
  filter: blur(140px);
}

html[data-theme="light"] .micromart-cta__eyebrow {
  color: #2563eb;
}

html[data-theme="light"] .micromart-cta__lead {
  color: rgba(15, 23, 42, 0.8);
}

html[data-theme="light"] .micromart-cta__footnote {
  color: rgba(15, 23, 42, 0.65);
}

/* Glass cards in light mode */
html[data-theme="light"] .micromart-cta__value {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(6px);
}

html[data-theme="light"] .micromart-cta__value:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="light"] .micromart-cta__value i {
  color: #2563eb;
}

/* Buttons in light mode */
html[data-theme="light"] .btn--primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

html[data-theme="light"] .btn--primary:hover {
  background: #1e40af;
}

html[data-theme="light"] .btn--secondary {
  border-color: #2563eb;
  color: #2563eb;
}

html[data-theme="light"] .btn--secondary:hover {
  background: #2563eb;
  color: #ffffff;
}

/* --------------------------------------------------
   DARK THEME REFINEMENTS (Cleaner Contrast)
-------------------------------------------------- */

html[data-theme="dark"] .micromart-cta {
  background: linear-gradient(135deg, #0b1220, #0f172a);
}

html[data-theme="dark"] .micromart-cta__value {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .micromart-cta__value:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .btn--secondary {
  border-color: #3b82f6;
  color: #ffffff;
}

html[data-theme="dark"] .btn--secondary:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* --------------------------------------------------
   SYSTEM PREFERENCE FALLBACK
   (In case data-theme not set)
-------------------------------------------------- */

@media (prefers-color-scheme: light) {
  html:not([data-theme]) .micromart-cta {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    color: #0f172a;
  }
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .micromart-cta {
    background: linear-gradient(135deg, #0b1220, #0f172a);
    color: #ffffff;
  }
}