/*
 * Use Case — Abandoned Cart Recovery
 * Prefix: ac-
 */

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

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

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.ac-hero {
  padding: 100px 40px 60px;
  background: #0B1120;
  position: relative; overflow: hidden;
}
.ac-hero-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}
.ac-hero-bg-orb {
  position: absolute; width: 700px; height: 700px;
  top: -200px; left: 20%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0,87,255,.15) 0%, transparent 65%);
  pointer-events: none;
}
.ac-hero-inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px;
  align-items: flex-start;
}
.ac-hero-copy { padding-top: 24px; }

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

.ac-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #0057FF; background: rgba(0,87,255,.12);
  border: 1px solid rgba(0,87,255,.25); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 20px;
}
.ac-hero-h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -.04em;
  color: #fff; line-height: 1.1; margin: 0 0 18px;
}
.ac-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.55);
  line-height: 1.75; margin: 0 0 28px; max-width: 460px;
}
.ac-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

.ac-shopify-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(255,255,255,.35); font-weight: 500;
}

/* ── Phone mockup ── */
.ac-hero-visual {
  position: relative;
  display: flex; justify-content: center;
  padding-bottom: 48px;
}
.ac-phone {
  width: 320px;
  background: #0F1929;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 -16px 60px rgba(0,87,255,.2), 0 20px 60px rgba(0,0,0,.6);
}

/* Phone header */
.ac-phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #111827;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ac-ph-back { flex-shrink: 0; cursor: pointer; }
.ac-ph-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #0057FF, #25D366);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.ac-ph-info { flex: 1; }
.ac-ph-name { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; }
.ac-ph-status { font-size: 11px; color: #25D366; }
.ac-ph-call { flex-shrink: 0; }

/* Phone chat area */
.ac-phone-chat {
  padding: 16px 12px 20px;
  background: #0B1422;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 320px;
}
.ac-chat-date {
  text-align: center;
  font-size: 10px; color: rgba(255,255,255,.3);
  margin-bottom: 4px;
}

/* Messages */
.ac-msg { display: flex; flex-direction: column; max-width: 85%; }
.ac-msg-in { align-self: flex-start; }
.ac-msg-out { align-self: flex-end; }

.ac-msg-in .ac-msg-text {
  background: rgba(255,255,255,.08);
  border-radius: 0 12px 12px 12px;
  padding: 9px 12px;
  font-size: 12.5px; color: rgba(255,255,255,.88); line-height: 1.55;
}
.ac-msg-out .ac-msg-text {
  background: rgba(37,211,102,.18);
  border-radius: 12px 12px 0 12px;
  padding: 9px 12px;
  font-size: 12.5px; color: rgba(255,255,255,.88); line-height: 1.55;
}
.ac-msg-time-in, .ac-msg-time-out {
  font-size: 9.5px; color: rgba(255,255,255,.3);
  margin-top: 3px;
}
.ac-msg-time-out { text-align: right; }

/* Product card inside message */
.ac-msg-card { gap: 0; }
.ac-product-card {
  background: rgba(255,255,255,.06);
  border-radius: 0 12px 0 0;
  padding: 10px 12px;
  display: flex; gap: 10px; align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ac-pc-img {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(0,87,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.ac-pc-info { flex: 1; }
.ac-pc-name { font-size: 12px; font-weight: 600; color: #fff; line-height: 1.3; }
.ac-pc-price { font-size: 13px; font-weight: 700; color: #25D366; margin-top: 2px; }
.ac-pc-tag { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 1px; }

.ac-msg-cta-btn {
  background: rgba(0,87,255,.2);
  border-top: 1px solid rgba(0,87,255,.2);
  color: #4d8fff;
  font-size: 12px; font-weight: 600;
  padding: 9px 12px;
  border-radius: 0 0 12px 12px;
  text-align: center;
  cursor: pointer;
}
.ac-msg-card .ac-msg-time-in {
  padding: 3px 4px 0; font-size: 9.5px;
}

/* Floating stat card */
.ac-hero-stat-card {
  position: absolute;
  top: 20px; right: 0;
  background: rgba(15,25,41,.92);
  border: 1px solid rgba(0,87,255,.25);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.ac-hsc-icon { font-size: 22px; }
.ac-hsc-n { font-size: 18px; font-weight: 800; color: #fff; line-height: 1; }
.ac-hsc-l { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }

/* ═══════════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════════ */
.ac-stats {
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 40px;
}
.ac-stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: stretch;
}
.ac-stat {
  flex: 1; padding: 32px 20px;
  text-align: center;
}
.ac-stat-n {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em; color: #fff;
  margin-bottom: 6px; line-height: 1;
}
.ac-stat-l {
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.4;
}
.ac-stat-aside {
  display: block; font-size: 11px; color: rgba(255,255,255,.3); margin-top: 2px;
}
.ac-stat-sep {
  width: 1px; background: rgba(255,255,255,.07);
  margin: 20px 0;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.ac-how {
  padding: 90px 40px;
  background: #0B1120;
}
.ac-how-inner { max-width: 1100px; margin: 0 auto; }
.ac-how-header {
  text-align: center;
  margin-bottom: 60px;
}
.ac-how-sub {
  font-size: 15px; color: rgba(255,255,255,.45);
  margin: 14px auto 0; max-width: 480px; line-height: 1.7;
}
.ac-steps {
  display: flex; align-items: flex-start; gap: 0;
}
.ac-step {
  flex: 1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color .2s, background .2s;
}
.ac-step:hover {
  border-color: rgba(0,87,255,.3);
  background: rgba(0,87,255,.04);
}
.ac-step-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(0,87,255,.12); border: 1px solid rgba(0,87,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #0057FF;
  margin-bottom: 20px;
}
.ac-step h3 {
  font-size: 17px; font-weight: 700; color: #fff;
  margin: 0 0 10px; letter-spacing: -.02em;
}
.ac-step p {
  font-size: 14px; color: rgba(255,255,255,.5);
  line-height: 1.65; margin: 0;
}
.ac-step-arrow {
  flex-shrink: 0; align-self: center;
  padding: 0 12px; margin-top: -20px;
}

/* ═══════════════════════════════════════════
   MESSAGE SEQUENCE
═══════════════════════════════════════════ */
.ac-sequence {
  padding: 90px 40px;
  background: rgba(255,255,255,.015);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.ac-sequence-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: center;
}
.ac-seq-h {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin: 0 0 18px; line-height: 1.2;
}
.ac-seq-copy p {
  font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 0 0 28px;
}
.ac-seq-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #0057FF;
  transition: gap .15s;
}
.ac-seq-link:hover { gap: 10px; }

/* Timeline */
.ac-seq-timeline { display: flex; flex-direction: column; gap: 0; }
.ac-tl-item {
  display: grid;
  grid-template-columns: 80px 28px 1fr;
  gap: 0 16px;
  align-items: flex-start;
}
.ac-tl-last .ac-tl-track { overflow: hidden; }

.ac-tl-left { padding-top: 4px; }
.ac-tl-time {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.3);
  white-space: nowrap; letter-spacing: .01em;
}

.ac-tl-track {
  display: flex; flex-direction: column; align-items: center;
}
.ac-tl-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid; flex-shrink: 0; margin-top: 4px;
}
.ac-tl-dot-1 { border-color: #0057FF; background: #0057FF; }
.ac-tl-dot-2 { border-color: rgba(0,87,255,.4); background: transparent; }
.ac-tl-dot-3 { border-color: rgba(0,87,255,.25); background: transparent; }
.ac-tl-line { flex: 1; width: 1px; background: rgba(255,255,255,.08); min-height: 32px; }

.ac-tl-bubble {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.ac-tlb-dim { opacity: .65; }
.ac-tlb-tag-row { margin-bottom: 8px; }
.ac-tlb-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
}
.ac-tlb-required { color: #0057FF; background: rgba(0,87,255,.15); }
.ac-tlb-optional { color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.ac-tlb-msg {
  font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6;
}
.ac-tlb-msg strong { color: rgba(255,255,255,.85); font-weight: 600; }
.ac-tlb-link { color: #4d8fff; font-weight: 600; }

/* ═══════════════════════════════════════════
   SHOPIFY INTEGRATION
═══════════════════════════════════════════ */
.ac-shopify-sec {
  padding: 90px 40px;
  background: #0B1120;
}
.ac-si-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.ac-si-h {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -.03em;
  color: #fff; margin: 0 0 24px; line-height: 1.2;
}
.ac-si-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.ac-si-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.5;
}
.ac-si-list li::before {
  content: '';
  display: block; flex-shrink: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.3);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%2325D366' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  margin-top: 1px;
}
.ac-si-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #0057FF;
  transition: gap .15s;
}
.ac-si-link:hover { gap: 10px; }

/* Integration card */
.ac-integration-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.ac-ic-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ac-ic-logos { display: flex; align-items: center; gap: 8px; }
.ac-ic-logo {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ac-logo-shopify { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.2); }
.ac-logo-baat {
  background: rgba(0,87,255,.15); border: 1px solid rgba(0,87,255,.3);
  font-size: 15px; font-weight: 800; color: #0057FF;
}
.ac-ic-connector {
  display: flex; align-items: center; gap: 6px;
}
.ac-ic-line { width: 16px; height: 1px; background: rgba(255,255,255,.15); }
.ac-ic-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #25D366;
}
.ac-ic-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 6px rgba(37,211,102,.6);
}
.ac-ic-rows { padding: 8px 0; }
.ac-ic-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.ac-ic-row:last-child { border-bottom: none; }
.ac-ic-key { font-size: 12px; color: rgba(255,255,255,.35); }
.ac-ic-val { font-size: 12px; color: rgba(255,255,255,.75); font-weight: 500; }
.ac-ic-live {
  display: flex; align-items: center; gap: 5px;
  color: #25D366 !important;
}
.ac-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #25D366;
  animation: ac-pulse 2s ease-in-out infinite;
}
@keyframes ac-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.ac-cta {
  position: relative; overflow: hidden;
  padding: 100px 40px;
  background: #07101f;
  text-align: center;
}
.ac-cta-glow {
  position: absolute;
  width: 600px; height: 400px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0,87,255,.22) 0%, transparent 70%);
  pointer-events: none;
}
.ac-cta-inner { position: relative; z-index: 1; }
.ac-cta-h {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; letter-spacing: -.04em;
  color: #fff; margin: 0 0 16px; line-height: 1.15;
}
.ac-cta-sub {
  font-size: 16px; color: rgba(255,255,255,.5); margin: 0 0 36px;
}
.ac-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.ac-cta-note { font-size: 12px; color: rgba(255,255,255,.28); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1060px) {
  .ac-hero { padding: 100px 40px 60px; }
  .ac-hero-inner { gap: 40px; }
  .ac-phone { width: 290px; }
}

@media (max-width: 860px) {
  .ac-hero { padding: 90px 28px 60px; }
  .ac-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .ac-hero-copy { padding-top: 0; }
  .ac-hero-visual { justify-content: flex-start; }
  .ac-phone { width: min(320px, 100%); }
  .ac-hero-stat-card { right: auto; left: 240px; top: 12px; }

  .ac-stats { padding: 0 28px; }
  .ac-stats-inner { flex-wrap: wrap; }
  .ac-stat { flex: 1 0 calc(50% - 1px); }
  .ac-stat-sep { display: none; }

  .ac-how { padding: 70px 28px; }
  .ac-steps { flex-direction: column; gap: 16px; }
  .ac-step-arrow { display: none; }

  .ac-sequence { padding: 70px 28px; }
  .ac-sequence-inner { grid-template-columns: 1fr; gap: 48px; }

  .ac-shopify-sec { padding: 70px 28px; }
  .ac-si-inner { grid-template-columns: 1fr; gap: 48px; }

  .ac-cta { padding: 80px 28px; }
}

@media (max-width: 600px) {
  .ac-hero { padding: 80px 20px 48px; }
  .ac-hero-h1 { font-size: 2rem; }
  .ac-hero-sub { font-size: 15px; }
  .ac-hero-actions { flex-direction: column; }
  .ac-btn-primary, .ac-btn-ghost { width: 100%; }
  .ac-hero-stat-card { position: static; margin-top: 16px; display: inline-flex; }

  .ac-stats { padding: 0 20px; }
  .ac-stat { flex: 1 0 100%; padding: 24px 16px; }
  .ac-stat:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.06); }

  .ac-how { padding: 60px 20px; }
  .ac-step { padding: 24px 20px; }

  .ac-sequence { padding: 60px 20px; }
  .ac-tl-item { grid-template-columns: 64px 24px 1fr; gap: 0 10px; }

  .ac-shopify-sec { padding: 60px 20px; }

  .ac-cta { padding: 70px 20px; }
  .ac-cta-h { font-size: 1.85rem; }
  .ac-cta-btns { flex-direction: column; }
}
