/*
 * B2BGEMI — Market Intelligence Hub
 * Full replacement stylesheet (dashboard / infographic style)
 * Scope: Hub page only ($reportMode === false)
 * Design: dark data-intelligence dashboard (Looker-Studio inspired)
 * Covers BOTH SSR markup AND JS-rendered components.
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  /* Backgrounds */
  --bg-0: #05070d;
  --bg-1: #080b13;
  --bg-2: #0b0f1a;
  --bg-3: #0f1420;

  /* Surfaces */
  --panel:        rgba(13, 18, 29, 0.78);
  --panel-solid:  #0d1220;
  --panel-2:      rgba(18, 24, 38, 0.85);
  --panel-3:      rgba(22, 28, 44, 0.7);

  /* Borders */
  --line-1: rgba(140, 160, 190, 0.08);
  --line-2: rgba(140, 160, 190, 0.14);
  --line-3: rgba(140, 160, 190, 0.22);

  /* Text */
  --tx-1: #eef4ff;
  --tx-2: #c3d0e2;
  --tx-3: #8a9bb3;
  --tx-4: #5f7391;

  /* Accents */
  --c-cyan:   #3ee7ff;
  --c-cyan-2: #7af1ff;
  --c-green:  #4ee0a1;
  --c-purple: #a688ff;
  --c-purple-2:#c7b7ff;
  --c-orange: #ff9a4d;
  --c-yellow: #ffd166;
  --c-pink:   #ff6ea8;
  --c-blue:   #5fa8ff;
  --c-red:    #ff5f7e;

  /* Sizing */
  --radius-lg: 22px;
  --radius:    16px;
  --radius-sm: 12px;
  --radius-xs: 9px;

  /* Shadows */
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.5);
  --shadow:    0 14px 44px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);

  /* Layout */
  --max: 1560px;
  --pad: clamp(16px, 3vw, 40px);

  /* Fonts */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* =========================================================
   2. BASE
   ========================================================= */

.market-intelligence,
.market-intelligence *,
.market-intelligence *::before,
.market-intelligence *::after {
  box-sizing: border-box;
}

.market-intelligence {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  min-height: 100vh;
  color: var(--tx-1);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 600px at 10% 0%, rgba(62, 231, 255, 0.09), transparent 60%),
    radial-gradient(900px 600px at 92% 8%, rgba(166, 136, 255, 0.09), transparent 60%),
    radial-gradient(1000px 700px at 50% 100%, rgba(78, 224, 161, 0.05), transparent 65%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}

.market-intelligence::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(122, 145, 182, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 145, 182, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
}

.market-intelligence a {
  color: inherit;
  text-decoration: none;
}

.market-intelligence button,
.market-intelligence select,
.market-intelligence input {
  font: inherit;
  color: inherit;
}

.market-intelligence svg {
  display: block;
}

.mi-container {
  width: min(calc(100% - 2 * var(--pad)), var(--max));
  margin-inline: auto;
}

/* =========================================================
   3. TYPOGRAPHY / SECTION CHROME
   ========================================================= */

.mi-wow-kicker,
.mi-wow-section-label,
.mi-wow-section-label > span,
.mi-wow-section-label em,
.mi-wow-eyebrow,
.mi-kicker {
  font-family: var(--font-head);
}

.mi-wow-kicker,
.mi-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--c-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mi-wow-kicker::before,
.mi-kicker > span:first-child {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(62, 231, 255, 0.8);
}

.mi-wow-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 38px;
  align-items: end;
  margin-bottom: 40px;
}

.mi-wow-section-intro h2 {
  margin: 14px 0 0;
  max-width: 780px;
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 62px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--tx-1);
}

.mi-wow-section-intro h2 em {
  font-style: normal;
  color: var(--c-cyan);
  text-shadow: 0 0 40px rgba(62, 231, 255, 0.2);
}

.mi-wow-section-intro > p {
  margin: 0;
  color: var(--tx-3);
  font-size: 15px;
  line-height: 1.75;
}

.mi-wow-section-intro--center {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.mi-wow-section-intro--center > p {
  max-width: 700px;
  margin: 16px auto 0;
}

.mi-wow-section-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--tx-4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mi-wow-section-label > span {
  color: var(--c-cyan);
}

.mi-wow-section-label em {
  color: var(--tx-3);
  font-style: normal;
}

/* =========================================================
   4. HERO
   ========================================================= */

.mi-wow-hero {
  position: relative;
  min-height: min(880px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  padding: 90px 0 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-1);
  background:
    radial-gradient(900px 600px at 75% 40%, rgba(62, 231, 255, 0.07), transparent 55%),
    radial-gradient(800px 600px at 85% 70%, rgba(166, 136, 255, 0.09), transparent 60%);
}

.mi-wow-hero__ambient {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 40%, rgba(62, 231, 255, 0.15), transparent 18rem),
    radial-gradient(circle at 82% 62%, rgba(166, 136, 255, 0.13), transparent 24rem);
  filter: blur(12px);
  opacity: 0.9;
}

.mi-wow-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(62, 231, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 231, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.85) 45%, rgba(0, 0, 0, 0.3) 100%);
}

.mi-wow-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.85fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.mi-wow-hero__copy {
  max-width: 760px;
}

.mi-wow-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--tx-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mi-wow-live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 5px rgba(78, 224, 161, 0.1), 0 0 18px rgba(78, 224, 161, 0.7);
  animation: miw-pulse 2s ease-in-out infinite;
}

.mi-wow-eyebrow-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(62, 231, 255, 0.7), transparent);
}

.mi-wow-hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
  color: var(--tx-1);
}

.mi-wow-hero h1 strong {
  display: block;
  color: var(--c-cyan);
  font-weight: 700;
  text-shadow: 0 0 50px rgba(62, 231, 255, 0.25);
}

.mi-wow-hero__lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--tx-3);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
}

.mi-wow-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.mi-wow-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.mi-wow-btn:hover {
  transform: translateY(-2px);
}

.mi-wow-btn b {
  font-size: 17px;
  font-weight: 700;
}

.mi-wow-btn--primary {
  color: #041017;
  background: linear-gradient(135deg, var(--c-cyan-2), var(--c-cyan));
  box-shadow: 0 14px 40px rgba(62, 231, 255, 0.22);
}

.mi-wow-btn--primary:hover {
  box-shadow: 0 20px 55px rgba(62, 231, 255, 0.32);
}

.mi-wow-btn--ghost {
  color: var(--tx-2);
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.03);
}

.mi-wow-btn--ghost:hover {
  border-color: rgba(62, 231, 255, 0.45);
  background: rgba(62, 231, 255, 0.06);
}

.mi-wow-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: var(--tx-4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mi-wow-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mi-wow-hero__trust i,
.mi-wow-hero__bottom i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 12px rgba(62, 231, 255, 0.65);
}

.mi-wow-hero__bottom {
  width: min(calc(100% - 2 * var(--pad)), var(--max));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mi-wow-hero__bottom > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- RADAR --- */
.mi-wow-radar {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  justify-self: end;
}

.mi-wow-radar::before,
.mi-wow-radar::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(62, 231, 255, 0.16);
  box-shadow: inset 0 0 80px rgba(62, 231, 255, 0.03), 0 0 90px rgba(62, 231, 255, 0.06);
}

.mi-wow-radar::after {
  inset: 28%;
  border-color: rgba(166, 136, 255, 0.18);
}

.mi-wow-radar__rings {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(62, 231, 255, 0.1);
  border-radius: 50%;
}

.mi-wow-radar__rings span {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(62, 231, 255, 0.1);
  border-radius: 50%;
}

.mi-wow-radar__rings span:nth-child(2) { inset: 34%; }
.mi-wow-radar__rings span:nth-child(3) { inset: 50%; }
.mi-wow-radar__rings span:nth-child(4) { inset: 66%; border-color: rgba(166, 136, 255, 0.15); }

.mi-wow-radar__rings::before,
.mi-wow-radar__rings::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(62, 231, 255, 0.15), transparent);
}

.mi-wow-radar__rings::after {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.mi-wow-radar__sweep {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: conic-gradient(from 15deg, transparent 0 74%, rgba(62, 231, 255, 0.05) 80%, rgba(62, 231, 255, 0.5) 91%, transparent 97% 100%);
  animation: miw-sweep 6s linear infinite;
}

.mi-wow-radar__network {
  position: absolute;
  inset: 8%;
}

.mi-wow-radar__network i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(62, 231, 255, 0.1), 0 0 24px rgba(62, 231, 255, 0.8);
}

.mi-wow-radar__network .n1 { left: 17%; top: 25%; }
.mi-wow-radar__network .n2 { left: 50%; top: 40%; width: 13px; height: 13px; background: var(--c-green); box-shadow: 0 0 0 5px rgba(78, 224, 161, 0.12), 0 0 28px rgba(78, 224, 161, 0.8); }
.mi-wow-radar__network .n3 { right: 13%; top: 29%; }
.mi-wow-radar__network .n4 { left: 28%; bottom: 24%; }
.mi-wow-radar__network .n5 { right: 25%; bottom: 29%; background: var(--c-purple); box-shadow: 0 0 0 4px rgba(166, 136, 255, 0.1), 0 0 24px rgba(166, 136, 255, 0.8); }
.mi-wow-radar__network .n6 { right: 12%; bottom: 11%; }
.mi-wow-radar__network .n7 { left: 10%; bottom: 11%; background: var(--c-purple); box-shadow: 0 0 0 4px rgba(166, 136, 255, 0.1), 0 0 24px rgba(166, 136, 255, 0.8); }

.mi-wow-radar__network b {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(62, 231, 255, 0.45), rgba(62, 231, 255, 0));
}

.mi-wow-radar__network .l1 { width: 36%; left: 19%; top: 27%; transform: rotate(28deg); }
.mi-wow-radar__network .l2 { width: 34%; left: 51%; top: 41%; transform: rotate(-22deg); }
.mi-wow-radar__network .l3 { width: 38%; left: 30%; top: 44%; transform: rotate(132deg); }
.mi-wow-radar__network .l4 { width: 31%; left: 52%; top: 44%; transform: rotate(50deg); }
.mi-wow-radar__network .l5 { width: 24%; left: 76%; top: 65%; transform: rotate(72deg); }
.mi-wow-radar__network .l6 { width: 25%; left: 29%; top: 73%; transform: rotate(-140deg); }

.mi-wow-radar__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(62, 231, 255, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(62, 231, 255, 0.14), rgba(8, 11, 19, 0.95) 60%);
  box-shadow: 0 0 80px rgba(62, 231, 255, 0.12), inset 0 0 55px rgba(62, 231, 255, 0.06);
}

.mi-wow-radar__core::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(166, 136, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(166, 136, 255, 0.1);
}

.mi-wow-radar__core small,
.mi-wow-radar__core span {
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mi-wow-radar__core strong {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tx-1);
}

.mi-wow-radar__badge {
  position: absolute;
  z-index: 3;
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(11, 16, 27, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.mi-wow-radar__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--tx-1);
}

.mi-wow-radar__badge span {
  display: block;
  margin-top: 6px;
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mi-wow-radar__badge--top { top: 3%; right: 20%; }
.mi-wow-radar__badge--left { left: 0; top: 51%; }
.mi-wow-radar__badge--right { right: 0; bottom: 14%; }

/* =========================================================
   5. SNAPSHOT KPI BAND
   ========================================================= */

.mi-wow-snapshot {
  padding: 30px 0 34px;
  border-bottom: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.98), rgba(8, 11, 19, 0.7));
}

.mi-wow-stat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.mi-wow-stat {
  position: relative;
  min-height: 118px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(18, 24, 38, 0.85), rgba(10, 14, 24, 0.85));
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.mi-wow-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 231, 255, 0.28);
}

.mi-wow-stat:first-child {
  border-color: rgba(62, 231, 255, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 231, 255, 0.14), transparent 60%),
    linear-gradient(150deg, rgba(18, 24, 38, 0.9), rgba(10, 14, 24, 0.92));
}

.mi-wow-stat::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 231, 255, 0.14), transparent 65%);
  pointer-events: none;
}

.mi-wow-stat span {
  display: block;
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

.mi-wow-stat strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tx-1);
}

.mi-wow-stat--hero strong {
  font-size: clamp(32px, 3.6vw, 52px);
  color: var(--c-cyan);
  text-shadow: 0 0 30px rgba(62, 231, 255, 0.28);
}

.mi-wow-stat small {
  display: block;
  margin-top: 10px;
  color: var(--tx-4);
  font-size: 10px;
  line-height: 1.5;
}

/* =========================================================
   6. EXPLORER (filters)
   ========================================================= */

.mi-wow-explorer {
  position: relative;
  padding: 100px 0 90px;
}

.mi-wow-filter-panel {
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 231, 255, 0.06), transparent 40%),
    linear-gradient(150deg, rgba(17, 23, 38, 0.9), rgba(9, 13, 22, 0.92));
  box-shadow: var(--shadow);
}

.mi-wow-filter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.mi-wow-filter-head span {
  color: var(--tx-3);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mi-wow-filter-head span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 14px rgba(78, 224, 161, 0.65);
}

.mi-wow-filter-head small {
  color: var(--tx-4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mi-wow-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
}

.mi-wow-filters label {
  display: grid;
  gap: 8px;
}

.mi-wow-filters label span {
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mi-wow-filters select {
  width: 100%;
  min-height: 50px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  outline: 0;
  color: var(--tx-1);
  background-color: rgba(255, 255, 255, 0.03);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--tx-3) 50%),
    linear-gradient(135deg, var(--tx-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.mi-wow-filters select:hover {
  border-color: var(--line-3);
  background-color: rgba(255, 255, 255, 0.05);
}

.mi-wow-filters select:focus {
  border-color: rgba(62, 231, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(62, 231, 255, 0.1);
}

.mi-wow-filters select option {
  background: #0d1220;
  color: var(--tx-1);
}

.mi-wow-filters button {
  align-self: end;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--tx-3);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: 0.2s ease;
}

.mi-wow-filters button:hover {
  color: var(--tx-1);
  border-color: rgba(62, 231, 255, 0.3);
  background: rgba(62, 231, 255, 0.06);
}

.mi-wow-filter-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-1);
  color: var(--tx-4);
  font-size: 11px;
}

#mi-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 32px;
}

#mi-filter-chips > span {
  color: var(--tx-4);
  font-size: 11px;
}

.mi-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgba(62, 231, 255, 0.25);
  border-radius: 999px;
  background: rgba(62, 231, 255, 0.08);
  color: var(--c-cyan);
  font-size: 11px;
  font-weight: 600;
}

.mi-filter-chip button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(62, 231, 255, 0.18);
  color: var(--c-cyan);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease;
}

.mi-filter-chip button:hover {
  background: rgba(255, 95, 126, 0.3);
  color: #ffd2d9;
}

.mi-filter-empty {
  color: var(--tx-4);
  font-size: 11px;
  font-style: italic;
}

.mi-wow-filter-total {
  display: flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
}

.mi-wow-filter-total small {
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mi-wow-filter-total strong {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-cyan);
}

.mi-wow-filter-total span {
  color: var(--tx-4);
  font-size: 11px;
}

.mi-wow-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
  padding: 18px 22px;
  border: 1px solid rgba(62, 231, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(62, 231, 255, 0.035);
}

.mi-wow-context span {
  display: block;
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mi-wow-context strong {
  display: block;
  margin-top: 5px;
  color: var(--tx-1);
  font-size: 14px;
  font-weight: 600;
}

.mi-wow-context > a {
  color: var(--c-cyan);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.mi-wow-context > a:hover {
  transform: translateX(3px);
}

/* =========================================================
   7. EXPLORER LINKS (Geography + Sectors panels)
   ========================================================= */

.mi-wow-explorer-links {
  padding: 0 0 100px;
}

.mi-wow-explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.mi-wow-link-panel {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 231, 255, 0.05), transparent 45%),
    linear-gradient(155deg, rgba(16, 22, 37, 0.92), rgba(9, 13, 22, 0.94));
  box-shadow: var(--shadow-sm);
}

.mi-wow-link-panel--purple {
  background:
    radial-gradient(circle at 100% 0%, rgba(166, 136, 255, 0.09), transparent 45%),
    linear-gradient(155deg, rgba(24, 20, 42, 0.92), rgba(10, 12, 22, 0.95));
}

.mi-wow-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 26px 18px;
}

.mi-wow-panel-head > div > span:first-child {
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mi-wow-panel-head h3 {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tx-1);
}

.mi-wow-panel-index {
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}

.mi-wow-link-panel--purple .mi-wow-panel-index {
  color: var(--c-purple-2);
}

.mi-wow-market-link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  margin: 0 12px 8px;
  padding: 15px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.mi-wow-market-link:hover {
  transform: translateX(3px);
  border-color: rgba(62, 231, 255, 0.18);
  background: rgba(62, 231, 255, 0.05);
}

.mi-wow-link-panel--purple .mi-wow-market-link:hover {
  border-color: rgba(166, 136, 255, 0.22);
  background: rgba(166, 136, 255, 0.05);
}

.mi-wow-rank {
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.mi-wow-market-link__body {
  min-width: 0;
}

.mi-wow-market-link__body strong {
  display: block;
  overflow: hidden;
  color: var(--tx-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-wow-market-link__body i {
  display: block;
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(140, 160, 190, 0.08);
}

.mi-wow-market-link__body i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-cyan), rgba(62, 231, 255, 0.15));
  box-shadow: 0 0 12px rgba(62, 231, 255, 0.35);
}

.mi-wow-link-panel--purple .mi-wow-market-link__body i b {
  background: linear-gradient(90deg, var(--c-purple), rgba(166, 136, 255, 0.18));
  box-shadow: 0 0 12px rgba(166, 136, 255, 0.35);
}

.mi-wow-market-link__value {
  min-width: 62px;
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.mi-wow-link-panel--purple .mi-wow-market-link__value {
  color: var(--c-purple-2);
}

.mi-wow-market-link__value small {
  display: block;
  margin-top: 4px;
  color: var(--tx-4);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
}

.mi-wow-arrow {
  color: var(--tx-4);
  font-size: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mi-wow-market-link:hover .mi-wow-arrow {
  color: var(--c-cyan);
  transform: translate(2px, -2px);
}

.mi-wow-link-panel--purple .mi-wow-market-link:hover .mi-wow-arrow {
  color: var(--c-purple-2);
}

.mi-wow-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 18px 26px 24px;
  padding: 14px 16px;
  border: 1px solid rgba(62, 231, 255, 0.14);
  border-radius: 14px;
  background: rgba(62, 231, 255, 0.04);
}

.mi-wow-link-panel--purple .mi-wow-highlight {
  border-color: rgba(166, 136, 255, 0.16);
  background: rgba(166, 136, 255, 0.045);
}

.mi-wow-highlight span {
  color: var(--tx-4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mi-wow-highlight strong {
  overflow: hidden;
  color: var(--tx-2);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-wow-highlight b {
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}

.mi-wow-link-panel--purple .mi-wow-highlight b {
  color: var(--c-purple-2);
}

/* =========================================================
   8. JS-RENDERED COMPONENTS
   ========================================================= */

/* --- Regions --- */
.mi-region-top3 {
  display: grid;
  gap: 10px;
  padding: 0 14px 12px;
}

.mi-region-leader {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line-1);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(62, 231, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mi-region-leader:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 231, 255, 0.25);
}

.mi-region-leader--1 { border-color: rgba(62, 231, 255, 0.28); background: linear-gradient(135deg, rgba(62, 231, 255, 0.09), rgba(255, 255, 255, 0.02)); }
.mi-region-leader--2 { border-color: rgba(166, 136, 255, 0.2); background: linear-gradient(135deg, rgba(166, 136, 255, 0.06), rgba(255, 255, 255, 0.015)); }
.mi-region-leader--3 { border-color: rgba(255, 154, 77, 0.2); background: linear-gradient(135deg, rgba(255, 154, 77, 0.06), rgba(255, 255, 255, 0.015)); }

.mi-region-leader__rank {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-cyan);
  text-align: center;
  letter-spacing: -0.03em;
}

.mi-region-leader--2 .mi-region-leader__rank { color: var(--c-purple-2); }
.mi-region-leader--3 .mi-region-leader__rank { color: var(--c-orange); }

.mi-region-leader__body span {
  display: block;
  color: var(--tx-2);
  font-size: 13px;
  font-weight: 700;
}

.mi-region-leader__body strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tx-1);
}

.mi-region-leader__body small {
  display: block;
  margin-top: 3px;
  color: var(--tx-4);
  font-size: 10px;
  font-weight: 600;
}

.mi-region-leader__body .mi-track,
.mi-wow-market-link__body .mi-track,
.mi-sector-item__body .mi-track,
.mi-legal-row .mi-track {
  display: block;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(140, 160, 190, 0.08);
}

.mi-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-cyan), rgba(62, 231, 255, 0.12));
  box-shadow: 0 0 12px rgba(62, 231, 255, 0.4);
}

.mi-track--purple i {
  background: linear-gradient(90deg, var(--c-purple), rgba(166, 136, 255, 0.12));
  box-shadow: 0 0 12px rgba(166, 136, 255, 0.4);
}

.mi-region-rest {
  display: grid;
  gap: 6px;
  padding: 0 14px 18px;
}

.mi-region-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 11px;
  transition: background 0.2s ease;
}

.mi-region-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.mi-region-row__rank {
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.mi-region-row__body { min-width: 0; }

.mi-region-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.mi-region-row__top strong {
  overflow: hidden;
  color: var(--tx-2);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-region-row__top span {
  color: var(--tx-3);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Sectors --- */
.mi-sector-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin: 0 12px 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.mi-sector-item:hover {
  transform: translateX(3px);
  border-color: rgba(166, 136, 255, 0.18);
  background: rgba(166, 136, 255, 0.05);
}

.mi-sector-item__rank {
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
}

.mi-sector-item__body { min-width: 0; }

.mi-sector-item__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.mi-sector-item__heading strong {
  overflow: hidden;
  color: var(--tx-2);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-sector-item__heading span {
  color: var(--c-purple-2);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mi-sector-item__body small {
  display: block;
  margin-top: 6px;
  color: var(--tx-4);
  font-size: 10px;
  font-weight: 600;
}

/* --- Legal forms --- */
.mi-legal-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(140, 160, 190, 0.07);
}

.mi-legal-row:first-child { border-top: 0; }

.mi-legal-row__index {
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
}

.mi-legal-row strong {
  display: block;
  overflow: hidden;
  color: var(--tx-2);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mi-legal-row > span:last-child {
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

/* --- Combos --- */
.mi-combo-item {
  padding: 16px;
  margin-bottom: 8px;
  border: 1px solid var(--line-1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mi-combo-item:hover {
  border-color: rgba(62, 231, 255, 0.2);
  background: rgba(62, 231, 255, 0.04);
}

.mi-combo-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mi-combo-item__top span:last-child {
  color: var(--c-cyan);
}

.mi-combo-item strong {
  display: block;
  color: var(--tx-1);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.mi-combo-item small {
  display: block;
  margin-top: 5px;
  color: var(--tx-4);
  font-size: 10px;
  font-weight: 600;
}

/* --- Insights --- */
.mi-insight-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(62, 231, 255, 0.06), transparent 55%),
    linear-gradient(155deg, rgba(17, 23, 38, 0.9), rgba(9, 13, 22, 0.94));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mi-insight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 231, 255, 0.24);
}

.mi-insight-card__index {
  display: inline-block;
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.mi-insight-card strong {
  display: block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--c-cyan);
}

.mi-insight-card h3 {
  margin: 10px 0 0;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.mi-insight-card p {
  margin: 8px 0 0;
  color: var(--tx-3);
  font-size: 12px;
  line-height: 1.6;
}

/* =========================================================
   9. PIPELINE
   ========================================================= */

.mi-wow-pipeline {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--line-1);
}

.mi-wow-pipeline-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}

.mi-wow-pipeline-grid article {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(15, 20, 33, 0.86), rgba(8, 11, 19, 0.9));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mi-wow-pipeline-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 231, 255, 0.24);
}

.mi-wow-pipeline-grid article > span {
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mi-wow-pipeline-grid article > i {
  display: block;
  margin-top: 32px;
  color: var(--c-cyan);
  font-size: 26px;
  font-style: normal;
  text-shadow: 0 0 24px rgba(62, 231, 255, 0.35);
}

.mi-wow-pipeline-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mi-wow-pipeline-grid p {
  margin: 10px 0 0;
  color: var(--tx-3);
  font-size: 13px;
  line-height: 1.65;
}

.mi-wow-pipeline-card--hot {
  border-color: rgba(62, 231, 255, 0.28) !important;
  background: linear-gradient(155deg, rgba(62, 231, 255, 0.1), rgba(15, 20, 33, 0.94)) !important;
  box-shadow: 0 22px 70px rgba(62, 231, 255, 0.1);
}

.mi-wow-pipeline-arrow {
  align-self: center;
  color: var(--tx-4);
  font-size: 20px;
}

/* =========================================================
   10. OPPORTUNITIES
   ========================================================= */

.mi-wow-opportunities {
  padding: 96px 0;
  background: linear-gradient(180deg, rgba(8, 11, 19, 0.5), rgba(10, 14, 24, 0.7));
  border-top: 1px solid var(--line-1);
}

.mi-wow-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mi-wow-opportunity {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  min-height: 260px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 100%, rgba(62, 231, 255, 0.08), transparent 55%),
    linear-gradient(155deg, rgba(15, 20, 33, 0.92), rgba(9, 13, 22, 0.94));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.mi-wow-opportunity::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -35%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 231, 255, 0.15), transparent 65%);
  pointer-events: none;
}

.mi-wow-opportunity--purple::after {
  background: radial-gradient(circle, rgba(166, 136, 255, 0.18), transparent 65%);
}

.mi-wow-opportunity:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 231, 255, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(62, 231, 255, 0.08);
}

.mi-wow-opportunity--purple:hover {
  border-color: rgba(166, 136, 255, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(166, 136, 255, 0.08);
}

.mi-wow-opportunity__icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 231, 255, 0.28);
  border-radius: 15px;
  color: var(--c-cyan);
  background: rgba(62, 231, 255, 0.06);
  font-size: 24px;
}

.mi-wow-opportunity--purple .mi-wow-opportunity__icon {
  color: var(--c-purple-2);
  border-color: rgba(166, 136, 255, 0.3);
  background: rgba(166, 136, 255, 0.08);
}

.mi-wow-opportunity small {
  position: relative;
  z-index: 1;
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.mi-wow-opportunity h3 {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mi-wow-opportunity p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--tx-3);
  font-size: 14px;
  line-height: 1.75;
}

.mi-wow-opportunity > b {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  color: var(--c-cyan);
  font-size: 12px;
  font-weight: 800;
}

.mi-wow-opportunity--purple > b {
  color: var(--c-purple-2);
}

/* =========================================================
   11. ANALYTICS
   ========================================================= */

.mi-wow-analytics {
  padding: 96px 0 106px;
  border-top: 1px solid var(--line-1);
}

.mi-wow-analytics-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.mi-wow-chart-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 231, 255, 0.05), transparent 45%),
    linear-gradient(155deg, rgba(15, 20, 33, 0.92), rgba(9, 13, 22, 0.94));
  box-shadow: var(--shadow-sm);
}

.mi-wow-chart-card--momentum {
  background:
    radial-gradient(circle at 100% 0%, rgba(166, 136, 255, 0.08), transparent 45%),
    linear-gradient(155deg, rgba(15, 20, 33, 0.92), rgba(9, 13, 22, 0.94));
}

.mi-wow-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mi-wow-card-head > span {
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mi-wow-card-head small {
  display: block;
  margin-top: 8px;
  color: var(--tx-2);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
}

.mi-wow-donut-wrap {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.mi-wow-donut-wrap .mi-donut {
  position: relative;
  width: 200px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--c-cyan) 0 var(--mi-donut-angle, 0deg),
    rgba(140, 160, 190, 0.08) var(--mi-donut-angle, 0deg) 360deg
  );
  box-shadow: 0 0 60px rgba(62, 231, 255, 0.12);
}

.mi-wow-donut-wrap .mi-donut::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #0a0e18;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.mi-wow-donut-wrap .mi-donut > div {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}

.mi-wow-donut-wrap .mi-donut span {
  display: block;
  color: var(--tx-4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mi-wow-donut-wrap .mi-donut strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--tx-1);
}

.mi-wow-legal-summary span {
  display: block;
  color: var(--tx-4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mi-wow-legal-summary strong {
  display: block;
  margin-top: 10px;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.mi-wow-legal-summary b {
  display: block;
  margin-top: 8px;
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
}

.mi-wow-legal-list {
  margin-top: 28px;
}

.mi-chart-controls {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
}

.mi-chart-controls button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--tx-4);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: 0.2s ease;
}

.mi-chart-controls button.is-active,
.mi-chart-controls button:hover {
  color: var(--tx-1);
  background: rgba(62, 231, 255, 0.12);
}

.mi-wow-momentum-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.mi-wow-momentum-kpis > div {
  padding: 16px;
  border: 1px solid var(--line-1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.02);
}

.mi-wow-momentum-kpis span {
  display: block;
  color: var(--tx-4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mi-wow-momentum-kpis strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tx-1);
}

.mi-wow-momentum-kpis small {
  display: block;
  margin-top: 7px;
  color: var(--tx-4);
  font-size: 10px;
}

.mi-line-chart {
  position: relative;
  min-height: 260px;
  margin-top: 22px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line-1);
  border-radius: 16px;
  background:
    linear-gradient(rgba(140, 160, 190, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 160, 190, 0.04) 1px, transparent 1px),
    rgba(4, 8, 15, 0.4);
  background-size: 100% 25%, 12.5% 100%, auto;
}

.mi-line-chart svg {
  width: 100%;
  height: auto;
}

.mi-line-chart__grid line {
  stroke: rgba(140, 160, 190, 0.1);
  stroke-dasharray: 3 4;
  stroke-width: 1;
}

.mi-line-chart__area {
  fill: url(#miArea);
}

.mi-line-chart__line {
  fill: none;
  stroke: #4ee0a1;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(78, 224, 161, 0.55));
}

.mi-line-chart__point {
  fill: #4ee0a1;
  stroke: #0a0e18;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(78, 224, 161, 0.9));
}

.mi-chart-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--tx-4);
  font-size: 12px;
}

/* =========================================================
   12. AI SALES RADAR DEMO
   ========================================================= */

.mi-wow-radar-demo {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 15% 45%, rgba(62, 231, 255, 0.09), transparent 55%),
    radial-gradient(900px 600px at 86% 52%, rgba(166, 136, 255, 0.1), transparent 55%);
  border-top: 1px solid var(--line-1);
}

.mi-wow-radar-demo__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 60px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--line-2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 231, 255, 0.06), transparent 45%),
    linear-gradient(155deg, rgba(16, 22, 37, 0.86), rgba(8, 11, 19, 0.95));
  box-shadow: var(--shadow-lg);
}

.mi-wow-radar-demo__copy h2 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(34px, 4.2vw, 66px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: var(--tx-1);
}

.mi-wow-radar-demo__copy h2 em {
  color: var(--c-cyan);
  font-style: normal;
}

.mi-wow-radar-demo__copy h2 strong {
  color: #ffffff;
}

.mi-wow-radar-demo__copy > p {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--tx-3);
  font-size: 15px;
  line-height: 1.8;
}

.mi-wow-signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mi-wow-signal-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--tx-3);
  background: rgba(255, 255, 255, 0.024);
  font-size: 10px;
  font-weight: 700;
}

.mi-wow-signal-list i {
  color: var(--c-cyan);
  font-style: normal;
}

.mi-wow-radar-demo__copy .mi-wow-btn {
  margin-top: 26px;
}

.mi-wow-radar-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(62, 231, 255, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 12%, rgba(62, 231, 255, 0.09), transparent 55%),
    linear-gradient(155deg, #0c1322, #080d18);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.4), 0 0 50px rgba(62, 231, 255, 0.06);
}

.mi-wow-console-top,
.mi-wow-console-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-1);
}

.mi-wow-console-top span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mi-wow-console-top span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 16px rgba(62, 231, 255, 0.85);
}

.mi-wow-console-top small {
  color: var(--tx-4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mi-wow-console-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 20px;
}

.mi-wow-console-filters span {
  padding: 13px;
  border: 1px solid var(--line-1);
  border-radius: 12px;
  color: var(--tx-4);
  background: rgba(255, 255, 255, 0.02);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.mi-wow-console-filters b {
  display: block;
  margin-top: 8px;
  color: var(--tx-1);
  font-size: 11px;
  letter-spacing: normal;
  font-weight: 700;
}

.mi-wow-console-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 4px 20px 20px;
  padding: 16px;
  border: 1px solid rgba(78, 224, 161, 0.18);
  border-radius: 14px;
  background: rgba(78, 224, 161, 0.04);
}

.mi-wow-hot {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #04150e;
  background: var(--c-green);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  box-shadow: 0 0 20px rgba(78, 224, 161, 0.5);
}

.mi-wow-console-result strong {
  display: block;
  color: var(--tx-1);
  font-size: 13px;
  font-weight: 700;
}

.mi-wow-console-result small {
  display: block;
  margin-top: 5px;
  color: var(--tx-3);
  font-size: 10px;
  line-height: 1.5;
}

.mi-wow-console-result > b {
  color: var(--c-cyan);
  font-size: 18px;
}

.mi-wow-console-footer {
  border-top: 1px solid var(--line-1);
  border-bottom: 0;
  color: var(--tx-4);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* =========================================================
   13. PSEO HUB
   ========================================================= */

.mi-wow-pseo-hub {
  padding: 105px 0 120px;
  border-top: 1px solid var(--line-1);
}

.mi-wow-pseo-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mi-wow-pseo-columns > div {
  min-width: 0;
  min-height: 340px;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 231, 255, 0.05), transparent 45%),
    linear-gradient(155deg, rgba(15, 21, 36, 0.9), rgba(9, 13, 23, 0.94));
}

.mi-wow-pseo-label {
  display: block;
  color: var(--tx-4);
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}

.mi-wow-pseo-columns a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--tx-2);
  background: rgba(255, 255, 255, 0.018);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.mi-wow-pseo-columns a:hover {
  transform: translateX(3px);
  color: var(--tx-1);
  border-color: rgba(62, 231, 255, 0.18);
  background: rgba(62, 231, 255, 0.05);
}

.mi-wow-pseo-columns a b {
  color: var(--tx-4);
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.mi-wow-pseo-columns a:hover b {
  color: var(--c-cyan);
  transform: translate(2px, -2px);
}

/* =========================================================
   14. VALUE PROPOSITION — .mi-plan / .mi-section / .mi-kicker
   ========================================================= */

.mi-section {
  padding: 96px 0;
  border-top: 1px solid var(--line-1);
}

.mi-section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.mi-section-head h2,
.mi-plan h2,
.mi-faq h2 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 3.6vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--tx-1);
}

.mi-plan {
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(62, 231, 255, 0.05), transparent 60%),
    linear-gradient(180deg, rgba(8, 11, 19, 0.5), rgba(8, 11, 19, 0));
}

.mi-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mi-plan-grid article {
  position: relative;
  min-height: 240px;
  padding: 30px 26px 28px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 100%, rgba(166, 136, 255, 0.08), transparent 55%),
    linear-gradient(155deg, rgba(15, 20, 33, 0.92), rgba(9, 13, 22, 0.94));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.mi-plan-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-purple));
  opacity: 0.7;
  transition: opacity 0.28s ease;
}

.mi-plan-grid article:nth-child(2)::before {
  background: linear-gradient(90deg, var(--c-purple), var(--c-pink));
}

.mi-plan-grid article:nth-child(3)::before {
  background: linear-gradient(90deg, var(--c-green), var(--c-cyan));
}

.mi-plan-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 231, 255, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(62, 231, 255, 0.08);
}

.mi-plan-grid article:hover::before {
  opacity: 1;
}

.mi-plan-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(62, 231, 255, 0.28);
  border-radius: 12px;
  background: rgba(62, 231, 255, 0.06);
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mi-plan-grid article:nth-child(2) > span {
  border-color: rgba(166, 136, 255, 0.3);
  background: rgba(166, 136, 255, 0.08);
  color: var(--c-purple-2);
}

.mi-plan-grid article:nth-child(3) > span {
  border-color: rgba(78, 224, 161, 0.3);
  background: rgba(78, 224, 161, 0.08);
  color: var(--c-green);
}

.mi-plan-grid h3 {
  margin: 20px 0 0;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mi-plan-grid p {
  margin: 12px 0 0;
  color: var(--tx-3);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================================
   15. FAQ — .mi-faq / .mi-faq__layout / .mi-faq-list
   ========================================================= */

.mi-faq {
  background:
    radial-gradient(700px 400px at 80% 100%, rgba(166, 136, 255, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(8, 11, 19, 0), rgba(8, 11, 19, 0.5));
}

.mi-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
}

.mi-faq__layout > div:first-child {
  position: sticky;
  top: 100px;
}

.mi-faq-list {
  display: grid;
  gap: 12px;
}

.mi-faq-list details {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(15, 20, 33, 0.88), rgba(9, 13, 22, 0.92));
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.mi-faq-list details:hover {
  border-color: rgba(62, 231, 255, 0.2);
}

.mi-faq-list details[open] {
  border-color: rgba(62, 231, 255, 0.32);
  background:
    radial-gradient(circle at 0% 0%, rgba(62, 231, 255, 0.06), transparent 55%),
    linear-gradient(155deg, rgba(15, 20, 33, 0.94), rgba(9, 13, 22, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(62, 231, 255, 0.05);
}

.mi-faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  color: var(--tx-1);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.mi-faq-list summary::-webkit-details-marker {
  display: none;
}

.mi-faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(62, 231, 255, 0.3);
  border-radius: 50%;
  background: rgba(62, 231, 255, 0.06);
  color: var(--c-cyan);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.28s ease, background 0.2s ease, border-color 0.2s ease;
}

.mi-faq-list details[open] summary::after {
  content: "−";
  background: rgba(166, 136, 255, 0.12);
  border-color: rgba(166, 136, 255, 0.4);
  color: var(--c-purple-2);
  transform: rotate(180deg);
}

.mi-faq-list summary:hover {
  color: var(--c-cyan);
}

.mi-faq-list details[open] summary {
  color: var(--c-cyan);
}

.mi-faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--tx-3);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid var(--line-1);
  padding-top: 18px;
  margin-top: 0;
}

.mi-faq-list details[open] p {
  animation: mi-faq-slide 0.3s ease;
}

@keyframes mi-faq-slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   16. FOCUS / ACCESSIBILITY
   ========================================================= */

.market-intelligence a:focus-visible,
.market-intelligence button:focus-visible,
.market-intelligence select:focus-visible,
.market-intelligence summary:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 3px;
}

.market-intelligence ::selection {
  color: #041017;
  background: var(--c-cyan);
}

@keyframes miw-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes miw-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .market-intelligence *,
  .market-intelligence *::before,
  .market-intelligence *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   17. LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {
  .mi-wow-hero__inner {
    grid-template-columns: minmax(0, 0.96fr) minmax(520px, 0.9fr);
  }
}

/* =========================================================
   18. TABLET
   ========================================================= */

@media (max-width: 1080px) {
  .mi-wow-hero {
    min-height: auto;
    padding-top: 70px;
  }

  .mi-wow-hero__inner,
  .mi-wow-radar-demo__shell,
  .mi-wow-analytics-grid,
  .mi-wow-explorer-grid,
  .mi-faq__layout {
    grid-template-columns: 1fr;
  }

  .mi-faq__layout {
    gap: 28px;
  }

  .mi-faq__layout > div:first-child {
    position: static;
  }

  .mi-wow-radar {
    width: min(100%, 560px);
    justify-self: center;
    margin-top: 10px;
  }

  .mi-wow-hero__bottom {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(calc(100% - 2 * var(--pad)), var(--max));
    margin: 12px auto 0;
    transform: none;
  }

  /* Snapshot KPI: 2x2 grid on tablet */
  .mi-wow-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-wow-stat:first-child {
    grid-column: 1 / -1;
  }

  .mi-wow-pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-wow-pipeline-arrow {
    display: none;
  }

  .mi-wow-pseo-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-wow-pseo-columns > div:last-child {
    grid-column: 1 / -1;
  }

  .mi-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mi-plan-grid article:last-child {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   19. MOBILE
   ========================================================= */

@media (max-width: 720px) {
  :root {
    --pad: 14px;
    --radius-lg: 18px;
    --radius: 14px;
  }

  .mi-wow-hero {
    padding: 55px 0 24px;
  }

  .mi-wow-hero__inner {
    gap: 34px;
  }

  .mi-wow-eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  .mi-wow-eyebrow-line {
    width: 34px;
  }

  .mi-wow-hero h1 {
    font-size: clamp(40px, 12.5vw, 62px);
    letter-spacing: -0.05em;
  }

  .mi-wow-hero__lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.72;
  }

  .mi-wow-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .mi-wow-btn {
    width: 100%;
  }

  .mi-wow-hero__trust {
    gap: 9px 13px;
    font-size: 9px;
  }

  .mi-wow-radar {
    width: min(92vw, 440px);
  }

  .mi-wow-radar__core {
    width: 148px;
    padding: 14px;
  }

  .mi-wow-radar__core strong {
    font-size: 24px;
  }

  .mi-wow-radar__badge {
    min-width: 108px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .mi-wow-radar__badge strong {
    font-size: 15px;
  }

  .mi-wow-radar__badge span {
    font-size: 7px;
  }

  .mi-wow-radar__badge--left { left: -4%; top: 51%; }
  .mi-wow-radar__badge--right { right: -4%; bottom: 12%; }
  .mi-wow-radar__badge--top { right: 9%; }

  .mi-wow-hero__bottom {
    font-size: 7px;
    padding-top: 16px;
  }

  .mi-wow-hero__bottom > span:last-child {
    display: none;
  }

  .mi-wow-snapshot {
    padding: 22px 0 26px;
  }

  /* KPI cards: 1 per row on mobile so text never wraps */
  .mi-wow-stat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mi-wow-stat {
    min-height: 108px;
    padding: 18px;
    border-radius: 14px;
  }

  .mi-wow-stat--hero strong {
    font-size: 34px;
  }

  .mi-wow-stat strong {
    font-size: 24px;
  }

  .mi-wow-section-intro {
    display: block;
    margin-bottom: 30px;
  }

  .mi-wow-section-intro h2 {
    font-size: clamp(30px, 10.5vw, 46px);
  }

  .mi-wow-section-intro > p {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.7;
  }

  .mi-wow-explorer,
  .mi-wow-explorer-links,
  .mi-wow-pipeline,
  .mi-wow-opportunities,
  .mi-wow-analytics,
  .mi-wow-radar-demo,
  .mi-wow-pseo-hub,
  .mi-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .mi-wow-filter-panel,
  .mi-wow-chart-card {
    padding: 18px;
    border-radius: 18px;
  }

  .mi-wow-filter-head {
    display: block;
    margin-bottom: 16px;
  }

  .mi-wow-filter-head small {
    display: block;
    margin-top: 8px;
  }

  .mi-wow-filters {
    grid-template-columns: 1fr;
  }

  .mi-wow-filters button {
    width: 100%;
  }

  .mi-wow-filter-state {
    display: block;
    font-size: 10px;
  }

  .mi-wow-filter-state > * + * {
    margin-top: 10px;
  }

  .mi-wow-filter-total {
    flex-wrap: wrap;
  }

  .mi-wow-filter-total strong {
    font-size: 24px;
  }

  .mi-wow-context {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mi-wow-link-panel {
    border-radius: 18px;
  }

  .mi-wow-panel-head {
    padding: 20px 18px 14px;
  }

  .mi-wow-panel-head h3 {
    font-size: 22px;
  }

  .mi-wow-market-link {
    grid-template-columns: 26px minmax(0, 1fr) auto 12px;
    gap: 8px;
    margin-inline: 8px;
    padding: 12px 10px;
    border-radius: 12px;
  }

  .mi-wow-market-link__body strong {
    font-size: 12px;
  }

  .mi-wow-market-link__value {
    min-width: 48px;
    font-size: 11px;
  }

  .mi-wow-market-link__value small {
    font-size: 8px;
  }

  .mi-wow-highlight {
    grid-template-columns: 1fr auto;
    margin: 14px 18px 18px;
  }

  .mi-wow-highlight strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mi-region-top3,
  .mi-region-rest {
    padding-inline: 8px;
  }

  .mi-region-leader {
    padding: 14px;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .mi-region-leader__rank {
    font-size: 18px;
  }

  .mi-region-leader__body strong {
    font-size: 17px;
  }

  .mi-wow-pipeline-grid,
  .mi-wow-opportunity-grid,
  .mi-wow-pseo-columns,
  .mi-plan-grid {
    grid-template-columns: 1fr;
  }

  .mi-plan-grid article:last-child {
    grid-column: auto;
  }

  .mi-wow-pipeline-grid article {
    min-height: 0;
  }

  .mi-wow-opportunity {
    min-height: 240px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border-radius: 18px;
  }

  .mi-wow-opportunity__icon {
    width: 46px;
    height: 46px;
  }

  .mi-wow-opportunity h3 {
    font-size: 27px;
  }

  .mi-wow-opportunity p {
    font-size: 12px;
  }

  .mi-wow-opportunity > b {
    right: 22px;
    bottom: 20px;
  }

  .mi-wow-analytics-grid {
    grid-template-columns: 1fr;
  }

  .mi-wow-donut-wrap {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
  }

  .mi-wow-donut-wrap .mi-donut {
    width: 140px;
  }

  .mi-wow-donut-wrap .mi-donut strong {
    font-size: 22px;
  }

  .mi-wow-donut-wrap .mi-donut > div {
    padding: 12px;
  }

  .mi-wow-momentum-kpis {
    gap: 8px;
  }

  .mi-wow-momentum-kpis > div {
    padding: 12px;
  }

  .mi-wow-momentum-kpis strong {
    font-size: 19px;
  }

  .mi-wow-radar-demo__shell {
    gap: 34px;
    padding: 20px;
    border-radius: 20px;
  }

  .mi-wow-radar-demo__copy h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .mi-wow-radar-demo__copy > p {
    font-size: 13px;
  }

  .mi-wow-console-filters {
    grid-template-columns: 1fr;
  }

  .mi-wow-console-result {
    grid-template-columns: auto minmax(0, 1fr);
    margin-inline: 14px;
  }

  .mi-wow-console-result > b {
    display: none;
  }

  .mi-wow-pseo-columns > div {
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  /* Plan section mobile */
  .mi-section-head h2,
  .mi-plan h2,
  .mi-faq h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .mi-plan-grid article {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 18px;
  }

  /* FAQ mobile */
  .mi-faq-list summary {
    padding: 18px 18px;
    font-size: 15px;
  }

  .mi-faq-list summary::after {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .mi-faq-list p {
    padding: 0 18px 20px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .mi-wow-radar__badge--left,
  .mi-wow-radar__badge--right {
    display: none;
  }

  .mi-wow-radar__badge--top {
    right: 3%;
    top: 2%;
  }

  .mi-wow-card-head {
    display: block;
  }

  .mi-chart-controls {
    margin-top: 12px;
  }
}