/* Thinkmate: products, industries, case studies and the homepage products block. Uses the site's existing tokens. */

/* Hero visual: white mock-ups on the blue hero panel */
.pr-hero-vis { position: relative; display: grid; place-items: center; min-height: 300px; }
.pr-stack { position: relative; display: grid; gap: 14px; justify-items: center; width: 100%; max-width: 380px; }
.pr-stack > * { max-width: 360px; width: 100%; }
.pr-stack > :nth-child(2) { margin-left: 60px; }
.pr-stack .bx-ui, .pr-stack .bx-notes, .pr-stack .bx-tiles { animation: pr-rise .8s cubic-bezier(.2,.8,.2,1) both; }
.pr-stack > :nth-child(2) { animation-delay: .25s; }
@keyframes pr-rise { from { opacity: 0; transform: translateY(18px); } }
.pr-hero-vis .bx-phone { margin-top: 0; }

/* Product / case / industry cards */
.pr-grid { display: grid; gap: 16px; }
.pr-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; color: inherit; text-decoration: none;
  background: linear-gradient(180deg, #f4f6ff 0%, #fff 70%); border: 1px solid #e6eafb; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; }
.pr-card:hover { transform: translateY(-4px); border-color: #d3dafb; box-shadow: 0 30px 60px -34px rgba(36,64,245,.45); }
.pr-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(36,64,245,.7); margin-bottom: 6px; }
.pr-ic svg { width: 21px; height: 21px; }
.pr-tag { font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--blue-600); }
.pr-card h3 { font-size: 1.14rem; margin: 0; }
.pr-card p { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.55; flex: 1; }
.pr-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--blue-600); }
.pr-more svg { width: 16px; height: 16px; transition: transform .25s; }
.pr-card:hover .pr-more svg { transform: translateX(4px); }
.pr-card.case .pr-ic { background: #fff; color: var(--blue-600); border: 1px solid #dfe5fd; box-shadow: none; }

/* Industry needs */
.pr-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.pr-need { padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.pr-need .pr-ic { width: 40px; height: 40px; border-radius: 12px; }
.pr-need .pr-ic svg { width: 18px; height: 18px; }
.pr-need h3 { font-size: 1.02rem; margin: 6px 0 4px; }
.pr-need p { font-size: .92rem; color: var(--muted); margin: 0; }

.pr-clients { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.pr-clients li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid #e3e8f8; font-weight: 600; font-size: .9rem; color: var(--ink); }
.pr-other { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; padding: 22px 24px; border-radius: 22px; background: var(--bg-soft); }
.pr-other .pr-clients { margin: 0; flex: 1; }

/* Integrations */
.pr-ints { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; margin: 0 auto; max-width: 980px; }
.pr-int { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 12px; border-radius: 999px; background: #fff; border: 1px solid #e3e8f8; box-shadow: 0 12px 26px -20px rgba(20,32,120,.4); font-weight: 600; font-size: .93rem; color: var(--ink); }
.pr-int svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--blue-600); color: #fff; }

/* Case study facts */
.pr-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); margin-bottom: 40px; }
.pr-facts div { background: #fff; padding: 16px 18px; }
.pr-facts small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.pr-facts b { font-size: .98rem; color: var(--ink); }
.pr-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--blue-50); color: var(--ink-2, #2a3150); font-size: .92rem; margin-top: 8px; }
.pr-note svg { flex: none; width: 20px; height: 20px; color: var(--blue-600); margin-top: 2px; }
.pr-note p { margin: 0; }

/* Compare table */
.pr-table-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.pr-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .92rem; }
.pr-table th, .pr-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #eef0f7; }
.pr-table th:first-child, .pr-table td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.pr-table thead th { background: var(--bg-soft); font-size: .82rem; color: var(--ink); }
.pr-table tr:last-child td { border-bottom: 0; }
.pr-yes svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.pr-no { color: #c3c8d8; }

/* Homepage products block */
.hp-products .pr-grid { margin-top: 8px; }

@media (max-width: 1120px) {
  .pr-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-stack > :nth-child(2) { margin-left: 0; }
}
@media (max-width: 680px) {
  .pr-grid.three, .pr-grid.two, .pr-needs { grid-template-columns: minmax(0, 1fr); }
  .pr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-hero-vis { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .pr-stack * { animation: none !important; } }
