/* ============================================================================
   CTW COMPUTERS & IT SOLUTIONS — REUSABLE "UN-WRAP" EXECUTIVE DEMO SYSTEM
   Single-Screen Whole-View Slide (Zero Scrollbar on Desktop/Laptop Viewports).
   Typography: Montserrat & Plus Jakarta Sans ONLY (zero typewriter/monospace).
   ============================================================================ */

html.ctw-unwrap-locked,
body.ctw-unwrap-locked {
  overflow: hidden !important;
  height: 100% !important;
}

.ctw-uw-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.6vh, 20px) clamp(12px, 2vw, 24px);
  background: #09090b;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ctw-uw-overlay.ctw-uw-unwrapping {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}

.ctw-uw-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.44;
  filter: saturate(1.18) contrast(1.06);
  pointer-events: none;
}

.ctw-uw-bg-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 15%, rgba(236, 28, 36, 0.24), transparent 48%),
    radial-gradient(circle at 85% 82%, rgba(37, 99, 235, 0.20), transparent 50%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.76) 0%, rgba(9, 9, 11, 0.88) 100%);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.ctw-uw-shell {
  position: relative;
  z-index: 2;
  width: min(1140px, 100%);
  background: rgba(15, 15, 20, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--ctw-accent, #ec1c24);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  padding: clamp(14px, 2vh, 22px) clamp(18px, 2.2vw, 26px);
  overflow: hidden;
}

/* TOP CO-BRANDED EXECUTIVE HEADER */
.ctw-uw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 12px;
}

.ctw-uw-cobrand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ctw-uw-ctwlogo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.ctw-uw-x {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #71717a;
}

.ctw-uw-client-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.ctw-uw-client-chip img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.ctw-uw-client-chip span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.ctw-uw-seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
}

/* COMPACT PROMINENT PUBLIC-DATA & SAMPLE AMOUNTS DISCLAIMER */
.ctw-uw-disclaimer-hero {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.65);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.ctw-uw-disc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.ctw-uw-disc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f59e0b;
  color: #111113;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
}

.ctw-uw-disc-locktag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.20);
  border: 1px solid rgba(248, 113, 113, 0.55);
  color: #fecaca;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
}

.ctw-uw-disclaimer-hero p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #fef3c7;
}

.ctw-uw-disclaimer-hero p strong {
  color: #ffffff;
  font-weight: 700;
}

/* TWO-COLUMN COMPACT SLIDE LAYOUT */
.ctw-uw-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.ctw-uw-welcome-box {
  background: rgba(24, 24, 31, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 13px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.ctw-uw-kicker {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f87171;
  margin-bottom: 4px;
}

.ctw-uw-welcome-box h1 {
  margin: 0 0 7px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 1.85vw, 23px);
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.ctw-uw-welcome-box h1 em {
  font-style: normal;
  color: #fde68a;
}

.ctw-uw-lead {
  margin: 0 0 8px 0;
  font-size: 12.4px;
  line-height: 1.5;
  color: #d4d4d8;
}

.ctw-uw-lead strong {
  color: #ffffff;
}

.ctw-uw-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 5px;
}

.ctw-uw-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.8px;
  line-height: 1.38;
  color: #e4e4e7;
}

.ctw-uw-checklist li i {
  font-style: normal;
  color: #4ade80;
  font-weight: 800;
  flex-shrink: 0;
}

/* COMPACT 1-DEVICE LOCK STRIP + DIRECT CTA INSIDE LEFT/RIGHT COLUMNS */
.ctw-uw-sharelock-strip {
  background: rgba(127, 29, 29, 0.26);
  border: 1px solid rgba(248, 113, 113, 0.42);
  border-radius: 9px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.3px;
  line-height: 1.38;
  color: #f4f4f5;
}

.ctw-uw-sharelock-strip svg {
  color: #fca5a5;
  flex-shrink: 0;
}

.ctw-uw-sharelock-strip strong {
  color: #fecaca;
}

/* RIGHT COLUMN: 4 COMPACT KPI CARDS + PROMINENT UN-WRAP CTA DOCK */
.ctw-uw-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.ctw-uw-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ctw-uw-metric-card {
  background: linear-gradient(180deg, rgba(30, 30, 38, 0.92) 0%, rgba(20, 20, 26, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.ctw-uw-metric-card:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 191, 36, 0.45);
}

.ctw-uw-metric-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.1;
  color: #4ade80;
}

.ctw-uw-metric-card.gold .ctw-uw-metric-num { color: #fde047; }
.ctw-uw-metric-card.sky .ctw-uw-metric-num { color: #38bdf8; }
.ctw-uw-metric-card.scarlet .ctw-uw-metric-num { color: #fb7185; }

.ctw-uw-metric-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11.8px;
  color: #ffffff;
}

.ctw-uw-metric-desc {
  margin: 0;
  font-size: 11px;
  line-height: 1.38;
  color: #a1a1aa;
}

/* INLINE UN-WRAP CTA DOCK (VISIBLE IMMEDIATELY — NO SCROLLING) */
.ctw-uw-cta-dock {
  background: linear-gradient(135deg, rgba(236, 28, 36, 0.16) 0%, rgba(24, 24, 31, 0.95) 100%);
  border: 1.5px solid rgba(236, 28, 36, 0.55);
  border-radius: 12px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ctw-uw-cta-caption {
  font-size: 11.2px;
  line-height: 1.35;
  color: #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ctw-uw-btn-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctw-uw-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 9px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}

.ctw-uw-btn.enter {
  flex: 1 1 auto;
  background: linear-gradient(135deg, #ec1c24 0%, #c81018 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(236, 28, 36, 0.45);
  font-size: 13px;
}

.ctw-uw-btn.enter:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(236, 28, 36, 0.62);
}

.ctw-uw-btn.discontinue {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e4e4e7;
  font-size: 11.5px;
  padding: 11px 13px;
}

.ctw-uw-btn.discontinue:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: rgba(248, 113, 113, 0.58);
  color: #ffffff;
}

.ctw-uw-subfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 9px;
  font-size: 10.8px;
  color: #71717a;
}

.ctw-uw-admin-trigger {
  background: transparent;
  border: 0;
  color: #71717a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10.8px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 5px;
}

.ctw-uw-admin-trigger:hover {
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.06);
}

/* SHARED LINK BLOCKED / DISCONTINUED STATE CARD */
.ctw-uw-state-card {
  max-width: 620px;
  margin: auto;
  text-align: center;
  padding: 24px 20px;
}

.ctw-uw-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.18);
  border: 2px solid rgba(248, 113, 113, 0.55);
  color: #fca5a5;
}

.ctw-uw-state-card h2 {
  margin: 0 0 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #ffffff;
}

.ctw-uw-state-card p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #d4d4d8;
}

/* FLOATING RE-OPEN PROPOSAL & DISCLAIMER BADGE (BOTTOM-LEFT) */
.ctw-uw-floating-pill {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(15, 15, 20, 0.94);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-left: 4px solid #ec1c24;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.ctw-uw-floating-pill:hover {
  transform: translateY(-2px);
  border-color: #fde047;
}

.ctw-uw-floating-pill img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.ctw-uw-floating-pill small {
  color: #fde68a;
  font-weight: 800;
}

/* PRESENTER ADMIN POPOVER MODAL (FLOATS OVER SHELL SO SHELL NEVER SCROLLS) */
.ctw-uw-admin-box {
  position: absolute;
  right: 20px;
  bottom: 42px;
  z-index: 30;
  width: min(560px, calc(100% - 40px));
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(10, 15, 28, 0.98);
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  text-align: left;
}

.ctw-uw-admin-box h4 {
  margin: 0 0 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  color: #38bdf8;
}

.ctw-uw-admin-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 7px;
}

.ctw-uw-admin-inp {
  flex: 1 1 180px;
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
}

/* Allow touch scrolling ONLY on narrow mobile phones */
@media (max-width: 860px) {
  .ctw-uw-overlay {
    overflow-y: auto;
    align-items: flex-start;
  }
  .ctw-uw-grid {
    grid-template-columns: 1fr;
  }
  .ctw-uw-btn-row {
    flex-direction: column;
  }
  .ctw-uw-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .ctw-uw-shell {
    padding: 12px 13px;
  }
  .ctw-uw-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .ctw-uw-metric-card {
    padding: 9px 10px;
  }
  .ctw-uw-metric-num {
    font-size: 16.5px;
  }
  .ctw-uw-metric-desc {
    font-size: 10.2px;
  }
  .ctw-uw-floating-pill {
    left: 10px;
    bottom: 72px;
    font-size: 10.5px;
    padding: 7px 11px;
  }
}
