/* ==========================================================================
   REUSABLE UI COMPONENTS & MICRO-INTERACTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PILL BADGES & TAGS
   -------------------------------------------------------------------------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--color-surface-pill);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  width: fit-content;
  border: 1px solid var(--color-border-lighter);
  box-shadow: var(--shadow-inset-light), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pill-badge-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: var(--text-inverse-secondary);
  border: 1px solid var(--color-dark-border-subtle);
  box-shadow: var(--shadow-inset-dark);
}

.pill-badge .dot {
  width: 5px;
  height: 5px;
  background-color: currentColor;
  border-radius: 50%;
  display: inline-block;
}

/* Inline Headline Tags */
.hero-tag {
  display: inline-flex;
  align-items: center;
  font-family: "Stack Sans Headline", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 1em;
  font-weight: 400;
  vertical-align: middle;
  margin: 0 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.hero-tag-pink {
  background-color: #ffbcfc;
  color: #0b0b0c;
}

.hero-tag-white {
  background-color: #ffffff;
  color: #0b0b0c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hero-tag-dark {
  background-color: #0b0b0c;
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Dollar Action Pill in Headline (Exact 1:1 Framer SVG Asset) */
.dollar-pill-svg {
  display: inline-block;
  vertical-align: -6px;
  margin: 0 10px 4px;
  height: 56px;
  width: auto;
  transition: transform var(--transition-fast);
  cursor: default;
}

.dollar-pill-svg:hover {
  transform: scale(1.04);
}

@media (max-width: 1199px) {
  .dollar-pill-svg {
    height: 48px;
    vertical-align: -5px;
    margin: 0 8px 3px;
  }
}

@media (max-width: 799px) {
  .dollar-pill-svg {
    height: 38px;
    vertical-align: -4px;
    margin: 0 6px 2px;
  }
}

/* --------------------------------------------------------------------------
   2. BUTTONS & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.85rem;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
  background: rgba(255, 255, 255, 0.25);
}

.btn-primary {
  background: linear-gradient(180deg, #1a1a1c 0%, #0b0b0c 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 10px 25px -5px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #242428 0%, #121214 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 36px -6px rgba(0, 0, 0, 0.38);
}

.btn-lime {
  background: linear-gradient(135deg, var(--color-accent-lime-bright) 0%, var(--color-accent-lime) 100%);
  color: #0b0b0c;
  font-weight: 600;
  box-shadow: var(--shadow-glow-lime), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-lime .btn-arrow {
  background: rgba(0, 0, 0, 0.14);
  color: #0b0b0c;
}

.btn-lime:hover {
  background: linear-gradient(135deg, #a9ff75 0%, var(--color-accent-lime-bright) 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(158, 252, 101, 0.6), 0 0 70px rgba(158, 252, 101, 0.3);
}

.btn-lime:hover .btn-arrow {
  background: rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   3. STICKY NAVIGATION BAR & DROPDOWN
   -------------------------------------------------------------------------- */
.header-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  pointer-events: auto;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-nav-wrapper.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 32px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  height: 68px;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Header Top Right CTA Button (Pill with White Arrow Circle) */
.btn-nav-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111214;
  color: #ffffff;
  padding: 5px 6px 5px 18px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.btn-nav-action:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.nav-action-arrow-circle {
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-action:hover .nav-action-arrow-circle {
  transform: translate(2px, -2px);
}

.nav-links-center {
  display: flex;
  align-items: center;
  gap: 28px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.nav-link-item {
  padding: 6px 2px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #525866;
  border-radius: 4px;
  transition: color 0.15s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.nav-link-item:hover {
  color: #111214;
  background: transparent;
}

.nav-link-item.active {
  color: #111214;
  font-weight: 500;
  background: transparent;
}

/* Nav Dropdown */
.nav-dropdown-trigger {
  position: relative;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 260px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 105;
}

.nav-dropdown-trigger:hover .nav-dropdown-menu,
.nav-dropdown-trigger:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: var(--color-surface-pill);
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Mobile Nav Toggle */
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-surface-pill);
}

/* --------------------------------------------------------------------------
   4. LIVE INTERACTIVE STATS CARD (HERO BENTO)
   -------------------------------------------------------------------------- */
.stats-card-dark {
  background: #111213;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  padding: 48px 42px 42px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  width: 480px;
  min-height: 673px;
  height: 673px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-lg);
}

.intent-stage-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.intent-stage-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.intent-stage-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.intent-stage-pill.active {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.dot-matrix {
  display: grid;
  grid-template-columns: repeat(7, 34px);
  gap: 14px;
  margin-bottom: 28px;
  width: fit-content;
}

.matrix-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #1a1c1e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Active Dot Themes with Glowing Bulb Specular Highlights */
.matrix-dot.active,
.theme-pink .matrix-dot.active,
.theme-lime .matrix-dot.active {
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d5ffb8 25%, #9EFC65 60%, #5ec81e 100%);
  box-shadow: 0 0 18px rgba(158, 252, 101, 0.85), 0 0 36px rgba(158, 252, 101, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.theme-cyan .matrix-dot.active {
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #bae6fd 25%, #38BDF8 60%, #0284c7 100%);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.85), 0 0 34px rgba(56, 189, 248, 0.35), inset 0 1px 3px rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.theme-amber .matrix-dot.active {
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fef08a 25%, #FBBF24 60%, #d97706 100%);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.9), 0 0 38px rgba(251, 191, 36, 0.45), inset 0 1px 3px rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.stats-card-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.metric-number-huge {
  font-family: var(--font-display);
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.metric-label-subtle {
  font-size: 1rem;
  color: var(--text-inverse-secondary);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.stats-card-desc {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  max-width: 420px;
}

.stats-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.intent-qualification-badge {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: transform, opacity;
}

@media (max-width: 1199px) {
  .stats-card-dark {
    width: 100%;
    height: auto;
    min-height: 560px;
  }
}

.intent-qualification-badge.theme-pink {
  color: #FFBCFC;
  text-shadow: 0 0 24px rgba(255, 188, 252, 0.45);
}

.intent-qualification-badge.theme-lime {
  color: #9EFC65;
  text-shadow: 0 0 24px rgba(158, 252, 101, 0.5);
}

.intent-qualification-badge.theme-cyan {
  color: #38BDF8;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

.intent-qualification-badge.theme-amber {
  color: #FBBF24;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.4);
}

/* Equalizer Bars Animation */
.mini-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 52px;
}

.eq-bar {
  width: 10px;
  border-radius: 6px;
  background-color: #24272a;
  height: 14px;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.mini-equalizer.theme-pink .eq-bar.active {
  background: linear-gradient(180deg, #ffd4fd 0%, #ff7bf4 100%);
  box-shadow: 0 0 12px rgba(255, 123, 244, 0.55);
  animation: eqPulse 1.6s ease-in-out infinite alternate;
}

.mini-equalizer.theme-lime .eq-bar.active {
  background: linear-gradient(180deg, #dcfce7 0%, #9EFC65 100%);
  box-shadow: 0 0 12px rgba(158, 252, 101, 0.55);
  animation: eqPulse 1.6s ease-in-out infinite alternate;
}

.mini-equalizer.theme-cyan .eq-bar.active {
  background: linear-gradient(180deg, #bae6fd 0%, #0ea5e9 100%);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.55);
  animation: eqPulse 1.6s ease-in-out infinite alternate;
}

.mini-equalizer.theme-amber .eq-bar.active {
  background: linear-gradient(180deg, #fef3c7 0%, #f59e0b 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.55);
  animation: eqPulse 1.6s ease-in-out infinite alternate;
}

@keyframes eqPulse {
  0% {
    transform: scaleY(0.7);
  }

  100% {
    transform: scaleY(1.18);
  }
}

/* --------------------------------------------------------------------------
   5. CLIENT LOGO MARQUEE & AVATAR BADGE
   -------------------------------------------------------------------------- */
.marquee-container {
  display: block;
  padding: 28px 0;
  border-top: 1px solid var(--color-border-lighter);
  border-bottom: 1px solid var(--color-border-lighter);
  overflow: hidden;
  position: relative;
}

.trust-badge-col {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-right: 24px;
  border-right: 1px solid var(--color-border-light);
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -12px;
  object-fit: cover;
}

.avatar-img:first-child {
  margin-left: 0;
}

.trust-badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.3;
  max-width: 170px;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-shrink: 0;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a1a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.62;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-item svg {
  height: 22px;
  width: auto;
}

.marquee-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
}