/* =============================================================
   BUSINESS TRANSFORMATION — Compact Before/After + Video with Testimonial
   ============================================================= */

.before-after {
  background: var(--bg2);
  padding: 95px 0 105px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.bt-section-header {
  max-width: 760px;
}
.bt-lede {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-top: 14px;
}

/* ------- 3 Sliding Business Tabs Above Window (TRANSFORMATIONS) ------- */
.bt-tabs-wrap {
  margin-top: 34px;
  margin-bottom: 28px;
}
.bt-tabs-label {
  font: 700 10px var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bt-tabs-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--gold2);
  border-radius: 2px;
}

.bt-tabs-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.bt-tabs-list::-webkit-scrollbar { display: none; }

.bt-tab-btn {
  background: rgba(18, 20, 18, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  user-select: none;
  flex-shrink: 0;
}
.bt-tab-btn:hover {
  border-color: rgba(213, 170, 75, 0.6);
  transform: translateY(-2px);
  background: rgba(25, 27, 22, 0.95);
}
.bt-tab-btn.is-active {
  background: rgba(213, 170, 75, 0.14);
  border-color: var(--gold2);
  box-shadow: 0 8px 24px rgba(213, 170, 75, 0.25);
}

.bt-tab-num {
  font: 700 10px var(--sans);
  color: var(--gold2);
}
.bt-tab-name {
  font: 700 12px var(--sans);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
}
.bt-tab-arrow {
  color: var(--gold2);
  font-size: 12px;
  transition: transform .25s ease;
}
.bt-tab-btn:hover .bt-tab-arrow,
.bt-tab-btn.is-active .bt-tab-arrow {
  transform: translateX(3px);
}

/* =============================================================
   DUAL SHOWCASE (Laptop: Ek side Video, Ek side Before/After aur uske niche Description)
   ============================================================= */
.bt-showcase-grid {
  display: grid;
  grid-template-columns: minmax(340px, 380px) 1fr;
  grid-template-areas:
    "video beforeAfter"
    "video desc";
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.bt-col-video {
  grid-area: video;
  display: flex;
}

.bt-col-before-after {
  grid-area: beforeAfter;
  display: flex;
}

.bt-col-desc {
  grid-area: desc;
  display: flex;
}

.bt-frame-card {
  width: 100%;
  background: #0a0c09;
  border: 1px solid rgba(213, 170, 75, 0.24);
  border-radius: 20px;
  padding: 14px 14px 14px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85),
              0 0 24px rgba(213, 170, 75, 0.05);
  display: flex;
  flex-direction: column;
}

.bt-frame-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}
.bt-frame-title {
  font: 700 9px var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold2);
}
.bt-frame-hint {
  font: 600 8.5px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #777;
}

/* Real Profile Comparison Slider */
.bt-profile-comparison {
  position: relative;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: none;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  flex: 1;
}

.ba-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.comparison-layer {
  position: absolute;
  inset: 0;
  background: #080908;
  overflow: hidden;
}
.comparison-before {
  background: #0d0f0d;
}
.comparison-after {
  background: #080908;
  clip-path: inset(0 0 0 50%);
}

.comparison-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.15), transparent 45%, transparent 55%, rgba(0,0,0,.15));
}

/* Labels */
.ba-label {
  position: absolute;
  top: 10px;
  z-index: 10;
  padding: 4px 9px;
  border-radius: 999px;
  font: 700 8px var(--sans);
  letter-spacing: .16em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-transform: uppercase;
}
.ba-label.before {
  left: 10px;
  background: rgba(25, 27, 25, 0.85);
  color: #888;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ba-label.after {
  right: 10px;
  background: rgba(14, 15, 12, 0.88);
  color: var(--gold2);
  border: 1px solid rgba(213, 170, 75, 0.55);
  box-shadow: 0 0 12px rgba(213, 170, 75, 0.25);
}

/* Draggable Handle */
.comparison-handle {
  position: absolute;
  z-index: 12;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold2) 20%, var(--gold) 80%, transparent);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(213, 170, 75, 0.6);
}
.comparison-handle::after {
  content: "↔";
  position: absolute;
  left: 50%; top: 50%;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f110e;
  border: 1.5px solid var(--gold);
  color: var(--gold2);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.9), 0 0 14px rgba(213, 170, 75, 0.5);
}

/* Compact Profile Mockup Layout */
.compact-profile-mockup {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  height: 100%;
}
.cp-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.cp-avatar-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #1d201d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #777;
  font: 700 18px var(--sans);
}
.after .cp-avatar-wrap {
  padding: 2px;
  background: linear-gradient(135deg, #d5aa4b, #9a7736, #f0cf7b);
  box-shadow: 0 0 14px rgba(213, 170, 75, 0.45);
}
.cp-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  display: block;
}

.cp-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cp-name {
  font: 700 13px / 1.2 var(--sans);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cp-name .verified-icon {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}
.cp-handle {
  font: 500 10px var(--sans);
  color: #777;
}
.cp-stats {
  display: flex;
  gap: 14px;
  font: 500 10px var(--sans);
  color: #777;
  margin-top: 3px;
}
.cp-stats strong {
  color: #e0deda;
  font-weight: 700;
}
.cp-stats strong.gold {
  color: var(--gold2);
  font-weight: 700;
}
.cp-badge {
  display: inline-block;
  font: 700 8px var(--sans);
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: 4px;
  width: fit-content;
}
.cp-badge.unoptimized {
  background: rgba(255, 255, 255, 0.05);
  color: #777;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cp-badge.upgraded {
  background: rgba(213, 170, 75, 0.15);
  color: var(--gold2);
  border: 1px solid rgba(213, 170, 75, 0.45);
}

/* Video Column Frame */
.bt-video-frame {
  width: 100%;
  height: 100%;
  min-height: 480px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  border: none;
  background: #000;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}
.bt-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bt-video-frame {
  cursor: pointer;
}

/* Thumbnail overlay image — covers video until user taps */
.bt-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: 14px;
}
/* Hide thumb once video is unmuted / playing with sound */
.bt-video-frame.is-playing-audio .bt-video-thumb {
  opacity: 0;
  pointer-events: none;
}

/* Speaker Mute/Unmute Audio Button */
.reel-sound-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 15;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 12, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(213, 170, 75, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 14px rgba(213, 170, 75, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #fff;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.25s,
              border-color 0.25s,
              box-shadow 0.25s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.reel-sound-btn:hover {
  background: rgba(18, 20, 16, 0.95);
  border-color: var(--gold);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.8), 0 0 18px rgba(213, 170, 75, 0.4);
  transform: scale(1.08);
}

.reel-sound-btn:active {
  transform: scale(0.92);
}

.reel-sound-btn .sound-icon {
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: transform 0.2s ease;
}

/* Default (Muted): speaker with slash */
.reel-sound-btn .sound-icon-muted {
  display: block;
  color: #e8e6e1;
}

.reel-sound-btn .sound-icon-unmuted {
  display: none;
  color: var(--gold2);
}

/* Active Unmuted state */
.reel-sound-btn.is-unmuted {
  background: rgba(24, 26, 20, 0.92);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(213, 170, 75, 0.5);
}

.reel-sound-btn.is-unmuted .sound-icon-muted {
  display: none;
}

.reel-sound-btn.is-unmuted .sound-icon-unmuted {
  display: block;
  animation: reelSoundPulse 1.4s infinite ease-in-out;
}

@keyframes reelSoundPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(213, 170, 75, 0.4));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(213, 170, 75, 0.85));
  }
}

/* Center tap feedback badge (Instagram style) */
.reel-audio-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(8, 10, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(213, 170, 75, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.9), 0 0 24px rgba(213, 170, 75, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold2);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reel-audio-toast svg {
  width: 28px;
  height: 28px;
}

.reel-audio-toast .toast-icon-muted {
  display: block;
  color: #fff;
}

.reel-audio-toast .toast-icon-unmuted {
  display: none;
  color: var(--gold2);
}

.reel-audio-toast.is-unmuted .toast-icon-muted {
  display: none;
}

.reel-audio-toast.is-unmuted .toast-icon-unmuted {
  display: block;
}

.reel-audio-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Description Card ("aur uske niche description") */
.bt-desc-card {
  width: 100%;
  background: linear-gradient(165deg, #10120f 0%, #080907 100%);
  border: 1px solid rgba(213, 170, 75, 0.22);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(213, 170, 75, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bt-desc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 207, 123, 0.6), transparent);
  pointer-events: none;
}

/* Top Rating & Trust Header */
.bt-rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.bt-rating-score-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bt-score-big {
  font: 800 clamp(36px, 3.4vw, 44px) / 1 var(--sans);
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(213, 170, 75, 0.3);
}

.bt-score-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bt-stars-gold {
  color: #f0cf7b;
  font-size: 16px;
  letter-spacing: .15em;
  line-height: 1;
  text-shadow: 0 0 10px rgba(240, 207, 123, 0.5);
}

.bt-sat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(213, 170, 75, 0.1);
  border: 1px solid rgba(213, 170, 75, 0.32);
  padding: 3px 9px;
  border-radius: 999px;
  width: fit-content;
}

.bt-sat-icon {
  font-size: 8.5px;
  font-weight: 800;
  color: #10120f;
  background: var(--gold);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
}

.bt-sat-text {
  font: 700 8.5px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold2);
}

/* Badges on right side */
.bt-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bt-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26, 29, 24, 0.9);
  border: 1px solid rgba(213, 170, 75, 0.4);
  padding: 5px 11px;
  border-radius: 999px;
  font: 800 8.5px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold2);
}

.bt-v-dot {
  color: var(--gold);
  font-size: 8px;
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.bt-highlight-pill {
  font: 700 9.5px var(--sans);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-style: italic;
}

/* Performance Chips */
.bt-client-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.bt-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 11px;
  font: 600 10px var(--sans);
  color: #d8d5ce;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold2);
}

/* Hairline Divider */
.bt-card-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(213, 170, 75, 0.35) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  margin: 16px 0;
}

/* Review Title & Testimonial Quote */
.bt-review-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bt-quote-title {
  font: 700 clamp(16px, 1.5vw, 19px) / 1.35 var(--sans);
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.bt-quote-text {
  font: 400 13px / 1.75 var(--sans);
  color: #dedbd2;
  position: relative;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2.5px solid var(--gold);
  border-radius: 0 10px 10px 0;
  margin: 0;
  font-style: normal;
}

/* Footer: Author & Instagram Link */
.bt-desc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 14px;
}

.bt-client-author {
  font: 700 11px var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold2);
}

.btn-reel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font: 700 10px / 1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #080808;
  background: linear-gradient(135deg, #f0cf7b 0%, #d5aa4b 100%);
  box-shadow: 0 4px 16px rgba(213, 170, 75, 0.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-reel-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 170, 75, 0.48);
}

@media (min-width: 981px) {
  #before-after .wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas: 
      "header header"
      "tabs showcase";
    gap: 0 50px;
    align-items: start;
  }
  .bt-section-header { grid-area: header; margin-bottom: 30px; }
  .bt-tabs-wrap { 
    grid-area: tabs; 
    margin-top: 0;
  }
  .bt-tabs-list {
    flex-direction: column;
    gap: 16px;
  }
  .bt-showcase-grid {
    grid-area: showcase;
    /* Make the content a bit more compact as requested */
    max-width: 1000px; 
    margin: 0; 
  }
}

