/* ==================================================================
   REVOCH public V105 — MIGRATION PAGE UPGRADE
   1. Migration Toolkit: 10 built-in migration aids as a staggered
      card grid with a data-strip
   2. The 6-step migration chain draws with scroll and lights steps
   Progressive: reduced motion / Motion pause show the static page.
   ================================================================== */

.v105-toolkit-section { position: relative; }

/* data strip */
.v105-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.v105-strip span { font-size: 9.5px; font-weight: 900; letter-spacing: .14em; color: #7d8aa5; margin-right: 4px; }
.v105-strip b { font-size: 11.5px; font-weight: 750; color: #223055; background: #fff; border: 1px solid rgba(203,214,240,.9); border-radius: 999px; padding: 6px 13px; box-shadow: 0 6px 16px rgba(30,41,90,.06); transition: transform .25s ease, border-color .25s ease; }
.v105-strip b:hover { transform: translateY(-2px); border-color: rgba(99,102,241,.45); }

/* toolkit grid */
.v105-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.v105-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 17px 18px 15px; border: 1px solid rgba(203,214,240,.9); border-radius: 18px; background: linear-gradient(165deg, #fff, #f7f9ff); box-shadow: 0 8px 24px rgba(30,41,90,.06); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.v105-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.4); box-shadow: 0 20px 44px rgba(30,41,90,.13); }
.v105-card > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.1)); color: #4f46e5; font-style: normal; font-size: 16px; }
.v105-card > b { font-size: 13.5px; color: #131c44; letter-spacing: -.01em; }
.v105-card > p { margin: 0; font-size: 11.5px; line-height: 1.5; color: #44536f; }
.v105-note { margin: 20px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted, #5f6f89); max-width: 780px; }

/* entrance stagger (JS-gated) */
.v105-toolkit-section.v105-ready .v105-card { opacity: 0; transform: translateY(24px); animation: v105-card-in .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--v105d, 0) * 60ms); }
@keyframes v105-card-in { to { opacity: 1; transform: none; } }

/* ---------- migration chain draw ---------- */
.page-migration .v68-migration-grid { position: relative; --v105md: 0; }
.page-migration .v68-migration-grid::before { content: ""; position: absolute; left: 2%; right: 2%; top: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4); transform: scaleX(var(--v105md)); transform-origin: left; transition: transform .18s linear; z-index: 0; }
.page-migration .v68-migration-grid > article { position: relative; z-index: 1; transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.page-migration .v68-migration-grid > article.v105-lit { transform: translateY(-4px); filter: drop-shadow(0 12px 24px rgba(99,102,241,.28)); }
.page-migration .v68-migration-grid > article.v105-lit span:first-of-type { color: #fff; }

/* ---------- guards ---------- */
@media (max-width: 1000px) { .v105-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .v105-grid { grid-template-columns: 1fr; } .v105-strip span { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .v105-toolkit-section.v105-ready .v105-card { animation: none !important; opacity: 1 !important; transform: none !important; }
  .page-migration .v68-migration-grid::before { transform: scaleX(1) !important; transition: none !important; }
  .page-migration .v68-migration-grid > article.v105-lit { transform: none !important; filter: none !important; }
}
.page-migration.v77-paused .v68-migration-grid::before { transform: scaleX(1) !important; }
