/*
 * Use Case — Re-engagement Campaigns
 * Prefix: re-
 */

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

/* ── Shared tokens ── */
.re-sec-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #0057FF; margin-bottom: 12px;
}
.re-sec-h {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin: 0; line-height: 1.2;
}
.re-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;
}
.re-btn-primary:hover { background: #0046CC; box-shadow: 0 0 24px rgba(0,87,255,.4); color: #fff; }
.re-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;
}
.re-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.re-hero {
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: #0B1120;
}
.re-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%);
}
.re-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;
}
.re-hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
@media (max-width: 860px) {
  .re-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .re-hero-visual { order: -1; }
}

.re-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;
}
.re-breadcrumb:hover { color: rgba(255,255,255,.75); }

.re-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;
}

.re-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;
}
.re-hero-sub {
  font-size: 16px; line-height: 1.65;
  color: rgba(255,255,255,.55); margin: 0 0 32px; max-width: 440px;
}
.re-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

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

.re-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);
}
.re-phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: #25D366;
}
.re-ph-back { flex-shrink: 0; }
.re-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;
}
.re-ph-name   { font-size: 13px; font-weight: 700; color: #fff; }
.re-ph-status { font-size: 11px; color: rgba(255,255,255,.75); }

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

.re-msg { display: flex; }
.re-msg-in  { align-self: flex-start; max-width: 95%; }
.re-msg-out { align-self: flex-end;   max-width: 82%; justify-content: flex-end; }

.re-msg-body {
  background: #1A2A40;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 12px;
}
.re-bubble-out {
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.2);
  border-radius: 14px 4px 14px 14px;
}
.re-msg-title { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.re-msg-text  { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.65); }
.re-msg-text strong { color: rgba(255,255,255,.9); }
.re-msg-time  { font-size: 10px; color: rgba(255,255,255,.3); text-align: right; margin-top: 6px; }
.re-link { color: #4d8fff; font-weight: 600; }

.re-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;
}
.re-cta-row { margin-top: 8px; }
.re-cta-chip {
  display: inline-flex; padding: 5px 12px;
  background: #0057FF; border-radius: 20px;
  font-size: 11px; font-weight: 700; color: #fff;
}

/* Floating stat */
.re-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;
}
.re-hsc-icon { font-size: 22px; }
.re-hsc-n { font-size: 18px; font-weight: 800; color: #0057FF; line-height: 1; }
.re-hsc-l { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; max-width: 120px; line-height: 1.3; }

/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.re-stats {
  background: #0E1829;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 40px 24px;
}
.re-stats-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.re-stat { flex: 1; min-width: 180px; text-align: center; padding: 12px 24px; }
.re-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;
}
.re-stat-l { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 6px; line-height: 1.4; }
.re-stat-sep { width: 1px; height: 48px; background: rgba(255,255,255,.08); flex-shrink: 0; }
@media (max-width: 640px) {
  .re-stat-sep { display: none; }
  .re-stat { flex-basis: 100%; border-bottom: 1px solid rgba(255,255,255,.06); }
  .re-stat:last-child { border-bottom: none; }
}

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

.re-steps {
  display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; justify-content: center;
}
.re-step {
  flex: 1; min-width: 200px; max-width: 300px;
  background: #111C2E; border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 28px 22px;
}
.re-step h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.re-step p  { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; margin: 0; }
.re-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,87,255,.15); border: 1px solid rgba(0,87,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #4d8fff;
  margin-bottom: 14px;
}
.re-step-arrow { display: flex; align-items: center; padding: 0 12px; margin-top: 40px; }
@media (max-width: 720px) {
  .re-steps { flex-direction: column; align-items: center; }
  .re-step-arrow { transform: rotate(90deg); margin: 4px 0; padding: 4px 0; }
  .re-step { max-width: 100%; width: 100%; }
}

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

.re-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;
}
.re-dive-copy p { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0 0 20px; }
.re-dive-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.re-dive-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.5;
}
.re-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;
}
.re-dive-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #0057FF; margin-top: 24px; transition: gap .15s;
}
.re-dive-link:hover { gap: 10px; color: #4d8fff; }

/* ── Cohort bar chart card ── */
.re-cohort-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);
}
.re-cc-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px;
}
.re-cc-title { font-size: 13px; font-weight: 700; color: #fff; }
.re-cc-total { font-size: 11px; color: rgba(255,255,255,.35); }

.re-cohorts {
  display: flex; align-items: flex-end; justify-content: space-around;
  gap: 12px; padding-bottom: 8px;
}
.re-cohort { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.re-cohort-bar-wrap {
  display: flex; align-items: flex-end; justify-content: center;
  width: 100%; min-height: 84px;
}
.re-cohort-bar {
  width: 100%; max-width: 44px; border-radius: 6px 6px 0 0;
  transition: height .6s ease;
}
.re-bar-30  { background: linear-gradient(to top, #0057FF, #4d8fff); }
.re-bar-60  { background: linear-gradient(to top, #0057FF, #4d8fff); opacity: .8; }
.re-bar-90  { background: linear-gradient(to top, #0057FF, #4d8fff); opacity: .6; }
.re-bar-180 { background: linear-gradient(to top, #0057FF, #4d8fff); opacity: .4; }
.re-cohort-label  { font-size: 10px; color: rgba(255,255,255,.4); }
.re-cohort-count  { font-size: 13px; font-weight: 700; color: #fff; }
.re-cohort-action {
  font-size: 10px; font-weight: 600; color: #4d8fff;
  background: rgba(0,87,255,.12); border: 1px solid rgba(0,87,255,.2);
  padding: 2px 7px; border-radius: 20px;
}

.re-cc-footer {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.re-cc-stat { font-size: 12px; color: rgba(255,255,255,.4); }
.re-cc-stat strong { color: #25D366; }

/* ── Revenue metrics card ── */
.re-revenue-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);
}
.re-rc-header { margin-bottom: 18px; }
.re-rc-title { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.5); }

.re-rc-metrics { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.re-rc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: rgba(255,255,255,.03); border-radius: 8px;
}
.re-rc-label { font-size: 12px; color: rgba(255,255,255,.4); }
.re-rc-val   { font-size: 13px; font-weight: 700; color: #fff; }
.re-rc-val span { font-size: 11px; color: rgba(255,255,255,.35); margin-left: 4px; }
.re-val-blue { color: #4d8fff; }
.re-val-green { color: #25D366; }
.re-val-gold  { color: #FBBF24; }

.re-rc-divider { height: 1px; background: rgba(255,255,255,.06); margin-bottom: 16px; }

.re-rc-roi {
  display: flex; align-items: center; justify-content: space-around;
}
.re-rc-roi-item { text-align: center; }
.re-rc-roi-n { font-size: 22px; font-weight: 800; color: #fff; }
.re-rc-roi-l { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 2px; }
.re-rc-roi-div { width: 1px; height: 36px; background: rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.re-cta {
  position: relative; overflow: hidden;
  padding: 96px 24px; background: #0B1120; text-align: center;
}
.re-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;
}
.re-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.re-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;
}
.re-cta-sub  { font-size: 16px; color: rgba(255,255,255,.5); margin: 0 0 32px; }
.re-cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.re-cta-note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.3); }
