/*
 * Use Case — COD Order Confirmation
 * Prefix: cod-
 */

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

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

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.cod-hero {
  padding: 100px 40px 60px;
  background: #0B1120;
  position: relative; overflow: hidden;
}
.cod-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;
}
.cod-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;
}
.cod-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;
}
.cod-hero-copy { padding-top: 24px; }

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

.cod-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;
}
.cod-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;
}
.cod-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.55);
  line-height: 1.75; margin: 0 0 28px; max-width: 460px;
}
.cod-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }

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

/* ── Phone mockup ── */
.cod-hero-visual {
  position: relative;
  display: flex; justify-content: center;
  padding-bottom: 48px;
}
.cod-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);
}

.cod-phone-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: #111827;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.cod-ph-back { flex-shrink: 0; }
.cod-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;
}
.cod-ph-info { flex: 1; }
.cod-ph-name { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; }
.cod-ph-status { font-size: 11px; color: #25D366; }

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

.cod-msg { display: flex; flex-direction: column; max-width: 90%; }
.cod-msg-in { align-self: flex-start; }
.cod-msg-out { align-self: flex-end; }

.cod-msg-in .cod-msg-text {
  background: rgba(255,255,255,.08);
  border-radius: 0 12px 12px 12px;
  padding: 10px 12px;
  font-size: 12.5px; color: rgba(255,255,255,.88); line-height: 1.6;
}
.cod-msg-in .cod-msg-text strong { color: #fff; font-weight: 600; }

.cod-msg-out .cod-msg-text {
  background: rgba(37,211,102,.18);
  border-radius: 12px 12px 0 12px;
  padding: 10px 12px;
  font-size: 12.5px; color: rgba(255,255,255,.88); line-height: 1.6;
}

.cod-msg-time-in, .cod-msg-time-out {
  font-size: 9.5px; color: rgba(255,255,255,.3); margin-top: 3px;
}
.cod-msg-time-out { text-align: right; }

/* Quick-reply buttons */
.cod-msg-btns {
  display: flex; gap: 1px;
  margin-top: 1px;
}
.cod-quick-btn {
  flex: 1; padding: 9px 8px;
  font-size: 12px; font-weight: 600; text-align: center;
  cursor: pointer;
}
.cod-btn-yes {
  background: rgba(37,211,102,.15);
  color: #25D366;
  border-radius: 0 0 0 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.04);
}
.cod-btn-no {
  background: rgba(255,59,59,.1);
  color: rgba(255,100,100,.8);
  border-radius: 0 0 12px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Floating RTO comparison card */
.cod-hero-stat-card {
  position: absolute;
  top: 24px; right: 0;
  background: rgba(15,25,41,.92);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  min-width: 160px;
}
.cod-hsc-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cod-hsc-label { font-size: 11px; color: rgba(255,255,255,.4); }
.cod-hsc-val { font-size: 14px; font-weight: 800; letter-spacing: -.02em; }
.cod-val-bad { color: rgba(255,100,100,.8); }
.cod-val-good { color: #25D366; }
.cod-hsc-divider {
  height: 1px; background: rgba(255,255,255,.07); margin: 10px 0;
}

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

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.cod-how {
  padding: 90px 40px;
  background: #0B1120;
}
.cod-how-inner { max-width: 1100px; margin: 0 auto; }
.cod-how-header {
  text-align: center; margin-bottom: 60px;
}
.cod-how-sub {
  font-size: 15px; color: rgba(255,255,255,.45);
  margin: 14px auto 0; max-width: 500px; line-height: 1.7;
}
.cod-steps {
  display: flex; align-items: flex-start; gap: 0;
}
.cod-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;
}
.cod-step:hover {
  border-color: rgba(0,87,255,.3);
  background: rgba(0,87,255,.04);
}
.cod-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;
}
.cod-step h3 {
  font-size: 17px; font-weight: 700; color: #fff;
  margin: 0 0 10px; letter-spacing: -.02em;
}
.cod-step p {
  font-size: 14px; color: rgba(255,255,255,.5);
  line-height: 1.65; margin: 0;
}
.cod-step-arrow {
  flex-shrink: 0; align-self: center;
  padding: 0 12px; margin-top: -20px;
}

/* ═══════════════════════════════════════════
   OUTCOMES
═══════════════════════════════════════════ */
.cod-outcomes {
  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);
}
.cod-outcomes-inner { max-width: 1100px; margin: 0 auto; }
.cod-outcomes-header {
  text-align: center; margin-bottom: 56px;
}
.cod-outcomes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cod-outcome-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color .2s, transform .2s;
}
.cod-outcome-card:hover { transform: translateY(-2px); }

.cod-outcome-yes { border-color: rgba(37,211,102,.15); }
.cod-outcome-yes:hover { border-color: rgba(37,211,102,.35); background: rgba(37,211,102,.04); }
.cod-outcome-no { border-color: rgba(255,59,59,.1); }
.cod-outcome-no:hover { border-color: rgba(255,59,59,.3); background: rgba(255,59,59,.03); }
.cod-outcome-silent:hover { border-color: rgba(0,87,255,.3); background: rgba(0,87,255,.04); }

.cod-oc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  margin-bottom: 18px;
}
.cod-outcome-yes .cod-oc-icon { background: rgba(37,211,102,.12); color: #25D366; border: 1px solid rgba(37,211,102,.2); }
.cod-outcome-no .cod-oc-icon { background: rgba(255,59,59,.1); color: rgba(255,100,100,.8); border: 1px solid rgba(255,59,59,.15); }
.cod-outcome-silent .cod-oc-icon { background: rgba(255,255,255,.06); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.1); }

.cod-outcome-card h3 {
  font-size: 17px; font-weight: 700; color: #fff;
  margin: 0 0 16px; letter-spacing: -.02em;
}
.cod-outcome-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cod-outcome-card li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.5;
}
.cod-outcome-card li::before {
  content: '·';
  color: rgba(255,255,255,.25); flex-shrink: 0; margin-top: 1px;
  font-size: 18px; line-height: 1;
}

/* ═══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cod-cta {
  position: relative; overflow: hidden;
  padding: 100px 40px;
  background: #07101f;
  text-align: center;
}
.cod-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;
}
.cod-cta-inner { position: relative; z-index: 1; }
.cod-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;
}
.cod-cta-sub { font-size: 16px; color: rgba(255,255,255,.5); margin: 0 0 36px; }
.cod-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cod-cta-note { font-size: 12px; color: rgba(255,255,255,.28); }

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

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

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

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

  .cod-outcomes { padding: 70px 28px; }
  .cod-outcomes-grid { grid-template-columns: 1fr; gap: 16px; }

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

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

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

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