/* landing.css - Premium SaaS Landing Site Styles & Master Design System */

:root {
  /* Light Mode (Default Tokens) */
  --brand-color: #EA5B02;
  --l-bg: #ffffff;
  --l-surface: #ffffff;
  --l-surface-card: #ffffff;
  --l-surface-alt: #faf9fe;
  --l-primary: #EA5B02;
  --l-primary-hover: #d45202;
  --l-secondary: #EA5B02;
  --l-accent: #10b981;
  --l-text: #0f172a;
  --l-text-secondary: #334155;
  --l-text-muted: #64748b;
  --l-heading-color: #0f172a;
  --l-border: rgba(15, 23, 42, 0.1);
  --l-section-alt-bg: #f8fafc;
  --l-footer-bg: #f1f5f9;
  --l-nav-bg: rgba(255, 255, 255, 0.85);
  --l-nav-bg-scrolled: rgba(255, 255, 255, 0.95);
  --l-input-bg: #ffffff;
  --l-input-text: #0f172a;
  --l-input-border: #cbd5e1;
  --l-placeholder: #94a3b8;
  --l-dropdown-bg: #ffffff;
  --l-modal-bg: #ffffff;
  --l-glass-bg: rgba(255, 255, 255, 0.75);
  --l-glass-border: rgba(234, 91, 2, 0.18);
  --l-glow-1: rgba(234, 91, 2, 0.1);
  --l-glow-2: rgba(234, 91, 2, 0.05);
  --l-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0,0,0,0.02);
  --l-card-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.06), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
}

.dark-mode {
  /* Dark Mode Tokens */
  --brand-color: #EA5B02;
  --l-bg: #09071c;
  --l-surface: #120f30;
  --l-surface-card: #181544;
  --l-surface-alt: #0d0b28;
  --l-primary: #EA5B02;
  --l-primary-hover: #fa6c17;
  --l-secondary: #EA5B02;
  --l-accent: #10b981;
  --l-text: #f8fafc;
  --l-text-secondary: #e2e8f0;
  --l-text-muted: #cbd5e1;
  --l-heading-color: #ffffff;
  --l-border: rgba(255, 255, 255, 0.12);
  --l-section-alt-bg: #0f172a;
  --l-footer-bg: #050410;
  --l-nav-bg: rgba(9, 7, 28, 0.85);
  --l-nav-bg-scrolled: rgba(9, 7, 28, 0.95);
  --l-input-bg: #1c194e;
  --l-input-text: #f8fafc;
  --l-input-border: rgba(255, 255, 255, 0.2);
  --l-placeholder: #9ca3af;
  --l-dropdown-bg: #181544;
  --l-modal-bg: #120f30;
  --l-glass-bg: rgba(24, 21, 61, 0.75);
  --l-glass-border: rgba(234, 91, 2, 0.25);
  --l-glow-1: rgba(234, 91, 2, 0.18);
  --l-glow-2: rgba(234, 91, 2, 0.12);
  --l-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  --l-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.landing-body {
  background: radial-gradient(120% 120% at 50% 10%, var(--l-bg) 40%, var(--l-section-alt-bg) 80%, var(--l-footer-bg) 100%);
  color: var(--l-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Glassmorphism Navbar */
.l-navbar {
  background: var(--l-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--l-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.l-navbar.scrolled {
  background: var(--l-nav-bg-scrolled);
  box-shadow: var(--l-shadow);
}
.l-nav-link {
  color: var(--l-text-muted) !important;
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.3s;
}
.l-nav-link:hover, .l-nav-link.active {
  color: var(--l-primary) !important;
}
body.dark-mode .l-nav-link:hover, body.dark-mode .l-nav-link.active {
  color: #ffffff !important;
}

/* 3D UX Hero Section */
.l-hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
}
.l-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.l-hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: var(--l-glow-1);
  filter: blur(100px);
}
.l-hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--l-glow-2);
  filter: blur(100px);
}
/* Unbreakable Side-by-Side Desktop Flex Grid for Hero Section */
.l-hero-grid-2col {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 40px !important;
  width: 100% !important;
}

.l-hero-left-col {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

.l-hero-right-col {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

@media (max-width: 991.98px) {
  .l-hero-grid-2col {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
  }
  .l-hero-left-col,
  .l-hero-right-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

.l-hero-3d-wrapper {
  perspective: 1200px;
  -webkit-perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  z-index: 5;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.l-hero-3d-card {
  width: 100%;
  max-width: 480px;
  transform: rotateX(18deg) rotateY(-12deg) rotateZ(1deg);
  -webkit-transform: rotateX(18deg) rotateY(-12deg) rotateZ(1deg);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  background: var(--l-surface-card, #ffffff);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--l-glass-border, rgba(71, 68, 229, 0.2));
  border-radius: 20px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25), 0 0 35px rgba(99, 102, 241, 0.18);
  padding: 20px;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  animation: hero3dFloat 5s ease-in-out infinite alternate;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

/* Float motion while tilted backwards at the top */
@keyframes hero3dFloat {
  0% {
    transform: rotateX(18deg) rotateY(-12deg) rotateZ(1deg) translateY(0px);
  }
  100% {
    transform: rotateX(14deg) rotateY(-8deg) rotateZ(0.5deg) translateY(-8px);
  }
}

/* ON HOVER: Straightens completely (rotate 0deg), NO ZOOM (scale 1.0) */
.l-hero-3d-card:hover {
  transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) !important;
  -webkit-transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) !important;
  box-shadow: 0 25px 70px -10px rgba(99, 102, 241, 0.35), 0 10px 25px -5px rgba(0, 0, 0, 0.25) !important;
  border-color: rgba(99, 102, 241, 0.6) !important;
  animation-play-state: paused !important;
}

body.dark-mode .l-hero-3d-card,
html.dark-mode .l-hero-3d-card {
  background: #181544 !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(99, 102, 241, 0.25) !important;
}

body.dark-mode .l-hero-3d-card:hover,
html.dark-mode .l-hero-3d-card:hover {
  box-shadow: 0 40px 100px -10px rgba(0, 0, 0, 0.95), 0 0 75px rgba(99, 102, 241, 0.5) !important;
  border-color: rgba(99, 102, 241, 0.7) !important;
}

/* Pricing Custom Toggle Switch (100% Crisp Visibility in Light & Dark Mode) */
.pricing-custom-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}
.pricing-custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.pricing-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1 !important;
  border: 2px solid #94a3b8 !important;
  transition: 0.3s;
  border-radius: 34px !important;
}
.pricing-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #0f172a !important; /* Solid dark handle for 100% contrast in light mode */
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.pricing-custom-switch input:checked + .pricing-slider {
  background-color: #EA5B02 !important;
  border-color: #EA5B02 !important;
}
.pricing-custom-switch input:checked + .pricing-slider:before {
  transform: translateX(28px);
  background-color: #ffffff !important;
}
body.dark-mode .pricing-slider,
html.dark-mode .pricing-slider {
  background-color: #334155 !important;
  border-color: #475569 !important;
}
body.dark-mode .pricing-slider:before,
html.dark-mode .pricing-slider:before {
  background-color: #ffffff !important;
}

/* Inner 3D Glass Cards pop out on hover */
.l-hero-3d-card .l-glass-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.l-hero-3d-card:hover .l-glass-card {
  transform: translateZ(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Mobile & Small Device Friendly Responsiveness */
@media (max-width: 767.98px) {
  .l-hero-3d-card {
    transform: none !important;
    animation: none !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
  }

  .l-hero-3d-card:hover {
    transform: translateY(-4px) !important;
  }

  .l-hero-3d-card .l-glass-card {
    padding: 14px 12px !important;
  }
}

.l-glass-card {
  background: var(--l-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--l-glass-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--l-card-shadow);
  transition: all 0.4s ease;
}

/* Section Common Styles */
.l-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--l-border);
}
.l-section-alt {
  background: var(--l-section-alt-bg);
  padding: 100px 0;
  transition: background-color 0.3s;
}
.l-section-title {
  font-weight: 800;
  font-size: 36px;
  color: var(--l-heading-color);
  line-height: 1.25;
}
.l-section-subtitle {
  color: var(--l-text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 12px auto 0;
}

/* Feature Grid Cards */
.l-feat-card {
  background: var(--l-surface-card);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  box-shadow: var(--l-card-shadow);
}
.l-feat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.12);
}
.l-feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--l-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

/* Pricing Cards */
.l-price-card {
  background: var(--l-surface-card);
  border: 1px solid var(--l-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
  box-shadow: var(--l-card-shadow);
}
.l-price-card.popular {
  border-color: var(--l-primary);
  box-shadow: 0 12px 48px rgba(99, 102, 241, 0.18);
}
.l-price-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--l-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* Interactive Calculator Box */
.l-calc-box {
  background: var(--l-surface-card);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--l-card-shadow);
}

/* FAQ Accordion */
.l-faq-item {
  background: var(--l-surface-card);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--l-card-shadow);
}
.l-faq-header {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--l-heading-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.l-faq-body {
  padding: 0 24px 20px;
  color: var(--l-text-muted);
  display: none;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Testimonial Cards */
.l-test-card {
  background: var(--l-surface-card);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: var(--l-card-shadow);
}

/* Footers */
.l-footer {
  background: var(--l-footer-bg);
  padding: 80px 0 40px;
  border-top: 1px solid var(--l-border);
  transition: background-color 0.3s;
}

/* ==========================================================================
   FORM CONTROLS & INPUT SYSTEM (LIGHT & DARK ACCESSIBILITY)
   ========================================================================== */
.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"] {
  background-color: var(--l-input-bg) !important;
  color: var(--l-input-text) !important;
  border: 1px solid var(--l-input-border) !important;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus {
  border-color: var(--l-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
  outline: none !important;
}

::placeholder,
.form-control::placeholder {
  color: var(--l-placeholder) !important;
  opacity: 1 !important;
}

/* Checkbox & Radio Buttons */
.form-check-input {
  background-color: var(--l-input-bg) !important;
  border-color: var(--l-input-border) !important;
}

.form-check-input:checked {
  background-color: var(--l-primary) !important;
  border-color: var(--l-primary) !important;
}

.form-check-label {
  color: var(--l-text) !important;
}

/* Select Dropdown Option Colors */
select option {
  background-color: var(--l-dropdown-bg) !important;
  color: var(--l-input-text) !important;
}

/* ==========================================================================
   HIGH-CONTRAST LIGHT & DARK MODE TYPOGRAPHY SYSTEM (OVERRIDING MDBOOTSTRAP)
   ========================================================================== */

/* Light Mode Defaults: DARK TEXT ON LIGHT BACKGROUND */
html:not(.dark-mode) body {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

html:not(.dark-mode) body h1, 
html:not(.dark-mode) body h2, 
html:not(.dark-mode) body h3, 
html:not(.dark-mode) body h4, 
html:not(.dark-mode) body h5, 
html:not(.dark-mode) body h6,
html:not(.dark-mode) .display-1,
html:not(.dark-mode) .display-2,
html:not(.dark-mode) .display-3,
html:not(.dark-mode) .display-4,
html:not(.dark-mode) .display-5,
html:not(.dark-mode) .fw-bold,
html:not(.dark-mode) .fw-black,
html:not(.dark-mode) .text-slate-900,
html:not(.dark-mode) .text-slate-800,
html:not(.dark-mode) .text-slate-700,
html:not(.dark-mode) [style*="color:#0f172a"],
html:not(.dark-mode) [style*="color: #0f172a"],
html:not(.dark-mode) [style*="color:#1e293b"],
html:not(.dark-mode) [style*="color: #1e293b"] {
  color: #0f172a !important;
}

html:not(.dark-mode) p,
html:not(.dark-mode) .lead,
html:not(.dark-mode) li,
html:not(.dark-mode) td,
html:not(.dark-mode) th,
html:not(.dark-mode) .text-slate-600,
html:not(.dark-mode) .text-slate-500,
html:not(.dark-mode) .text-muted {
  color: #334155 !important;
}

/* Light Mode Cards & Containers */
html:not(.dark-mode) .card:not(.review-card):not(.bg-gradient-primary):not(.bg-gradient-info):not(.bg-gradient-success):not(.bg-gradient-warning),
html:not(.dark-mode) .l-feat-card,
html:not(.dark-mode) .l-price-card,
html:not(.dark-mode) .l-calc-box,
html:not(.dark-mode) .l-faq-item,
html:not(.dark-mode) .l-test-card,
html:not(.dark-mode) .p-4,
html:not(.dark-mode) .p-5,
html:not(.dark-mode) .rounded-4 {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html:not(.dark-mode) .card h1, html:not(.dark-mode) .card h2, html:not(.dark-mode) .card h3, html:not(.dark-mode) .card h4, html:not(.dark-mode) .card h5, html:not(.dark-mode) .card h6,
html:not(.dark-mode) .card .fw-bold, html:not(.dark-mode) .card .fw-black, html:not(.dark-mode) .card .text-slate-900, html:not(.dark-mode) .card .text-slate-800, html:not(.dark-mode) .card .text-slate-700,
html:not(.dark-mode) .p-4 h1, html:not(.dark-mode) .p-4 h2, html:not(.dark-mode) .p-4 h3, html:not(.dark-mode) .p-4 h4, html:not(.dark-mode) .p-4 h5, html:not(.dark-mode) .p-4 h6,
html:not(.dark-mode) .p-4 .fw-bold, html:not(.dark-mode) .p-4 .fw-black,
html:not(.dark-mode) .p-5 h1, html:not(.dark-mode) .p-5 h2, html:not(.dark-mode) .p-5 h3, html:not(.dark-mode) .p-5 h4, html:not(.dark-mode) .p-5 h5, html:not(.dark-mode) .p-5 h6,
html:not(.dark-mode) .p-5 .fw-bold, html:not(.dark-mode) .p-5 .fw-black {
  color: #0f172a !important;
}

html:not(.dark-mode) .card p, html:not(.dark-mode) .card .lead, html:not(.dark-mode) .card small, html:not(.dark-mode) .card span:not(.badge):not(.btn), html:not(.dark-mode) .card .text-slate-600, html:not(.dark-mode) .card .text-slate-500, html:not(.dark-mode) .card .text-muted,
html:not(.dark-mode) .p-4 p, html:not(.dark-mode) .p-4 small, html:not(.dark-mode) .p-4 span:not(.badge):not(.btn), html:not(.dark-mode) .p-4 .text-slate-600,
html:not(.dark-mode) .p-5 p, html:not(.dark-mode) .p-5 small, html:not(.dark-mode) .p-5 span:not(.badge):not(.btn) {
  color: #334155 !important;
}

/* Section Alt & Light Backgrounds in Light Mode */
body:not(.dark-mode) .bg-light,
body:not(.dark-mode) .l-section-alt {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Review Card & Testimonial Styling for Light & Dark Modes */
.review-card,
.card.review-card,
.card.bg-gradient-primary {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  padding: 40px !important;
  box-shadow: 0 20px 40px -10px rgba(49, 46, 129, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.review-card blockquote,
.bg-gradient-primary blockquote,
.card.bg-gradient-primary blockquote {
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  border: none !important;
  margin-bottom: 20px !important;
}

.review-card .fw-bold,
.review-card .author-name,
.bg-gradient-primary .fw-bold,
.card.bg-gradient-primary .fw-bold,
.text-white .fw-bold,
.text-white .fw-black {
  color: #ffffff !important;
}

.review-card small,
.review-card .author-role,
.bg-gradient-primary small,
.card.bg-gradient-primary small,
.text-white small,
.text-white-50 {
  color: #cbd5e1 !important;
}

/* Explicit Dark Section Overrides (For Hero & CTA Banners with Dark Backgrounds in Light & Dark Mode) */
.bg-dark-hero,
.bg-gradient-primary,
.bg-gradient-info,
.bg-gradient-success,
.bg-gradient-warning,
.bg-gradient-danger,
.bg-gradient-dark,
[style*="background:#0f172a"],
[style*="background: #0f172a"],
[style*="background:#1e1b4b"],
[style*="background: #1e1b4b"],
[style*="background:#312e81"],
[style*="background: #312e81"],
[style*="background: linear-gradient"],
[style*="background:linear-gradient"] {
  color: #ffffff !important;
}

.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.text-white .fw-bold, .text-white .fw-black, .text-white .display-1, .text-white .display-2, .text-white .display-3, .text-white .display-4, .text-white .display-5,
.bg-dark-hero h1, .bg-dark-hero h2, .bg-dark-hero h3, .bg-dark-hero h4, .bg-dark-hero h5, .bg-dark-hero h6, .bg-dark-hero .fw-bold,
.bg-gradient-primary h1, .bg-gradient-primary h2, .bg-gradient-primary h3, .bg-gradient-primary h4, .bg-gradient-primary h5, .bg-gradient-primary h6, .bg-gradient-primary .fw-bold,
[style*="background:#0f172a"] h1, [style*="background:#0f172a"] h2, [style*="background:#0f172a"] h3, [style*="background:#0f172a"] h4, [style*="background:#0f172a"] h5, [style*="background:#0f172a"] h6, [style*="background:#0f172a"] .fw-bold,
[style*="background:#1e1b4b"] h1, [style*="background:#1e1b4b"] h2, [style*="background:#1e1b4b"] h3, [style*="background:#1e1b4b"] h4, [style*="background:#1e1b4b"] h5, [style*="background:#1e1b4b"] h6, [style*="background:#1e1b4b"] .fw-bold,
[style*="background: linear-gradient"] h1, [style*="background: linear-gradient"] h2, [style*="background: linear-gradient"] h3, [style*="background: linear-gradient"] h4, [style*="background: linear-gradient"] h5, [style*="background: linear-gradient"] h6, [style*="background: linear-gradient"] .fw-bold {
  color: #ffffff !important;
}

.text-white p, .text-white .lead, .text-white li, .text-white small, .text-white span:not(.badge):not(.btn),
.bg-dark-hero p, .bg-dark-hero span:not(.badge):not(.btn),
.bg-gradient-primary p, .bg-gradient-primary span:not(.badge):not(.btn),
[style*="background:#0f172a"] p, [style*="background:#0f172a"] span:not(.badge):not(.btn),
[style*="background:#1e1b4b"] p, [style*="background:#1e1b4b"] span:not(.badge):not(.btn),
[style*="background: linear-gradient"] p, [style*="background: linear-gradient"] span:not(.badge):not(.btn) {
  color: #cbd5e1 !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ==========================================================================
   UNIVERSAL DARK MODE OVERRIDES: LIGHT/WHITE TEXT ON DARK BACKGROUND
   ========================================================================== */
body.dark-mode {
  background-color: #09071c !important;
  color: #f8fafc !important;
}

body.dark-mode h1:not(.l-white-step-card *):not(.bg-white *), 
body.dark-mode h2:not(.l-white-step-card *):not(.bg-white *), 
body.dark-mode h3:not(.l-white-step-card *):not(.bg-white *), 
body.dark-mode h4:not(.l-white-step-card *):not(.bg-white *), 
body.dark-mode h5:not(.l-white-step-card *):not(.bg-white *), 
body.dark-mode h6:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .display-1:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .display-2:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .display-3:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .display-4:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .display-5:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .fw-bold:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .fw-black:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .text-slate-900:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .text-slate-800:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .text-slate-700:not(.l-white-step-card *):not(.bg-white *) {
  color: #ffffff !important;
}

body.dark-mode p:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .lead:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode li:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode td:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode th:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .text-slate-600:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .text-slate-500:not(.l-white-step-card *):not(.bg-white *),
body.dark-mode .text-muted:not(.l-white-step-card *):not(.bg-white *) {
  color: #cbd5e1 !important;
}

body.dark-mode .bg-light,
body.dark-mode .l-section-alt {
  background-color: #0f172a !important;
  color: #f8fafc !important;
}

/* Dedicated Workflow Step Cards (.l-workflow-card) for High Contrast in Light & Dark Mode */
.l-workflow-card {
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s ease;
}

/* Light Mode: White card background with Crisp Black / Dark Navy Text */
html:not(.dark-mode) .l-workflow-card,
body:not(.dark-mode) .l-workflow-card {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

html:not(.dark-mode) .l-workflow-card h1, html:not(.dark-mode) .l-workflow-card h2, html:not(.dark-mode) .l-workflow-card h3, html:not(.dark-mode) .l-workflow-card h4, html:not(.dark-mode) .l-workflow-card h5, html:not(.dark-mode) .l-workflow-card h6, html:not(.dark-mode) .l-workflow-card .fw-bold,
body:not(.dark-mode) .l-workflow-card h1, body:not(.dark-mode) .l-workflow-card h2, body:not(.dark-mode) .l-workflow-card h3, body:not(.dark-mode) .l-workflow-card h4, body:not(.dark-mode) .l-workflow-card h5, body:not(.dark-mode) .l-workflow-card h6, body:not(.dark-mode) .l-workflow-card .fw-bold {
  color: #0f172a !important;
}

html:not(.dark-mode) .l-workflow-card p, html:not(.dark-mode) .l-workflow-card small, html:not(.dark-mode) .l-workflow-card span:not(.badge):not(.btn),
body:not(.dark-mode) .l-workflow-card p, body:not(.dark-mode) .l-workflow-card small, body:not(.dark-mode) .l-workflow-card span:not(.badge):not(.btn) {
  color: #1e293b !important;
}

/* Dark Mode: Dark navy card surface (#120f30) with Crisp White / Light Slate Text */
body.dark-mode .l-workflow-card,
html.dark-mode .l-workflow-card,
body.dark-mode .card:not(.bg-white):not([style*="background:#ffffff"]):not([style*="background: #ffffff"]),
html.dark-mode .card:not(.bg-white):not([style*="background:#ffffff"]):not([style*="background: #ffffff"]) {
  background-color: #120f30 !important;
  background: #120f30 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

body.dark-mode .l-workflow-card h1, body.dark-mode .l-workflow-card h2, body.dark-mode .l-workflow-card h3, body.dark-mode .l-workflow-card h4, body.dark-mode .l-workflow-card h5, body.dark-mode .l-workflow-card h6, body.dark-mode .l-workflow-card .fw-bold,
html.dark-mode .l-workflow-card h1, html.dark-mode .l-workflow-card h2, html.dark-mode .l-workflow-card h3, html.dark-mode .l-workflow-card h4, html.dark-mode .l-workflow-card h5, html.dark-mode .l-workflow-card h6, html.dark-mode .l-workflow-card .fw-bold,
body.dark-mode .l-workflow-card [style*="color:#0f172a"], html.dark-mode .l-workflow-card [style*="color:#0f172a"] {
  color: #ffffff !important;
}

body.dark-mode .l-workflow-card p, body.dark-mode .l-workflow-card small, body.dark-mode .l-workflow-card span:not(.badge):not(.btn),
html.dark-mode .l-workflow-card p, html.dark-mode .l-workflow-card small, html.dark-mode .l-workflow-card span:not(.badge):not(.btn),
body.dark-mode .l-workflow-card [style*="color:#1e293b"], html.dark-mode .l-workflow-card [style*="color:#1e293b"] {
  color: #cbd5e1 !important;
}

/* Dedicated Always-White Step Card System (.l-white-step-card) for 100% White Surface & Crisp Black Text in ALL Modes */
.l-white-step-card,
html.dark-mode .l-white-step-card,
body.dark-mode .l-white-step-card,
html:not(.dark-mode) .l-white-step-card,
body:not(.dark-mode) .l-white-step-card {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 28px 24px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.l-white-step-card:hover,
html.dark-mode .l-white-step-card:hover,
body.dark-mode .l-white-step-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.15) !important;
}

.l-white-step-card h1, .l-white-step-card h2, .l-white-step-card h3, .l-white-step-card h4, .l-white-step-card h5, .l-white-step-card h6,
.l-white-step-card .card-title, .l-white-step-card .fw-bold, .l-white-step-card .fw-black,
html.dark-mode .l-white-step-card h1, html.dark-mode .l-white-step-card h2, html.dark-mode .l-white-step-card h3, html.dark-mode .l-white-step-card h4, html.dark-mode .l-white-step-card h5, html.dark-mode .l-white-step-card h6,
html.dark-mode .l-white-step-card .card-title, html.dark-mode .l-white-step-card .fw-bold, html.dark-mode .l-white-step-card .fw-black,
body.dark-mode .l-white-step-card h1, body.dark-mode .l-white-step-card h2, body.dark-mode .l-white-step-card h3, body.dark-mode .l-white-step-card h4, body.dark-mode .l-white-step-card h5, body.dark-mode .l-white-step-card h6,
body.dark-mode .l-white-step-card .card-title, body.dark-mode .l-white-step-card .fw-bold, body.dark-mode .l-white-step-card .fw-black {
  color: #0f172a !important;
}

.l-white-step-card p, .l-white-step-card small, .l-white-step-card span:not(.badge):not(.btn),
html.dark-mode .l-white-step-card p, html.dark-mode .l-white-step-card small, html.dark-mode .l-white-step-card span:not(.badge):not(.btn),
body.dark-mode .l-white-step-card p, body.dark-mode .l-white-step-card small, body.dark-mode .l-white-step-card span:not(.badge):not(.btn) {
  color: #1e293b !important;
}

/* Sleek Professional CTA Buttons for High Visibility in All Modes */
.l-cta-btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #4338ca 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.l-cta-btn-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5) !important;
  color: #ffffff !important;
}

.l-cta-btn-gold,
html.dark-mode .l-cta-btn-gold,
body.dark-mode .l-cta-btn-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #0f172a !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.l-cta-btn-gold:hover,
html.dark-mode .l-cta-btn-gold:hover,
body.dark-mode .l-cta-btn-gold:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.5) !important;
  color: #0f172a !important;
}

.l-cta-btn-white,
html.dark-mode .l-cta-btn-white,
body.dark-mode .l-cta-btn-white,
.btn-light,
html.dark-mode .btn-light,
body.dark-mode .btn-light {
  background: #ffffff !important;
  color: #4f46e5 !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.l-cta-btn-white:hover,
html.dark-mode .l-cta-btn-white:hover,
body.dark-mode .l-cta-btn-white:hover,
.btn-light:hover,
html.dark-mode .btn-light:hover,
body.dark-mode .btn-light:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4) !important;
  background: #ffffff !important;
  color: #4338ca !important;
}

.btn-outline-light,
html.dark-mode .btn-outline-light,
body.dark-mode .btn-outline-light {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Absolute White Container Contrast Fallback: If ANY container explicitly retains a white background in Dark Mode, enforce Crisp Black Text (#0f172a) */
html.dark-mode .bg-white,
body.dark-mode .bg-white,
html.dark-mode [style*="background:#ffffff"],
body.dark-mode [style*="background:#ffffff"],
html.dark-mode [style*="background: #ffffff"],
body.dark-mode [style*="background: #ffffff"],
html.dark-mode [style*="background:white"],
body.dark-mode [style*="background:white"],
html.dark-mode [style*="background-color:#ffffff"],
body.dark-mode [style*="background-color:#ffffff"],
html.dark-mode [style*="background-color: #ffffff"],
body.dark-mode [style*="background-color: #ffffff"] {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

html.dark-mode .bg-white *,
body.dark-mode .bg-white *,
html.dark-mode [style*="background:#ffffff"] *,
body.dark-mode [style*="background:#ffffff"] *,
html.dark-mode [style*="background: #ffffff"] *,
body.dark-mode [style*="background: #ffffff"] *,
html.dark-mode [style*="background:white"] *,
body.dark-mode [style*="background:white"] *,
html.dark-mode [style*="background-color:#ffffff"] *,
body.dark-mode [style*="background-color:#ffffff"] *,
html.dark-mode [style*="background-color: #ffffff"] *,
body.dark-mode [style*="background-color: #ffffff"] * {
  color: #0f172a !important;
}

/* Force dark card surface for all cards & containers in Dark Mode (except white containers) */
body.dark-mode .card:not(.bg-white):not([style*="background:#ffffff"]):not([style*="background: #ffffff"]),
html.dark-mode .card:not(.bg-white):not([style*="background:#ffffff"]):not([style*="background: #ffffff"]),
body.dark-mode div.card:not(.bg-white):not([style*="background:#ffffff"]):not([style*="background: #ffffff"]),
html.dark-mode div.card:not(.bg-white):not([style*="background:#ffffff"]):not([style*="background: #ffffff"]),
body.dark-mode .l-workflow-card,
html.dark-mode .l-workflow-card,
body.dark-mode .l-feat-card,
html.dark-mode .l-feat-card,
body.dark-mode .l-price-card,
html.dark-mode .l-price-card,
body.dark-mode .l-calc-box,
html.dark-mode .l-calc-box,
body.dark-mode .l-faq-item,
html.dark-mode .l-faq-item,
body.dark-mode .l-test-card,
html.dark-mode .l-test-card,
body.dark-mode div[style*="background:var(--l-surface-card)"],
html.dark-mode div[style*="background:var(--l-surface-card)"],
body.dark-mode div[style*="background: var(--l-surface-card)"],
html.dark-mode div[style*="background: var(--l-surface-card)"] {
  background-color: #120f30 !important;
  background: #120f30 !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Bright White Headings inside Dark Cards */
body.dark-mode .card:not(.bg-white) h1, body.dark-mode .card:not(.bg-white) h2, body.dark-mode .card:not(.bg-white) h3, body.dark-mode .card:not(.bg-white) h4, body.dark-mode .card:not(.bg-white) h5, body.dark-mode .card:not(.bg-white) h6,
html.dark-mode .card:not(.bg-white) h1, html.dark-mode .card:not(.bg-white) h2, html.dark-mode .card:not(.bg-white) h3, html.dark-mode .card:not(.bg-white) h4, html.dark-mode .card:not(.bg-white) h5, html.dark-mode .card:not(.bg-white) h6,
body.dark-mode .l-workflow-card h1, body.dark-mode .l-workflow-card h2, body.dark-mode .l-workflow-card h3, body.dark-mode .l-workflow-card h4, body.dark-mode .l-workflow-card h5, body.dark-mode .l-workflow-card h6,
html.dark-mode .l-workflow-card h1, html.dark-mode .l-workflow-card h2, html.dark-mode .l-workflow-card h3, html.dark-mode .l-workflow-card h4, html.dark-mode .l-workflow-card h5, html.dark-mode .l-workflow-card h6,
body.dark-mode .l-workflow-card .fw-bold, html.dark-mode .l-workflow-card .fw-bold,
body.dark-mode .l-workflow-card .text-slate-900, html.dark-mode .l-workflow-card .text-slate-900 {
  color: #ffffff !important;
}

/* Light Slate Paragraphs inside Dark Cards */
body.dark-mode .card:not(.bg-white) p, body.dark-mode .card:not(.bg-white) small, body.dark-mode .card:not(.bg-white) span:not(.badge):not(.btn),
html.dark-mode .card:not(.bg-white) p, html.dark-mode .card:not(.bg-white) small, html.dark-mode .card:not(.bg-white) span:not(.badge):not(.btn),
body.dark-mode .l-workflow-card p, body.dark-mode .l-workflow-card small, body.dark-mode .l-workflow-card span:not(.badge):not(.btn),
html.dark-mode .l-workflow-card p, html.dark-mode .l-workflow-card small, html.dark-mode .l-workflow-card span:not(.badge):not(.btn),
body.dark-mode .l-workflow-card .text-slate-700, html.dark-mode .l-workflow-card .text-slate-700 {
  color: #cbd5e1 !important;
}
body.dark-mode .bg-white h1, body.dark-mode .bg-white h2, body.dark-mode .bg-white h3, body.dark-mode .bg-white h4, body.dark-mode .bg-white h5, body.dark-mode .bg-white h6,
body.dark-mode .bg-white .fw-bold, body.dark-mode .bg-white .fw-black, body.dark-mode .bg-white .text-slate-900, body.dark-mode .bg-white .text-slate-800,
body.dark-mode .bg-white [style*="color:#0f172a"], body.dark-mode .bg-white [style*="color: #0f172a"] {
  color: #ffffff !important;
}

body.dark-mode .card p, body.dark-mode .card .lead, body.dark-mode .card small, body.dark-mode .card span:not(.badge):not(.btn), body.dark-mode .card .text-slate-600, body.dark-mode .card .text-slate-500, body.dark-mode .card .text-muted,
body.dark-mode .p-4 p, body.dark-mode .p-4 small, body.dark-mode .p-4 span:not(.badge):not(.btn), body.dark-mode .p-4 .text-slate-600,
body.dark-mode .p-5 p, body.dark-mode .p-5 small, body.dark-mode .p-5 span:not(.badge):not(.btn),
body.dark-mode .bg-white p, body.dark-mode .bg-white .lead, body.dark-mode .bg-white small, body.dark-mode .bg-white span:not(.badge):not(.btn), body.dark-mode .bg-white .text-slate-600, body.dark-mode .bg-white .text-slate-500, body.dark-mode .bg-white .text-muted {
  color: #cbd5e1 !important;
}

/* Table Dark Mode Styling */
body.dark-mode .table {
  color: #f8fafc !important;
}
body.dark-mode .table-light,
body.dark-mode .table th,
body.dark-mode .table td {
  background-color: #120f30 !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Modal Dark Mode Styling */
body.dark-mode .modal-content {
  background-color: var(--l-modal-bg) !important;
  color: var(--l-text) !important;
  border: 1px solid var(--l-border) !important;
}

/* Dropdown Menu Dark Mode Styling */
body.dark-mode .dropdown-menu {
  background-color: var(--l-dropdown-bg) !important;
  border-color: var(--l-border) !important;
}

body.dark-mode .dropdown-item {
  color: var(--l-text) !important;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

/* Accordion Dark Mode Styling */
body.dark-mode .accordion-item {
  background-color: var(--l-surface-card) !important;
  border-color: var(--l-border) !important;
}
body.dark-mode .accordion-button {
  background-color: var(--l-surface-card) !important;
  color: var(--l-text) !important;
}
body.dark-mode .accordion-button:not(.collapsed) {
  background-color: rgba(99, 102, 241, 0.15) !important;
  color: #ffffff !important;
}
body.dark-mode .accordion-body {
  color: var(--l-text-muted) !important;
}

/* ==========================================================================
   REUSABLE SCROLL REVEAL & UI ANIMATION SYSTEM
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--l-shadow);
}

/* Accessibility: Reduced Motion Support */
/* ==========================================================================
   PREMIUM MODERN STEP WORKFLOW LAYOUT (.l-step-card-modern)
   ========================================================================== */
.l-step-card-modern {
  position: relative;
  border-radius: 24px !important;
  padding: 32px 24px !important;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

html:not(.dark-mode) .l-step-card-modern,
body:not(.dark-mode) .l-step-card-modern {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03) !important;
}

html:not(.dark-mode) .l-step-card-modern h5,
body:not(.dark-mode) .l-step-card-modern h5 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

html:not(.dark-mode) .l-step-card-modern p,
body:not(.dark-mode) .l-step-card-modern p {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

html.dark-mode .l-step-card-modern,
body.dark-mode .l-step-card-modern {
  background-color: #16133d !important;
  background: linear-gradient(145deg, #181446 0%, #120f32 100%) !important;
  border: 1px solid rgba(99, 102, 241, 0.22) !important;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .l-step-card-modern h5,
body.dark-mode .l-step-card-modern h5 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.dark-mode .l-step-card-modern p,
body.dark-mode .l-step-card-modern p {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

.l-step-card-modern:hover {
  transform: translateY(-6px) !important;
}

html:not(.dark-mode) .l-step-card-modern:hover {
  border-color: #6366f1 !important;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.18) !important;
}

html.dark-mode .l-step-card-modern:hover {
  border-color: rgba(99, 102, 241, 0.55) !important;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.35) !important;
}

.l-step-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.l-step-badge-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fbbf24;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

html.dark-mode .l-step-badge-num {
  border-color: #16133d;
}

/* ==========================================================================
   MASTER GLASSMORPHISM & BENTO SYSTEM (DUAL LIGHT & DARK MODE SUPPORTED)
   ========================================================================== */
.gradient-text {
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

html.dark-mode .gradient-text,
body.dark-mode .gradient-text {
  background: linear-gradient(135deg, #c0c1ff 0%, #22d3ee 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(15, 11, 60, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glass-panel {
  position: relative;
  border-radius: 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

html:not(.dark-mode) .glass-panel,
body:not(.dark-mode) .glass-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03) !important;
}

html:not(.dark-mode) .glass-panel h1,
html:not(.dark-mode) .glass-panel h2,
html:not(.dark-mode) .glass-panel h3,
html:not(.dark-mode) .glass-panel h4,
html:not(.dark-mode) .glass-panel h5,
html:not(.dark-mode) .glass-panel h6,
body:not(.dark-mode) .glass-panel h1,
body:not(.dark-mode) .glass-panel h2,
body:not(.dark-mode) .glass-panel h3,
body:not(.dark-mode) .glass-panel h4,
body:not(.dark-mode) .glass-panel h5,
body:not(.dark-mode) .glass-panel h6 {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

html:not(.dark-mode) .glass-panel p,
html:not(.dark-mode) .glass-panel span:not(.badge):not(.btn),
body:not(.dark-mode) .glass-panel p,
body:not(.dark-mode) .glass-panel span:not(.badge):not(.btn) {
  color: #475569 !important;
  -webkit-text-fill-color: #475569 !important;
}

html.dark-mode .glass-panel,
body.dark-mode .glass-panel {
  background: rgba(30, 41, 59, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .glass-panel h1,
html.dark-mode .glass-panel h2,
html.dark-mode .glass-panel h3,
html.dark-mode .glass-panel h4,
html.dark-mode .glass-panel h5,
html.dark-mode .glass-panel h6,
body.dark-mode .glass-panel h1,
body.dark-mode .glass-panel h2,
body.dark-mode .glass-panel h3,
body.dark-mode .glass-panel h4,
body.dark-mode .glass-panel h5,
body.dark-mode .glass-panel h6 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html.dark-mode .glass-panel p,
html.dark-mode .glass-panel span:not(.badge):not(.btn),
body.dark-mode .glass-panel p,
body.dark-mode .glass-panel span:not(.badge):not(.btn) {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

.glass-panel:hover {
  transform: translateY(-5px);
}

html:not(.dark-mode) .glass-panel:hover,
body:not(.dark-mode) .glass-panel:hover {
  border-color: #6366f1 !important;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.18) !important;
}

html.dark-mode .glass-panel:hover,
body.dark-mode .glass-panel:hover {
  border-color: rgba(99, 102, 241, 0.5) !important;
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.3) !important;
}

/* Stat Box Component */
.l-stat-glass-card {
  padding: 24px 16px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

html:not(.dark-mode) .l-stat-glass-card,
body:not(.dark-mode) .l-stat-glass-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

html.dark-mode .l-stat-glass-card,
body.dark-mode .l-stat-glass-card {
  background: rgba(30, 41, 59, 0.5) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-scale,
  .hover-lift,
  .l-hero-3d-card,
  .l-feat-card,
  .l-price-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
