/* ==========================================================================
   SHORELINE MEDICAL BILLING â€” INDEX / HOME PAGE STYLESHEET
   Strictly complies with RULE[westyle.md] (9-color palette & light theme)
   Clean, optimized, zero-duplicate production CSS
   ========================================================================== */

/* --- PERFORMANCE: CSS CONTAINMENT & VIRTUALIZATION FOR OFFSCREEN SECTIONS --- */
.trial-section,
.why-section,
.ai-about-section,
.choose-section,
.stacked-panels-wrapper,
.rcm-section,
.rr-section,
.states-section,
.spec-section,
.testi-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.content-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 450px;
}

/* Eliminate 300ms tap delay and optimize touch scroll across all mobile browsers */
.btn,
.btn-primary,
.open-rcm-modal-btn,
.rcm-modal-submit-btn,
.rcm-modal-close-btn,
.nav-link,
.swiper-button-next,
.swiper-button-prev {
  touch-action: manipulation;
}

/* ==========================================================================
   SHARED SECTION HEADERS & BADGES
   ========================================================================== */
.sec-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto clamp(20px, 2.5vw, 32px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 102, 179, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 102, 179, 0.20);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sec-header h2 {
  font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.sec-header p {
  font-size: 1.1rem;
  color: var(--color-body-text);
  line-height: 1.6;
}

.divider-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  margin: 20px auto 0;
  border-radius: 100px;
}

/* ==========================================================================
   1. HERO SECTION WITH SHOWCASE SLIDER & RESPONSIVE ADAPTATIONS
   ========================================================================== */
/* â”€â”€ 7. HERO SECTION (WITH BACKGROUND IMAGE & ANIMATIONS) â”€â”€ */
.hero {
  position: relative;
  min-height: 80vh;
  padding: clamp(48px, 5vw, 68px) 0 clamp(54px, 6vw, 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: none !important;
}

/* Soft Light Background Gradient Glow Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(21, 87, 153, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(21, 143, 96, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Particle Canvas Animation */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* S-Curve Hero Wave Divider Transitioning into White Trial Section */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: 100%;
  height: 68px;
  transform: translateY(2px) scale(1.02);
  transform-origin: bottom center;
}

@media (max-width: 768px) {
  .hero-wave svg {
    height: 38px;
  }
}

.hero .container,
.hero-grid {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
}

.hero-content,
.hero-visual {
  min-width: 0;
}

.hero-content {
  max-width: 680px;
}

/* --- Hero Category Badge Row --- */
.hero-badges-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  /* Reset anchor defaults when element is <a> */
  text-decoration: none;
  cursor: pointer;
}

.hero-badge-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 102, 179, 0.18);
}

/* Blue variant — Outlined light pill with green dot (matches screenshot) */
.hero-badge-blue {
  background: var(--color-background-soft);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(18, 48, 74, 0.05);
}

.hero-badge-blue:hover {
  background: #FFFFFF;
  border-color: rgba(0, 102, 179, 0.3);
  box-shadow: 0 4px 14px rgba(0, 102, 179, 0.12);
  color: var(--color-primary);
}

/* White/light variant — Info pill with teal text */
.hero-badge-white {
  background: #FFFFFF;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(18, 48, 74, 0.05);
}

.hero-badge-white ion-icon,
.hero-badge-white i {
  font-size: 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  min-height: 1.1rem;
  color: var(--color-secondary);
  filter: none;
  flex-shrink: 0;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.hero-badge-white:hover ion-icon,
.hero-badge-white:hover i {
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(24, 183, 201, 0.85));
}

/* Animated green status dot inside the blue badge */
.ai-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(39, 166, 111, 0.7);
  animation: ai-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ai-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 166, 111, 0.7);
  }

  60% {
    box-shadow: 0 0 0 6px rgba(39, 166, 111, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(39, 166, 111, 0);
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-body-text);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: none;
}

.badge-tag ion-icon {
  color: var(--color-success);
  font-size: 0.95rem;
}

.btn-light-blue {
  background: rgba(0, 102, 179, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(0, 102, 179, 0.22);
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 12px 24px;
}

.btn-light-blue:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 179, 0.35);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 26px;
  max-width: 640px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text);
  box-shadow: 0 3px 10px rgba(18, 48, 74, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  width: fit-content;
  cursor: default;
}

.hero-trust-pill i,
.hero-trust-pill ion-icon {
  font-size: 1.22rem !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  filter: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --ionicon-stroke-width: 44px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease, color 0.25s ease;
}

.hero-trust-pill:hover {
  transform: translateY(-2px);
  background: var(--color-background-soft);
  border-color: rgba(0, 102, 179, 0.35);
  box-shadow: 0 6px 16px rgba(0, 102, 179, 0.1);
  color: var(--color-primary);
}

.hero-trust-pill:hover i,
.hero-trust-pill:hover ion-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px currentColor);
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.35rem, 3.8vw, 3.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 18px;
}

.hero h1 .text-accent,
.hero h1 .accent {
  color: var(--color-primary) !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline;
}

.hero-title-main {
  color: var(--color-text);
}

.hero-title-sub {
  font-size: clamp(1.85rem, 2.9vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-top: 4px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--color-body-text);
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.hero-stat {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  min-width: 120px;
}

.hero-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  background: #FFFFFF;
}

.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1.1;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: var(--color-body-text);
  font-weight: 600;
}

/* Hero Right Visual & Hover Product Showcase Card */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-left: auto;
}

.hover-showcase-card {
  position: relative;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 560 / 420;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 102, 179, 0.16), 0 4px 16px rgba(18, 48, 74, 0.08);
  border: 4px solid #FFFFFF;
  cursor: pointer;
  outline: none;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.hover-showcase-card:hover,
.hover-showcase-card:focus-visible {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 102, 179, 0.25), 0 8px 24px rgba(18, 48, 74, 0.12);
}

/* Crossfade Slides Wrapper & Layers */
.showcase-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--color-background-soft);
  border-radius: inherit;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transform: scale(1) translateZ(0);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), transform 7s cubic-bezier(0.16, 1, 0.3, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
}

.showcase-slide.is-prev {
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transform: scale(1.025) translateZ(0);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-slide.is-active {
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  transform: scale(1.05) translateZ(0);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(0.96);
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-showcase-card:hover .showcase-slide.is-active .showcase-img {
  filter: brightness(0.92);
}

/* Side Navigation Arrows removed per user directive */
.showcase-nav-btn {
  display: none !important;
}

/* Pagination Progress Dots (Bottom Center) */
.showcase-pagination-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 20px rgba(18, 48, 74, 0.14), 0 2px 6px rgba(0, 102, 179, 0.08);
  z-index: 5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hover-showcase-card:hover .showcase-pagination-dots,
.hover-showcase-card.is-details-open .showcase-pagination-dots {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-dot::after {
  content: '';
  position: absolute;
  inset: -8px -6px;
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  cursor: pointer;
}

.showcase-dot:hover {
  background: var(--color-secondary);
  transform: scale(1.15);
}

.showcase-dot.is-active {
  width: 28px;
  border-radius: 14px;
  background: var(--color-background-soft);
  box-shadow: 0 2px 8px rgba(0, 102, 179, 0.25);
  transform: none;
}

.showcase-dot-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  width: 0%;
  border-radius: inherit;
}

.showcase-dot.is-active .showcase-dot-progress {
  width: 100%;
  transition: width 5.5s linear;
}

/* Ambient Pulse Tag (Positioned on Top-Left Corner of Image) */
.showcase-ambient-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--color-text);
  box-shadow: 0 6px 16px rgba(18, 48, 74, 0.12);
  z-index: 3;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hover-showcase-card.is-details-open .showcase-ambient-tag,
.hover-showcase-card:hover .showcase-ambient-tag {
  opacity: 0;
  transform: translateY(-8px);
}

.showcase-pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 rgba(39, 166, 111, 0.5);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 166, 111, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(39, 166, 111, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(39, 166, 111, 0);
  }
}

/* Blurred Hover Overlay with Luminous Glassmorphism (High Background Visibility) */
.showcase-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 48, 74, 0.40) 0%, rgba(18, 48, 74, 0.65) 45%, rgba(0, 102, 179, 0.88) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px 24px;
  border-radius: var(--radius-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  z-index: 6;
  pointer-events: none;
}

.hover-showcase-card.is-details-open .showcase-hover-overlay,
.hover-showcase-card:hover .showcase-hover-overlay,
.hover-showcase-card:focus-visible .showcase-hover-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Top Staggered Elements (Slide DOWN from Top) */
.showcase-overlay-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-24px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.hover-showcase-card.is-details-open .showcase-overlay-top,
.hover-showcase-card:hover .showcase-overlay-top,
.hover-showcase-card:focus-visible .showcase-overlay-top {
  transform: translateY(0);
  opacity: 1;
}

.showcase-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-category-badge ion-icon {
  color: var(--color-secondary);
  font-size: 0.88rem;
}

.showcase-title {
  font-size: 1.48rem;
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.95);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-desc {
  font-size: 0.92rem;
  color: #FFFFFF !important;
  font-weight: 500;
  line-height: 1.55;
  max-width: 96%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Bottom Staggered CTA (Rises from Bottom Right Corner) */
.showcase-overlay-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s, opacity 0.45s ease 0.08s;
  width: 100%;
}

.hover-showcase-card.is-details-open .showcase-overlay-bottom,
.hover-showcase-card:hover .showcase-overlay-bottom,
.hover-showcase-card:focus-visible .showcase-overlay-bottom {
  transform: translateY(0);
  opacity: 1;
}

/* Pill Shaped Interactive CTA */
.showcase-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 22px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 102, 179, 0.32), 0 2px 6px rgba(18, 48, 74, 0.12);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.showcase-pill-cta:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 102, 179, 0.42), 0 0 18px rgba(24, 183, 201, 0.35);
}

.showcase-pill-cta:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.25);
}

.showcase-cta-arrow-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.showcase-pill-cta:hover .showcase-cta-arrow-box {
  background: var(--color-text);
  border-color: var(--color-text);
  transform: translate(2px, -2px) rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.showcase-cta-arrow-box ion-icon,
.showcase-cta-arrow {
  font-size: 1.15rem;
  color: var(--color-primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.showcase-pill-cta:hover .showcase-cta-arrow-box ion-icon,
.showcase-pill-cta:hover .showcase-cta-arrow {
  color: #FFFFFF !important;
}

.stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  padding: 10px 18px 10px 12px;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  z-index: 7;
  width: auto;
  box-shadow: 0 12px 30px rgba(18, 48, 74, 0.1), 0 2px 8px rgba(0, 102, 179, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(0, 102, 179, 0.18);
}

.sc-icon-wrap {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.08) 0%, rgba(24, 183, 201, 0.12) 100%);
  border: 1px solid rgba(0, 102, 179, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 102, 179, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sc-icon-wrap ion-icon {
  font-size: 1.35rem;
  color: var(--color-primary);
  display: inline-flex !important;
  visibility: visible !important;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.stat-card:hover .sc-icon-wrap {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 102, 179, 0.25);
}

.stat-card:hover .sc-icon-wrap ion-icon {
  color: #FFFFFF !important;
  transform: scale(1.1);
}

.sc-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.sc-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
  transition: opacity 0.25s ease;
}

.sc-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-body-text);
  line-height: 1.25;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 155px;
  transition: opacity 0.25s ease;
}

.stat-1 {
  top: 32px;
  right: -16px;
  left: auto;
  animation: floatY 6s ease-in-out infinite;
  z-index: 5;
}

.stat-2 {
  bottom: 30px;
  left: -16px;
  right: auto;
  animation: floatY 6s ease-in-out infinite reverse;
  z-index: 5;
}

@media (max-width: 1300px) and (min-width: 993px) {
  .stat-1 {
    top: 28px;
    right: -10px;
  }

  .stat-2 {
    bottom: 24px;
    left: -10px;
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* â”€â”€ RESPONSIVE ADAPTATION FOR HERO SECTION â”€â”€ */
@media (max-width: 992px) {
  .hero {
    padding: 60px 0 100px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-badges-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    width: 100%;
    height: auto;
    min-height: auto;
    margin: 24px auto 32px;
  }

  .stat-card {
    padding: 8px 14px 8px 10px;
    border-radius: 12px;
    gap: 10px;
  }

  .sc-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .sc-icon-wrap ion-icon {
    font-size: 1.15rem;
  }

  .sc-val {
    font-size: 1.15rem;
  }

  .sc-label {
    font-size: 0.68rem;
    margin-top: 2px;
  }

  .stat-card.stat-1 {
    top: -18px;
    right: 20px;
    left: auto;
  }

  .stat-card.stat-2 {
    bottom: -18px;
    left: 20px;
    right: auto;
  }

  .showcase-pagination-dots {
    left: auto;
    right: 14px;
    transform: none;
    bottom: 14px;
    z-index: 5;
  }

  .showcase-hover-overlay {
    padding: 22px 20px 24px;
  }

  .showcase-overlay-bottom {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .showcase-title {
    font-size: 1.25rem;
  }

  .showcase-desc {
    font-size: 0.85rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Compact Ambient Pulse Tag on Tablet / Mobile */
  .showcase-ambient-tag {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 0.68rem;
    gap: 6px;
    max-width: calc(100% - 170px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-pulse-ring {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }
}

@media (max-width: 576px) {
  .tb-fixed {
    padding: 0 10px;
    height: 32px;
    gap: 6px;
  }

  .tb-item {
    padding: 0 14px;
    font-size: 0.72rem;
  }

  .tb-social a {
    width: 22px;
    height: 22px;
    font-size: 0.72rem;
  }

  .hero {
    padding: 32px 0 45px;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .hero-badges-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-badge-pill {
    max-width: 100%;
    font-size: 0.62rem;
    padding: 4px 10px;
    text-align: center;
    line-height: 1.35;
    letter-spacing: 0.2px;
    word-break: break-word;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem);
    line-height: 1.22;
    word-break: normal;
    overflow-wrap: break-word;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 18px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  .hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin-top: 20px;
    width: 100%;
  }

  .hero-trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 0.8rem;
    padding: 7px 14px;
    white-space: nowrap;
    line-height: 1.2;
    width: fit-content;
  }

  .hero-trust-pill i,
  .hero-trust-pill ion-icon {
    font-size: 1.15rem !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    vertical-align: middle;
  }

  .hero-visual {
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: auto;
    margin: 20px auto 26px;
  }

  .hover-showcase-card {
    width: 100%;
    min-width: 0;
  }

  /* Fade out floating badges on hover/tap so the full card overlay is unobstructed */
  .hero-visual:hover .stat-card,
  .hover-showcase-card:focus-visible~.stat-card {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
  }

  .showcase-hover-overlay {
    padding: 22px 18px 20px;
  }

  .showcase-category-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .showcase-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  }

  .showcase-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    display: block;
    -webkit-line-clamp: none;
    overflow: visible;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    margin-bottom: 12px;
  }

  .showcase-pill-cta {
    padding: 9px 16px 9px 18px;
    font-size: 0.82rem;
    gap: 8px;
  }

  .showcase-cta-arrow-box {
    width: 26px;
    height: 26px;
  }

  .hero-img {
    border-radius: 20px;
    border-width: 3px;
  }

  /* Compact Horizontal Rectangle Badges on Mobile */
  .stat-card {
    padding: 6px 12px 6px 8px;
    border-radius: 10px;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(18, 48, 74, 0.14);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .sc-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .sc-icon-wrap ion-icon {
    font-size: 0.95rem;
  }

  .sc-val {
    font-size: 0.95rem;
  }

  .sc-label {
    font-size: 0.58rem;
    line-height: 1.15;
    margin-top: 1px;
  }

  .stat-card.stat-1 {
    top: -16px;
    right: 14px;
    left: auto;
    animation: none;
    max-width: calc(100% - 90px);
  }

  .stat-card.stat-2 {
    bottom: -16px;
    left: 14px;
    right: auto;
    animation: none;
    max-width: calc(100% - 90px);
    z-index: 6;
  }

  .hover-showcase-card:hover .stat-card,
  .hover-showcase-card:focus-visible .stat-card {
    opacity: 0;
    pointer-events: none;
  }

  .showcase-hover-overlay {
    padding: 16px 14px 18px;
  }

  .showcase-category-badge {
    font-size: 0.65rem;
    padding: 3px 9px;
    margin-bottom: 6px;
  }

  .showcase-title {
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .showcase-desc {
    font-size: 0.76rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
  }

  .showcase-overlay-bottom {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .showcase-pill-cta {
    padding: 6px 12px 6px 14px;
    font-size: 0.78rem;
    gap: 8px;
    max-width: calc(100% - 100px);
  }

  .showcase-cta-arrow-box {
    width: 24px;
    height: 24px;
  }

  .showcase-cta-arrow {
    font-size: 0.85rem;
  }

  .showcase-pagination-dots {
    left: auto;
    right: 10px;
    transform: none;
    bottom: 10px;
    padding: 4px 8px;
    gap: 5px;
    z-index: 5;
  }

  .showcase-dot {
    width: 6px;
    height: 6px;
  }

  .showcase-dot.is-active {
    width: 16px;
  }

  /* Ultra-compact ambient tag on mobile to prevent overlap with top stat card */
  .showcase-ambient-tag {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.60rem;
    gap: 4px;
    max-width: calc(100% - 150px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .showcase-pulse-ring {
    width: 5px;
    height: 5px;
  }

  .hero-stat {
    min-width: 100px;
    padding: 10px 14px;
  }

  .hero-stat .num {
    font-size: 1.35rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}


