:root {
  --hm-bg: #050c18;
  --hm-bg-2: #0a1424;
  --hm-cyan: #00d4ff;
  --hm-cyan-2: #4defff;
  --hm-text: #f4f8ff;
  --hm-muted: #9db0c9;
  --hm-panel: rgba(12, 22, 40, 0.72);
  --hm-border: rgba(0, 212, 255, 0.18);
  --hm-border-soft: rgba(255, 255, 255, 0.08);
  --hm-radius: 1.15rem;
  --hm-glow: 0 0 28px rgba(0, 212, 255, 0.18);
}

body.hm-body {
  margin: 0;
  color: var(--hm-text);
  background:
    radial-gradient(1000px 520px at 85% -5%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(800px 480px at 5% 25%, rgba(30, 64, 175, 0.22), transparent 50%),
    linear-gradient(180deg, var(--hm-bg-2), var(--hm-bg));
  font-family: "Sora", "Segoe UI", sans-serif;
}

.hm-container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.hm-glass {
  background: var(--hm-panel);
  border: 1px solid var(--hm-border-soft);
  border-radius: var(--hm-radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

/* NAV */
.hm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 12, 24, 0.86);
  border-bottom: 1px solid var(--hm-border-soft);
  backdrop-filter: blur(14px);
}
.hm-nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
}
.hm-brand img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.hm-nav-links {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.hm-nav-links a {
  color: var(--hm-muted);
  text-decoration: none;
  font-size: 0.92rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}
.hm-nav-links a:hover,
.hm-nav-links a.is-active {
  color: var(--hm-text);
  border-bottom-color: var(--hm-cyan);
}
.hm-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hm-btn:hover { transform: translateY(-1px); }
.hm-btn-primary {
  background: linear-gradient(135deg, #00d4ff, #22d3ee);
  color: #041018;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.28);
}
.hm-btn-primary:hover { color: #041018; }
.hm-btn-ghost {
  background: transparent;
  color: var(--hm-text);
  border-color: var(--hm-border-soft);
}
.hm-btn-ghost:hover {
  border-color: var(--hm-border);
  color: var(--hm-cyan);
  box-shadow: var(--hm-glow);
}
.hm-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--hm-border-soft);
  background: transparent;
  color: var(--hm-text);
}

/* HERO */
.hm-hero {
  padding: 4.5rem 0 3.5rem;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}
.hm-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hm-hero h1 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.hm-hero h1 .accent { color: var(--hm-cyan); }
.hm-hero-lead {
  color: var(--hm-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.6rem;
}
.hm-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hm-network {
  --hm-orbit-spin: 0deg;
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.hm-network-orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: rotate(var(--hm-orbit-spin));
  transform-origin: 50% 50%;
  will-change: transform;
}
.hm-network-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, rgba(0,212,255,0.22), rgba(8,18,36,0.96));
  border: 1px solid rgba(0,212,255,0.45);
  box-shadow: 0 0 0 10px rgba(0,212,255,0.08), 0 0 50px rgba(0,212,255,0.35);
  z-index: 3;
  overflow: hidden;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
  transition: box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}
.hm-network-core img {
  width: 118%;
  height: 118%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}
.hm-network-core:hover,
.hm-network-core:focus-visible {
  border-color: rgba(0, 212, 255, 0.9);
  box-shadow: 0 0 0 12px rgba(0,212,255,0.12), 0 0 56px rgba(0,212,255,0.5);
  filter: brightness(1.06);
  outline: none;
}
.hm-network.is-spinning .hm-network-core {
  pointer-events: none;
  filter: brightness(1.08);
}
.hm-network.is-spinning .hm-node {
  pointer-events: none;
}
.hm-network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hm-node {
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0,212,255,0.65);
  box-shadow: 0 0 22px rgba(0,212,255,0.28);
  z-index: 2;
  background: #122038;
  display: block;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}
.hm-node-face {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  transform: rotate(calc(-1 * var(--hm-orbit-spin)));
  will-change: transform;
}
a.hm-node:hover,
button.hm-node:hover,
a.hm-node:focus-visible,
button.hm-node:focus-visible {
  border-color: rgba(0, 212, 255, 0.95);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.55);
  filter: brightness(1.08);
  outline: none;
}
a.hm-node:focus-visible,
button.hm-node:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 4px;
}
.hm-node img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.hm-node-1 { left: 50%; top: 4%; transform: translateX(-50%); }
.hm-node-2 { right: 4%; top: 50%; transform: translateY(-50%); }
.hm-node-3 { left: 50%; bottom: 4%; transform: translateX(-50%); }
.hm-node-4 { left: 4%; top: 50%; transform: translateY(-50%); }

/* SECTIONS */
.hm-section { padding: 4.25rem 0; }
.hm-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}
.hm-section-head h2 {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}
.hm-section-head p {
  margin: 0;
  color: var(--hm-muted);
  line-height: 1.6;
}

.hm-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hm-how-card {
  padding: 1.4rem 1.25rem 1.5rem;
  text-align: left;
}
.hm-how-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,212,255,0.12);
  color: var(--hm-cyan);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--hm-glow);
}
.hm-how-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}
.hm-how-card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Mind Mentors */
.hm-mind-grid {
  display: grid;
  gap: 0.9rem;
}
.hm-mind-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
}
.hm-mind-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,212,255,0.55);
  box-shadow: 0 0 18px rgba(0,212,255,0.2);
}
.hm-mind-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.hm-mind-tag {
  display: inline-block;
  color: var(--hm-cyan);
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}
.hm-mind-card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 0.88rem;
}
.hm-mind-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

/* Pílulas de conhecimento */
.hm-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hm-pill-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.hm-pill-frame {
  position: relative;
  width: 100%;
  background: #0a1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hm-pill-frame.is-youtube {
  aspect-ratio: 16 / 9;
}
.hm-pill-frame.is-instagram {
  aspect-ratio: 4 / 5;
  max-height: 520px;
}
.hm-pill-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hm-pill-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  text-align: center;
  text-decoration: none;
  color: var(--hm-text);
  background:
    radial-gradient(420px 180px at 50% 20%, rgba(0, 212, 255, 0.16), transparent 60%),
    #0a1424;
}
.hm-pill-fallback i {
  font-size: 2rem;
  color: var(--hm-cyan);
}
.hm-pill-fallback span {
  font-weight: 700;
  font-size: 0.95rem;
}
.hm-pill-meta {
  padding: 0.95rem 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.hm-pill-meta h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}
.hm-pill-author {
  margin: 0;
  color: var(--hm-muted);
  font-size: 0.84rem;
}
.hm-pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}
.hm-pill-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.1);
  color: var(--hm-text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.hm-pill-social:hover {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.18);
  color: #fff;
}
.hm-pill-social-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--hm-muted);
  font-weight: 600;
}

/* Benchmarks */
.hm-bench-rows { display: grid; gap: 1.25rem; }
.hm-bench-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.hm-bench-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--hm-cyan);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hm-bench-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}
.hm-bench-card {
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.hm-bench-card:hover,
.hm-bench-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: var(--hm-glow);
  outline: none;
}
.hm-bench-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0,212,255,0.4);
  margin-bottom: 0.65rem;
  pointer-events: none;
}
.hm-bench-card h4 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}
.hm-bench-card .hm-mind-tag { margin-bottom: 0.4rem; }
.hm-bench-card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.hm-bench-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  color: var(--hm-cyan);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Team */
.hm-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hm-team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem;
  align-items: center;
}
.hm-team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,212,255,0.55);
}
.hm-team-card h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.hm-team-role {
  color: var(--hm-cyan);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}
.hm-team-card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.hm-team-card a { color: var(--hm-cyan-2); text-decoration: none; }

/* Footer */
.hm-footer {
  border-top: 1px solid var(--hm-border-soft);
  padding: 1.75rem 0 2rem;
  margin-top: 1rem;
}
.hm-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}
.hm-footer img { height: 44px; width: 44px; object-fit: contain; border-radius: 50%; }
.hm-footer-mission {
  color: var(--hm-muted);
  font-size: 0.88rem;
  border-left: 1px solid var(--hm-border-soft);
  padding-left: 1.25rem;
  margin: 0;
  line-height: 1.5;
}
.hm-footer-social {
  display: flex;
  gap: 0.55rem;
}
.hm-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hm-border-soft);
  color: var(--hm-text);
  display: grid;
  place-items: center;
  text-decoration: none;
}
.hm-footer-social a:hover {
  border-color: var(--hm-border);
  color: var(--hm-cyan);
}

.hm-empty {
  color: var(--hm-muted);
  text-align: center;
  padding: 1.5rem;
}

@media (max-width: 1200px) {
  .hm-bench-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .hm-nav-links { display: none; }
  .hm-nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 68px;
    background: rgba(8, 16, 30, 0.96);
    border: 1px solid var(--hm-border-soft);
    border-radius: 1rem;
    padding: 1rem;
    z-index: 120;
  }
  .hm-nav-toggle { display: inline-grid; place-items: center; }
  .hm-nav-inner { position: relative; }
  .hm-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hm-hero-lead { margin-left: auto; margin-right: auto; }
  .hm-hero-actions { justify-content: center; }
  .hm-hero { min-height: auto; padding: 2.25rem 0 2rem; }
  .hm-section { padding: 3rem 0; }
  .hm-how-grid,
  .hm-team-grid { grid-template-columns: 1fr; }
  .hm-pills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-bench-row { grid-template-columns: 1fr; }
  .hm-bench-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-mind-card {
    grid-template-columns: auto 1fr;
  }
  .hm-mind-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .hm-mind-actions .hm-btn { flex: 1; }
  .hm-footer-inner { grid-template-columns: 1fr; text-align: center; }
  .hm-footer-mission { border-left: 0; padding-left: 0; border-top: 1px solid var(--hm-border-soft); padding-top: 0.9rem; }
  .hm-footer-social { justify-content: center; }
  .hm-network { width: min(100%, 380px); }
}

@media (max-width: 767.98px) {
  .hm-container { width: min(1140px, calc(100% - 1.25rem)); }
  .hm-bench-cards { grid-template-columns: 1fr; }
  .hm-mind-card {
    padding: 0.95rem;
    gap: 0.75rem;
  }
  .hm-mind-card img {
    width: 60px;
    height: 60px;
  }
  .hm-team-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .hm-team-card img {
    width: 96px;
    height: 96px;
  }
  .hm-btn {
    width: 100%;
    max-width: 320px;
  }
  .hm-hero-actions .hm-btn {
    width: auto;
    min-width: min(100%, 200px);
  }
  .chat-container,
  .roundtable-container {
    padding: 0.85rem !important;
  }
  .chat-input-group,
  .input-group {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .hm-nav-actions .hm-btn span.hide-xs { display: none; }
  .hm-node { width: 64px; height: 64px; }
  .hm-network-core { width: 96px; height: 96px; }
  .hm-section { padding: 2.35rem 0; }
  .hm-section-head { margin-bottom: 1.5rem; }
  .hm-how-card { padding: 1.15rem 1rem 1.25rem; }
  .hm-hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hm-hero-lead { font-size: 0.98rem; }
}

.consult-quota-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.08);
  color: #9db0c9;
  font-size: 0.82rem;
  line-height: 1.4;
}
.consult-quota-bar i {
  color: #7ddcff;
  margin-top: 0.1rem;
}
.consult-quota-bar.is-low {
  border-color: rgba(245, 197, 66, 0.45);
  background: rgba(245, 197, 66, 0.1);
}
.consult-quota-bar.is-low i { color: #f5c542; }
.consult-quota-bar.is-exhausted {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
}
.consult-quota-bar.is-exhausted i { color: #f87171; }
.consult-quota-bar--inline {
  justify-content: center;
  margin: 0.85rem auto 0;
  max-width: 520px;
  text-align: left;
}

/* Chat voice dictation (mesa / círculo) */
.chat-input-group {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: flex-end;
  gap: 0.45rem;
}

.chat-input-group #messageInput {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  max-height: 220px;
  resize: none;
  overflow-y: hidden;
  line-height: 1.45;
  border-radius: 1.15rem !important;
  padding: 0.7rem 1rem;
  field-sizing: content;
}

.chat-mic-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(8, 18, 34, 0.92);
  color: #9db0c9;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.chat-mic-btn:hover:not(:disabled) {
  color: #00d4ff;
  border-color: rgba(0, 212, 255, 0.55);
}

.chat-mic-btn.is-listening {
  color: #fff;
  border-color: rgba(239, 68, 68, 0.7);
  background: rgba(185, 28, 28, 0.55);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  animation: chat-mic-pulse 1.4s ease-out infinite;
}

.chat-mic-btn.is-unsupported,
.chat-mic-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.chat-input-group .btn-primary {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.chat-mic-meta {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.35rem;
}
.chat-mic-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--hm-muted);
}
.chat-mic-timer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.chat-mic-timer #voiceTimerText {
  min-width: 2.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7ddcff;
  font-variant-numeric: tabular-nums;
}
.chat-mic-timer-track {
  flex: 1 1 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.chat-mic-timer-track > span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00d4ff, #4defff);
  transition: width 0.2s linear;
}
.chat-mic-meta.is-low #voiceTimerText { color: #f5c542; }
.chat-mic-meta.is-low .chat-mic-timer-track > span {
  background: linear-gradient(90deg, #f59e0b, #f5c542);
}
.chat-mic-meta.is-timeout #voiceTimerText { color: #f87171; }
.chat-mic-meta.is-timeout .chat-mic-hint { color: #fecaca; }

@keyframes chat-mic-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Mind Mentor preview modal (hub) */
.hm-mind-modal .modal-dialog {
  max-width: 520px;
}
.hm-mind-modal .modal-content {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(0, 212, 255, 0.12), transparent 55%),
    rgba(8, 16, 30, 0.96);
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 1.15rem;
  color: var(--hm-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hm-mind-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.15rem;
}
.hm-mind-modal .modal-title {
  font-size: 1.05rem;
  font-weight: 700;
}
.hm-mind-modal .modal-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.hm-mind-preview-head {
  display: flex;
  gap: 0.95rem;
  align-items: center;
  margin-bottom: 1rem;
}
.hm-mind-preview-head img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
  flex-shrink: 0;
}
.hm-mind-preview-head h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: "Space Grotesk", "Sora", sans-serif;
}
.hm-mind-preview-meta {
  margin: 0.25rem 0 0;
  color: var(--hm-cyan-2);
  font-size: 0.78rem;
  font-weight: 600;
}
.hm-mind-preview-headline {
  margin: 0.3rem 0 0;
  color: var(--hm-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}
.hm-mind-preview-about {
  margin: 0;
  color: #c7d4e8;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-line;
}
.hm-mind-preview-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hm-mind-preview-actions .hm-btn {
  width: 100%;
  justify-content: center;
}
.hm-mind-preview-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
.hm-mind-preview-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  background: rgba(0, 212, 255, 0.08);
  color: var(--hm-text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}
.hm-mind-preview-socials a:hover {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.16);
  color: #fff;
}
.hm-mind-preview-socials .is-empty {
  color: var(--hm-muted);
  font-size: 0.82rem;
  text-align: center;
  width: 100%;
}
