/* ═══════════════════════════════════════════════
   WA RABT (warabt.com) showcase — used on index & services
   ═══════════════════════════════════════════════ */
.wr {
  --wr-green: #25D366;
  --wr-green-d: #128C7E;
  --wr-ink: #0B1F3A;
  --wr-line: #E3EAF3;
  position: relative; overflow: hidden; color: #fff; padding: 110px 0;
  background: radial-gradient(800px 460px at 85% -10%, rgba(37,211,102,.28), transparent 60%), radial-gradient(500px 360px at 0% 110%, rgba(30,144,255,.3), transparent 70%), linear-gradient(160deg, #04140f 0%, #061a26 45%, #0B1F3A 100%);
}
.wr::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 25%, transparent 75%);
}
.wr .container { position: relative; z-index: 1; }
.wr-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.wr-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.3); color: #9ff0c1; font-size: .85rem; font-weight: 700; }
.wr-badge svg { width: 18px; height: 18px; color: var(--wr-green); }
.wr h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin: 20px 0 16px; }
[dir="rtl"] .wr h2 { line-height: 1.45; }
.wr h2 .wr-hl { background: linear-gradient(135deg, #25D366, #7CF5B0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wr-lead { color: rgba(226,240,236,.78); font-size: 1.08rem; line-height: 1.8; max-width: 620px; }
.wr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; padding: 0; list-style: none; }
.wr-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: #d8f7e6; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.wr-chips li::before { content: '✓'; color: var(--wr-green); font-weight: 800; }
.wr-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap; text-decoration: none; }
.wr-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.wr-btn-green { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); }
.wr-btn-green:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 36px -10px rgba(37,211,102,.8); }
.wr-btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.wr-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.wr-btn-link { color: #9ff0c1; padding-inline: 8px; }
.wr-btn-link:hover { color: #fff; }
.wr-stats { display: flex; gap: 0; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.wr-stats > div { flex: 1; padding-inline-end: 18px; }
.wr-stats > div + div { padding-inline-start: 18px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.wr-stats b { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif; background: linear-gradient(135deg, #25D366, #7CF5B0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.wr-stats span { display: block; margin-top: 6px; font-size: .84rem; color: rgba(226,240,236,.65); line-height: 1.4; }

/* Phone mockup */
.wr-phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; border-radius: 38px; padding: 12px; background: #0b1512; box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 50px 100px -30px rgba(0,0,0,.7), 0 0 80px -20px rgba(37,211,102,.35); animation: wrFloat 7s ease-in-out infinite; }
.wr-screen { border-radius: 28px; overflow: hidden; background: #efe7dd; color: #111; }
.wr-chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #075E54; color: #fff; }
.wr-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #25D366, #128C7E); flex-shrink: 0; }
.wr-avatar svg { width: 20px; height: 20px; color: #fff; }
.wr-chat-head b { display: block; font-size: .9rem; }
.wr-chat-head small { display: block; font-size: .72rem; color: #c9f5dc; }
.wr-chat-body { padding: 16px 12px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px); background-size: 14px 14px; }
.wr-msg { max-width: 84%; padding: 9px 12px 18px; border-radius: 12px; font-size: .84rem; line-height: 1.55; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wr-msg time { position: absolute; bottom: 4px; inset-inline-end: 10px; font-size: .64rem; color: #667; }
.wr-msg-in { background: #fff; align-self: flex-start; }
.wr-msg-out { background: #d9fdd3; align-self: flex-end; }
.wr-msg-btns { align-self: flex-end; width: 84%; display: grid; gap: 6px; }
.wr-msg-btns span { display: block; text-align: center; background: #fff; color: #0a7cff; font-size: .8rem; font-weight: 700; padding: 9px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wr-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 14px; background: #fff; border-radius: 12px; }
.wr-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa; animation: wrDot 1.2s infinite; }
.wr-typing i:nth-child(2) { animation-delay: .15s; } .wr-typing i:nth-child(3) { animation-delay: .3s; }
.wr-ai-tag { position: absolute; bottom: 36px; inset-inline-start: -34px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--wr-ink); font-weight: 800; font-size: .82rem; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.wr-ai-tag span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; font-size: .9rem; }

/* Features */
.wr-feat-head { text-align: center; max-width: 700px; margin: 96px auto 40px; }
.wr-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; color: #9ff0c1; background: rgba(37,211,102,.12); padding: 6px 12px; border-radius: 999px; letter-spacing: .08em; }
[dir="rtl"] .wr-eyebrow { letter-spacing: 0; }
.wr-feat-head h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 14px 0 10px; line-height: 1.35; }
.wr-feat-head p { color: rgba(226,240,236,.7); }
.wr-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wr-feature { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.wr-feature:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(37,211,102,.35); }
.wr-feature-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(37,211,102,.25), rgba(18,140,126,.25)); color: #6ef0a5; margin-bottom: 16px; }
.wr-feature-ic svg { width: 22px; height: 22px; }
.wr-feature h4 { color: #fff; font-size: 1.02rem; font-weight: 800; margin: 0 0 8px; }
.wr-feature p { color: rgba(226,240,236,.68); font-size: .9rem; line-height: 1.7; margin: 0; }

/* Inline service-block links (services page) */
.wr-inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.wr-inline-actions .wr-btn-ghost { color: #128C7E; border-color: #cfe9dc; background: #f2fbf6; }
.wr-inline-actions .wr-btn-ghost:hover { background: #e2f7ec; color: #0b6b5f; }

@keyframes wrFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wrDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .wr-phone, .wr-typing i { animation: none; } }

@media (max-width: 1024px) {
  .wr-grid { grid-template-columns: 1fr; gap: 56px; }
  .wr-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wr { padding: 76px 0; }
  .wr-features { grid-template-columns: 1fr; }
  .wr-actions .wr-btn { flex: 1 1 100%; }
  .wr-stats { flex-direction: column; gap: 14px; }
  .wr-stats > div, .wr-stats > div + div { padding: 0; border: 0; display: flex; align-items: center; gap: 14px; }
  .wr-stats span { margin: 0; }
  .wr-ai-tag { display: none; }
  .wr-feat-head { margin-top: 72px; }
}
