/* MO CHAT — Realistic platform UI mockups (CSS-only product demos) */

.phone-mockup {
  --phone-w: 300px;
  --phone-radius: 44px;
  --screen-radius: 36px;
  position: relative;
  width: var(--phone-w);
  margin-inline: auto;
  filter: drop-shadow(0 40px 80px rgba(15, 23, 42, 0.28));
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-mockup--delay { animation-delay: 1.2s; }

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-bezel {
  background: linear-gradient(160deg, #2d2d2d 0%, #0a0a0a 45%, #1f1f1f 100%);
  border-radius: var(--phone-radius);
  padding: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.4);
}

.phone-bezel::before,
.phone-bezel::after {
  content: "";
  position: absolute;
  background: #1a1a1a;
  border-radius: 2px;
  z-index: 5;
}

.phone-bezel::before {
  top: 120px;
  inset-inline-end: -3px;
  width: 3px;
  height: 56px;
}

.phone-bezel::after {
  top: 88px;
  inset-inline-start: -3px;
  width: 3px;
  height: 32px;
}

.phone-screen {
  position: relative;
  border-radius: var(--screen-radius);
  overflow: hidden;
  background: #000;
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

.phone-mockup--section .phone-screen {
  min-height: 500px;
  max-height: 520px;
}

.phone-mockup--section .wa-messages,
.phone-mockup--section .msg-thread,
.phone-mockup--section .ig-thread {
  overflow: hidden;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #fff;
  z-index: 15;
  position: relative;
}

.phone-status--dark { color: #000; }
.phone-status--wa { background: var(--wa-top, #075e54); }
.phone-status--light { background: #fff; }

.status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

.status-signal,
.status-wifi,
.status-battery {
  display: block;
  background: currentColor;
  opacity: 0.9;
}

.status-signal { width: 14px; height: 8px; clip-path: polygon(0 100%, 25% 60%, 50% 80%, 75% 40%, 100% 100%); }
.status-battery { width: 18px; height: 9px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; }
.status-battery::after { content: ""; position: absolute; inset: 2px; inset-inline-end: 3px; background: currentColor; border-radius: 1px; }

/* ========== WHATSAPP BUSINESS ========== */
.app-wa {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #efeae2;
  font-family: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

.app-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4cdc4' fill-opacity='0.35'%3E%3Cpath d='M20 30h8v8h-8zM60 80h6v6h-6zM120 40h10v10h-10zM160 120h8v8h-8zM40 150h12v12H40z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.wa-topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
  background: #075e54;
  color: #fff;
}

.wa-topbar-back {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: default;
  position: relative;
}

.wa-topbar-back::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-inline-start: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  inset-inline-start: 6px;
  top: 6px;
}

.wa-topbar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wa-topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

.wa-topbar-info strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-topbar-info small {
  font-size: 0.6875rem;
  opacity: 0.85;
}

.wa-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  color: #a8e6cf;
  margin-top: 2px;
}

.wa-topbar-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #25d366;
  border-radius: 50%;
}

.wa-topbar-actions {
  display: flex;
  gap: 18px;
  opacity: 0.95;
}

.wa-topbar-actions i {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
}

.wa-business-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.6875rem;
}

.wa-business-strip-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.625rem;
}

.wa-business-strip span { color: #667781; }
.wa-business-strip strong { display: block; color: #111; font-size: 0.75rem; }

.wa-messages {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 12px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.wa-day-label {
  align-self: center;
  font-size: 0.6875rem;
  padding: 5px 12px;
  background: rgba(255,255,255,0.92);
  color: #54656f;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
  margin-bottom: 4px;
}

.wa-msg {
  max-width: 88%;
  position: relative;
}

.wa-msg--in { align-self: flex-start; }
.wa-msg--out { align-self: flex-end; }

.wa-bubble {
  padding: 7px 10px 6px;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.08);
  position: relative;
}

.wa-msg--in .wa-bubble {
  background: #fff;
  color: #111b21;
  border-start-start-radius: 2px;
}

.wa-msg--out .wa-bubble {
  background: #d9fdd3;
  color: #111b21;
  border-start-end-radius: 2px;
}

.wa-bubble-tail {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 12px;
}

.wa-msg--in .wa-bubble-tail {
  inset-inline-start: -6px;
  background: radial-gradient(circle at 0 100%, transparent 8px, #fff 8px);
}

.wa-msg--out .wa-bubble-tail {
  inset-inline-end: -6px;
  background: radial-gradient(circle at 100% 100%, transparent 8px, #d9fdd3 8px);
}

.wa-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 2px;
  font-size: 0.625rem;
  color: #667781;
}

.wa-ticks {
  display: inline-flex;
  color: #53bdeb;
}

.wa-ticks svg { width: 14px; height: 11px; }

.wa-ai-label {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #128c7e;
  background: rgba(37, 211, 102, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.wa-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06);
  margin-top: 4px;
}

.wa-typing span {
  width: 7px;
  height: 7px;
  background: #90949c;
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wa-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  justify-content: flex-end;
}

.wa-quick-replies button {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid #25d366;
  background: #fff;
  color: #008069;
  border-radius: 20px;
  cursor: default;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone-mockup.is-visible .wa-quick-replies button {
  opacity: 1;
  transform: translateY(0);
}

.phone-mockup.is-visible .wa-quick-replies button:nth-child(1) { transition-delay: 0.1s; }
.phone-mockup.is-visible .wa-quick-replies button:nth-child(2) { transition-delay: 0.2s; }
.phone-mockup.is-visible .wa-quick-replies button:nth-child(3) { transition-delay: 0.3s; }

.wa-composer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 14px;
  background: #f0f2f5;
}

.wa-composer-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 24px;
  font-size: 0.8125rem;
  color: #667781;
}

.wa-composer-mic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #008069;
  flex-shrink: 0;
}

/* ========== INSTAGRAM DM ========== */
.app-ig {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.ig-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #efefef;
}

.ig-topbar-back {
  width: 24px;
  height: 24px;
  position: relative;
}

.ig-topbar-back::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-inline-start: 2px solid #262626;
  border-bottom: 2px solid #262626;
  transform: rotate(45deg);
  inset-inline-start: 6px;
  top: 6px;
}

.ig-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-avatar-ring {
  width: 36px;
  height: 36px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.ig-avatar-ring span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: 2px solid #fff;
}

.ig-topbar-user strong {
  display: block;
  font-size: 0.9375rem;
  color: #262626;
}

.ig-topbar-user small {
  font-size: 0.6875rem;
  color: #8e8e8e;
}

.ig-story-reply {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 14px;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #efefef;
  border-radius: 12px;
}

.ig-story-thumb {
  width: 42px;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(180deg, #833ab4, #fd1d1d);
  flex-shrink: 0;
}

.ig-story-reply p {
  font-size: 0.75rem;
  color: #262626;
  line-height: 1.4;
}

.ig-story-reply span {
  font-size: 0.6875rem;
  color: #8e8e8e;
}

.ig-thread {
  flex: 1;
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ig-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.ig-msg--in { align-self: flex-start; }
.ig-msg--out { align-self: flex-end; align-items: flex-end; }

.ig-bubble {
  padding: 10px 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  border-radius: 22px;
}

.ig-msg--in .ig-bubble {
  background: #efefef;
  color: #262626;
}

.ig-msg--out .ig-bubble {
  background: #3797f0;
  color: #fff;
}

.ig-reaction {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 12px;
  font-size: 0.6875rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.ig-reaction-heart {
  width: 14px;
  height: 14px;
  background: #ed4956;
  clip-path: path("M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z");
  transform: scale(0.55);
  transform-origin: center;
}

.ig-auto-tag {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #8e8e8e;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ig-lead-card {
  align-self: flex-start;
  width: 100%;
  max-width: 240px;
  padding: 14px;
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.ig-lead-card strong {
  display: block;
  font-size: 0.8125rem;
  color: #262626;
  margin-bottom: 6px;
}

.ig-lead-card p {
  font-size: 0.75rem;
  color: #8e8e8e;
  margin-bottom: 10px;
}

.ig-lead-card .ig-lead-btn {
  display: block;
  width: 100%;
  padding: 8px;
  text-align: center;
  background: #0095f6;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
}

.ig-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 16px;
  border-top: 1px solid #efefef;
}

.ig-composer-camera {
  width: 28px;
  height: 28px;
  border: 2px solid #262626;
  border-radius: 6px;
}

.ig-composer-input {
  flex: 1;
  padding: 10px 16px;
  background: #efefef;
  border-radius: 22px;
  font-size: 0.8125rem;
  color: #8e8e8e;
}

/* ========== MESSENGER ========== */
.app-msg {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.msg-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e4e6eb;
  background: #fff;
}

.msg-topbar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0084ff, #006aff);
}

.msg-topbar-info strong {
  display: block;
  font-size: 0.9375rem;
  color: #050505;
}

.msg-topbar-info small {
  font-size: 0.6875rem;
  color: #65676b;
}

.msg-thread {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}

.msg-system {
  text-align: center;
  font-size: 0.6875rem;
  color: #65676b;
  padding: 6px 12px;
  background: #f0f2f5;
  border-radius: 12px;
  align-self: center;
}

.msg-row {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.msg-row--in { align-self: flex-start; }
.msg-row--out { align-self: flex-end; }

.msg-bubble {
  padding: 10px 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  border-radius: 18px;
}

.msg-row--in .msg-bubble {
  background: #f0f2f5;
  color: #050505;
}

.msg-row--out .msg-bubble {
  background: #0084ff;
  color: #fff;
}

.msg-ai-banner {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0084ff;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.msg-qual-card {
  align-self: flex-start;
  width: 100%;
  max-width: 260px;
  padding: 14px;
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  background: #f7f8fa;
}

.msg-qual-card h4 {
  font-size: 0.8125rem;
  color: #050505;
  margin-bottom: 10px;
}

.msg-qual-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: #050505;
}

.msg-qual-option:last-child { margin-bottom: 0; }

.msg-qual-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #0084ff;
  border-radius: 50%;
  flex-shrink: 0;
}

.msg-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.msg-quick-actions button {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #0084ff;
  color: #0084ff;
  border-radius: 20px;
  cursor: default;
}

.msg-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 16px;
  border-top: 1px solid #e4e6eb;
}

.msg-composer-icons {
  display: flex;
  gap: 12px;
}

.msg-composer-icons span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e4e6eb;
}

.msg-composer-field {
  flex: 1;
  padding: 10px 14px;
  background: #f0f2f5;
  border-radius: 20px;
  font-size: 0.8125rem;
  color: #65676b;
}

/* ========== UNIFIED PLATFORM BLOCKS (WA / IG / Messenger) ========== */
.platform-suite {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.platform-suite__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
  max-width: 1140px;
  margin-inline: auto;
}

.platform-block {
  --pb-radius: var(--radius-xl);
  --pb-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  min-width: 0;
}

.platform-block--full {
  grid-column: 1 / -1;
}

.platform-block--wa {
  --platform-accent: #128c7e;
  --platform-accent-soft: rgba(37, 211, 102, 0.12);
  --platform-glow: rgba(37, 211, 102, 0.14);
}

.platform-block--ig {
  --platform-accent: #e1306c;
  --platform-accent-soft: rgba(225, 48, 108, 0.1);
  --platform-glow: rgba(225, 48, 108, 0.12);
}

.platform-block--msg {
  --platform-accent: #0084ff;
  --platform-accent-soft: rgba(0, 132, 255, 0.1);
  --platform-glow: rgba(0, 132, 255, 0.12);
}

.platform-content-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-top: 4px solid var(--platform-accent);
  border-radius: var(--pb-radius);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--pb-shadow);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.platform-suite__grid.visible .platform-content-card {
  animation: platformFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.platform-suite__grid.visible .platform-block:nth-child(2) .platform-content-card {
  animation-delay: 0.06s;
}

.platform-suite__grid.visible .platform-block--full .platform-content-card {
  animation-delay: 0.12s;
}

@keyframes platformFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.platform-content-card__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.platform-icon-box {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--platform-accent-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
}

.platform-icon-box .brand-img {
  width: 32px;
  height: 32px;
}

.platform-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--platform-accent);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.platform-content-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.platform-block--full .platform-content-card h2 {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
}

.platform-lead {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

.platform-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.platform-stat {
  padding: 14px 10px;
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.platform-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--platform-accent);
  margin-bottom: 4px;
  line-height: 1.2;
}

.platform-stat span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
}

.platform-feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.platform-feature-list li:hover {
  border-color: rgba(79, 70, 229, 0.18);
  box-shadow: var(--shadow-sm);
}

.platform-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  color: var(--accent-emerald);
  border: 1px solid var(--glass-border);
}

.platform-check .icon {
  width: 16px;
  height: 16px;
}

.platform-cta {
  display: inline-flex;
  min-width: 200px;
}

/* ========== SUPPORTED PLATFORMS HUB ========== */
.supported-platforms {
  overflow: hidden;
  background: var(--bg-secondary);
}

.platforms-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin-inline: auto;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--hub-accent, var(--gradient-brand));
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.hub-card--wa { --hub-accent: #25d366; }
.hub-card--ig { --hub-accent: linear-gradient(90deg, #f09433, #e1306c, #833ab4); }
.hub-card--msg { --hub-accent: #0084ff; }
.hub-card--tg { --hub-accent: #26a5e4; }
.hub-card--web { --hub-accent: #4f46e5; }

.hub-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-card-top .brand-img {
  width: 44px;
  height: 44px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.hub-card-top h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.hub-card-top p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hub-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.hub-tags li {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 6px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.hub-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: auto;
}

.hub-card:hover .hub-link {
  color: var(--accent-secondary);
}

@media (min-width: 900px) {
  .platform-suite__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-block--full .platform-content-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(28px, 4vw, 48px);
    row-gap: 20px;
    align-items: start;
  }

  .platform-block--full .platform-content-card__head,
  .platform-block--full .platform-lead {
    grid-column: 1 / -1;
  }

  .platform-block--full .platform-stat-row {
    grid-column: 1;
    margin-bottom: 0;
  }

  .platform-block--full .platform-feature-list {
    grid-column: 2;
    grid-row: 3 / span 2;
    margin-bottom: 0;
    align-self: start;
  }

  .platform-block--full .platform-cta {
    grid-column: 1;
    align-self: end;
  }
}

@media (max-width: 1023px) {
  .platform-content-card {
    text-align: center;
  }

  .platform-content-card__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .platform-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin-inline: auto;
  }

  .platform-stat-row {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }

  .platform-feature-list {
    text-align: start;
  }
}

@media (max-width: 767px) {
  .platform-stat-row {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-suite__grid.visible .platform-content-card {
    animation: none;
  }
}

/* Platform wordmarks (no icon sprites) */
.platform-wordmark {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.platform-wordmark--wa { color: #128c7e; }
.platform-wordmark--msg {
  background: linear-gradient(135deg, #00b2ff, #006aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.platform-wordmark--ig {
  background: linear-gradient(45deg, #f09433, #e1306c, #833ab4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.msg-qual-option.is-selected .msg-qual-radio {
  border-width: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .phone-mockup { animation: none; }
  .wa-typing span { animation: none; }
  .wa-quick-replies button {
    opacity: 1;
    transform: none;
  }
}
