/*
 * Use Case — Welcome Series
 * Prefix: ws-
 */

body.baat-welcome-series {
  background: #0B1120;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  overflow-x: hidden;
}
body.baat-welcome-series * { box-sizing: border-box; }
body.baat-welcome-series a { text-decoration: none; }
body.baat-welcome-series p { color: inherit; }

/* ── Shared tokens ── */
.ws-sec-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #0057FF; margin-bottom: 12px;
}
.ws-sec-h {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin: 0; line-height: 1.2;
}
.ws-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; background: #0057FF; color: #fff;
  font-size: 14px; font-weight: 700; border-radius: 10px;
  transition: background .15s, box-shadow .15s;
}
.ws-btn-primary:hover { background: #0046CC; box-shadow: 0 0 24px rgba(0,87,255,.4); color: #fff; }
.ws-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  font-size: 14px; font-weight: 700; border-radius: 10px;
  transition: background .15s, color .15s, border-color .15s;
}
.ws-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.ws-hero {
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: #0B1120;
}
.ws-hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,87,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,87,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.ws-hero-bg-orb {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,87,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.ws-hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 860px) {
  .ws-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ws-hero-visual { order: -1; }
}

.ws-breadcrumb {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.45);
  margin-bottom: 20px; transition: color .15s;
}
.ws-breadcrumb:hover { color: rgba(255,255,255,.75); }

.ws-pill {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  background: rgba(0,87,255,.12); border: 1px solid rgba(0,87,255,.25);
  border-radius: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #4d8fff;
  margin-bottom: 20px;
}

.ws-hero-h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1.12;
  color: #fff; margin: 0 0 18px;
}
.ws-hero-sub {
  font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,.55); margin: 0 0 32px; max-width: 440px;
}
.ws-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Phone ── */
.ws-hero-visual { position: relative; display: flex; justify-content: center; }

.ws-phone {
  width: 280px;
  background: #111C2E; border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 0 80px rgba(0,87,255,.2), 0 40px 80px rgba(0,0,0,.6);
}
.ws-phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: #25D366;
}
.ws-ph-back { flex-shrink: 0; }
.ws-ph-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ws-ph-name   { font-size: 13px; font-weight: 700; color: #fff; }
.ws-ph-status { font-size: 11px; color: rgba(255,255,255,.75); }

.ws-phone-chat {
  padding: 14px 12px; background: #0E1C2F;
  display: flex; flex-direction: column; gap: 8px; min-height: 300px;
}
.ws-chat-date { text-align: center; font-size: 10px; color: rgba(255,255,255,.3); margin-bottom: 2px; }
.ws-chat-date-later { margin-top: 6px; }

.ws-msg { display: flex; }
.ws-msg-in { align-self: flex-start; max-width: 95%; }
.ws-msg-later { opacity: .75; }

.ws-msg-body {
  background: #1A2A40; border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px 14px 14px 14px; padding: 10px 12px;
}
.ws-msg-title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.ws-msg-text  { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.65); }
.ws-msg-text strong { color: rgba(255,255,255,.9); }
.ws-msg-time  { font-size: 10px; color: rgba(255,255,255,.3); text-align: right; margin-top: 6px; }
.ws-link { color: #4d8fff; font-weight: 600; }
.ws-code {
  display: inline-block; padding: 2px 8px;
  background: rgba(0,87,255,.15); border: 1px solid rgba(0,87,255,.3);
  border-radius: 6px; font-family: 'Menlo', monospace;
  font-size: 11px; font-weight: 700; color: #4d8fff; letter-spacing: .05em;
}
.ws-cta-row { margin-top: 8px; }
.ws-cta-chip {
  display: inline-flex; padding: 5px 12px;
  background: #0057FF; border-radius: 20px;
  font-size: 11px; font-weight: 700; color: #fff;
}

/* Floating stat */
.ws-hero-stat-card {
  position: absolute; bottom: -16px; right: -16px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #111C2E; border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.5); white-space: nowrap;
}
.ws-hsc-icon { font-size: 22px; }
.ws-hsc-n { font-size: 18px; font-weight: 800; color: #0057FF; line-height: 1; }
.ws-hsc-l { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; max-width: 120px; line-height: 1.3; }

/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.ws-stats {
  background: #0E1829;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 40px 24px;
}
.ws-stats-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.ws-stat { flex: 1; min-width: 180px; text-align: center; padding: 12px 24px; }
.ws-stat-n {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, #0057FF, #25D366);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.ws-stat-l { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 6px; line-height: 1.4; }
.ws-stat-sep { width: 1px; height: 48px; background: rgba(255,255,255,.08); flex-shrink: 0; }
@media (max-width: 640px) {
  .ws-stat-sep { display: none; }
  .ws-stat { flex-basis: 100%; border-bottom: 1px solid rgba(255,255,255,.06); }
  .ws-stat:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════ */
.ws-timeline { padding: 96px 24px; background: #0B1120; }
.ws-timeline-inner { max-width: 1080px; margin: 0 auto; }
.ws-timeline-header { text-align: center; margin-bottom: 56px; }
.ws-timeline-sub {
  font-size: 15px; color: rgba(255,255,255,.45);
  max-width: 540px; margin: 16px auto 0; line-height: 1.65;
}

.ws-steps {
  display: flex; align-items: flex-start; gap: 0;
  position: relative;
}
@media (max-width: 720px) {
  .ws-steps { flex-direction: column; align-items: stretch; }
}

.ws-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0;
  position: relative; z-index: 1;
}
.ws-step-day {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #0057FF; margin-bottom: 10px;
}
.ws-step-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #0057FF; border: 3px solid #0B1120;
  box-shadow: 0 0 0 2px #0057FF;
  margin-bottom: 16px; flex-shrink: 0;
}
.ws-dot-final {
  background: #25D366;
  box-shadow: 0 0 0 2px #25D366;
}
.ws-step-card {
  background: #111C2E; border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 18px 16px; text-align: center; width: 100%;
  transition: border-color .2s, transform .2s;
}
.ws-step-card:hover { border-color: rgba(0,87,255,.3); transform: translateY(-3px); }
.ws-step-icon  { font-size: 24px; margin-bottom: 8px; }
.ws-step-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.ws-step-msg   { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.5; font-style: italic; }

.ws-step-line {
  flex-shrink: 0; width: 40px; height: 2px;
  background: linear-gradient(90deg, rgba(0,87,255,.4), rgba(0,87,255,.15));
  margin-top: 35px;
}
@media (max-width: 720px) {
  .ws-step-line { width: 2px; height: 24px; margin: 0 0 0 50%; background: linear-gradient(to bottom, rgba(0,87,255,.4), rgba(0,87,255,.15)); }
  .ws-step { flex-direction: row; gap: 16px; align-items: flex-start; }
  .ws-step-day { writing-mode: horizontal-tb; width: 52px; flex-shrink: 0; margin-bottom: 0; margin-top: 2px; }
  .ws-step-dot { margin-bottom: 0; margin-top: 4px; }
  .ws-step-card { text-align: left; }
}

.ws-auto-note {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 40px;
  font-size: 13px; color: rgba(255,255,255,.4);
  background: rgba(0,87,255,.07); border: 1px solid rgba(0,87,255,.15);
  border-radius: 10px; padding: 12px 20px; max-width: 560px; margin-inline: auto;
}

/* ═══════════════════════════════════════════
   DEEP DIVE — shared
═══════════════════════════════════════════ */
.ws-dive { padding: 96px 24px; background: #0B1120; }
.ws-dive-alt { background: #0E1829; }
.ws-dive-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.ws-dive-rev { direction: rtl; }
.ws-dive-rev > * { direction: ltr; }
@media (max-width: 860px) {
  .ws-dive-inner { grid-template-columns: 1fr; gap: 40px; }
  .ws-dive-rev { direction: ltr; }
}

.ws-dive-h {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.2; color: #fff; margin: 0 0 16px;
}
.ws-dive-copy p { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0 0 20px; }
.ws-dive-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ws-dive-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.5;
}
.ws-dive-list li::before {
  content: ''; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 2px;
  background: rgba(0,87,255,.15); border: 1px solid rgba(0,87,255,.3); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.5 6L6.5 2.5' stroke='%230057FF' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ws-dive-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #0057FF; margin-top: 24px; transition: gap .15s;
}
.ws-dive-link:hover { gap: 10px; color: #4d8fff; }

/* ── Flows card ── */
.ws-flows-card {
  background: #111C2E; border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.ws-fc-header {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 16px;
}
.ws-flows { display: flex; flex-direction: column; gap: 10px; }
.ws-flow {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
  flex-wrap: wrap;
}
.ws-flow-source {
  display: flex; align-items: center; gap: 7px; min-width: 110px;
}
.ws-flow-icon  { font-size: 16px; }
.ws-flow-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); }
.ws-flow-arrow { font-size: 12px; color: rgba(255,255,255,.2); flex-shrink: 0; }
.ws-flow-msg   { font-size: 11px; color: rgba(255,255,255,.45); flex: 1; line-height: 1.4; min-width: 120px; }
.ws-flow-badge {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px; flex-shrink: 0;
}
.ws-badge-purple { background: rgba(139,92,246,.15); color: #a78bfa; border: 1px solid rgba(139,92,246,.25); }
.ws-badge-green  { background: rgba(37,211,102,.12); color: #25D366;  border: 1px solid rgba(37,211,102,.2); }
.ws-badge-blue   { background: rgba(0,87,255,.12);   color: #4d8fff;  border: 1px solid rgba(0,87,255,.22); }

/* ── Funnel card ── */
.ws-funnel-card {
  background: #111C2E; border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.ws-fnl-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.ws-fnl-title { font-size: 13px; font-weight: 700; color: #fff; }
.ws-fnl-count { font-size: 11px; color: rgba(255,255,255,.35); }

.ws-funnel { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.ws-fnl-step {}
.ws-fnl-bar-wrap {
  height: 8px; background: rgba(255,255,255,.06); border-radius: 99px;
  overflow: hidden; margin-bottom: 5px;
}
.ws-fnl-bar   { height: 100%; border-radius: 99px; background: #0057FF; }
.ws-fnl-bar-2 { background: linear-gradient(90deg, #0057FF, #4d8fff); opacity: .85; }
.ws-fnl-bar-3 { background: linear-gradient(90deg, #25D366, #4ade80); }
.ws-fnl-bar-4 { background: linear-gradient(90deg, #25D366, #4ade80); opacity: .65; }
.ws-fnl-info  { display: flex; justify-content: space-between; align-items: center; }
.ws-fnl-label { font-size: 11px; color: rgba(255,255,255,.4); }
.ws-fnl-val   { font-size: 12px; font-weight: 700; color: #fff; }
.ws-fnl-pct   { font-size: 10px; color: rgba(255,255,255,.35); margin-left: 4px; }

.ws-fnl-footer {
  display: flex; align-items: center; justify-content: space-around;
  padding: 14px 0 2px; border-top: 1px solid rgba(255,255,255,.06);
}
.ws-fnl-ft-item { text-align: center; }
.ws-fnl-ft-n { font-size: 22px; font-weight: 800; color: #fff; }
.ws-fnl-ft-l { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 2px; }
.ws-fnl-ft-div { width: 1px; height: 36px; background: rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.ws-cta {
  position: relative; overflow: hidden;
  padding: 96px 24px; background: #0B1120; text-align: center;
}
.ws-cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(0,87,255,.25) 0%, transparent 70%);
  pointer-events: none;
}
.ws-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.ws-cta-h {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1.15; color: #fff; margin: 0 0 16px;
}
.ws-cta-sub  { font-size: 16px; color: rgba(255,255,255,.5); margin: 0 0 32px; }
.ws-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.ws-cta-note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.3); }
