/* ─────────────────────────────────────────────────────────────
   ENIQ Assistant Pages — premium components
   Used by: autonomni-ai-asistent, instagram-asistent, whatsapp-asistent,
            messenger-asistent, livechat-asistent (Phase 2+ pages)

   This file is loaded AFTER style.min.css so it can use brand vars.
   Don't load it on non-assistant pages — keeps page weight minimal.
   ───────────────────────────────────────────────────────────── */

/* Hero status pills */
.hero-status-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.hero-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.18);
  animation: hero-dot-pulse 2s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(74,222,128,0.18); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(74,222,128,0.06); }
}

/* Positioning declaration block */
.stmt-block {
  max-width: 880px; margin: 0 auto;
  padding: 56px 48px;
  background: linear-gradient(135deg, rgba(129,74,200,0.07) 0%, rgba(129,74,200,0.02) 100%);
  border: 1px solid rgba(129,74,200,0.2);
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stmt-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(129,74,200,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.stmt-strike { color: rgba(255,255,255,0.35); text-decoration: line-through; text-decoration-color: rgba(248,113,113,0.6); }
.stmt-affirm { color: rgba(210,170,255,1); font-weight: 600; }
@media (max-width: 640px) { .stmt-block { padding: 36px 24px; } }

/* Anatomy / capability blocks */
.anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.anatomy-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 28px 24px;
  transition: border-color .25s ease, background .25s ease;
}
.anatomy-card:hover { border-color: rgba(129,74,200,0.3); background: rgba(129,74,200,0.04); }
.anatomy-step {
  position: absolute; top: 22px; right: 24px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.22);
}
.anatomy-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(129,74,200,0.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: rgba(210,170,255,1);
}
.anatomy-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: rgba(255,255,255,0.95); }
.anatomy-card p { font-size: 0.86rem; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0; }

/* Training pillars */
.train-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.train-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid rgba(129,74,200,0.5);
  border-radius: 14px;
  padding: 22px 20px;
}
.train-card-label { font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(210,170,255,0.7); font-weight: 600; margin-bottom: 8px; }
.train-card h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 8px; color: rgba(255,255,255,0.92); }
.train-card p { font-size: 0.82rem; line-height: 1.6; color: rgba(255,255,255,0.5); margin: 0; }

/* Conversation timeline (real-life flow) */
.flow-rail { position: relative; max-width: 760px; margin: 56px auto 0; }
.flow-rail::before {
  content: ''; position: absolute;
  left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, rgba(129,74,200,0.5), rgba(129,74,200,0.05));
}
.flow-step { position: relative; padding-left: 56px; padding-bottom: 28px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-dot {
  position: absolute; left: 0; top: 4px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(129,74,200,0.16);
  border: 2px solid rgba(129,74,200,0.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem;
  color: rgba(210,170,255,1);
}
.flow-step h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 4px; color: rgba(255,255,255,0.95); }
.flow-meta { font-size: 0.72rem; color: rgba(210,170,255,0.6); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.flow-step p { font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0; }

/* Problems grid */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.prob-card {
  background: linear-gradient(135deg, rgba(248,113,113,0.04), rgba(248,113,113,0.01));
  border: 1px solid rgba(248,113,113,0.18);
  border-radius: 16px;
  padding: 22px 20px;
  position: relative;
}
.prob-card::before {
  content: ''; position: absolute;
  top: 22px; right: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(248,113,113,0.7);
  box-shadow: 0 0 0 3px rgba(248,113,113,0.12);
}
.prob-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.95); padding-right: 24px; }
.prob-card p { font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.55); margin: 0 0 8px; }
.prob-card .prob-fix {
  font-size: 0.78rem;
  color: rgba(134,239,172,0.9);
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.08);
  display: flex; gap: 6px; align-items: flex-start;
}
.prob-card .prob-fix::before { content: '→'; color: rgba(134,239,172,0.7); flex-shrink: 0; }

/* Dashboard preview */
.dash-preview {
  margin-top: 48px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 22px;
  position: relative;
}
.dash-preview::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 36px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-radius: 22px 22px 0 0;
}
.dash-preview::after {
  content: '● ● ●';
  position: absolute; top: 12px; left: 18px;
  font-size: 8px; letter-spacing: 4px;
  color: rgba(255,255,255,0.2);
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding-top: 28px;
}
.dash-tile {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px 18px;
}
.dash-tile-label { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.dash-tile-value { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,0.95); line-height: 1; }
.dash-tile-trend { font-size: 0.72rem; margin-top: 6px; color: rgba(134,239,172,0.9); }
.dash-tile-trend.warn { color: rgba(251,191,36,0.9); }
.dash-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
  font-size: 0.85rem;
}
.dash-row:last-child { border-bottom: none; }
.dash-row-label { color: rgba(255,255,255,0.75); }
.dash-row-meta { color: rgba(210,170,255,0.7); font-size: 0.78rem; }

/* Improvement loop */
.loop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.loop-step {
  position: relative;
  padding: 24px 22px;
  background: rgba(129,74,200,0.04);
  border: 1px solid rgba(129,74,200,0.18);
  border-radius: 18px;
  margin: 8px;
}
.loop-step::after {
  content: '→';
  position: absolute;
  right: -22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: rgba(129,74,200,0.6);
  font-weight: 300;
  z-index: 2;
}
.loop-grid .loop-step:last-child::after { display: none; }
@media (max-width: 700px) { .loop-step::after { display: none; } }
.loop-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(129,74,200,0.3);
  color: rgba(210,170,255,1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.82rem;
  margin-bottom: 14px;
}
.loop-step h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.95); }
.loop-step p { font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.55); margin: 0; }

/* Control modes */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.mode-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px 20px;
  transition: border-color .25s ease;
}
.mode-card:hover { border-color: rgba(129,74,200,0.3); }
.mode-toggle {
  width: 30px; height: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  position: relative;
  margin-bottom: 14px;
}
.mode-toggle::after {
  content: ''; position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  top: 2px; left: 2px;
  background: rgba(255,255,255,0.5);
  transition: all .25s ease;
}
.mode-card.active .mode-toggle { background: rgba(129,74,200,0.5); }
.mode-card.active .mode-toggle::after { left: 16px; background: rgba(210,170,255,1); }
.mode-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.95); display: flex; align-items: center; gap: 8px; }
.mode-card .mode-badge { font-size: 0.65rem; padding: 2px 6px; border-radius: 100px; background: rgba(129,74,200,0.25); color: rgba(210,170,255,1); letter-spacing: 0.5px; }
.mode-card p { font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.55); margin: 0; }

/* Onboarding timeline */
.onb-rail {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.onb-rail::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(to right, rgba(129,74,200,0.5), rgba(129,74,200,0.1));
}
.onb-step {
  position: relative;
  padding-top: 56px;
  text-align: center;
}
.onb-step::before {
  content: ''; position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(15,15,15,1);
  border: 2px solid rgba(129,74,200,0.5);
}
.onb-step.active::before {
  background: rgba(129,74,200,0.6);
  box-shadow: 0 0 0 4px rgba(129,74,200,0.18);
}
.onb-step h4 { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.92); margin-bottom: 4px; }
.onb-step .onb-time { font-size: 0.7rem; color: rgba(210,170,255,0.7); margin-bottom: 6px; letter-spacing: 0.5px; }
.onb-step p { font-size: 0.74rem; line-height: 1.5; color: rgba(255,255,255,0.5); margin: 0; }
@media (max-width: 900px) {
  .onb-rail { grid-template-columns: 1fr; gap: 16px; }
  .onb-rail::before { display: none; }
  .onb-step { text-align: left; padding: 0 0 0 36px; }
  .onb-step::before { top: 4px; left: 0; transform: none; }
}

/* Security cards */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.sec-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 22px 20px;
}
.sec-icon {
  width: 36px; height: 36px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: rgba(134,239,172,1);
}
.sec-card h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.95); }
.sec-card p { font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.55); margin: 0; }

/* Analytics tile row */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.insight-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 26px 24px;
}
.insight-stat { font-size: 0.7rem; color: rgba(210,170,255,0.7); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.insight-card h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; color: rgba(255,255,255,0.95); }
.insight-card p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0 0 14px; }
.insight-card ul { list-style: none; padding: 0; margin: 0; }
.insight-card li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  padding: 6px 0;
  display: flex; gap: 8px; align-items: flex-start;
}
.insight-card li::before { content: '•'; color: rgba(210,170,255,0.7); flex-shrink: 0; }

/* Channel-specific accent overrides (set on body class) */
body.channel-instagram { --channel: 225,48,108; --channel-rgb: 225,48,108; }
body.channel-whatsapp  { --channel: 37,211,102; }
body.channel-messenger { --channel: 24,119,242; }
body.channel-livechat  { --channel: 0,149,255; }

/* Channel-accent variants for hero badge dot */
body.channel-instagram .badge .dot,
body.channel-whatsapp  .badge .dot,
body.channel-messenger .badge .dot,
body.channel-livechat  .badge .dot { background: rgba(var(--channel), 0.9); box-shadow: 0 0 0 4px rgba(var(--channel), 0.15); }

/* Channel-themed conversation preview block */
.channel-preview {
  max-width: 560px;
  margin: 48px auto 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
}
.channel-preview-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(var(--channel,129,74,200), 0.18), rgba(var(--channel,129,74,200), 0.06));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.channel-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--channel,129,74,200), 0.9), rgba(var(--channel,129,74,200), 0.6));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff;
}
.channel-preview-header strong { font-size: 0.9rem; color: rgba(255,255,255,0.95); }
.channel-preview-header span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.channel-msgs { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.channel-msg { display: flex; }
.channel-msg.user { justify-content: flex-end; }
.channel-msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.channel-msg.bot .channel-msg-bubble {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  border-bottom-left-radius: 4px;
}
.channel-msg.user .channel-msg-bubble {
  background: rgba(var(--channel,129,74,200), 0.7);
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────
   Iteration 2 — Enterprise trust layer + motion polish
   Added: reliability grid, feedback flow, escalation rail,
   refined hover states, scroll-triggered motion enhancements.
   ───────────────────────────────────────────────────────────── */

/* Reliability & fallback systems */
.reliability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.reliability-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1), background .3s ease;
}
.reliability-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(129,74,200,0.12), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.reliability-card:hover {
  border-color: rgba(129,74,200,0.35);
  transform: translateY(-2px);
  background: rgba(129,74,200,0.025);
}
.reliability-card:hover::before { opacity: 1; }
.reliability-state {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(134,239,172,0.9);
  font-weight: 600;
  margin-bottom: 12px;
}
.reliability-state::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(74,222,128,0.9);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.18);
  animation: hero-dot-pulse 2.4s ease-in-out infinite;
}
.reliability-state.degraded { color: rgba(251,191,36,0.95); }
.reliability-state.degraded::before { background: rgba(251,191,36,0.95); box-shadow: 0 0 0 3px rgba(251,191,36,0.16); }
.reliability-state.failover { color: rgba(248,113,113,0.95); }
.reliability-state.failover::before { background: rgba(248,113,113,0.95); box-shadow: 0 0 0 3px rgba(248,113,113,0.14); }
.reliability-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: rgba(255,255,255,0.95); }
.reliability-card p { font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0 0 12px; }
.reliability-meta {
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.07);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  display: flex; justify-content: space-between;
}
.reliability-meta strong { color: rgba(210,170,255,0.85); font-weight: 600; }

/* Feedback flow — circular continuous-improvement visualization */
.feedback-flow {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(129,74,200,0.04) 0%, rgba(129,74,200,0.01) 100%);
  border: 1px solid rgba(129,74,200,0.18);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.feedback-flow::before {
  content: ''; position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 180%;
  background: radial-gradient(circle, rgba(129,74,200,0.08), transparent 65%);
  pointer-events: none;
}
.feedback-cycle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  position: relative;
  z-index: 1;
}
@media (min-width: 760px) {
  .feedback-cycle { grid-template-columns: repeat(4, 1fr); gap: 0; }
}
.feedback-stage {
  position: relative;
  padding: 22px 20px;
  background: rgba(15,15,18,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(6px);
}
@media (min-width: 760px) {
  .feedback-stage { margin-right: 18px; }
  .feedback-stage:last-child { margin-right: 0; }
  .feedback-stage::after {
    content: ''; position: absolute;
    right: -18px; top: 50%; width: 18px; height: 2px;
    background: linear-gradient(to right, rgba(129,74,200,0.5), rgba(129,74,200,0.1));
    transform: translateY(-50%);
  }
  .feedback-stage:last-child::after { display: none; }
}
.feedback-stage-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(210,170,255,0.85);
  font-weight: 600;
  margin-bottom: 10px;
}
.feedback-stage-label::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(129,74,200,0.5);
  border: 2px solid rgba(210,170,255,0.7);
}
.feedback-stage h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.95); }
.feedback-stage p { font-size: 0.8rem; line-height: 1.55; color: rgba(255,255,255,0.55); margin: 0; }
.feedback-cycle-meta {
  margin-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(210,170,255,0.7);
  letter-spacing: 0.5px;
  position: relative; z-index: 1;
}

/* Escalation rail — visual hand-off flow */
.escalation-rail {
  margin-top: 44px;
  display: flex; flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}
.escalation-step {
  flex: 1 1 220px;
  position: relative;
  padding: 22px 24px 22px 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  margin: 6px;
  transition: border-color .25s ease, background .25s ease;
}
.escalation-step:hover { border-color: rgba(129,74,200,0.3); background: rgba(129,74,200,0.03); }
.escalation-step::before {
  content: ''; position: absolute;
  left: 14px; top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(210,170,255,0.6), rgba(210,170,255,0.1));
}
.escalation-trigger {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(210,170,255,0.75);
  font-weight: 600;
  margin-bottom: 8px;
}
.escalation-step h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; color: rgba(255,255,255,0.95); }
.escalation-step p { font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.55); margin: 0; }

/* Motion polish — unified hover transitions on existing components */
.anatomy-card, .train-card, .prob-card, .dash-tile, .loop-step, .mode-card, .sec-card, .insight-card {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.anatomy-card:hover, .train-card:hover, .mode-card:hover, .sec-card:hover, .insight-card:hover {
  transform: translateY(-2px);
}
.dash-tile {
  transition: transform .3s cubic-bezier(.22,.61,.36,1), background .3s ease;
}
.dash-tile:hover { background: rgba(255,255,255,0.04); transform: translateY(-1px); }

/* Section transitions — gentle separator gradient between premium sections */
.section.premium-divider {
  position: relative;
}
.section.premium-divider::before {
  content: ''; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(129,74,200,0.25), transparent);
}

/* Refined section header treatment */
.section-header .badge { transition: background .25s ease, transform .25s ease; }
.section-header:hover .badge { transform: translateY(-1px); }

/* Subtle scroll progress indicator for long-form pages */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(129,74,200,1), rgba(223,122,254,1));
  transform-origin: left;
  transform: scaleX(var(--scroll-progress, 0));
  z-index: 1000;
  pointer-events: none;
  transition: transform .1s linear;
}

/* Reduce motion preference — respect users */
@media (prefers-reduced-motion: reduce) {
  .anatomy-card, .train-card, .prob-card, .dash-tile, .loop-step, .mode-card, .sec-card, .insight-card, .reliability-card, .escalation-step {
    transition: none !important;
  }
  .anatomy-card:hover, .train-card:hover, .mode-card:hover, .sec-card:hover, .insight-card:hover, .reliability-card:hover {
    transform: none !important;
  }
  .hero-status-dot, .reliability-state::before { animation: none !important; }
}
