/*
 * Use Case — Order Confirmation & Tracking
 * Prefix: ot-
 */

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

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

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

/* Breadcrumb */
.ot-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;
}
.ot-breadcrumb:hover { color: rgba(255,255,255,.75); }
.ot-breadcrumb svg { flex-shrink: 0; }

/* Pill */
.ot-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;
}

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

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

.ot-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);
}
.ot-phone-sm { width: 260px; }

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

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

.ot-msg { display: flex; gap: 8px; max-width: 90%; }
.ot-msg-in { align-self: flex-start; }

.ot-msg-icon {
  font-size: 18px; flex-shrink: 0; margin-top: 4px; line-height: 1;
}
.ot-msg-body {
  background: #1A2A40;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 12px; flex: 1;
}
.ot-msg-delivered .ot-msg-body {
  border-color: rgba(37,211,102,.2);
}
.ot-msg-title {
  font-size: 12px; font-weight: 700; color: #fff;
  margin-bottom: 5px;
}
.ot-msg-text {
  font-size: 11px; line-height: 1.55; color: rgba(255,255,255,.65);
}
.ot-msg-text strong { color: rgba(255,255,255,.9); }
.ot-msg-time {
  font-size: 10px; color: rgba(255,255,255,.3);
  text-align: right; margin-top: 6px;
}
.ot-track-link { color: #4d8fff; font-weight: 600; }
.ot-review-link { color: #25D366; font-weight: 600; }

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

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

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

.ot-stages {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap; justify-content: center;
}
.ot-stage {
  flex: 1; min-width: 160px; max-width: 220px;
  background: #111C2E;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 24px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.ot-stage:hover {
  border-color: rgba(0,87,255,.35);
  transform: translateY(-3px);
}
.ot-stage-icon { font-size: 28px; margin-bottom: 10px; }
.ot-stage-label {
  font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.ot-stage-msg {
  font-size: 11px; color: rgba(255,255,255,.4);
  line-height: 1.5; font-style: italic;
}
.ot-stage-arrow {
  font-size: 20px; color: rgba(255,255,255,.2);
  padding: 0 8px; flex-shrink: 0;
}
@media (max-width: 720px) {
  .ot-stages { flex-direction: column; }
  .ot-stage-arrow { transform: rotate(90deg); padding: 4px 0; }
  .ot-stage { max-width: 100%; width: 100%; }
}

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

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

/* ── Support ticket comparison card ── */
.ot-support-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);
}
.ot-sc-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.ot-sc-title {
  font-size: 13px; font-weight: 700; color: #fff;
}
.ot-sc-period {
  font-size: 11px; color: rgba(255,255,255,.35);
}
.ot-sc-compare { display: flex; flex-direction: column; gap: 14px; }
.ot-sc-row { display: flex; align-items: center; gap: 12px; }
.ot-sc-label {
  font-size: 12px; color: rgba(255,255,255,.45); width: 90px; flex-shrink: 0;
}
.ot-sc-bar-wrap {
  flex: 1; height: 10px;
  background: rgba(255,255,255,.05); border-radius: 99px; overflow: hidden;
}
.ot-sc-bar {
  height: 100%; border-radius: 99px;
  transition: width .8s ease;
}
.ot-bar-before { background: rgba(255,60,60,.5); }
.ot-bar-after  { background: linear-gradient(90deg, #0057FF, #25D366); }
.ot-sc-val {
  font-size: 13px; font-weight: 700; width: 42px; text-align: right; flex-shrink: 0;
}
.ot-val-bad  { color: rgba(255,100,100,.8); }
.ot-val-good { color: #25D366; }
.ot-sc-footer {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.ot-sc-saving {
  font-size: 12px; font-weight: 600;
  color: #25D366;
}

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

/* ═══════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════ */
.baat-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.baat-reveal.is-visible {
  opacity: 1;
  transform: none;
}
