/* Thinkmate homepage: featured ERP section (light product showcase). */
.ex-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid #e1e6fb; padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 56px) clamp(40px, 5vw, 64px);
  background: radial-gradient(60% 50% at 50% 0%, rgba(111,136,255,.38) 0%, rgba(111,136,255,0) 70%), radial-gradient(40% 40% at 100% 60%, rgba(25,198,212,.14) 0%, rgba(25,198,212,0) 70%), linear-gradient(180deg, #eaeeff 0%, #f5f7ff 45%, #fff 100%); }
.ex-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(36,64,245,.1) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 45% at 50% 0%, #000, transparent); mask-image: radial-gradient(70% 45% at 50% 0%, #000, transparent); pointer-events: none; }
.ex-copy { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.ex-copy h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; margin: 16px 0 16px; }
.ex-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ex-lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 620px; margin: 0 auto 26px; }
.ex-copy .hero-actions { justify-content: center; }

/* Dashboard */
.ex-visual { position: relative; max-width: 1000px; margin: clamp(40px, 5vw, 64px) auto 0; }
.ex-glow { position: absolute; inset: 8% 6% -6%; background: radial-gradient(closest-side, rgba(61,92,255,.35), transparent); filter: blur(30px); z-index: 0; }
.ex-app { position: relative; z-index: 1; display: grid; grid-template-columns: 188px minmax(0, 1fr); background: #fff; border-radius: 22px; border: 1px solid #e3e7f6; box-shadow: 0 2px 4px rgba(11,16,32,.04), 0 50px 90px -40px rgba(20,32,120,.45); overflow: hidden; text-align: left; }
.ex-side { background: #f7f8fd; border-right: 1px solid #eef0f8; padding: 18px 12px; }
.ex-logo { display: flex; align-items: center; gap: 9px; padding: 2px 8px 18px; }
.ex-logo img { width: 26px; height: 26px; }
.ex-logo b { font-size: 13px; color: var(--ink); letter-spacing: -.01em; }
.ex-side ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.ex-side li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 12.5px; color: #5b6383; font-weight: 500; }
.ex-side li svg { width: 16px; height: 16px; }
.ex-side li.on { background: #fff; color: var(--blue-600); font-weight: 600; box-shadow: 0 1px 2px rgba(11,16,32,.06), 0 6px 14px -8px rgba(36,64,245,.35); }
.ex-main { padding: 18px 20px 34px; min-width: 0; }
.ex-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ex-top > div:first-child small { display: block; font-size: 11px; color: var(--muted); }
.ex-top > div:first-child b { font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.ex-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: min(280px, 40%); padding: 8px 12px; border: 1px solid #e8ebf5; border-radius: 10px; font-size: 11.5px; color: #9aa1bb; background: #fbfcff; }
.ex-search svg { width: 14px; height: 14px; flex: none; }
.ex-search span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ex-me { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }

.ex-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.ex-kpi { border: 1px solid #edf0f8; border-radius: 14px; padding: 12px 13px; transition: opacity .6s calc(var(--i) * 90ms + .3s), transform .6s calc(var(--i) * 90ms + .3s); }
.ex-kpi:nth-child(2) { background: var(--grad); border-color: transparent; }
.ex-kpi:nth-child(2) *, .ex-kpi:nth-child(2) em { color: #fff !important; }
.ex-kpi:nth-child(2) .ex-kic { background: rgba(255,255,255,.2); }
.ex-kic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 8px; }
.ex-kic svg { width: 14px; height: 14px; }
.ex-kpi small { display: block; font-size: 10.5px; color: var(--muted); }
.ex-kpi b { display: block; font-family: var(--font-display); font-size: clamp(15px, 1.6vw, 20px); color: var(--ink); letter-spacing: -.02em; margin: 2px 0; white-space: nowrap; }
.ex-kpi em { font-style: normal; font-size: 10px; font-weight: 600; }
.ex-kpi em.up, .ex-kpi em.ok { color: #15803d; } .ex-kpi em.warn { color: #b45309; } .ex-kpi em.info { color: var(--blue-600); }

.ex-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.ex-card { border: 1px solid #edf0f8; border-radius: 14px; padding: 14px 15px; min-width: 0; }
.ex-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ex-head b { font-size: 12.5px; color: var(--ink); }
.ex-head span { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.ex-head span i { width: 8px; height: 8px; border-radius: 3px; margin-left: 6px; }
.ex-head i.r, .ex-col i.r { background: linear-gradient(180deg, #3d5cff, #2440f5); }
.ex-head i.e, .ex-col i.e { background: #a5f0f4; }
.ex-live { color: #15803d !important; font-weight: 700; }
.ex-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; animation: ex-pulse 2s infinite; }
@keyframes ex-pulse { 50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); } }

.ex-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 168px; align-items: end; padding-top: 6px; background: repeating-linear-gradient(180deg, transparent 0 41px, #f1f3f9 41px 42px); }
.ex-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-items: end; height: 100%; position: relative; padding-bottom: 16px; }
.ex-col i { display: block; height: var(--h); border-radius: 4px 4px 1px 1px; transform-origin: bottom; transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 50ms + .4s); }
.ex-col span { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 9px; color: #a3aac2; }

.ex-appr ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ex-appr li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f1f3f9; transition: opacity .5s calc(var(--i) * 120ms + .6s), transform .5s calc(var(--i) * 120ms + .6s); }
.ex-appr li:first-child { border-top: 0; padding-top: 0; }
.ex-appr li div { flex: 1; min-width: 0; }
.ex-appr li b { display: block; font-size: 11.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-appr li small { display: block; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #fff; background: #6f88ff; }
.ex-av.a1 { background: #f59e0b; } .ex-av.a2 { background: #19c6d4; } .ex-av.a3 { background: #ef4444; }
.ex-appr .st { font-style: normal; }

/* Floating cards around the dashboard edges */
.ex-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid #e1e6fb; border-radius: 14px; box-shadow: 0 24px 40px -22px rgba(20,32,120,.55); text-align: left; transition: opacity .6s 1.1s, transform .6s cubic-bezier(.2,.8,.2,1) 1.1s; }
.ex-float i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316); }
.ex-float i.g { background: linear-gradient(135deg, #16a34a, #22c55e); }
.ex-float i svg { width: 15px; height: 15px; }
.ex-float b { display: block; font-size: 12.5px; color: var(--ink); }
.ex-float small { font-size: 10.5px; color: var(--muted); }
.ex-float.f1 { top: -26px; right: -34px; animation: ex-bob 6s ease-in-out 2s infinite; }
.ex-float.f2 { bottom: -26px; left: 34%; animation: ex-bob 6s ease-in-out 5s infinite; }
@keyframes ex-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

.ex-mini { position: absolute; z-index: 3; left: -58px; bottom: -44px; width: 172px; padding: 12px 12px 14px; background: #fff; border-radius: 26px; border: 6px solid #0b1230; box-shadow: 0 30px 50px -24px rgba(6,11,46,.6); text-align: left; transition: opacity .6s 1.3s, transform .7s cubic-bezier(.2,.8,.2,1) 1.3s; }
.ex-mini-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.ex-mini-top i { width: 44px; height: 12px; border-radius: 99px; background: #0b1230; }
.ex-mini > small { display: block; font-size: 9.5px; color: var(--muted); }
.ex-mini > b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--blue-600); letter-spacing: -.02em; margin: 2px 0 8px; }
.ex-mini-l { display: flex; justify-content: space-between; font-size: 10px; padding: 5px 0; border-top: 1px solid #f1f3f9; color: var(--muted); }
.ex-mini-l em { font-style: normal; color: var(--ink); font-weight: 600; }
.ex-mini-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 9px; padding: 8px; border-radius: 10px; background: var(--blue-600); color: #fff; font-size: 10.5px; font-weight: 600; }
.ex-mini-btn svg { width: 12px; height: 12px; }

/* Module row */
.ex-feats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: clamp(56px, 6vw, 80px) 0 0; text-align: left; }
.ex-feats li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: rgba(255,255,255,.75); border: 1px solid #e6eafa; border-radius: 18px; backdrop-filter: blur(6px); }
.ex-feats li > span { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.ex-feats li > span svg { width: 18px; height: 18px; }
.ex-feats b { display: block; font-size: .98rem; color: var(--ink); margin-bottom: 3px; }
.ex-feats small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.ex-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 0; font-size: .9rem; color: var(--muted); }
.ex-note svg { width: 18px; height: 18px; color: #16a34a; }

/* Pre-reveal states (JS only) */
html:not(.no-js) .ex-visual:not(.in) .ex-kpi, html:not(.no-js) .ex-visual:not(.in) .ex-appr li { opacity: 0; transform: translateY(10px); }
html:not(.no-js) .ex-visual:not(.in) .ex-col i { transform: scaleY(0); }
html:not(.no-js) .ex-visual:not(.in) .ex-float { opacity: 0; transform: translateY(14px) scale(.95); }
html:not(.no-js) .ex-visual:not(.in) .ex-mini { opacity: 0; transform: translateY(30px); }

/* Responsive */
@media (max-width: 1180px) {
  .ex-mini { left: -20px; width: 156px; }
  .ex-float.f1 { right: -10px; }
}
@media (max-width: 980px) {
  .ex-app { grid-template-columns: minmax(0, 1fr); }
  .ex-side, .ex-mini { display: none; }
  .ex-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ex-panel { border-radius: 24px; }
  .ex-main { padding: 14px 12px 30px; }
  .ex-search { display: none; }
  .ex-top { margin-bottom: 12px; }
  .ex-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-row { grid-template-columns: minmax(0, 1fr); }
  .ex-bars { height: 130px; background: repeating-linear-gradient(180deg, transparent 0 31px, #f1f3f9 31px 32px); }
  .ex-float.f1 { display: none; }
  .ex-float.f2 { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .ex-feats { grid-template-columns: minmax(0, 1fr); }
  .ex-note { font-size: .82rem; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-panel *, .ex-float { transition: none !important; animation: none !important; }
}

/* Hero eyebrow and case-study links */
.hero-eyebrow { margin-bottom: 18px; }
.hero-eyebrow + h1 { font-size: clamp(2.3rem, 4.3vw, 3.85rem); }
