/* ==================== BASE & HERO SYSTEM ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--surface-muted);
  color: var(--ink-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ==================== SHELL ==================== */
.ph {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0 5.5rem;
  background-color: var(--surface-muted);
}

.ph-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ph-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.ph-grid.is-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.ph-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ph-center .ph-lead { margin-left: auto; margin-right: auto; }
.ph-center .ph-ctas,
.ph-center .ph-points,
.ph-center .ph-proof { justify-content: center; }

/* Soft brand mesh + fading grid behind the hero */
.ph-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 123, 246, 0.14), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(99, 102, 241, 0.12), transparent 40%),
    radial-gradient(circle at 70% 95%, rgba(14, 165, 233, 0.10), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-muted) 100%);
}

.ph-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* Dark navy variant (automation, security, small business) */
.ph-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 10%, rgba(59, 123, 246, 0.38), transparent 42%),
    radial-gradient(circle at 5% 90%, rgba(99, 102, 241, 0.25), transparent 40%),
    linear-gradient(135deg, var(--ink-900), #13254a);
}

.ph-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 80%);
}

.ph-dark .ph-title { color: #ffffff; }
.ph-dark .ph-lead { color: #b6c4dc; }
.ph-dark .ph-eyebrow { color: #8fb4ff; }
.ph-dark .ph-points li { color: #d5def0; }
.ph-dark .ph-proof-text strong { color: #ffffff; }
.ph-dark .ph-proof-text span { color: var(--ink-400); }

/* Decorative blurred orbs */
.ph-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: phDrift 14s ease-in-out infinite alternate;
}

/* ==================== TYPOGRAPHY ==================== */
.ph-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ph-badge b {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  border-radius: 999px;
}

.ph-dark .ph-badge {
  color: #d5def0;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.ph-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.ph-title {
  font-size: clamp(2.3rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 1.25rem;
}

/* Headings use one solid colour: the highlighted phrase inherits the heading colour */
.ph-hl {
  color: inherit;
  background: none;
}

.ph-lead {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
}

/* ==================== CTAs ==================== */
.ph-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ph-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.ph-btn:hover svg { transform: translateX(3px); }

.ph-btn.solid {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -4px rgba(37, 99, 235, 0.45);
}

.ph-btn.solid:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  transform: translateY(-2px);
}

.ph-btn.ghost {
  color: var(--ink-800);
  background-color: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.ph-btn.ghost:hover { border-color: #cfe0fb; transform: translateY(-2px); }

.ph-dark .ph-btn.ghost {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.ph-dark .ph-btn.ghost:hover { background-color: rgba(255, 255, 255, 0.14); }

/* Check-list under the CTAs */
.ph-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.75rem;
  list-style: none;
}

.ph-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-600);
}

.ph-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    linear-gradient(180deg, #34d399, #10b981);
}

/* Avatar social proof */
.ph-proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.ph-proof-stack { display: flex; }

.ph-proof-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(11, 19, 36, 0.12);
}

.ph-proof-stack img + img { margin-left: -10px; }

.ph-proof-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--ink-900); }
.ph-proof-text span { font-size: 0.8rem; color: var(--ink-500); }
.ph-proof-text .stars { color: #f59e0b; letter-spacing: 1px; }

/* ==================== MOCKUP PRIMITIVES ==================== */
.ph-stage {
  position: relative;
}

/* Browser window */
.ph-browser {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ph-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 40px;
  padding: 0 1rem;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.ph-dots { display: flex; gap: 6px; }
.ph-dots i { width: 10px; height: 10px; border-radius: 50%; background-color: #e2e8f0; }
.ph-dots i:nth-child(1) { background-color: #fca5a5; }
.ph-dots i:nth-child(2) { background-color: #fcd34d; }
.ph-dots i:nth-child(3) { background-color: #86efac; }

.ph-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-500);
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.ph-url svg { width: 11px; height: 11px; }

/* Phone */
.ph-phone {
  position: relative;
  width: 280px;
  height: 572px;
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1e293b, #0b1324);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 40px 80px -20px rgba(11, 19, 36, 0.45),
    0 12px 24px rgba(11, 19, 36, 0.15);
}

.ph-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background-color: #ffffff;
}

.ph-phone-screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background-color: #0b1324;
}

.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 1.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-900);
}

.ph-status i { display: inline-flex; gap: 3px; }
.ph-status i b { width: 3px; border-radius: 1px; background-color: currentColor; }
.ph-status i b:nth-child(1) { height: 4px; margin-top: 4px; }
.ph-status i b:nth-child(2) { height: 6px; margin-top: 2px; }
.ph-status i b:nth-child(3) { height: 8px; }

/* Floating glass card */
.ph-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem 0.7rem 0.7rem;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.ph-card strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink-900); line-height: 1.3; }
.ph-card span:not(.ph-ico):not(.ph-pill):not(.ph-av) { display: block; font-size: 0.72rem; color: var(--ink-500); line-height: 1.35; }

/* Icon tile */
.ph-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ic, var(--brand-600));
  background-color: var(--ib, #e0edff);
}

.ph-ico svg,
svg.ph-i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gradient initials avatar */
.ph-av {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--av, linear-gradient(135deg, #60a5fa, #2563eb));
}

/* Status pill */
.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  color: var(--tc, var(--brand-700));
  background-color: var(--tb, #e0edff);
}

/* Photo frame used by industry pages */
.ph-photo {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.ph-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== ANIMATION ==================== */
.ph-in {
  animation: phUp 0.85s var(--ease) both;
}

.ph-in.d1 { animation-delay: 0.08s; }
.ph-in.d2 { animation-delay: 0.16s; }
.ph-in.d3 { animation-delay: 0.24s; }
.ph-in.d4 { animation-delay: 0.36s; }
.ph-in.d5 { animation-delay: 0.5s; }

.ph-float { animation: phFloat 6s ease-in-out infinite; }
.ph-float.f2 { animation-duration: 7s; animation-delay: -2s; }
.ph-float.f3 { animation-duration: 8s; animation-delay: -4s; }

/* A floating card that also fades in: wrap the float around the entrance */
.ph-pop { animation: phPop 0.7s var(--ease) both; }

@keyframes phUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes phPop {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes phFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes phPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes phBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .ph { padding: 4rem 0 4.5rem; }
  .ph-grid,
  .ph-grid.is-even { grid-template-columns: 1fr; gap: 3rem; }
  .ph-copy { max-width: 680px; }
}

@media (max-width: 768px) {
  .ph-container { padding: 0 1.25rem; }
  .ph-lead { font-size: 1rem; }
}

@media (max-width: 580px) {
  .ph { padding: 3rem 0 3.5rem; }
  .ph-title { font-size: 2.15rem; }
  .ph-ctas .ph-btn { width: 100%; }
  .ph-card { padding: 0.55rem 0.75rem 0.55rem 0.55rem; }
  .ph-card .ph-ico { width: 30px; height: 30px; }
}

/* Base styles are always the finished, visible state, so turning animation off is safe */
@media (prefers-reduced-motion: reduce) {
  .ph *,
  .ph *::before,
  .ph *::after {
    animation: none !important;
    transition: none !important;
  }
}

.wa-hero .ph-orb.o1 { width: 380px; height: 380px; right: 8%; top: 10%; background-color: rgba(37, 211, 102, 0.28); }
.wa-hero .ph-orb.o2 { width: 320px; height: 320px; right: 30%; bottom: -10%; background-color: rgba(59, 123, 246, 0.25); }

.wa-badge b { background: linear-gradient(180deg, #34d399, #10b981); }

/* ==================== PHONE CHAT MOCKUP ==================== */
.wa-stage { display: flex; justify-content: center; padding: 1rem 0; }

.wa-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.8rem 0.6rem;
  color: #fff;
  background-color: #075e54;
}
.wa-head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wa-head .ph-av { width: 32px; height: 32px; font-size: 0.62rem; --av: linear-gradient(135deg, #60a5fa, #2563eb); }
.wa-head b { display: flex; align-items: center; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; }
.wa-head b i { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background-color: #25d366; }
.wa-head b i svg { width: 8px; height: 8px; stroke-width: 4; }
.wa-head small { display: block; font-size: 0.6rem; opacity: 0.8; }
.wa-head .tools { display: flex; gap: 0.7rem; margin-left: auto; }
.ph-phone .wa-top { background-color: #075e54; color: #fff; }

.wa-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* newest messages stay in view, oldest clip at the top */
  gap: 0.45rem;
  height: calc(100% - 40px - 48px - 52px);
  padding: 0.75rem 0.65rem;
  overflow: hidden;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(7, 94, 84, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
}

.wa-day { align-self: center; padding: 0.15rem 0.55rem; font-size: 0.56rem; font-weight: 700; color: #54656f; background-color: #fff; border-radius: 6px; }

.wa-msg {
  position: relative;
  max-width: 82%;
  padding: 0.4rem 0.55rem 0.95rem;
  font-size: 0.66rem;
  line-height: 1.45;
  color: #111b21;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.1);
  animation: waIn 0.45s var(--ease) both;
}
.wa-msg time { position: absolute; right: 0.5rem; bottom: 0.2rem; font-size: 0.5rem; color: #667781; }
.wa-msg.in { align-self: flex-start; background-color: #fff; border-top-left-radius: 2px; }
.wa-msg.out { align-self: flex-end; background-color: #d9fdd3; border-top-right-radius: 2px; }
.wa-msg.out time::after { content: " ✓✓"; color: #53bdeb; }
.wa-msg.m1 { animation-delay: 0.6s; }
.wa-msg.m2 { animation-delay: 1.5s; }
.wa-msg.m3 { animation-delay: 2.3s; }
.wa-msg.m4 { animation-delay: 3.3s; }
.wa-msg.m5 { animation-delay: 4.2s; }

.wa-doc { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.3rem; padding: 0.4rem; border-radius: 7px; background-color: rgba(0, 0, 0, 0.05); font-weight: 700; }
.wa-doc i { display: grid; place-items: center; width: 22px; height: 26px; border-radius: 4px; font-size: 0.45rem; font-style: normal; color: #fff; background-color: #e11d48; }
.wa-quick { display: grid; gap: 0.25rem; margin-top: 0.35rem; }
.wa-quick span { display: block; padding: 0.3rem; text-align: center; font-weight: 700; color: #027eb5; background-color: #fff; border-radius: 7px; }

.wa-typing { align-self: flex-start; display: flex; gap: 3px; padding: 0.55rem 0.65rem; background-color: #fff; border-radius: 10px; border-top-left-radius: 2px; animation: waIn 0.45s var(--ease) 5s both; }
.wa-typing i { width: 5px; height: 5px; border-radius: 50%; background-color: #8696a0; animation: waDot 1.2s ease-in-out infinite; }
.wa-typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-typing i:nth-child(3) { animation-delay: 0.3s; }

.wa-input { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 0.4rem; height: 52px; padding: 0 0.55rem 0.4rem; background-color: #efeae2; }
.wa-input span { flex: 1; height: 32px; display: flex; align-items: center; padding: 0 0.75rem; font-size: 0.62rem; color: #8696a0; background-color: #fff; border-radius: 999px; }
.wa-input i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background-color: #00a884; }
.wa-input svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Floating CRM cards */
.wa-lead { top: 14%; left: -11.5rem; animation: phPop 0.6s var(--ease) 1.1s both; }
.wa-lead .ph-ico { --ic: #059669; --ib: #d1fae5; }
.wa-auto { top: 46%; right: -10rem; animation: phPop 0.6s var(--ease) 2s both; }
.wa-auto .ph-ico { --ic: #7c3aed; --ib: #ede9fe; }
.wa-cast { bottom: 8%; left: -12rem; flex-direction: column; align-items: stretch; gap: 0.45rem; width: 210px; white-space: normal; }
.wa-cast-top { display: flex; align-items: center; gap: 0.6rem; }
.wa-meter { height: 6px; border-radius: 6px; background-color: #e2f5ea; overflow: hidden; }
.wa-meter i { display: block; width: 92%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #25d366, #10b981); transform-origin: left; animation: rpBar 1.6s var(--ease) 1.4s both; }
.wa-cast small { display: flex; justify-content: space-between; font-size: 0.64rem; font-weight: 600; color: var(--ink-500); }

@keyframes waIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes waDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes rpBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 680px) {
  .wa-lead { left: -1.5rem; top: -2rem; }
  .wa-auto { right: -1.5rem; top: auto; bottom: 14%; }
  .wa-cast { display: none; }
}

/* ==================== PAGE SECTIONS ==================== */
.wc-sec { position: relative; padding: 6.5rem 0; overflow: hidden; }
.wc-sec.white { background-color: var(--surface); }
.wc-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.wc-sec h2, .wc-sec h3, .wc-sec h4 { color: var(--ink-900); }
.wc-lab { display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 0.9rem; padding: 0.3rem 0.75rem 0.3rem 0.35rem; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #047857; background-color: #ecfdf5; border-radius: 999px; }
.wc-lab::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / 10px no-repeat, #10b981; }
.wc-h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
.wc-p { margin-top: 1rem; font-size: 1.03rem; line-height: 1.75; color: var(--ink-600); }
.wc-head { max-width: 740px; margin: 0 auto 3.5rem; text-align: center; }

.rv-on [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv-on [data-rv].in { opacity: 1; transform: none; }

/* ---------- 1. Phones converge into one inbox ---------- */
.wc-merge-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.wc-list { display: grid; gap: 0.7rem; margin-top: 1.75rem; list-style: none; }
.wc-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; font-weight: 600; color: var(--ink-800); }
.wc-list li::before { content: ""; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat, #d1fae5; }

.wc-merge { position: relative; height: 440px; }
.wc-merge svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.wc-merge .ln { fill: none; stroke: #86efac; stroke-width: 2.5; stroke-dasharray: 7 7; animation: wcDash 1s linear infinite; }
.wc-mini { position: absolute; left: 0; width: 112px; padding: 8px 7px 10px; border-radius: 20px; background-color: #0b1324; box-shadow: var(--shadow-md); }
.wc-mini::before { content: ""; display: block; width: 30px; height: 5px; margin: 0 auto 6px; border-radius: 4px; background-color: #1e293b; }
.wc-mini div { padding: 6px; border-radius: 12px; background-color: #efeae2; }
.wc-mini span { display: block; height: 7px; margin-bottom: 5px; border-radius: 4px; background-color: #fff; }
.wc-mini span:nth-child(2) { width: 70%; margin-left: auto; background-color: #d9fdd3; }
.wc-mini span:nth-child(3) { width: 80%; }
.wc-mini b { display: block; margin-top: 6px; text-align: center; font-size: 0.64rem; font-weight: 700; color: #cbd5e1; }
.wc-mini.m1 { top: 0; transform: rotate(-6deg); }
.wc-mini.m2 { top: 150px; transform: rotate(3deg); }
.wc-mini.m3 { top: 300px; transform: rotate(-3deg); }
.rv-on .wc-merge .wc-mini { opacity: 0; translate: -30px 0; transition: opacity 0.6s ease, translate 0.7s var(--ease); }
.rv-on .wc-merge.in .wc-mini { opacity: 1; translate: 0 0; }
.wc-merge.in .wc-mini.m2 { transition-delay: 0.15s; } .wc-merge.in .wc-mini.m3 { transition-delay: 0.3s; }

.wc-inbox { position: absolute; top: 50%; right: 0; width: 62%; translate: 0 -50%; overflow: hidden; background-color: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(5, 150, 105, 0.35); }
.wc-inbox-h { display: flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1rem; color: #fff; background: linear-gradient(90deg, #075e54, #0f766e); }
.wc-inbox-h b { font-size: 0.9rem; font-weight: 800; }
.wc-inbox-h span { margin-left: auto; padding: 0.15rem 0.55rem; font-size: 0.66rem; font-weight: 800; color: #075e54; background-color: #d9fdd3; border-radius: 999px; }
.wc-chat { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line-soft); }
.wc-chat .av { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; font-size: 0.7rem; font-weight: 800; color: #fff; border-radius: 50%; background: var(--g); }
.wc-chat:nth-child(2) .av { --g: linear-gradient(135deg, #fcd34d, #f59e0b); }
.wc-chat:nth-child(3) .av { --g: linear-gradient(135deg, #86efac, #10b981); }
.wc-chat:nth-child(4) .av { --g: linear-gradient(135deg, #c4b5fd, #8b5cf6); }
.wc-chat:nth-child(5) .av { --g: linear-gradient(135deg, #fca5a5, #ef4444); }
.wc-chat b { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink-900); }
.wc-chat small { font-size: 0.72rem; color: var(--ink-500); }
.wc-chat em { margin-left: auto; font-style: normal; font-size: 0.64rem; font-weight: 700; color: var(--ink-500); text-align: right; }
.wc-chat em i { display: block; margin: 0.2rem 0 0 auto; width: 18px; height: 18px; line-height: 18px; text-align: center; font-style: normal; font-size: 0.62rem; font-weight: 800; color: #fff; border-radius: 50%; background-color: #25d366; }

/* ---------- 2. Features as a chat ---------- */
.wc-conv { max-width: 900px; margin: 0 auto; padding: 2rem; background-color: #efeae2; background-image: radial-gradient(rgba(7, 94, 84, 0.08) 1px, transparent 1px); background-size: 16px 16px; border-radius: 30px; box-shadow: var(--shadow-lg); }
.wc-q, .wc-a { max-width: 70%; margin-bottom: 0.9rem; padding: 0.85rem 1.1rem; border-radius: 18px; box-shadow: 0 1px 2px rgba(11, 20, 26, 0.12); }
.wc-q { margin-left: auto; font-size: 0.95rem; font-weight: 700; color: #111b21; background-color: #d9fdd3; border-top-right-radius: 4px; }
.wc-a { background-color: #fff; border-top-left-radius: 4px; }
.wc-a h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 800; }
.wc-a h3 i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #059669; background-color: #d1fae5; }
.wc-a h3 i svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wc-a p { margin-top: 0.35rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-600); }
.rv-on .wc-conv > * { opacity: 0; transform: translateY(12px) scale(0.97); transition: opacity 0.45s ease, transform 0.5s var(--ease); }
.rv-on .wc-conv.in > * { opacity: 1; transform: none; }
.wc-conv.in > :nth-child(2) { transition-delay: 0.2s; } .wc-conv.in > :nth-child(3) { transition-delay: 0.4s; } .wc-conv.in > :nth-child(4) { transition-delay: 0.6s; }
.wc-conv.in > :nth-child(5) { transition-delay: 0.8s; } .wc-conv.in > :nth-child(6) { transition-delay: 1s; } .wc-conv.in > :nth-child(7) { transition-delay: 1.2s; }
.wc-conv.in > :nth-child(8) { transition-delay: 1.4s; } .wc-conv.in > :nth-child(9) { transition-delay: 1.6s; } .wc-conv.in > :nth-child(10) { transition-delay: 1.8s; }

/* ---------- 3. Chevron flow ---------- */
.wc-chev { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; filter: drop-shadow(0 12px 20px rgba(11, 19, 36, 0.08)); }
.wc-step { position: relative; padding: 1.4rem 1.6rem 1.4rem 2.4rem; min-height: 150px; background-color: #fff; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%); margin-right: -14px; }
.wc-step:first-child { padding-left: 1.4rem; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); border-radius: 18px 0 0 18px; }
.wc-step:nth-child(odd) { background-color: #f0fdf4; }
.wc-step:last-child { color: #fff; background: linear-gradient(135deg, #10b981, #047857); }
.wc-step b { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: #059669; }
.wc-step:last-child b, .wc-step:last-child h3 { color: #fff; }
.wc-step h3 { margin-top: 0.4rem; font-size: 0.95rem; font-weight: 700; line-height: 1.3; }
.wc-step p { margin-top: 0.35rem; font-size: 0.78rem; line-height: 1.45; color: var(--ink-500); }
.wc-step:last-child p { color: #d1fae5; }
.rv-on .wc-chev .wc-step { opacity: 0; transform: translateX(-20px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.rv-on .wc-chev.in .wc-step { opacity: 1; transform: none; }
.wc-chev.in .wc-step:nth-child(2) { transition-delay: 0.15s; } .wc-chev.in .wc-step:nth-child(3) { transition-delay: 0.3s; } .wc-chev.in .wc-step:nth-child(4) { transition-delay: 0.45s; }
.wc-chev.in .wc-step:nth-child(5) { transition-delay: 0.6s; } .wc-chev.in .wc-step:nth-child(6) { transition-delay: 0.75s; }

.wc-bens { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.wc-box { padding: 1.6rem; background-color: #fff; border: 1px solid var(--line); border-radius: 22px; }
.wc-box h3 { font-size: 1.05rem; font-weight: 800; }
.wc-box .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.wc-box .grid span { padding: 0.7rem 0.85rem; font-size: 0.86rem; font-weight: 700; color: var(--ink-800); background-color: #f0fdf4; border-radius: 12px; }
.wc-box .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.wc-box .tags span { padding: 0.5rem 0.9rem; font-size: 0.86rem; font-weight: 700; color: var(--ink-700); border: 1px solid var(--line); border-radius: 999px; }

/* ---------- 4. Toggle compare ---------- */
.wc-tg { max-width: 860px; margin: 0 auto; }
.wc-tg input { position: absolute; opacity: 0; pointer-events: none; }
.wc-switch { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; font-size: 0.95rem; font-weight: 800; color: var(--ink-500); cursor: pointer; user-select: none; }
.wc-switch .knob { position: relative; width: 64px; height: 34px; border-radius: 999px; background: linear-gradient(90deg, #10b981, #059669); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); transition: background 0.3s ease; }
.wc-switch .knob::after { content: ""; position: absolute; top: 4px; left: 34px; width: 26px; height: 26px; border-radius: 50%; background-color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: left 0.35s var(--ease); }
.wc-switch .crm { color: #047857; }
.wc-tg input:checked + .wc-switch .knob { background: #94a3b8; }
.wc-tg input:checked + .wc-switch .knob::after { left: 4px; }
.wc-tg input:checked + .wc-switch .crm { color: var(--ink-500); }
.wc-tg input:checked + .wc-switch .old { color: var(--ink-900); }
.wc-tg input:focus-visible + .wc-switch .knob { outline: 3px solid #93c5fd; outline-offset: 3px; }

.wc-tg-card { position: relative; padding: 1.2rem; background-color: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); }
.wc-row { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; min-height: 72px; padding: 0.9rem 1rem; border-radius: 16px; }
.wc-row + .wc-row { border-top: 1px solid var(--line-soft); }
.wc-row i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-style: normal; font-size: 1.1rem; font-weight: 800; transition: background-color 0.35s ease, color 0.35s ease; color: #047857; background-color: #d1fae5; }
.wc-row .t { position: relative; min-height: 1.5em; }
.wc-row .t span { position: absolute; inset: 0; display: flex; align-items: center; font-size: 1rem; font-weight: 700; transition: opacity 0.35s ease, transform 0.4s var(--ease); }
.wc-row .t .o { opacity: 0; transform: translateY(8px); color: var(--ink-500); }
.wc-row .t .n { color: var(--ink-900); }
.wc-tg input:checked ~ .wc-tg-card .t .o { opacity: 1; transform: none; }
.wc-tg input:checked ~ .wc-tg-card .t .n { opacity: 0; transform: translateY(-8px); }
.wc-tg input:checked ~ .wc-tg-card .wc-row i { color: #be123c; background-color: #ffe4e6; }
.wc-row i::before { content: "✓"; }
.wc-tg input:checked ~ .wc-tg-card .wc-row i::before { content: "✕"; }
.wc-tg-hint { margin-top: 0.9rem; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--ink-400); }

.wc-crit { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; }
.wc-crit span { padding: 0.6rem 1rem; font-size: 0.88rem; font-weight: 700; color: #047857; background-color: #ecfdf5; border: 1px solid #bbf7d0; border-radius: 12px; }
.wc-crit-t { margin-top: 3rem; text-align: center; font-size: 1.05rem; font-weight: 800; color: var(--ink-900); }

@keyframes wcDash { to { stroke-dashoffset: -14; } }

/* Icons inside the campaign + template sections */
.wb-sec svg, .wt-sec svg { display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. Bulk campaigns: builder mockup ---------- */
.wb-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 3.5rem; align-items: center; }
.wb-mock { position: relative; }
.wb-app { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0.9rem; padding: 1rem; background-color: #f8fafc; }
.wb-steps { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.wb-steps span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.28rem 0.65rem 0.28rem 0.28rem; font-size: 0.7rem; font-weight: 700; color: var(--ink-500); background-color: #fff; border: 1px solid var(--line); border-radius: 999px; }
.wb-steps i { display: grid; place-items: center; width: 18px; height: 18px; font-style: normal; font-size: 0.6rem; font-weight: 800; color: var(--ink-500); background-color: var(--line-soft); border-radius: 50%; }
.wb-steps .done { color: #047857; }
.wb-steps .done i { color: #fff; background-color: #10b981; }
.wb-steps .on { color: var(--brand-700); background-color: #eef4ff; border-color: #bfd5ff; }
.wb-steps .on i { color: #fff; background-color: var(--brand-600); }
.wb-col { display: grid; gap: 0.75rem; align-content: start; }
.wb-panel { padding: 0.85rem 0.9rem; background-color: #fff; border: 1px solid var(--line); border-radius: 14px; }
.wb-panel h4 { margin-bottom: 0.55rem; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-400); }
.wb-seg { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.55rem; font-size: 0.8rem; font-weight: 800; color: var(--ink-900); }
.wb-seg .ph-ico { width: 28px; height: 28px; border-radius: 8px; --ic: #059669; --ib: #d1fae5; }
.wb-seg .ph-ico svg { width: 15px; height: 15px; }
.wb-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.wb-chips span { padding: 0.22rem 0.5rem; font-size: 0.66rem; font-weight: 600; color: var(--ink-600); background-color: #f1f5f9; border-radius: 7px; }
.wb-chips b { font-weight: 800; color: var(--ink-900); }
.wb-count { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.7rem; border-top: 1px dashed var(--line); }
.wb-count strong { display: block; font-size: 1.3rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-900); }
.wb-count small { font-size: 0.64rem; font-weight: 600; color: var(--ink-500); }
.wb-avs { display: flex; }
.wb-avs i { width: 24px; height: 24px; margin-left: -7px; border: 2px solid #fff; border-radius: 50%; background: var(--g); }
.wb-avs i:first-child { margin-left: 0; }
.wb-avs em { display: grid; place-items: center; width: 24px; height: 24px; margin-left: -7px; font-style: normal; font-size: 0.55rem; font-weight: 800; color: var(--ink-600); background-color: #e2e8f0; border: 2px solid #fff; border-radius: 50%; }
.wb-sched { display: flex; align-items: center; gap: 0.6rem; }
.wb-sched .ph-ico { width: 30px; height: 30px; border-radius: 9px; }
.wb-sched .ph-ico svg { width: 15px; height: 15px; }
.wb-sched b { display: block; font-size: 0.78rem; font-weight: 800; color: var(--ink-900); }
.wb-sched small { font-size: 0.64rem; font-weight: 600; color: var(--ink-500); }
.wb-btn { display: flex; align-items: center; justify-content: center; gap: 0.45rem; height: 38px; font-size: 0.8rem; font-weight: 800; color: #fff; background: linear-gradient(180deg, #22c55e, #16a34a); border-radius: 10px; box-shadow: 0 8px 18px -8px rgba(22, 163, 74, 0.7); }
.wb-btn svg { width: 15px; height: 15px; }
.wb-prog { height: 6px; margin-top: 0.6rem; overflow: hidden; background-color: #dcfce7; border-radius: 6px; }
.wb-prog i { display: block; height: 100%; background: linear-gradient(90deg, #25d366, #10b981); border-radius: inherit; transform-origin: left center; animation: wbSend 6s ease-in-out infinite; }
.wb-prog-t { display: flex; justify-content: space-between; margin-top: 0.35rem; font-size: 0.64rem; font-weight: 700; color: var(--ink-500); }
.wb-prog-t b { color: #047857; }
/* Preview pane = a WhatsApp chat background holding the template bubble */
.wb-prev { display: flex; flex-direction: column; overflow: hidden; background-color: #fff; border: 1px solid var(--line); border-radius: 14px; }
.wb-prev-h { display: flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.7rem; color: #fff; background-color: #075e54; }
.wb-prev-h .ph-av { width: 24px; height: 24px; font-size: 0.55rem; }
.wb-prev-h b { display: block; font-size: 0.7rem; font-weight: 700; }
.wb-prev-h small { display: block; font-size: 0.56rem; opacity: 0.8; }
.wb-prev-b { flex: 1; padding: 0.7rem; background-color: #efeae2; background-image: radial-gradient(rgba(7, 94, 84, 0.07) 1px, transparent 1px); background-size: 12px 12px; }
.wb-prev .wt-bubble { font-size: 0.7rem; }
.wb-prev .wt-img { height: 64px; font-size: 0.82rem; }
.wb-prev .wt-btns span { padding: 0.4rem; font-size: 0.68rem; }

.wb-stats { position: absolute; right: -1.5rem; bottom: -2.25rem; z-index: 3; width: 230px; padding: 0.85rem 0.95rem; background-color: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.wb-stats-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.55rem; font-size: 0.74rem; font-weight: 800; color: var(--ink-900); }
.wb-live { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.12rem 0.45rem; font-size: 0.6rem; font-weight: 800; color: #047857; background-color: #d1fae5; border-radius: 999px; }
.wb-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background-color: #10b981; animation: phBlink 1.2s ease-in-out infinite; }
.wb-stat { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 0.5rem; margin-top: 0.45rem; font-size: 0.68rem; font-weight: 700; color: var(--ink-600); }
.wb-stat b { color: var(--ink-900); }
.wb-stat i { grid-column: 1 / -1; height: 6px; overflow: hidden; background-color: #f1f5f9; border-radius: 6px; }
.wb-stat i::after { content: ""; display: block; width: var(--v); height: 100%; background: linear-gradient(90deg, #25d366, #10b981); border-radius: inherit; transform-origin: left center; animation: rpBar 1.4s var(--ease) both; }
.wb-stat:nth-child(3) i::after { animation-delay: 0.2s; }
.wb-stat:nth-child(4) i::after { animation-delay: 0.4s; }
.rv-on .wb-mock:not(.in) .wb-stat i::after { animation: none; transform: scaleX(0); }

@keyframes wbSend { 0% { transform: scaleX(0.05); } 70%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0.6; } }

/* ---------- 6. Template gallery ---------- */
.wt-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.wt-tabs button { height: 38px; padding: 0 1rem; font: inherit; font-size: 0.85rem; font-weight: 700; color: var(--ink-700); background-color: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.wt-tabs button:hover { border-color: #86efac; }
.wt-tabs button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #22c55e, #16a34a); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(22, 163, 74, 0.7); }
.wt-tabs button:focus-visible { outline: 3px solid #86efac; outline-offset: 2px; }
.wt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.wt-card { display: flex; flex-direction: column; overflow: hidden; background-color: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform 0.25s var(--ease), box-shadow 0.25s ease; }
.wt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wt-card[hidden] { display: none; }
.wt-top { display: flex; align-items: center; gap: 0.45rem; padding: 0.8rem 1rem; }
.wt-cat { padding: 0.18rem 0.55rem; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--c); background-color: var(--b); border-radius: 999px; }
.wt-cat.mk { --c: var(--brand-700); --b: #e0edff; }
.wt-cat.ut { --c: #047857; --b: #d1fae5; }
.wt-cat.au { --c: #6d28d9; --b: #ede9fe; }
.wt-lang { padding: 0.1rem 0.4rem; font-size: 0.62rem; font-weight: 700; color: var(--ink-500); border: 1px solid var(--line); border-radius: 5px; }
.wt-ok { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: auto; font-size: 0.68rem; font-weight: 800; color: #047857; }
.wt-ok::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 8px no-repeat, #10b981; }
.wt-stage { padding: 1rem; background-color: #efeae2; background-image: radial-gradient(rgba(7, 94, 84, 0.07) 1px, transparent 1px); background-size: 14px 14px; }

/* WhatsApp template bubble (shared by the gallery and the campaign preview) */
.wt-bubble { overflow: hidden; font-size: 0.8rem; line-height: 1.5; color: #111b21; background-color: #fff; border-radius: 10px; border-top-left-radius: 2px; box-shadow: 0 1px 1px rgba(11, 20, 26, 0.12); }
.wt-img { display: grid; place-items: center; height: 92px; margin: 0.3rem 0.3rem 0; font-size: 0.95rem; font-weight: 800; color: #fff; text-align: center; border-radius: 8px; background: linear-gradient(135deg, #f59e0b, #ea580c 55%, #be123c); }
.wt-img small { display: block; font-size: 0.7em; font-weight: 600; opacity: 0.9; }
.wt-doc { display: flex; align-items: center; gap: 0.5rem; margin: 0.3rem 0.3rem 0; padding: 0.55rem; font-size: 0.74rem; font-weight: 700; background-color: #f0f2f5; border-radius: 8px; }
.wt-doc i { display: grid; place-items: center; width: 26px; height: 30px; flex-shrink: 0; font-style: normal; font-size: 0.5rem; font-weight: 800; color: #fff; background-color: #e11d48; border-radius: 4px; }
.wt-doc small { display: block; font-size: 0.62rem; font-weight: 600; color: #667781; }
.wt-body { padding: 0.5rem 0.65rem 0.15rem; }
.wt-body .v { padding: 0 0.25rem; font-weight: 700; color: #0f766e; background-color: #ccfbf1; border-radius: 4px; }
.wt-body .code { font-size: 1.05em; letter-spacing: 0.08em; }
.wt-foot { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.1rem 0.65rem 0.45rem; font-size: 0.66rem; color: #667781; }
.wt-btns { display: grid; border-top: 1px solid #e9edef; }
.wt-btns span { display: flex; align-items: center; justify-content: center; gap: 0.35rem; padding: 0.5rem; font-size: 0.76rem; font-weight: 700; color: #027eb5; }
.wt-btns span + span { border-top: 1px solid #e9edef; }
.wt-btns svg { width: 14px; height: 14px; }
.wt-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 1rem; font-size: 0.72rem; font-weight: 600; color: var(--ink-500); border-top: 1px solid var(--line-soft); }
.wt-meta code { padding: 0.12rem 0.4rem; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.7rem; color: var(--ink-800); background-color: #f1f5f9; border-radius: 5px; }
.wt-note { margin-top: 2rem; text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--ink-500); }

@media (max-width: 1024px) {
  .wb-wrap { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .wt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-merge-wrap, .wc-bens { grid-template-columns: 1fr; gap: 2.5rem; }
  .wc-chev { grid-template-columns: repeat(3, 1fr); row-gap: 0.8rem; }
}
@media (max-width: 680px) {
  .wc-sec { padding: 4.5rem 0; }
  .wc-wrap { padding: 0 1.25rem; }
  .wc-merge { height: auto; }
  .wc-merge svg.lines, .wc-mini { display: none; }
  .wc-inbox { position: relative; top: auto; right: auto; width: 100%; translate: none; }
  .wc-q, .wc-a { max-width: 92%; }
  .wc-conv { padding: 1.2rem; }
  .wc-chev { grid-template-columns: 1fr; }
  .wc-step, .wc-step:first-child { margin-right: 0; clip-path: none; border-radius: 16px; padding: 1.1rem 1.2rem; min-height: 0; }
  .wc-box .grid { grid-template-columns: 1fr; }
  .wb-app { grid-template-columns: minmax(0, 1fr); }
  .wb-stats { position: relative; right: auto; bottom: auto; width: auto; margin: 1rem 0 0; }
  .wt-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wc-merge .ln, .wb-prog i, .wb-live::before { animation: none; }
}
/* ==================== END PAGE SECTIONS ==================== */

/* ==================== FAQ (same design as home page) ==================== */
.faq { position: relative; overflow: hidden; padding: 6rem 0; background-color: var(--surface); border-top: 1px solid var(--line-soft); }
.faq::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 123, 246, 0.1), transparent 70%); pointer-events: none; }
.faq-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.faq-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 3rem; text-align: center; }
.faq-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; padding: 0.375rem 0.875rem 0.375rem 0.5rem; font-size: 0.8rem; font-weight: 700; color: var(--brand-700); background-color: var(--surface); border: 1px solid #d0e1fd; border-radius: 999px; box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06); }
.faq-pill b { padding: 0.2rem 0.5rem; font-size: 0.675rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--brand-600); border-radius: 999px; }
.faq-title { margin-bottom: 1.25rem; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink-900); }
.faq-desc { max-width: 660px; font-size: 1.1rem; line-height: 1.65; color: var(--ink-600); }
.faq-desc strong { color: var(--ink-900); }
.faq-list { display: flex; flex-direction: column; gap: 0.875rem; }
.faq-item { background-color: #eef4ff; border: 1px solid transparent; border-radius: 20px; transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item:hover { border-color: #d0e1fd; }
.faq-item.is-open { background-color: var(--surface); border-color: var(--line); box-shadow: 0 18px 40px -20px rgba(37, 99, 235, 0.3); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.1rem 1.1rem 1.1rem 1.5rem; font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.4; text-align: left; color: var(--ink-900); background: none; border: none; border-radius: 20px; cursor: pointer; }
.faq-question:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.3); outline-offset: 2px; }
.faq-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; color: var(--ink-700); background-color: var(--surface); border-radius: 50%; box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06); transition: transform 0.3s var(--ease), color 0.2s ease, background-color 0.2s ease; }
.faq-icon svg { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.faq-question:hover .faq-icon { color: var(--brand-600); }
.faq-item.is-open .faq-icon { color: var(--ink-900); background-color: #e2eafa; box-shadow: none; transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 4.5rem 1.35rem 1.5rem; font-size: 0.9rem; line-height: 1.7; color: var(--ink-500); }

@media (max-width: 640px) {
  .faq { padding: 3.5rem 0; }
  .faq-inner { padding: 0 1.25rem; }
  .faq-head { margin-bottom: 2.25rem; }
  .faq-desc { font-size: 1rem; }
  .faq-question { padding: 0.95rem 0.9rem 0.95rem 1.15rem; font-size: 0.925rem; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-answer p { padding: 0 1.15rem 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-icon { transition: none; }
}


/* ==================== SEO SECTIONS (page design) ==================== */
.kw-section, .alt-section, .rel-section {
  --kw-accent: #10b981;
  --kw-accent-ink: color-mix(in srgb, #10b981 82%, #000);
  --kw-tint: color-mix(in srgb, #10b981 9%, #fff);
  --kw-tint-2: color-mix(in srgb, #10b981 16%, #fff);
  --kw-ink: var(--ink-900, #0b1324);
  --kw-text: var(--ink-600, #475569);
  --kw-line: var(--line, #e6ebf2);
  position: relative;
  padding: 6rem 0;
  background-color: var(--surface, #fff);
}
.kw-inner, .rel-inner, .alt-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Badge: same pill as the page headers (ph-badge) */
.kw-badge {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem; margin-bottom: 1.4rem; font-size: 0.8rem; font-weight: 600;
  color: var(--ink-700, #334155); background-color: rgba(255, 255, 255, 0.85); border: 1px solid var(--kw-line);
  border-radius: 999px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06));
}
.kw-badge b {
  padding: 0.2rem 0.6rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, var(--brand-500, #3b7bf6), var(--brand-600, #2563eb)); border-radius: 999px;
}

/* ---------- Keyword section: copy + product panel ---------- */
.kw-section .kw-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; align-items: center; }
.kw-section.kw-flip .kw-copy { order: 2; }
.kw-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; color: var(--kw-ink); }
.kw-lead { margin: 0 0 1.75rem; font-size: 1.05rem; line-height: 1.75; color: var(--kw-text); }
.kw-lead strong { color: var(--kw-ink); }
.kw-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.kw-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.kw-check { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; color: var(--kw-accent-ink); background: var(--kw-tint-2); border-radius: 8px; }
.kw-check svg { width: 15px; height: 15px; stroke-width: 3; }
.kw-item h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--kw-ink); }
.kw-item p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--kw-text); }
.kw-item a, .alt-card a { font-weight: 700; color: var(--kw-accent-ink); text-decoration: none; }

.kw-visual { position: relative; padding: 2rem 1rem 3rem; }
.kw-visual::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, var(--kw-tint-2), transparent); filter: blur(10px); }
.kw-panel { position: relative; overflow: hidden; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 22px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-panel-head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.25rem; color: #fff; background: linear-gradient(135deg, var(--kw-accent), var(--kw-accent-ink)); }
.kw-panel-logo { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.18); border-radius: 11px; }
.kw-panel-logo svg { width: 19px; height: 19px; }
.kw-panel-head strong { display: block; font-size: 0.95rem; font-weight: 700; }
.kw-panel-head small { display: block; font-size: 0.72rem; opacity: 0.8; }
.kw-live { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; padding: 0.25rem 0.6rem; font-size: 0.7rem; font-weight: 700; color: var(--kw-accent-ink); background: #fff; border-radius: 999px; }
.kw-live i { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.kw-ico { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: var(--kw-accent-ink); background: var(--kw-tint); border-radius: 10px; }
.kw-ico svg { width: 17px; height: 17px; }
.kw-panel-rows { margin: 0; padding: 0.4rem 0; list-style: none; }
.kw-panel-rows li { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-rows li:last-child { border-bottom: 0; }
.kw-row-txt { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; color: var(--kw-ink); }
.kw-panel-rows em { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; font-style: normal; font-weight: 700; color: #15803d; }
.kw-panel-rows em svg { width: 13px; height: 13px; stroke-width: 3; }
.kw-panel-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 1.1rem; list-style: none; }
.kw-panel-tiles li { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem; background: var(--surface-muted, #f7f9fc); border: 1px solid var(--line-soft, #f0f3f8); border-radius: 14px; }
.kw-panel-tiles b { font-size: 0.85rem; font-weight: 700; line-height: 1.35; color: var(--kw-ink); }
.kw-panel-tiles em { width: fit-content; padding: 0.15rem 0.5rem; font-size: 0.68rem; font-style: normal; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 999px; }
.kw-panel-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; font-size: 0.75rem; color: var(--ink-500, #64748b); background: var(--surface-muted, #f7f9fc); border-top: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-foot b { color: var(--kw-accent-ink); }
.kw-toast { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 0.7rem; max-width: 280px; padding: 0.75rem 1rem 0.75rem 0.75rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 16px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-toast-ico { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; color: #fff; background: linear-gradient(180deg, #22c55e, #10b981); border-radius: 10px; }
.kw-toast-ico svg { width: 17px; height: 17px; stroke-width: 3; }
.kw-toast b { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.3; color: var(--kw-ink); }
.kw-toast small { display: block; font-size: 0.72rem; color: var(--ink-500, #64748b); }

/* ---------- Related solutions: one rounded card with tinted link chips ---------- */
.rel-section { padding-top: 2rem; }
.rel-card { padding: 2.25rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 28px; box-shadow: 0 18px 50px -30px rgba(11, 19, 36, 0.25); }
.rel-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.rel-top .kw-badge { margin-bottom: 0.9rem; }
.rel-top h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--kw-ink); }
.rel-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--kw-ink); text-decoration: none; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 12px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06)); transition: border-color 0.2s ease, color 0.2s ease; }
.rel-all:hover { color: var(--brand-600, #2563eb); border-color: var(--brand-600, #2563eb); }
.rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.rel-grid a { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 0.95rem 1rem; text-decoration: none; background: var(--kw-tint); border: 1px solid transparent; border-radius: 16px; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.rel-grid a:hover { background: var(--surface, #fff); border-color: color-mix(in srgb, var(--kw-accent) 40%, #fff); transform: translateY(-2px); }
.rel-grid a:focus-visible { outline: 3px solid color-mix(in srgb, var(--kw-accent) 40%, transparent); outline-offset: 2px; }
.rel-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; color: var(--kw-accent-ink); background: var(--surface, #fff); border-radius: 12px; box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06); }
.rel-ico svg { width: 19px; height: 19px; }
.rel-txt { flex: 1; min-width: 0; }
.rel-txt strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--kw-ink); }
.rel-txt-desc { display: block; margin-top: 0.15rem; font-size: 0.8rem; line-height: 1.45; color: var(--kw-text); }
.rel-arrow { flex-shrink: 0; color: var(--kw-accent); transition: transform 0.2s ease; }
.rel-grid a:hover .rel-arrow { transform: translateX(3px); }

/* Breadcrumb in the hero, above the badge */
.crumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--ink-500, #64748b); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "›"; color: var(--ink-400, #94a3b8); }
.crumbs a { font-weight: 600; color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { font-weight: 600; color: #0b1324; }

/* Contextual links in body copy: no underline, keep the paragraph colour */
main p a.ctx-link { color: inherit; font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
  .kw-section .kw-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .kw-section.kw-flip .kw-copy { order: 0; }
  .kw-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kw-section, .rel-section, .alt-section { padding: 3.5rem 0; }
  .rel-section { padding-top: 1rem; }
  .kw-inner, .rel-inner, .alt-inner { padding: 0 1rem; }
  .kw-visual { padding: 1rem 0 3.5rem; }
  .kw-toast { left: 0.5rem; right: auto; }
  .rel-card { padding: 1.5rem 1.1rem; border-radius: 22px; }
  .rel-top { flex-direction: column; align-items: flex-start; }
  .rel-grid, .alt-grid { grid-template-columns: minmax(0, 1fr); }
  .alt-card:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rel-grid a, .rel-arrow { transition: none; }
}
/* Hero badge sits inside the H1 (keyword first); keep it looking like the normal badge */
main h1 .ph-badge.h1-badge {
  display: flex; width: fit-content; max-width: 100%; margin: 0 0 1.4rem;
  font-size: 0.8rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none;
  -webkit-text-fill-color: currentColor;
}
main h1 .ph-badge.h1-badge b { display: inline; }
main h1 .ph-badge.h1-badge b::before { content: attr(data-label); }
/* ==================== END SEO SECTIONS ==================== */
