.hub-product {
  --card-accent: var(--product-accent, var(--app-accent));
  min-height: 0;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hub-product { border-top-color: var(--card-accent) !important; }
.hub-product::before { background: var(--card-accent) !important; }
.hub-product.coming-soon { cursor: default; opacity: .82; }
.coming-soon-badge { margin-left:auto;padding:5px 9px;border:1px solid color-mix(in srgb,var(--card-accent) 45%,var(--app-border));border-radius:999px;background:color-mix(in srgb,var(--card-accent) 12%,var(--app-surface-raised));color:var(--app-text);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap; }

.hub-products {
  padding-top: 56px;
  padding-bottom: 72px;
}

.tool-section {
  padding-top: 56px;
}

.tool-grid article,
.tool-grid article:hover {
  transform: none;
  transition: none;
}

.tool-grid article::after,
.tool-grid article:hover::after {
  display: none;
}

.hub-product:hover {
  transform: translateY(-8px);
  border-color: #b7d7e3;
  box-shadow: 0 25px 60px rgba(24, 34, 56, .14);
}

.hub-card-icon {
  width: 68px;
  height: 68px;
  margin-top: 8px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.hub-product:hover .hub-card-icon {
  transform: scale(1.06) rotate(-2deg);
}

.hub-product.sms:hover .hub-card-icon {
  box-shadow: 0 15px 28px rgba(239, 90, 85, .26);
}

.hub-product.rcs:hover .hub-card-icon {
  box-shadow: 0 15px 28px rgba(8, 104, 217, .24);
}

.hub-product.whatsapp:hover .hub-card-icon {
  box-shadow: 0 15px 28px rgba(62, 183, 67, .24);
}

.hub-card-icon svg,
.hub-card-icon img {
  width: 38px;
  height: 38px;
}

.hub-card-icon svg {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-card-icon img {
  filter: invert(1);
}

.hub-card-icon > .material-symbols-rounded {
  font-size: 38px;
}

.hub-product > .hub-product-identity {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: inherit;
}

.hub-product > .hub-product-identity .hub-card-icon {
  width: 36px;
  height: 36px;
  margin-top: 0;
  border-radius: 12px;
}

.hub-product > .hub-product-identity .hub-card-icon :is(img, svg) {
  width: 21px;
  height: 21px;
}

.hub-product > .hub-product-identity .hub-card-icon > .material-symbols-rounded {
  font-size: 21px;
}

.hub-product > .hub-product-identity h3 {
  margin: 0;
  font-size: 22px;
  white-space: nowrap;
}

.sms-icon { background: linear-gradient(135deg, #ff9d29, #ef5a55); }
.rcs-icon { background: linear-gradient(135deg, #0868d9, #20bfe1); }
.wa-icon { background: linear-gradient(135deg, #3eb743, #95cd21); }

.hub-product h3 {
  margin-top: 20px;
}

.hub-product ul {
  margin: 12px 0 20px;
  padding: 0;
  list-style: none;
  color: #49677c;
  font-size: 12px;
  line-height: 1.9;
}

.hub-product li::before {
  content: "✓";
  margin-right: 8px;
  color: #69b828;
  font-weight: 800;
}

.hub-product footer {
  font-weight: 800;
  color: #0868d9;
}

.tool-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.tool-grid article {
  min-height: 310px;
  padding: 28px;
  border: 1px solid #dceaf1;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f8fcfe);
  box-shadow: 0 16px 38px rgba(18, 66, 98, .1);
  display: flex;
  flex-direction: column;
}

.tool-grid article > i {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0868d9, #20bfe1);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 12px Inter, sans-serif;
}

.tool-grid article:nth-child(2n) > i {
  background: linear-gradient(135deg, #58b72c, #9bcf26);
}

.tool-grid h3 {
  margin-top: 38px;
}

/* Number-free homepage cards. */
.tool-grid article:not(:has(> i)) h3 {
  margin-top: 4px;
}

.tool-grid article:not(:has(> i)) {
  min-height: 230px;
}

.workflow-steps li:not(:has(> b)) {
  grid-template-columns: 1fr;
  min-height: 108px;
}

.workflow-steps li:not(:has(> b)) small {
  margin-top: 8px;
}

/* Rich developer-tool cards without numeric markers. */
.tool-section .sub-heading > p {
  max-width: 560px;
  margin: 0 0 4px;
}

.tool-grid article:has(> .tool-card-icon) {
  position: relative;
  min-height: 276px;
  gap: 16px;
  overflow: hidden;
  border-color: var(--app-border);
  background: var(--app-surface-raised);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--app-primary) 10%, transparent);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tool-grid article:has(> .tool-card-icon)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--app-primary);
}

.tool-grid article:has(> .tool-card-icon):hover {
  border-color: var(--app-primary);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--app-primary) 18%, transparent);
  transform: translateY(-3px);
}

.tool-card-icon {
  display: grid !important;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 14px;
  background: var(--app-primary);
  color: var(--app-on-dark);
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 7px 16px color-mix(in srgb, var(--app-primary) 24%, transparent);
}

.tool-grid article:has(> .tool-card-icon) h3 {
  margin: 0 0 9px;
  color: var(--app-text);
  font-size: 20px;
}

.tool-grid article:has(> .tool-card-icon) p {
  color: var(--app-muted);
}

.tool-grid article:has(> .tool-card-icon) > small {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  margin-top: auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--app-accent-soft);
  color: var(--app-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}
