/**
 * MunichTech EXPO — SPARK AI Hub platform (shared config + site integrations)
 */

/* Hide React SPA body content on hub route; injector owns the page */
html.mte-spark-hub-route #root > main,
html.mte-spark-hub-route #root > section:not(header),
html.mte-spark-hub-route #root > div > main,
html.mte-spark-hub-route #root > div > section,
body.mte-spark-hub-route #root > main,
body.mte-spark-hub-route #root > section:not(header),
body.mte-spark-hub-route #root > div > main,
body.mte-spark-hub-route #root > div > section {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.mte-spark-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #00e0ff;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.28);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mte-spark-badge:hover {
  border-color: rgba(0, 200, 255, 0.5);
  box-shadow: 0 4px 16px rgba(0, 200, 255, 0.15);
  transform: translateY(-1px);
}

.mte-spark-cta {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(8, 24, 48, 0.85);
  border: 1px solid rgba(0, 200, 255, 0.18);
  backdrop-filter: blur(8px);
}

.mte-spark-cta__title {
  font-size: 1rem;
  font-weight: 700;
  color: #f0f7ff;
  margin: 0 0 0.35rem;
}

.mte-spark-cta__text {
  font-size: 0.9rem;
  color: #8ea4c8;
  margin: 0 0 0.85rem;
  line-height: 1.5;
}

.mte-spark-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  border-radius: 0.55rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  background: linear-gradient(90deg, #00c8ff, #2f80ed);
  color: #021018;
}

.mte-spark-hub-mount {
  --mte-bg-0: #020817;
  --mte-bg-1: #061426;
  --mte-accent: #00c8ff;
  --mte-accent-3: #2f80ed;
  --mte-text: #f0f7ff;
  --mte-muted: #8ea4c8;
  width: 100%;
  color: var(--mte-text);
  background: var(--mte-bg-0);
}

.mte-spark-hub-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
  border-top: 1px solid rgba(0, 200, 255, 0.08);
  background: linear-gradient(180deg, var(--mte-bg-1), var(--mte-bg-0));
}

.mte-spark-hub-inner {
  max-width: 960px;
  margin: 0 auto;
}

.mte-spark-hub-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

.mte-spark-hub-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--mte-muted);
  margin: 0 0 1.5rem;
}

.mte-spark-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.mte-spark-hub-pill {
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: rgba(8, 24, 48, 0.85);
  border: 1px solid rgba(0, 200, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 600;
}

.mte-spark-hub-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mte-spark-hub-btn {
  display: inline-flex;
  padding: 0.8rem 1.35rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.mte-spark-hub-btn--primary {
  background: linear-gradient(90deg, var(--mte-accent), var(--mte-accent-3));
  color: #021018;
}

.mte-spark-hub-btn--outline {
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: var(--mte-text);
}

@media (max-width: 640px) {
  .mte-spark-hub-section {
    padding: 2.5rem 1rem;
  }

  .mte-spark-hub-grid {
    grid-template-columns: 1fr;
  }

  .mte-spark-hub-cta-row {
    flex-direction: column;
  }

  .mte-spark-hub-btn {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }
}
