/* ================================================================
   BATTLE MVP — HOW IT WORKS (Final)
   Prefix: hiw-  · Clean · No conflicts
   ================================================================ */

:root {
  --hiw-bg:   #050b12;
  --hiw-card: #0c1218;
  --hiw-sep:  rgba(255,255,255,.06);
  --hiw-acc:  #00ffa6;
  --hiw-acc2: #00d8ff;
  --hiw-txt:  #eaf1ff;
  --hiw-mut:  #4a6070;
  --hiw-r:    10px;
}

.hiw { display:flex; flex-direction:column; gap:12px; }

/* ── LIVE DOT ── */
.hiw-dot-live {
  display:inline-block; width:7px; height:7px; border-radius:50%;
  background:var(--hiw-acc); box-shadow:0 0 8px var(--hiw-acc);
  animation:hiwPulse 1.4s ease-in-out infinite; flex-shrink:0;
}
.hiw-dot-live.small { width:5px; height:5px; }
.hiw-dot-live.tiny  { width:5px; height:5px; margin-right:4px; }
@keyframes hiwPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hiw-hero {
  position:relative; border-radius:12px;
  border:1px solid rgba(0,255,166,.12);
  overflow:hidden; background:var(--hiw-card);
}

/* BG */
.hiw-hbg { position:absolute; inset:0; pointer-events:none; z-index:0; }
.hiw-hbg-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(0,255,166,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,166,.025) 1px, transparent 1px);
  background-size:32px 32px;
}
.hiw-hbg-orb {
  position:absolute; border-radius:50%; filter:blur(70px); pointer-events:none;
}
.hiw-hbg-orb.a {
  width:300px; height:300px; top:-80px; left:-60px;
  background:radial-gradient(circle, rgba(0,255,166,.18) 0%, transparent 70%);
}
.hiw-hbg-orb.b {
  width:260px; height:260px; top:-60px; right:-60px;
  background:radial-gradient(circle, rgba(0,216,255,.12) 0%, transparent 70%);
}
.hiw-hbg-scan {
  position:absolute; top:0; left:-50%; width:30%; height:2px;
  background:linear-gradient(90deg, transparent, var(--hiw-acc), var(--hiw-acc2), transparent);
  animation:hiwScan 5s ease-in-out infinite;
}
@keyframes hiwScan { 0%{left:-30%} 100%{left:120%} }
.hiw-hbg-line {
  position:absolute; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(0,255,166,.15), transparent);
}
.hiw-hbg-line.t { top:0; }
.hiw-hbg-line.b { bottom:0; }

/* HERO INNER */
.hiw-hero-in {
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 340px;
  gap:0; min-height:360px;
}

/* LEFT */
.hiw-hero-l {
  padding:32px 28px 28px;
  display:flex; flex-direction:column; gap:16px;
  border-right:1px solid var(--hiw-sep);
}
.hiw-hero-eyebrow {
  display:flex; align-items:center; gap:8px;
  font-size:9px; font-weight:700; letter-spacing:.18em; color:var(--hiw-acc);
  text-transform:uppercase;
}
.hiw-h1 {
  font-size:48px; font-weight:900; line-height:1.05;
  color:var(--hiw-txt); letter-spacing:-.01em; margin:0;
}
.hiw-h1-acc {
  color:var(--hiw-acc); text-shadow:0 0 20px rgba(0,255,166,.4);
}
.hiw-h1-sub {
  font-size:12px; color:rgba(234,241,255,.55); line-height:1.65; margin:0;
}
.hiw-h1-sub b { color:var(--hiw-txt); }
.hiw-h1-sub em { color:var(--hiw-acc); font-style:normal; }

/* LIFECYCLE PILLS */
.hiw-lifecycle {
  display:flex; align-items:center; gap:4px; flex-wrap:wrap;
}
.hiw-lc-step {
  display:flex; align-items:center; gap:5px;
  padding:5px 11px; border-radius:20px;
  background:rgba(255,255,255,.05); border:1px solid var(--hiw-sep);
  color:var(--hiw-mut); font-size:10px; font-weight:700; letter-spacing:.08em;
  cursor:pointer; transition:all .18s; text-transform:uppercase;
}
.hiw-lc-step:hover {
  color:rgba(234,241,255,.7); background:rgba(255,255,255,.08);
}
.hiw-lc-step.active {
  background:color-mix(in srgb, var(--sc) 12%, transparent);
  border-color:color-mix(in srgb, var(--sc) 35%, transparent);
  color:var(--sc);
  box-shadow:0 0 12px color-mix(in srgb, var(--sc) 20%, transparent);
}
.hiw-lc-num {
  width:16px; height:16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:9px; background:rgba(255,255,255,.1);
}
.hiw-lc-step.active .hiw-lc-num {
  background:color-mix(in srgb, var(--sc) 25%, transparent);
}
.hiw-lc-arrow {
  width:12px; height:1px; background:rgba(255,255,255,.12); flex-shrink:0;
  position:relative;
}
.hiw-lc-arrow::after {
  content:''; position:absolute; right:-2px; top:-2px;
  border-top:2px solid transparent; border-bottom:2px solid transparent;
  border-left:4px solid rgba(255,255,255,.12);
}

/* STEP DETAIL */
.hiw-step-detail {
  padding:14px 16px; border-radius:9px;
  background:rgba(0,255,166,.04); border:1px solid rgba(0,255,166,.1);
  display:flex; flex-direction:column; gap:4px;
  transition:all .25s;
}
.hiw-sd-tag   { font-size:9px; font-weight:700; letter-spacing:.12em; color:var(--hiw-acc); text-transform:uppercase; }
.hiw-sd-title { font-size:15px; font-weight:800; color:#fff; }
.hiw-sd-text  { font-size:11px; color:var(--hiw-mut); line-height:1.6; }

/* HERO CTA */
.hiw-hero-cta { display:flex; gap:8px; flex-wrap:wrap; margin-top:4px; }

/* RIGHT: DASHBOARD */
.hiw-hero-r {
  padding:28px 24px;
  display:flex; align-items:flex-start;
  background:rgba(0,0,0,.15);
}
.hiw-dashboard { width:100%; display:flex; flex-direction:column; gap:16px; }
.hiw-dash-head {
  display:flex; align-items:center; gap:8px;
  font-size:9px; font-weight:700; letter-spacing:.14em; color:var(--hiw-mut);
  text-transform:uppercase;
}
.hiw-dash-status {
  margin-left:auto; padding:2px 8px; border-radius:4px;
  font-size:9px; font-weight:700; letter-spacing:.1em;
}
.hiw-dash-status.online  { background:rgba(0,255,166,.12); color:var(--hiw-acc); border:1px solid rgba(0,255,166,.2); }
.hiw-dash-status.offline { background:rgba(255,68,68,.1);  color:#ff4444;        border:1px solid rgba(255,68,68,.2); }

/* STATS GRID */
.hiw-dash-grid {
  display:grid; grid-template-columns:1fr 1fr 1fr 1fr;
  background:rgba(255,255,255,.03); border:1px solid var(--hiw-sep); border-radius:8px;
  overflow:hidden;
}
.hiw-dstat {
  padding:12px 8px; text-align:center;
  border-right:1px solid var(--hiw-sep);
}
.hiw-dstat:last-child { border-right:none; }
.hiw-dstat-val {
  font-size:20px; font-weight:800; color:#fff; line-height:1;
  font-family:monospace;
}
.hiw-dstat-lbl {
  font-size:8px; font-weight:700; letter-spacing:.1em; color:var(--hiw-mut);
  text-transform:uppercase; margin-top:4px;
}

/* PIPELINE */
.hiw-pipeline { display:flex; align-items:center; }
.hiw-pl-node {
  display:flex; flex-direction:column; align-items:center; gap:4px;
  flex:1; padding:8px 4px; border-radius:8px;
  cursor:pointer; transition:all .2s;
}
.hiw-pl-node:hover { background:rgba(255,255,255,.04); }
.hiw-pl-node.active { background:color-mix(in srgb, var(--sc) 10%, transparent); }
.hiw-pl-ico {
  color:rgba(255,255,255,.25); transition:color .2s;
}
.hiw-pl-node.active .hiw-pl-ico { color:var(--sc); filter:drop-shadow(0 0 6px var(--sc)); }
.hiw-pl-lbl {
  font-size:7px; font-weight:700; letter-spacing:.1em;
  color:var(--hiw-mut); text-transform:uppercase; transition:color .2s;
}
.hiw-pl-node.active .hiw-pl-lbl { color:var(--sc); }
.hiw-pl-line { flex-shrink:0; width:8px; height:1px; background:rgba(255,255,255,.08); }

/* WAIT STAT */
.hiw-dash-wait {
  display:flex; gap:0;
  background:rgba(255,255,255,.03); border:1px solid var(--hiw-sep); border-radius:8px;
  overflow:hidden;
}
.hiw-dash-wait-l, .hiw-dash-wait-r {
  flex:1; padding:10px 14px; text-align:center;
}
.hiw-dash-wait-l { border-right:1px solid var(--hiw-sep); }
.hiw-dash-wait-val { font-size:22px; font-weight:800; color:#fff; font-family:monospace; line-height:1; }
.hiw-dash-wait-lbl { font-size:9px; color:var(--hiw-mut); margin-top:3px; }

/* ════════════════════════════════════════
   BODY LAYOUT
════════════════════════════════════════ */
.hiw-body { display:grid; grid-template-columns:1fr 256px; gap:12px; align-items:start; }
.hiw-main { display:flex; flex-direction:column; gap:16px; }

/* SECTION */
.hiw-section {
  background:var(--hiw-card); border:1px solid var(--hiw-sep);
  border-radius:12px; padding:24px; scroll-margin-top:80px;
}
.hiw-sec-head { margin-bottom:20px; }
.hiw-sec-tag {
  font-size:9px; font-weight:700; letter-spacing:.16em; color:var(--hiw-acc);
  text-transform:uppercase; margin-bottom:6px;
}
.hiw-sec-title {
  font-size:22px; font-weight:800; color:var(--hiw-txt); margin:0 0 6px; line-height:1.2;
}
.hiw-sec-sub { font-size:12px; color:var(--hiw-mut); }

/* ════════════════════════════════════════
   MATCH FLOW STEPS
════════════════════════════════════════ */
.hiw-steps { display:flex; flex-direction:column; }

.hiw-step {
  display:flex; gap:16px;
  padding:12px 8px; border-radius:10px;
  cursor:pointer; transition:background .15s;
  border:1px solid transparent;
}
.hiw-step:hover { background:rgba(255,255,255,.03); }
.hiw-step.active {
  background:color-mix(in srgb, var(--sc) 5%, transparent);
  border-color:color-mix(in srgb, var(--sc) 15%, transparent);
}

/* RAIL */
.hiw-step-rail {
  display:flex; flex-direction:column; align-items:center;
  flex-shrink:0; width:36px;
}
.hiw-step-circle {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); border:1px solid var(--hiw-sep);
  font-size:14px; font-weight:800; color:var(--hiw-mut);
  transition:all .25s; font-family:monospace;
}
.hiw-step.active .hiw-step-circle {
  background:color-mix(in srgb, var(--sc) 18%, transparent);
  border-color:color-mix(in srgb, var(--sc) 40%, transparent);
  color:var(--sc);
  box-shadow:0 0 16px color-mix(in srgb, var(--sc) 25%, transparent);
}
.hiw-step-rail-line {
  width:2px; flex:1; min-height:20px; margin-top:6px;
  background:rgba(255,255,255,.06); border-radius:1px; transition:background .25s;
}
.hiw-step.active .hiw-step-rail-line {
  background:color-mix(in srgb, var(--sc) 25%, transparent);
}

/* CONTENT */
.hiw-step-content { flex:1; min-width:0; padding-bottom:8px; }
.hiw-step-top {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:6px;
}
.hiw-step-titles { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.hiw-step-badge {
  font-size:8px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding:2px 8px; border-radius:4px;
  background:rgba(255,255,255,.06); border:1px solid var(--hiw-sep); color:var(--hiw-mut);
  transition:all .25s;
}
.hiw-step.active .hiw-step-badge {
  background:color-mix(in srgb, var(--sc) 12%, transparent);
  border-color:color-mix(in srgb, var(--sc) 30%, transparent);
  color:var(--sc);
}
.hiw-step-name { font-size:15px; font-weight:800; color:#fff; }
.hiw-step-chevron {
  color:var(--hiw-mut); transition:transform .25s, color .25s; flex-shrink:0;
}
.hiw-step.active .hiw-step-chevron { transform:rotate(180deg); color:var(--sc); }
.hiw-step-desc { font-size:12px; color:rgba(234,241,255,.6); line-height:1.5; }

/* EXPAND */
.hiw-step-expand {
  display:grid; grid-template-rows:0fr;
  transition:grid-template-rows .3s ease; overflow:hidden;
}
.hiw-step.active .hiw-step-expand { grid-template-rows:1fr; }
.hiw-step-expand-in {
  min-height:0;
  font-size:11px; color:var(--hiw-mut); line-height:1.6;
  padding-top:0; transition:padding-top .3s ease;
}
.hiw-step.active .hiw-step-expand-in { padding-top:8px; }

/* ════════════════════════════════════════
   FEATURES GRID
════════════════════════════════════════ */
.hiw-feats {
  display:grid; grid-template-columns:1fr 1fr; gap:8px;
}
.hiw-feat {
  position:relative; display:flex; align-items:center; gap:12px;
  padding:14px; border-radius:10px; overflow:hidden;
  background:rgba(255,255,255,.03); border:1px solid var(--hiw-sep);
  cursor:pointer; transition:all .2s; outline:none;
}
.hiw-feat-glow {
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg, color-mix(in srgb, var(--fc) 6%, transparent), transparent);
  opacity:0; transition:opacity .2s;
}
.hiw-feat:hover {
  border-color:color-mix(in srgb, var(--fc) 30%, transparent);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.3);
}
.hiw-feat:hover .hiw-feat-glow { opacity:1; }
.hiw-feat-ico { font-size:24px; flex-shrink:0; position:relative; z-index:1; }
.hiw-feat-body { flex:1; min-width:0; position:relative; z-index:1; }
.hiw-feat-title { font-size:13px; font-weight:800; color:#fff; }
.hiw-feat-desc  { font-size:10px; color:var(--hiw-mut); margin-top:2px; }
.hiw-feat-arr {
  position:relative; z-index:1; color:var(--hiw-mut);
  transition:color .2s, transform .2s; flex-shrink:0;
}
.hiw-feat:hover .hiw-feat-arr { color:var(--fc); transform:translateX(3px); }

/* ════════════════════════════════════════
   GAME MODES
════════════════════════════════════════ */
.hiw-modes { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.hiw-mode-card {
  position:relative; border-radius:12px; padding:20px;
  border:1px solid color-mix(in srgb, var(--mc) 20%, transparent);
  background:var(--hiw-card); overflow:hidden;
  display:flex; flex-direction:column; gap:10px;
  transition:transform .2s, box-shadow .2s;
}
.hiw-mode-card:hover {
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(0,0,0,.4);
}
.hiw-mode-bg {
  position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse at top left, color-mix(in srgb, var(--mc) 8%, transparent) 0%, transparent 60%);
}
.hiw-mode-top { display:flex; align-items:center; justify-content:space-between; position:relative; z-index:1; }
.hiw-mode-icon { font-size:28px; }
.hiw-mode-badge {
  padding:3px 9px; border-radius:5px; font-size:8px; font-weight:800; letter-spacing:.12em;
}
.hiw-mode-badge.core { background:rgba(0,255,166,.12); color:var(--hiw-acc); border:1px solid rgba(0,255,166,.2); }
.hiw-mode-badge.fun  { background:rgba(251,191,36,.12); color:#fbbf24; border:1px solid rgba(251,191,36,.2); }
.hiw-mode-name { font-size:18px; font-weight:800; position:relative; z-index:1; }
.hiw-mode-info { font-size:11px; color:var(--hiw-mut); position:relative; z-index:1; }
.hiw-mode-features {
  display:flex; flex-wrap:wrap; gap:5px; position:relative; z-index:1;
}
.hiw-mf {
  font-size:10px; font-weight:600; padding:2px 8px; border-radius:4px;
  background:rgba(255,255,255,.06); border:1px solid var(--hiw-sep);
  color:rgba(234,241,255,.6);
}
.hiw-mode-btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:9px 18px; border-radius:8px;
  background:linear-gradient(135deg, var(--hiw-acc), var(--hiw-acc2));
  color:#001a0f; font-size:12px; font-weight:800;
  text-decoration:none; transition:all .2s;
  position:relative; z-index:1; margin-top:4px;
  width:fit-content;
}
.hiw-mode-btn:hover { transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,255,166,.3); }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.hiw-faqs { display:flex; flex-direction:column; }
.hiw-faq {
  border-bottom:1px solid rgba(255,255,255,.05);
  cursor:pointer; user-select:none;
}
.hiw-faq:last-child { border-bottom:none; }
.hiw-faq-q {
  display:flex; align-items:center; gap:12px;
  padding:14px 4px; transition:color .15s;
}
.hiw-faq:hover .hiw-faq-q { color:var(--hiw-acc); }
.hiw-faq-num {
  font-size:10px; font-weight:800; font-family:monospace;
  color:var(--hiw-mut); flex-shrink:0; width:22px;
}
.hiw-faq-text { flex:1; font-size:13px; font-weight:700; color:var(--hiw-txt); }
.hiw-faq-chevron {
  flex-shrink:0; color:var(--hiw-mut); transition:transform .25s, color .15s;
}
.hiw-faq.open .hiw-faq-chevron { transform:rotate(180deg); color:var(--hiw-acc); }
.hiw-faq-a {
  max-height:0; overflow:hidden;
  transition:max-height .3s ease, padding .3s ease;
  font-size:12px; color:var(--hiw-mut); line-height:1.65;
  padding:0 4px 0 34px;
}
.hiw-faq.open .hiw-faq-a { max-height:200px; padding:0 4px 14px 34px; }

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.hiw-sb { display:flex; flex-direction:column; gap:10px; }
.hiw-sc {
  background:var(--hiw-card); border:1px solid var(--hiw-sep);
  border-radius:10px; padding:14px;
}
.hiw-sc-title {
  font-size:9px; font-weight:700; letter-spacing:.14em; color:var(--hiw-mut);
  text-transform:uppercase; margin-bottom:12px;
  display:flex; align-items:center; gap:5px;
}

/* NAV */
.hiw-nav { display:flex; flex-direction:column; gap:2px; }
.hiw-nav-a {
  display:block; padding:7px 10px; border-radius:7px;
  font-size:12px; font-weight:600; color:var(--hiw-mut);
  text-decoration:none; transition:all .15s;
}
.hiw-nav-a:hover { color:var(--hiw-txt); background:rgba(255,255,255,.05); }

/* RULES */
.hiw-rule {
  display:flex; align-items:flex-start; gap:9px;
  padding:6px 0; border-bottom:1px solid rgba(255,255,255,.04);
  font-size:11px; color:rgba(234,241,255,.65);
}
.hiw-rule:last-child { border-bottom:none; }
.hiw-rule > span:first-child { font-size:14px; flex-shrink:0; margin-top:1px; }
.hiw-rule b { color:#fff; }

/* WHY */
.hiw-sc-why { border-color:rgba(0,255,166,.12); background:linear-gradient(135deg, rgba(0,255,166,.03), var(--hiw-card)); }
.hiw-why {
  display:flex; align-items:center; gap:8px;
  padding:5px 0; border-bottom:1px solid rgba(255,255,255,.04);
  font-size:11px; color:rgba(234,241,255,.65);
}
.hiw-why:last-child { border-bottom:none; }
.hiw-why-ic {
  width:16px; height:16px; border-radius:4px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:800;
}
.hiw-why-ic.ok { background:rgba(0,255,166,.12); border:1px solid rgba(0,255,166,.25); color:var(--hiw-acc); }
.hiw-why-ic.no { background:rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.2); color:#f87171; }

/* CTA */
.hiw-sc-cta {
  display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center;
  background:linear-gradient(135deg, rgba(0,216,255,.04), rgba(0,255,166,.04), var(--hiw-card));
  border-color:rgba(0,255,166,.15);
}
.hiw-cta-icon  { font-size:36px; }
.hiw-cta-title { font-size:15px; font-weight:800; color:#fff; }
.hiw-cta-sub   { font-size:11px; color:var(--hiw-mut); }
.hiw-cta-note  { font-size:10px; color:var(--hiw-mut); }

/* LIVE */
.hiw-lv {
  display:flex; justify-content:space-between; align-items:center;
  padding:6px 0; border-bottom:1px solid rgba(255,255,255,.04);
  font-size:11px;
}
.hiw-lv:last-child { border-bottom:none; }
.hiw-lv > span { color:var(--hiw-mut); }
.hiw-lv b { color:var(--hiw-txt); font-weight:700; }

/* BUTTONS */
.hiw-btn-primary {
  display:inline-flex; align-items:center; gap:7px;
  padding:10px 20px; border-radius:8px;
  background:linear-gradient(135deg, var(--hiw-acc), var(--hiw-acc2));
  color:#001a0f; font-size:12px; font-weight:800;
  text-decoration:none; transition:all .2s; border:none; cursor:pointer;
}
.hiw-btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(0,255,166,.35); }
.hiw-btn-primary.w100 { width:100%; justify-content:center; }
.hiw-btn-ghost {
  display:inline-flex; align-items:center; gap:7px;
  padding:10px 16px; border-radius:8px;
  background:rgba(255,255,255,.06); border:1px solid var(--hiw-sep);
  color:var(--hiw-txt); font-size:12px; font-weight:700;
  text-decoration:none; transition:all .18s; cursor:pointer;
}
.hiw-btn-ghost:hover { background:rgba(255,255,255,.1); }
.hiw-btn-ghost.w100 { width:100%; justify-content:center; box-sizing:border-box; }

/* ════════════════════════════════════════
   FEATURE MODAL
════════════════════════════════════════ */
.hiw-overlay {
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,.82); backdrop-filter:blur(10px);
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.hiw-overlay.hidden { display:none; }
.hiw-modal {
  width:100%; max-width:540px;
  background:#0a1520; border-radius:14px;
  border:1px solid rgba(0,255,166,.18);
  box-shadow:0 40px 100px rgba(0,0,0,.9);
  overflow:hidden; position:relative;
  animation:hiwModalIn .25s cubic-bezier(.4,0,.2,1);
}
@keyframes hiwModalIn {
  from { transform:translateY(16px) scale(.97); opacity:0; }
  to   { transform:translateY(0) scale(1); opacity:1; }
}
.hiw-modal-close {
  position:absolute; top:12px; right:12px;
  width:28px; height:28px; border-radius:7px;
  background:rgba(255,255,255,.08); border:1px solid var(--hiw-sep);
  color:var(--hiw-mut); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all .15s; z-index:2;
}
.hiw-modal-close:hover { background:rgba(255,68,68,.15); color:#f87171; }
.hiw-modal-hd {
  display:flex; align-items:center; gap:16px;
  padding:22px 22px 16px;
  border-bottom:1px solid rgba(0,255,166,.1);
  background:rgba(0,255,166,.02);
  transition:border-color .25s;
}
.hiw-modal-ico   { font-size:40px; flex-shrink:0; }
.hiw-modal-title { font-size:21px; font-weight:800; line-height:1.1; }
.hiw-modal-sub   { font-size:11px; color:var(--hiw-mut); margin-top:4px; }
.hiw-modal-pts {
  padding:16px 22px; display:flex; flex-direction:column; gap:8px;
}
.hiw-mp {
  display:flex; align-items:flex-start; gap:9px;
  font-size:12px; color:rgba(234,241,255,.75); line-height:1.5;
}
.hiw-mp > span { font-size:13px; font-weight:700; flex-shrink:0; margin-top:1px; }
.hiw-modal-foot {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 22px; border-top:1px solid var(--hiw-sep);
  background:rgba(255,255,255,.02);
}
.hiw-modal-nav {
  display:inline-flex; align-items:center; gap:5px;
  padding:6px 14px; border-radius:7px;
  background:rgba(255,255,255,.06); border:1px solid var(--hiw-sep);
  color:var(--hiw-txt); font-size:11px; font-weight:700;
  cursor:pointer; transition:all .15s;
}
.hiw-modal-nav:hover { background:rgba(0,255,166,.1); border-color:rgba(0,255,166,.25); color:var(--hiw-acc); }
.hiw-modal-dots { display:flex; gap:6px; }
.hiw-mdot {
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,.15); cursor:pointer; transition:all .15s;
}
.hiw-mdot.active { background:var(--hiw-acc); box-shadow:0 0 6px var(--hiw-acc); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width:1050px) {
  .hiw-body  { grid-template-columns:1fr; }
  .hiw-sb    { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
}
@media (max-width:860px) {
  .hiw-hero-in { grid-template-columns:1fr; }
  .hiw-hero-l  { border-right:none; border-bottom:1px solid var(--hiw-sep); padding-bottom:20px; }
  .hiw-hero-r  { padding-top:16px; }
  .hiw-feats   { grid-template-columns:1fr; }
  .hiw-modes   { grid-template-columns:1fr; }
  .hiw-sb      { grid-template-columns:1fr; }
  .hiw-dash-grid { grid-template-columns:1fr 1fr; }
  .hiw-dstat:nth-child(2) { border-right:none; }
  .hiw-dstat:nth-child(1),
  .hiw-dstat:nth-child(2) { border-bottom:1px solid var(--hiw-sep); }
}
@media (max-width:540px) {
  .hiw-h1 { font-size:36px; }
  .hiw-hero-l { padding:20px 16px; }
  .hiw-section { padding:16px; }
  .hiw-lifecycle { gap:3px; }
  .hiw-lc-step { padding:4px 8px; font-size:9px; }
}