/* ============================================================
   Shopify Integration Feature Page  (prefix: sh-)
   body.baat-feature-shopify
   ============================================================ */

/* ── Shared tokens ── */
body.baat-feature-shopify {
  --sh-navy:    #0B1120;
  --sh-navy2:   #0D1527;
  --sh-blue:    #0057FF;
  --sh-blue-lt: #EBF0FF;
  --sh-green:   #25D366;
  --sh-white:   #ffffff;
  --sh-t9:      #111827;
  --sh-t5:      #6B7280;
  --sh-t3:      #9CA3AF;
  --sh-border:  rgba(255,255,255,.08);
  --sh-card:    rgba(255,255,255,.04);
  --sh-radius:  14px;
}

/* ── Reset ── */
body.baat-feature-shopify * { box-sizing: border-box; }
body.baat-feature-shopify main { display: block; }

/* ────────────────────────── HERO ────────────────────────── */
.sh-hero {
  background: var(--sh-navy);
  padding: 100px 40px 0;
  position: relative;
  overflow: hidden;
}

.sh-hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.sh-hero-bg-orb {
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,87,255,.18) 0%, transparent 65%);
  pointer-events: none;
}

.sh-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

/* copy */
.sh-hero-copy { padding: 32px 0 64px; }

.sh-breadcrumb {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.45) !important;
  text-decoration: none !important;
  margin-bottom: 22px;
  transition: color .15s;
}
.sh-breadcrumb:hover { color: rgba(255,255,255,.75) !important; }

.sh-pill {
  display: inline-block;
  background: rgba(0,87,255,.18);
  color: #5b9fff;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid rgba(0,87,255,.3);
  margin-bottom: 20px;
}

.sh-hero-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--sh-white);
  margin: 0 0 18px;
}

.sh-hero-sub {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin: 0 0 32px;
  max-width: 460px;
}

.sh-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.sh-btn-primary {
  background: var(--sh-blue); color: #fff !important;
  font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 9px;
  text-decoration: none !important;
  transition: background .15s, transform .15s, box-shadow .15s;
  border: none; cursor: pointer;
}
.sh-btn-primary:hover { background: #0046cc; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,87,255,.35); }

.sh-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.8) !important;
  font-size: 15px; font-weight: 500;
  padding: 13px 26px; border-radius: 9px;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .15s, color .15s;
}
.sh-btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff !important; }

/* visual / mock */
.sh-hero-visual {
  display: flex; align-items: flex-start;
  padding-top: 32px;
}

.sh-mock {
  background: #111d35;
  border: 1px solid var(--sh-border);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
}

.sh-mock-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--sh-border);
  background: rgba(255,255,255,.02);
}

.sh-store-row {
  display: flex; align-items: center; gap: 10px;
}

.sh-store-icon {
  width: 32px; height: 32px;
  background: rgba(0,87,255,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #5b9fff;
  flex-shrink: 0;
}

.sh-store-name {
  font-size: 13px; font-weight: 600; color: var(--sh-white);
}

.sh-store-status {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: rgba(255,255,255,.4);
  margin-top: 2px;
}

.sh-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sh-green);
  display: inline-block;
}

.sh-mock-body { padding: 16px 18px 18px; }

/* overview stats */
.sh-overview {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 10px; margin-bottom: 16px;
}

.sh-ov-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.sh-ov-n {
  font-size: 20px; font-weight: 700; color: var(--sh-white);
  margin-bottom: 2px;
}
.sh-n-green { color: var(--sh-green); }

.sh-ov-l {
  font-size: 10px; color: rgba(255,255,255,.4);
  line-height: 1.3;
}

/* feed */
.sh-feed-label {
  font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 10px;
}

.sh-feed { display: flex; flex-direction: column; gap: 8px; }

.sh-feed-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 9px;
}

.sh-feed-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sh-fi-order { background: rgba(0,87,255,.15); color: #5b9fff; }
.sh-fi-cart  { background: rgba(245,158,11,.15); color: #f59e0b; }
.sh-fi-stock { background: rgba(37,211,102,.15); color: var(--sh-green); }
.sh-fi-cod   { background: rgba(139,92,246,.15); color: #a78bfa; }

.sh-feed-body { flex: 1; min-width: 0; }

.sh-feed-title {
  font-size: 12px; font-weight: 500; color: var(--sh-white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sh-feed-sub {
  font-size: 10.5px; color: rgba(255,255,255,.35);
  margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sh-feed-status {
  font-size: 10px; font-weight: 500;
  padding: 3px 8px; border-radius: 100px;
  flex-shrink: 0;
}
.sh-fs-sent   { background: rgba(37,211,102,.12); color: #34d06b; }
.sh-fs-queued { background: rgba(245,158,11,.12);  color: #f59e0b; }

/* ────────────────────────── STATS ────────────────────────── */
.sh-stats {
  background: #0D1527;
  padding: 48px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.sh-stats-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}

.sh-stat {
  flex: 1 1 160px;
  text-align: center;
  padding: 16px 32px;
}

.sh-stat-num {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.02em;
  color: var(--sh-white);
  margin-bottom: 6px;
}

.sh-stat-label {
  font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.4;
  max-width: 160px; margin: 0 auto;
}

.sh-stat-sep {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ────────────────────────── CAPABILITIES ────────────────────────── */
.sh-caps {
  background: var(--sh-navy);
  padding: 96px 40px;
}

.sh-caps-inner { max-width: 1100px; margin: 0 auto; }

.sh-caps-header {
  text-align: center;
  margin-bottom: 56px;
}

.sh-sec-label {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sh-blue);
  margin-bottom: 12px;
}

.sh-sec-h {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -.025em;
  color: var(--sh-white);
  margin: 0;
}

.sh-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sh-cap-card {
  background: var(--sh-card);
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius);
  padding: 28px 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.sh-cap-card:hover {
  border-color: rgba(255,255,255,.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}

.sh-cap-icon {
  width: 40px; height: 40px;
  background: rgba(0,87,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sh-blue);
  margin-bottom: 16px;
}

.sh-cap-card h3 {
  font-size: 15px; font-weight: 600; color: var(--sh-white);
  margin: 0 0 8px;
}

.sh-cap-card p {
  font-size: 13.5px; line-height: 1.65;
  color: rgba(255,255,255,.5);
  margin: 0;
}

/* ────────────────────────── DEEP DIVES ────────────────────────── */
.sh-dive {
  background: var(--sh-navy);
  padding: 88px 40px;
}
.sh-dive-alt { background: #0D1527; }

.sh-dive-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.sh-dive-inner-rev { direction: rtl; }
.sh-dive-inner-rev > * { direction: ltr; }

.sh-dive-copy { }

.sh-dive-h {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -.02em;
  color: var(--sh-white);
  margin: 0 0 16px;
}

.sh-dive-copy p {
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin: 0 0 24px;
}

.sh-dive-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sh-dive-list li {
  font-size: 14px; color: rgba(255,255,255,.65);
  padding-left: 20px; position: relative;
}
.sh-dive-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sh-blue);
}

/* ── Cart recovery card ── */
.sh-cart-card {
  background: #111d35;
  border: 1px solid var(--sh-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,.45);
}

.sh-cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--sh-border);
  font-size: 12px; color: rgba(255,255,255,.5);
}

.sh-cart-rate {
  background: rgba(37,211,102,.12);
  color: #34d06b;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
}

.sh-cart-preview { padding: 16px 18px; }

.sh-wa-bubble {
  background: rgba(37,100,50,.2);
  border: 1px solid rgba(37,211,102,.15);
  border-radius: 0 12px 12px 12px;
  padding: 13px 16px;
  font-size: 13px; line-height: 1.65;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
  display: inline-block;
  max-width: 100%;
}

.sh-var {
  background: rgba(0,87,255,.25);
  color: #7cb3ff;
  padding: 1px 5px; border-radius: 4px;
  font-size: 12px;
}

.sh-wa-time {
  font-size: 11px; color: rgba(255,255,255,.3);
  margin-left: 4px;
}

.sh-cart-stats {
  display: flex; align-items: center;
  padding: 12px 18px;
  border-top: 1px solid var(--sh-border);
}

.sh-cs-item { flex: 1; text-align: center; }

.sh-cs-n {
  font-size: 18px; font-weight: 700; color: var(--sh-white);
  margin-bottom: 2px;
}
.sh-csn-g { color: var(--sh-green); }

.sh-cs-l {
  font-size: 11px; color: rgba(255,255,255,.35);
}

.sh-cs-div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.08);
}

/* ── Timeline card ── */
.sh-timeline-card {
  background: #111d35;
  border: 1px solid var(--sh-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,.45);
}

.sh-tl-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--sh-border);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7);
}

.sh-timeline {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 0;
}

.sh-tl-item {
  display: flex; align-items: flex-start; gap: 12px;
  position: relative;
  padding-bottom: 20px;
}
.sh-tl-item:last-child { padding-bottom: 0; }

.sh-tl-item::before {
  content: '';
  position: absolute; left: 11px; top: 22px;
  width: 2px; height: calc(100% - 6px);
  background: rgba(255,255,255,.08);
}
.sh-tl-item:last-child::before { display: none; }

.sh-tl-dot {
  width: 24px; height: 24px; border-radius: 50%;
  flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}

.sh-tld-done {
  background: rgba(37,211,102,.15);
  border: 2px solid var(--sh-green);
}
.sh-tld-done::after {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sh-green);
}

.sh-tld-active {
  background: rgba(0,87,255,.15);
  border: 2px solid var(--sh-blue);
  position: relative;
}
.sh-tld-active::after {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sh-blue);
}

.sh-tld-pending {
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.12);
}

.sh-tl-body { padding-top: 1px; }

.sh-tl-title {
  font-size: 13px; font-weight: 500;
  color: var(--sh-white);
}
.sh-tli-pending .sh-tl-title { color: rgba(255,255,255,.35); }

.sh-tl-sub {
  font-size: 11.5px; color: rgba(255,255,255,.35);
  margin-top: 2px;
}

/* ────────────────────────── HOW IT WORKS ────────────────────────── */
.sh-how {
  background: #0D1527;
  padding: 88px 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.sh-how-inner { max-width: 1000px; margin: 0 auto; }

.sh-how-header {
  text-align: center;
  margin-bottom: 56px;
}

.sh-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.sh-step {
  position: relative;
  padding-top: 8px;
}

.sh-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,87,255,.12);
  border: 2px solid rgba(0,87,255,.35);
  color: #5b9fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}

.sh-step-line {
  position: absolute;
  top: 26px; left: 46px;
  right: -18px; height: 2px;
  background: rgba(0,87,255,.2);
}
.sh-step-last .sh-step-line { display: none; }

.sh-step h3 {
  font-size: 14px; font-weight: 600; color: var(--sh-white);
  margin: 0 0 8px;
}

.sh-step p {
  font-size: 13px; line-height: 1.65;
  color: rgba(255,255,255,.45);
  margin: 0;
}

/* ────────────────────────── CTA ────────────────────────── */
.sh-cta {
  background: var(--sh-navy);
  padding: 96px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sh-cta::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,87,255,.18) 0%, transparent 65%);
  pointer-events: none;
}

.sh-cta-inner { position: relative; z-index: 1; }

.sh-cta-h {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -.03em;
  color: var(--sh-white);
  margin: 0 0 14px;
}

.sh-cta-sub {
  font-size: 16px; color: rgba(255,255,255,.5);
  margin: 0 0 32px;
}

.sh-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ────────────────────────── REVEAL ANIMATIONS ────────────────────────── */
body.baat-feature-shopify .baat-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
body.baat-feature-shopify .baat-visible {
  opacity: 1;
  transform: none;
}

/* ────────────────────────── RESPONSIVE ────────────────────────── */
@media (max-width: 1060px) {
  .sh-hero-inner { grid-template-columns: 1fr; max-width: 680px; }
  .sh-hero-copy  { padding-bottom: 32px; }
  .sh-hero-visual { padding-top: 0; }
  .sh-steps { grid-template-columns: repeat(2,1fr); }
  .sh-step-line { display: none; }
}

@media (max-width: 860px) {
  .sh-hero { padding: 90px 28px 0; }
  .sh-caps { padding: 72px 28px; }
  .sh-caps-grid { grid-template-columns: repeat(2,1fr); }
  .sh-dive { padding: 64px 28px; }
  .sh-dive-inner { grid-template-columns: 1fr; gap: 40px; direction: ltr !important; }
  .sh-how { padding: 64px 28px; }
  .sh-cta { padding: 72px 28px; }
  .sh-stats { padding: 40px 28px; }
  .sh-stats-inner { gap: 0; }
  .sh-stat { padding: 14px 20px; }
  .sh-stat-sep { display: none; }
}

@media (max-width: 600px) {
  .sh-hero { padding: 80px 20px 0; }
  .sh-hero-h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .sh-caps { padding: 60px 20px; }
  .sh-caps-grid { grid-template-columns: 1fr; }
  .sh-dive { padding: 56px 20px; }
  .sh-how { padding: 56px 20px; }
  .sh-steps { grid-template-columns: 1fr; }
  .sh-overview { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .sh-ov-n { font-size: 16px; }
  .sh-cta { padding: 60px 20px; }
  .sh-stats { padding: 32px 20px; }
  .sh-stat { padding: 10px 14px; }
}
