/* WhatsApp Automation — premium showcase v43 */
.wa-showcase {
  position: fixed;
  inset: 0;
  z-index: 99995;
  background: #050504;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.wa-showcase.is-open { opacity: 1; pointer-events: auto; }
.wa-showcase[hidden] { display: none !important; }

.wa-showcase-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 175, 55, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 90% 90%, rgba(37, 211, 102, 0.05) 0%, transparent 50%),
    #050504;
  pointer-events: none;
}
.wa-showcase-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 42%, black 15%, transparent 72%);
  pointer-events: none;
}

.wa-show-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 24px 20px;
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.wa-show-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.wa-show-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 230, 200, 0.85);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.wa-show-back:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.5);
}
.wa-show-brand {
  flex: 1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c9a227;
}
.wa-show-live {
  font-size: 0.6rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}

/* Hero */
.wa-show-hero {
  text-align: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.wa-show-hero h1 {
  font-family: inherit;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: #f5f0e6;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.wa-show-hero h1 span {
  color: #d4af37;
}
.wa-show-hero p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 10px;
}
.wa-show-step-caption {
  display: inline-block;
  font-size: 0.72rem;
  color: rgba(52, 211, 153, 0.9);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  min-height: 1.4em;
  transition: opacity 0.2s;
  max-width: min(560px, 92vw);
  line-height: 1.4;
}
.wa-show-speed-badge {
  display: none;
  margin-top: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  animation: waSpeedPop 0.35s ease;
}
.wa-show-speed-badge.is-on { display: inline-block; }
@keyframes waSpeedPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.wa-show-mobile-steps {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.wa-mstep {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.wa-mstep.is-active {
  background: #34d399;
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.45);
}
.wa-mstep.is-done { background: rgba(212, 175, 55, 0.55); }

/* Sector picker — 20 industries */
.wa-sector-wrap {
  margin-bottom: 14px;
  flex-shrink: 0;
}
.wa-sector-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.wa-sector-picker {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.25) transparent;
}
.wa-sector-picker::-webkit-scrollbar { height: 4px; }
.wa-sector-picker::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}
.wa-sector-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  scroll-snap-align: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.wa-sector-chip:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.25);
  color: rgba(255, 255, 255, 0.85);
}
.wa-sector-chip.is-active {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.45);
  color: #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.15);
  transform: scale(1.03);
}
.wa-sector-ico { font-size: 0.95rem; line-height: 1; }
.wa-sector-txt { letter-spacing: 0.03em; }

/* Client ease strip */
.wa-show-ease {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.wa-show-ease-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}
.wa-show-ease-item span:first-child { font-size: 1rem; }
.wa-show-ease-item strong { color: #e8dcc0; font-weight: 600; }

/* Main stage */
.wa-show-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 16px;
  align-items: stretch;
  min-height: 0;
}

.wa-show-col {
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wa-show-col-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.55);
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

/* Steps */
.wa-show-col--steps { padding-bottom: 8px; }
.wa-show-steps {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  overflow-y: auto;
  flex: 1;
}
.wa-show-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: rgba(212, 175, 55, 0.12);
}
.wa-show-step {
  display: flex;
  gap: 10px;
  padding: 7px 6px;
  border-radius: 8px;
  opacity: 0.32;
  transition: opacity 0.4s, background 0.4s;
}
.wa-show-step.is-active {
  opacity: 1;
  background: rgba(52, 211, 153, 0.06);
}
.wa-show-step.is-done { opacity: 0.55; }
.wa-show-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  background: #0a0908;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.5);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all 0.35s;
}
.wa-show-step.is-active .wa-show-step-num {
  border-color: #34d399;
  color: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.25);
}
.wa-show-step.is-done .wa-show-step-num {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.1);
  color: transparent;
}
.wa-show-step.is-done .wa-show-step-num::after {
  content: '✓';
  color: #d4af37;
  font-size: 0.7rem;
}
.wa-show-step.is-done .wa-show-step-num span { display: none; }
.wa-show-step-body strong {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}
.wa-show-step-body em {
  display: block;
  font-size: 0.58rem;
  font-style: normal;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

/* Phone — real mobile proportions */
.wa-show-col--phone {
  align-items: center;
  justify-content: center;
  padding: 16px 12px 20px;
  background: rgba(0, 0, 0, 0.25);
  overflow: visible;
}
.wa-show-phone-zone {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wa-show-speed-flash {
  position: absolute;
  top: -6px;
  right: calc(50% - min(134px, 46vw));
  z-index: 5;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #34d399, #128C7E);
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.4);
  opacity: 0;
  transform: translateY(6px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.wa-show-speed-flash.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: waFlashPulse 0.6s ease 2;
}
@keyframes waFlashPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(52, 211, 153, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(52, 211, 153, 0.65); }
}
.wa-show-phone-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.wa-show-phone-zone.is-active .wa-show-phone-glow { opacity: 1; }

/* Real mobile device frame */
.wa-device-frame {
  position: relative;
  width: 272px;
  max-width: calc(100vw - 48px);
  padding: 10px 8px 6px;
  border-radius: 40px;
  background: linear-gradient(160deg, #1a1a18 0%, #0a0a09 45%, #151514 100%);
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 48px rgba(37, 211, 102, 0.08);
  flex-shrink: 0;
}
.wa-device-frame::before,
.wa-device-frame::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 2;
}
.wa-device-frame::before {
  right: -2px;
  top: 120px;
  width: 3px;
  height: 48px;
}
.wa-device-frame::after {
  left: -2px;
  top: 100px;
  width: 3px;
  height: 32px;
}
.wa-device-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px 6px;
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}
.wa-status-icons { font-size: 0.55rem; opacity: 0.85; }
.wa-device-home-bar {
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin: 8px auto 4px;
}

.wa-show-phone {
  width: 100%;
  background: #0b1410;
  border-radius: 30px;
  border: 1.5px solid rgba(37, 211, 102, 0.22);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.wa-show-notch {
  width: 72px;
  height: 20px;
  background: #050504;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}
.wa-show-wa-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #1a2420;
  min-width: 0;
}
.wa-show-wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.wa-show-wa-head > div {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.wa-show-wa-head strong {
  display: block;
  font-size: 0.76rem;
  color: #e9edef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-show-wa-head span {
  display: block;
  font-size: 0.54rem;
  color: #8696a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-show-wa-head span::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  margin-left: 5px;
  vertical-align: middle;
  animation: waOnlinePulse 2.2s ease-in-out infinite;
}
@keyframes waOnlinePulse {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 6px rgba(52, 211, 153, 0.6); }
}

.wa-show-chat {
  padding: 10px 9px 12px;
  height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #0b1410;
  scroll-behavior: smooth;
  transition: opacity 0.45s ease;
}
.wa-show-chat.is-switching { pointer-events: none; }
.wa-show-chat::-webkit-scrollbar { width: 3px; }
.wa-show-chat::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.wa-bubble {
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}
.wa-bubble.is-visible { opacity: 1; transform: translateY(0); }
.wa-bubble--out.is-visible {
  animation: waReplyPop 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes waReplyPop {
  0% { transform: scale(0.94) translateY(4px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.wa-bubble--in {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-radius: 0 10px 10px 10px;
}
.wa-bubble--out {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-radius: 10px 0 10px 10px;
}
.wa-bubble--time {
  align-self: flex-end;
  font-size: 0.55rem;
  color: rgba(134, 150, 160, 0.65);
  padding: 0 2px;
  opacity: 0;
  transition: opacity 0.3s 0.15s;
}
.wa-bubble--time.is-visible { opacity: 1; }

/* Auto attachments — PDF, UPI */
.wa-attach {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 10px 0 10px 10px;
  background: #005c4b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.wa-attach.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: waAttachPop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes waAttachPop {
  0% { transform: scale(0.88) translateY(8px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.wa-attach-ico {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
.wa-attach-body {
  flex: 1;
  min-width: 0;
}
.wa-attach-body strong {
  display: block;
  font-size: 0.68rem;
  color: #e9edef;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-attach-body em {
  display: block;
  font-size: 0.54rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: normal;
  margin-top: 1px;
}
.wa-attach-badge {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex-shrink: 0;
}
.wa-attach--pdf { background: linear-gradient(135deg, #005c4b, #004a3d); }
.wa-attach--upi { background: linear-gradient(135deg, #006b58, #005c4b); }
.wa-attach--upi.wa-attach--free {
  background: linear-gradient(135deg, #1a3a2e, #005c4b);
}
.wa-attach--upi.wa-attach--free .wa-attach-badge { background: rgba(52, 211, 153, 0.25); }

.wa-meta-card {
  align-self: flex-start;
  width: 94%;
  background: #152019;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s, transform 0.45s;
}
.wa-meta-card.is-visible { opacity: 1; transform: translateY(0); }
.wa-meta-head {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wa-meta-head strong { display: block; font-size: 0.72rem; color: #e9edef; }
.wa-meta-head em { font-size: 0.58rem; color: #8696a0; font-style: normal; }
.wa-meta-fields { padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.wa-meta-field {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  padding: 5px 7px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.wa-meta-field.is-filled {
  opacity: 1;
  transform: translateX(0);
  color: #e9edef;
  border-left: 2px solid #25d366;
}
.wa-meta-field span:last-child { color: #34d399; font-weight: 600; }
.wa-meta-submit {
  display: block;
  width: calc(100% - 20px);
  margin: 0 10px 10px;
  padding: 8px;
  background: #25d366;
  border: none;
  border-radius: 7px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: inherit;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}
.wa-meta-submit.is-visible { opacity: 1; }
.wa-meta-submit.is-done { background: #128C7E; }

.wa-typing {
  align-self: flex-start;
  display: flex;
  gap: 3px;
  padding: 9px 12px;
  background: #202c33;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.25s;
}
.wa-typing.is-visible { opacity: 1; }
.wa-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8696a0;
  animation: waTypingDot 0.55s ease-in-out infinite;
}
.wa-typing span:nth-child(2) { animation-delay: 0.08s; }
.wa-typing span:nth-child(3) { animation-delay: 0.16s; }
@keyframes waTypingDot {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* Backend */
.wa-show-col--backend { padding-bottom: 10px; }
.wa-show-pipeline-mini {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 6px;
  gap: 4px;
}
.wa-show-pipe-dot {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.4s, box-shadow 0.4s;
}
.wa-show-pipe-dot.is-lit {
  background: linear-gradient(90deg, #c9a227, #34d399);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}
.wa-show-backend {
  padding: 0 12px 12px;
  flex: 1;
  position: relative;
  min-height: 200px;
}
.wa-show-panel {
  display: none;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(0, 0, 0, 0.35);
}
.wa-show-panel.is-active { display: block; animation: waPanelIn 0.28s ease; }
@keyframes waPanelIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.wa-show-panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
}
.wa-show-panel-head .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}
.wa-ai-brain { text-align: center; }
.wa-ai-brain-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(201, 162, 39, 0.35));
}
.wa-ai-intent {
  font-size: 0.68rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  padding: 10px;
  background: rgba(201, 162, 39, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.15);
  opacity: 0;
  transition: opacity 0.4s;
}
.wa-ai-intent.is-visible { opacity: 1; }
.wa-ai-intent strong { color: #d4af37; }

.wa-sheet-row {
  display: grid;
  grid-template-columns: 36px 1fr 1fr;
  gap: 6px;
  font-size: 0.6rem;
  padding: 10px;
  background: rgba(52, 211, 153, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  opacity: 0;
  transition: opacity 0.4s;
}
.wa-sheet-row.is-visible { opacity: 1; }
.wa-sheet-row span:first-child { color: #34d399; font-weight: 800; }

.wa-alert-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.22);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s;
}
.wa-alert-card.is-visible { opacity: 1; }
.wa-alert-icon { font-size: 1.3rem; }
.wa-alert-card strong { display: block; font-size: 0.72rem; color: #fff; }
.wa-alert-card span { font-size: 0.6rem; color: rgba(255, 255, 255, 0.45); }

.wa-stats-bar { display: flex; gap: 6px; }
.wa-stat-pill {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  background: rgba(201, 162, 39, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.12);
  opacity: 0;
  transition: opacity 0.35s;
}
.wa-stat-pill.is-visible { opacity: 1; }
.wa-stat-pill strong { display: block; font-size: 0.85rem; color: #d4af37; font-weight: 800; }
.wa-stat-pill span { font-size: 0.52rem; color: rgba(255, 255, 255, 0.38); text-transform: uppercase; letter-spacing: 0.05em; }

.wa-show-client-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid rgba(52, 211, 153, 0.15);
  font-size: 0.65rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
.wa-show-client-note strong { color: #34d399; }

/* Footer — contained, no bleed */
.wa-show-footer {
  flex-shrink: 0;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(0, 0, 0, 0.35);
}
.wa-show-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.wa-show-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.wa-show-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c9a227, #34d399);
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.wa-show-progress-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(212, 175, 55, 0.65);
  letter-spacing: 0.06em;
  white-space: nowrap;
  min-width: 72px;
  text-align: right;
}
.wa-show-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.wa-show-controls { display: flex; gap: 8px; }
.wa-show-ctrl {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.wa-show-ctrl:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.wa-show-cta a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  color: #f5e6c8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s;
}
.wa-show-cta a:hover {
  background: rgba(212, 175, 55, 0.14);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

body.wa-showcase-open { overflow: hidden; }
body.wa-showcase-open .preloader,
body.wa-showcase-open .particles-canvas,
body.wa-showcase-open .aurora { display: none; }

@media (max-width: 768px) {
  .wa-show-inner {
    padding: max(8px, env(safe-area-inset-top, 8px)) 14px max(10px, env(safe-area-inset-bottom, 10px));
    min-height: 100dvh;
    min-height: 100svh;
  }
  .wa-show-header {
    margin-bottom: 10px;
    gap: 8px;
  }
  .wa-show-back {
    padding: 8px 12px;
    font-size: 0.65rem;
  }
  .wa-show-brand {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .wa-show-live {
    font-size: 0.55rem;
    padding: 5px 8px;
  }
  .wa-show-hero {
    margin-bottom: 10px;
  }
  .wa-show-hero h1 {
    font-size: 1.02rem;
    line-height: 1.3;
  }
  .wa-show-hero p { display: none; }
  .wa-show-step-caption {
    font-size: 0.66rem;
    padding: 5px 12px;
    display: block;
    margin: 0 auto;
  }
  .wa-show-speed-badge { display: inline-block; }
  .wa-show-mobile-steps { display: flex; }
  .wa-sector-wrap { margin-bottom: 10px; }
  .wa-sector-label { font-size: 0.58rem; margin-bottom: 6px; }
  .wa-sector-chip { padding: 6px 10px; font-size: 0.58rem; }

  .wa-show-ease {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
  }
  .wa-show-ease-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 4px;
    gap: 4px;
    font-size: 0.55rem;
    line-height: 1.3;
  }
  .wa-show-ease-item span:first-child { font-size: 0.9rem; }
  .wa-show-ease-item strong {
    display: block;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .wa-show-stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .wa-show-col--steps { display: none; }
  .wa-show-col--phone {
    order: 1;
    padding: 10px 8px 16px;
    background: transparent;
    border: none;
    overflow: visible;
  }
  .wa-device-frame {
    width: min(288px, calc(100vw - 32px));
    max-width: none;
    padding: 8px 7px 5px;
    border-radius: 36px;
    margin: 0 auto;
  }
  .wa-show-phone {
    width: 100%;
    border-radius: 28px;
  }
  .wa-show-speed-flash {
    right: calc(50% - min(170px, 48vw));
    top: -4px;
  }
  .wa-show-col--backend {
    order: 2;
    border: none;
    background: rgba(255, 255, 255, 0.02);
  }
  .wa-show-col-label {
    text-align: center;
    font-size: 0.54rem;
    padding: 8px 10px 6px;
  }
  .wa-show-chat {
    height: min(48vh, 420px);
    min-height: 340px;
    max-height: 440px;
  }
  .wa-bubble { font-size: 0.72rem; }
  .wa-show-backend { min-height: 0; padding: 0 10px 10px; }
  .wa-show-client-note {
    margin: 8px 10px 10px;
    font-size: 0.62rem;
  }
  .wa-show-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-top: 8px;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom, 12px));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .wa-show-footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .wa-show-controls { justify-content: center; }
  .wa-show-cta a {
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
  }
}

@media (max-width: 960px) and (min-width: 769px) {
  .wa-show-stage {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .wa-show-col--steps { max-height: 180px; }
  .wa-show-steps {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    gap: 6px;
  }
  .wa-show-steps::before { display: none; }
  .wa-show-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 88px;
    padding: 8px 6px;
    flex-shrink: 0;
  }
  .wa-show-step-body em { display: none; }
  .wa-device-frame {
    width: min(320px, calc(100vw - 32px));
    margin: 0 auto;
  }
  .wa-show-chat { height: 400px; min-height: 380px; }
  .wa-show-footer-row { flex-direction: column; align-items: stretch; }
  .wa-show-cta { text-align: center; }
  .wa-show-cta a { justify-content: center; width: 100%; }
}

@media (max-width: 380px) {
  .wa-show-inner { padding-left: 10px; padding-right: 10px; }
  .wa-show-phone { width: 100%; }
  .wa-show-ease-item strong { font-size: 0.52rem; }
}
