/* ==========================================================================
   Parallex · v3 "Pulse" · pages-integrations.css  (Integrations page)
   ========================================================================== */

/* ---------- hero: hub and spokes (one line per spoke with a travelling gradient; icon-only nodes) ---------- */
.page-hero .ihub { display: block; min-height: 0; aspect-ratio: 600 / 520; background: radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,.22), rgba(255,255,255,0) 70%), var(--field); }
.ih-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ih-lines path { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ih-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; display: grid; place-items: center; width: 108px; height: 108px; border-radius: 32px; background: #fff; box-shadow: var(--sh-panel); }
.ih-mark { display: grid; place-items: center; }
.ih-mark svg { width: 52px; height: 52px; }
.ih-pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px rgba(255,255,255,.7); animation: ihPulse 1.94s var(--ease-out) infinite; pointer-events: none; }
@keyframes ihPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.reduced-motion .ih-pulse, .motion-paused .ih-pulse { animation: none; opacity: 0; }
.ih-node { position: absolute; z-index: 3; translate: -50% -50%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: #fff; box-shadow: var(--sh-float); }
.ih-ic { display: grid; place-items: center; color: var(--b1); }
.ih-ic .ic { width: 30px; height: 30px; }
.ih-ic .ic-wa { width: 32px; height: 32px; }
.n0 { left: 20%; top: 21.9%; } .n1 { left: 80%; top: 21.9%; } .n2 { left: 20%; top: 78.1%; } .n3 { left: 80%; top: 78.1%; }
.ih-rings { position: absolute; left: 50%; top: 50%; z-index: 1; pointer-events: none; }
.ih-rings i { position: absolute; left: 0; top: 0; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.ih-rings i:nth-child(1) { width: 190px; height: 190px; }
.ih-rings i:nth-child(2) { width: 300px; height: 300px; border-color: rgba(255,255,255,.14); }
.ih-rings i:nth-child(3) { width: 420px; height: 420px; border-color: rgba(255,255,255,.08); }
.ihub .sample { right: 14px; top: 14px; bottom: auto; }
@media (max-width: 599px) {
  .ih-rings i:nth-child(3) { display: none; }
  .ih-core { width: 84px; height: 84px; border-radius: 26px; } .ih-mark svg { width: 40px; height: 40px; }
  .ih-node { width: 58px; height: 58px; border-radius: 18px; } .ih-ic .ic, .ih-ic .ic-wa { width: 24px; height: 24px; }
}

/* ---------- CRM two-way ---------- */
.crm-flow { display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.cf-col { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-tile); background: var(--mist); box-shadow: 0 0 0 1px var(--border); }
.cf-l { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--b1); font-weight: 500; }
.cf-body { font-family: var(--f-head); font-weight: 500; font-size: clamp(22px, 18px + .8vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.cf-recs { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 8px; }
.cf-recs li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--border); font-size: 13.5px; }
.cf-recs b { display: block; font-weight: 500; } .cf-recs small { color: var(--muted); font-size: 12.5px; }
.cf-recs .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--b1); }
.cf-recs .fi.ok { background: var(--live-bg); color: var(--live-text); }
.js .crm-flow .cf-recs li { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-snap); }
.js .crm-flow.is-in .cf-recs li { opacity: 1; transform: none; }
.js .crm-flow.is-in .cf-recs li:nth-child(2) { transition-delay: .242s; } .js .crm-flow.is-in .cf-recs li:nth-child(3) { transition-delay: .484s; }
.js .crm-flow.is-in .cf-out .cf-recs li { transition-delay: .726s; } .js .crm-flow.is-in .cf-out .cf-recs li:nth-child(2) { transition-delay: .968s; } .js .crm-flow.is-in .cf-out .cf-recs li:nth-child(3) { transition-delay: 1.21s; }
.reduced-motion .crm-flow .cf-recs li { opacity: 1; transform: none; }
.cf-mid { position: relative; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; gap: 12px; padding: 24px 12px; border-radius: var(--r-tile); background: var(--field); color: #fff; overflow: hidden; }
.cf-node { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 12px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 500; box-shadow: var(--sh-float); white-space: nowrap; }
.cf-node svg { width: 22px; height: 22px; }
.cf-crm .ic { color: var(--b1); }
.cf-pipe { position: relative; display: flex; justify-content: center; gap: 12px; width: 16px; min-height: 120px; }
/* two gradient lines flowing opposite ways: into your CRM and back */
.cf-pipe i { width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(255,255,255,.22), #fff 50%, rgba(255,255,255,.22)) 0 0 / 100% 200%; box-shadow: 0 0 10px rgba(255,255,255,.3); animation: cfFlow 2.4s linear infinite; } /* same white gradient as the hero lines */
.cf-pipe i.rev { animation-direction: reverse; }
@keyframes cfFlow { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.reduced-motion .cf-pipe i, .motion-paused .cf-pipe i { animation: none; }
.cf-sync { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.cf-note { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 1023px) {
  .crm-flow { grid-template-columns: 1fr; }
  .cf-mid { grid-template-rows: none; grid-template-columns: auto 1fr auto; align-items: center; padding: 16px; }
  .cf-pipe { flex-direction: column; width: auto; min-height: 0; height: 12px; }
  .cf-pipe i { width: auto; height: 2px; background-image: linear-gradient(90deg, rgba(255,255,255,.22), #fff 50%, rgba(255,255,255,.22)); background-size: 200% 100%; animation-name: cfFlowX; }
  @keyframes cfFlowX { from { background-position: 100% 0; } to { background-position: -100% 0; } }
  .cf-sync { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .cf-node { height: 40px; font-size: 13px; padding: 0 12px 0 10px; } .cf-mid { gap: 8px; } }

/* ---------- bento ---------- */
.int-bento .feat { min-height: 400px; }
.int-bento .ft-copy .tlink { margin-top: 6px; }
.feat-ic .ic-wa { width: 22px; height: 22px; }
.int-wa { display: grid !important; gap: 14px; align-content: center; }
.iw-chat { width: min(100%, 360px); display: grid; gap: 8px; padding: 14px; border-radius: 20px; background: var(--wa-bg); }
.iw-row { display: flex; gap: 8px; align-items: flex-start; max-width: 90%; padding: 9px 12px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 13.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.iw-row.out { justify-self: end; border-radius: 14px 4px 14px 14px; background: var(--wa-out); }
.iw-seats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.iw-seats span { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--live-bg); color: var(--live-text); font-size: 13px; font-weight: 500; }
.iw-seats span.no { background: var(--red-bg); color: var(--red-text); text-decoration: line-through; text-decoration-color: var(--red); }
.int-web { display: grid !important; gap: 12px; align-content: center; justify-items: center; }
.iweb { width: min(100%, 380px); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--sh-float); }
.iweb-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #EEF0F4; font-size: 11.5px; color: var(--muted); }
.iweb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C9CFDA; }
.iweb-bar span { margin-inline-start: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; flex: 1; }
.iweb-body { position: relative; height: 140px; }
.iweb-body img { width: 100%; height: 100%; object-fit: cover; }
.iweb-btn { position: absolute; right: 10px; bottom: 10px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 500; box-shadow: var(--sh-float); }
.snippet { width: min(100%, 380px); margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #C9D6F4; font: 12px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-x: auto; }
.snippet .t { color: #8FB0F5; } .snippet .a { color: #B8C3D8; } .snippet .s { color: #7EE2A8; }
.int-gal { display: flex !important; align-items: flex-end; justify-content: center; gap: 20px; }
.gal-screen { position: relative; width: 58%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 6px solid #141A28; box-shadow: var(--sh-soft); }
.gal-screen img { width: 100%; height: 100%; object-fit: cover; }
.gal-hud { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 11.5px; }
.gal-hud b { font-weight: 500; }
.gal-table { width: 32%; display: grid; justify-items: center; }
.gt-top { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; border: 5px solid #141A28; transform: perspective(300px) rotateX(38deg); transform-origin: bottom; }
.gt-top img { width: 100%; height: 100%; object-fit: cover; }
.gt-touch { position: absolute; left: 55%; top: 45%; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: 0 0 0 2px #fff; animation: gtTouch 1.94s var(--ease-out) infinite; }
@keyframes gtTouch { 0% { transform: scale(.4); opacity: 0; } 30% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.reduced-motion .gt-touch, .motion-paused .gt-touch { animation: none; }
.gt-leg { width: 12%; height: 40px; background: linear-gradient(#2A3142, #141A28); }
.int-api { display: grid !important; place-items: center; }
.api-lines { display: grid; gap: 8px; width: min(100%, 300px); }
.api-lines span { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--navy); color: #C9D6F4; font: 13px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.api-lines em { font-style: normal; font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(103,142,229,.25); color: #fff; }
@media (max-width: 599px) { .int-gal { gap: 10px; } .gal-screen { width: 62%; border-width: 4px; } }

/* ---------- the line ---------- */
.int-line .statement h2 { max-width: 16ch; }
.int-line .t-lead { color: rgba(255,255,255,.88); }
.int-line .btn-row { justify-content: center; margin-top: 32px; }
.prod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
