/* FUTURON Employee Hub — UI aligned with user-guide mock (list rows) */

.futuron-app-shell {
  --hub-ink: #0f1b38;
  --hub-ink-2: #1f4d73;
  --hub-teal: #2f7a8a;
  --hub-teal-soft: #56a9b5;
  --hub-muted: #556170;
  --hub-border: #d3e3ed;
  --hub-card: #ffffff;
  --hub-mist: #e8f6f8;
  --hub-radius: 16px;
  --hub-row-h: 64px;
}

/* —— Profile card (compact, mobile-first) —— */
.futuron-app-main > .card.futuron-hub-profile,
.futuron-hub-profile.card,
.futuron-hub-profile {
  display: block;
  margin: 0 0 12px;
  padding: 12px 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: linear-gradient(145deg, #0f1b38 0%, #1f4d73 58%, #2f7a8a 100%);
  color: #fff;
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 24px rgba(10, 35, 64, 0.14);
}
.futuron-hub-profile h1,
.futuron-hub-profile .futuron-hub-role,
.futuron-hub-profile .futuron-hub-email,
.futuron-hub-profile .futuron-hub-tagline {
  color: #fff;
}
.futuron-hub-profile .futuron-hub-role {
  color: rgba(255, 255, 255, 0.9);
}
.futuron-hub-profile .futuron-hub-email {
  color: rgba(255, 255, 255, 0.68);
  display: none; /* less noise on small cards */
}
.futuron-hub-profile-main {
  display: flex;
  gap: 12px;
  align-items: center;
}
.futuron-hub-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
}
.futuron-hub-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.futuron-hub-profile-text {
  min-width: 0;
}
.futuron-hub-profile h1 {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}
.futuron-hub-role {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.futuron-hub-email {
  margin: 0;
  font-size: 11px;
  word-break: break-all;
}
.futuron-hub-tagline {
  display: none; /* actions replace the long tagline */
}
/* Compact action chips (side by side) */
.futuron-hub-actions {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
}
.futuron-hub-chip {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}
.futuron-hub-chip:active {
  transform: scale(0.98);
}
.futuron-hub-chip-ico {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.95;
}
.futuron-hub-chip--primary {
  color: #0f1b38 !important;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(10, 35, 64, 0.16);
}
.futuron-hub-chip--ghost {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.futuron-hub-chip--ghost:hover,
.futuron-hub-chip--ghost:focus {
  background: rgba(255, 255, 255, 0.2);
}
/* Legacy class kept if referenced elsewhere */
.futuron-hub-admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  color: #0f1b38 !important;
  background: rgba(255, 255, 255, 0.95);
}
.futuron-hub-admin-btn--secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* —— Tour alert —— */
.futuron-hub-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 14px 14px 12px;
  border-radius: var(--hub-radius);
  text-decoration: none;
  color: var(--hub-ink);
  background: linear-gradient(135deg, #e8f6f8 0%, #d4eef2 55%, #c5e6ec 100%);
  border: 1px solid var(--hub-teal-soft);
  box-shadow: 0 10px 24px rgba(14, 28, 59, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.futuron-hub-alert:active {
  transform: scale(0.99);
}
.futuron-hub-alert-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  background: linear-gradient(145deg, #2e5f7a, #56a9b5);
}
.futuron-hub-alert-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.futuron-hub-alert-body strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--hub-ink);
}
.futuron-hub-alert-body span {
  font-size: 12px;
  color: var(--hub-teal);
  line-height: 1.35;
}
.futuron-hub-alert-badge {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--hub-ink);
  flex-shrink: 0;
}
.futuron-hub-alert-chevron {
  font-size: 22px;
  font-weight: 300;
  color: var(--hub-teal);
  line-height: 1;
  flex-shrink: 0;
}

/* —— My next tour card —— */
.futuron-hub-next-tour {
  margin: 0 0 16px;
  padding: 14px 14px 12px;
  border-radius: var(--hub-radius);
  background: linear-gradient(145deg, #0f1b38 0%, #1a3d5c 48%, #2f7a8a 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 35, 64, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.futuron-hub-next-tour-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.futuron-hub-next-tour-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.futuron-hub-next-tour-countdown {
  flex-shrink: 0;
  min-width: 52px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f1b38;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.futuron-hub-next-tour-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
  min-width: 0;
}
.futuron-hub-next-tour-client {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.futuron-hub-next-tour-slot {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
}
.futuron-hub-next-tour-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.35;
}
.futuron-hub-next-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.futuron-hub-next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #0f1b38 !important;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  -webkit-tap-highlight-color: transparent;
}
.futuron-hub-next-btn:hover,
.futuron-hub-next-btn:focus {
  background: #fff;
  color: #0f1b38 !important;
}
.futuron-hub-next-btn--wa {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #1ebe57;
}
.futuron-hub-next-btn--wa:hover,
.futuron-hub-next-btn--wa:focus {
  background: #1ebe57 !important;
  color: #fff !important;
}
.futuron-hub-next-btn--primary {
  background: #f5c451 !important;
  color: #0f1b38 !important;
  border-color: #e0ad2e;
}
.futuron-hub-next-tour-pager {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}
.futuron-hub-next-tour-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}
.futuron-hub-next-tour-track {
  display: flex;
  width: 100%;
  transition: transform 0.28s ease;
  will-change: transform;
}
.futuron-hub-next-tour-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}
.futuron-hub-next-tour-slide-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.futuron-hub-next-tour-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.futuron-hub-next-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.futuron-hub-next-nav-btn:hover,
.futuron-hub-next-nav-btn:focus {
  background: rgba(255, 255, 255, 0.28);
}
.futuron-hub-next-tour-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.futuron-hub-next-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.futuron-hub-next-dot.is-active {
  width: 18px;
  background: #fff;
}
.futuron-hub-next-btn--primary {
  background: #56a9b5 !important;
  color: #fff !important;
  border-color: #3d8f9c;
}
.futuron-hub-next-btn--primary:hover,
.futuron-hub-next-btn--primary:focus {
  background: #3d8f9c !important;
  color: #fff !important;
}

/* —— News ticker —— */
.futuron-hub-news-ticker {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 0 16px;
  border-radius: var(--hub-radius);
  overflow: hidden;
  background: linear-gradient(180deg, #fff8ef, #fff4e5);
  border: 1px solid rgba(201, 139, 46, 0.28);
  box-shadow: 0 10px 24px rgba(201, 139, 46, 0.12);
}
.futuron-hub-news-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: linear-gradient(180deg, #c98b2e, #a66f12);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.futuron-hub-news-viewport {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.futuron-hub-news-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  padding: 12px 0;
  animation: futuron-hub-ticker 28s linear infinite;
}
.futuron-hub-news-item {
  color: #8a5a10;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.futuron-hub-news-item:hover,
.futuron-hub-news-item:focus {
  color: #5c3d08;
  text-decoration: underline;
}
.futuron-hub-news-sep {
  color: rgba(138, 90, 16, 0.45);
  font-size: 12px;
}
@keyframes futuron-hub-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* —— Section head —— */
.futuron-hub-section-head {
  margin: 2px 2px 8px;
}
.futuron-hub-section-head h2 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hub-ink);
  line-height: 1.25;
}
.futuron-hub-section-head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--hub-muted);
}

/* —— Apps list: denser mobile rows —— */
.futuron-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.futuron-hub-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--hub-card);
  border: 1px solid rgba(15, 27, 56, 0.07);
  box-shadow: 0 4px 14px rgba(10, 35, 64, 0.05);
  color: var(--hub-ink);
  text-decoration: none;
  position: relative;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.futuron-hub-tile:active:not(.is-locked) {
  transform: scale(0.985);
}
.futuron-hub-tile:hover:not(.is-locked) {
  border-color: rgba(47, 122, 138, 0.35);
  box-shadow: 0 8px 20px rgba(10, 35, 64, 0.08);
}

.futuron-hub-tile-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin: 0;
  flex-shrink: 0;
  background: var(--hub-mist);
  color: var(--hub-teal);
}
.futuron-hub-tile-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.futuron-hub-tile--signature .futuron-hub-tile-icon {
  background: rgba(31, 77, 115, 0.12);
  color: #1f4d73;
}
.futuron-hub-tile--contact .futuron-hub-tile-icon {
  background: rgba(47, 122, 138, 0.14);
  color: #2f7a8a;
}
.futuron-hub-tile--workspace .futuron-hub-tile-icon {
  background: linear-gradient(145deg, #5b3fd6, #2f7a8a);
  color: #fff;
}
.futuron-hub-tile--workspace .futuron-hub-tile-icon svg {
  stroke: #fff;
}
.futuron-hub-tile--tour .futuron-hub-tile-icon {
  background: rgba(86, 169, 181, 0.18);
  color: #0e1c3b;
}
.futuron-hub-tile--brand_assets .futuron-hub-tile-icon {
  background: rgba(201, 139, 46, 0.14);
  color: #a66f12;
}
.futuron-hub-tile--media .futuron-hub-tile-icon {
  background: rgba(91, 77, 158, 0.14);
  color: #5b4d9e;
}
.futuron-hub-tile--ai .futuron-hub-tile-icon {
  background: rgba(15, 27, 56, 0.1);
  color: #0f1b38;
}
.futuron-hub-tile--nfc .futuron-hub-tile-icon {
  background: rgba(47, 122, 138, 0.12);
  color: #2f7a8a;
}

.futuron-hub-tile-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.35);
}
.futuron-hub-tile--tour.has-badge {
  border-color: rgba(198, 40, 40, 0.28);
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.12);
}

.futuron-hub-tile-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-right: 22px;
}
.futuron-hub-tile-label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: var(--hub-ink);
}
.futuron-hub-tile-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--hub-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chevron — right side like guide */
.futuron-hub-tile-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-top: 2px solid rgba(47, 122, 138, 0.5);
  border-right: 2px solid rgba(47, 122, 138, 0.5);
  transform: rotate(45deg);
}

/* Workspace first tile: slightly stronger CTA */
.futuron-hub-tile--workspace {
  border-color: rgba(47, 122, 138, 0.22);
  background: linear-gradient(180deg, #fff 0%, #f3fafb 100%);
}

@media (min-width: 400px) {
  .futuron-hub-grid {
    gap: 10px;
  }
  .futuron-hub-tile {
    min-height: 68px;
    padding: 12px 14px;
  }
  .futuron-hub-tile-label {
    font-size: 15px;
  }
  .futuron-hub-tile-sub {
    font-size: 12px;
  }
}

@media (min-width: 560px) {
  .futuron-hub-profile {
    padding: 16px 18px;
  }
  .futuron-hub-avatar {
    width: 56px;
    height: 56px;
  }
  .futuron-hub-profile h1 {
    font-size: 18px;
  }
  .futuron-hub-profile .futuron-hub-email {
    display: block;
  }
  .futuron-hub-chip {
    flex: 0 1 auto;
    min-width: 120px;
    padding: 9px 16px;
    font-size: 13px;
  }
}

.futuron-hub-tile.is-locked {
  opacity: 0.9;
  background: linear-gradient(180deg, #fff 0%, #f4f7fa 100%);
  cursor: not-allowed;
}
.futuron-hub-tile-lock {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a4b12;
  background: #fff4e5;
  border: 1px solid #f0d2a8;
  border-radius: 999px;
  padding: 5px 8px;
}

/* Wide: optional 2-col for large phones / desktop hub */
@media (min-width: 720px) {
  .futuron-hub-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .futuron-hub-tile {
    min-height: 96px;
    padding: 16px 18px;
  }
  .futuron-hub-tile-label {
    font-size: 17px;
  }
}

/* Bottom nav: mockup-style equal tabs (styles live in contact-card.css) */
body.futuron-app-body .futuron-emp-nav--bottom {
  border-top-color: rgba(15, 27, 56, 0.08);
}

/* ═══════════════════════════════════════════════════════════
   Post-login cinematic intro — FUTURON HUB
   ═══════════════════════════════════════════════════════════ */
html.futuron-hub-intro-active,
body.futuron-hub-intro-active {
  overflow: hidden !important;
  /* Navy while intro is up — avoids white flash if shell is hidden */
  background-color: #070d1a !important;
}
/*
 * Hide the app shell entirely while intro plays.
 * Prevents Workspace bleed-through even if overlay CSS is cached/stale.
 */
html.futuron-hub-intro-active .futuron-app-shell,
body.futuron-hub-intro-active .futuron-app-shell {
  visibility: hidden !important;
  pointer-events: none !important;
}

.futuron-hub-intro {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 2147483000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  /* Fully opaque navy — never a dimmed Workspace */
  background-color: #070d1a !important;
  background-image: none !important;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
}
.futuron-hub-intro.is-ready {
  opacity: 1;
}
.futuron-hub-intro.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.95s;
}
.futuron-hub-intro.is-gone {
  display: none !important;
}

.futuron-hub-intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #070d1a;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(47, 122, 138, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(86, 169, 181, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(31, 77, 115, 0.55) 0%, transparent 45%),
    linear-gradient(165deg, #070d1a 0%, #0f1b38 42%, #152447 72%, #0a1528 100%);
  overflow: hidden;
  opacity: 1 !important;
}
.futuron-hub-intro-bg::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 38px,
      rgba(86, 169, 181, 0.04) 38px,
      rgba(86, 169, 181, 0.04) 39px
    );
  animation: futuronIntroGrid 18s linear infinite;
  opacity: 0.7;
}
.futuron-hub-intro-bg::after {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  left: -20%;
  top: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(86, 169, 181, 0.12) 0%, transparent 42%);
  animation: futuronIntroPulse 3.2s ease-in-out infinite;
}

.futuron-hub-intro-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.futuron-hub-intro-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: futuronIntroFloat 8s ease-in-out infinite;
}
.futuron-hub-intro-orb--a {
  width: 220px;
  height: 220px;
  background: #2f7a8a;
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}
.futuron-hub-intro-orb--b {
  width: 280px;
  height: 280px;
  background: #1f4d73;
  bottom: 8%;
  right: 5%;
  animation-delay: -2.5s;
}
.futuron-hub-intro-orb--c {
  width: 160px;
  height: 160px;
  background: #56a9b5;
  top: 55%;
  left: 55%;
  opacity: 0.28;
  animation-delay: -4s;
}

.futuron-hub-intro-stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  max-width: min(520px, 92vw);
  /* Stack: logo TOP → word → hub → line → tag (never logo as watermark) */
}

/* Dark-mode mark ABOVE text — slightly larger, no frame */
.futuron-hub-intro-mark {
  position: relative;
  z-index: 4;
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  margin: 0 0 18px !important;
  border-radius: 0;
  display: block;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
  overflow: visible;
  flex: 0 0 auto;
  order: 0;
}
.futuron-hub-intro-mark--logo img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0 !important;
  margin: 0 auto;
  box-sizing: border-box;
  filter: drop-shadow(0 0 18px rgba(86, 169, 181, 0.5));
}
.futuron-hub-intro-mark.is-in {
  opacity: 1 !important;
  transform: scale(1) !important;
  visibility: visible;
}
.futuron-hub-intro-mark.is-out {
  opacity: 0 !important;
  transform: scale(0.55) translateY(-20px) !important;
  filter: blur(5px);
  transition-duration: 0.65s;
}

.futuron-hub-intro-word {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.02em;
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  /* Smaller lockup — mobile + desktop */
  font-size: clamp(1.65rem, 7vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  order: 1;
}
.futuron-hub-intro-letter {
  display: inline-block;
  color: #fff;
  opacity: 0;
  transform: translateY(22px) scale(0.88);
  text-shadow:
    0 0 18px rgba(86, 169, 181, 0.5),
    0 3px 14px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity, filter;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.3s ease,
    filter 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.futuron-hub-intro-letter.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  color: #fff;
  filter: none;
}
/* Scatter burst after hold — transform must win on all viewports */
.futuron-hub-intro-letter.is-scatter {
  opacity: 0 !important;
  transform: translate3d(var(--sx, 90px), var(--sy, -100px), 0)
    rotate(var(--sr, 18deg))
    scale(0.28) !important;
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.18, 0.82, 0.2, 1),
    filter 0.9s ease !important;
}

.futuron-hub-intro-hub {
  position: relative;
  z-index: 5;
  order: 2;
  margin: 10px 0 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(0.95rem, 3.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.45em;
  text-indent: 0.45em;
  color: #56a9b5;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  filter: blur(6px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
}
.futuron-hub-intro-hub.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  text-shadow: 0 0 28px rgba(86, 169, 181, 0.55);
}
.futuron-hub-intro-hub.is-out {
  opacity: 0;
  transform: translateY(24px) scale(0.9);
  filter: blur(6px);
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}

.futuron-hub-intro-line {
  order: 3;
  width: 0;
  height: 2px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #56a9b5, #e8f6f8, #56a9b5, transparent);
  box-shadow: 0 0 12px rgba(86, 169, 181, 0.55);
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}
.futuron-hub-intro-line.is-in {
  width: min(160px, 42vw);
}
.futuron-hub-intro-line.is-out {
  opacity: 0;
  width: 0;
  transition: width 0.5s ease, opacity 0.4s ease;
}

.futuron-hub-intro-tag {
  order: 4;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: rgba(232, 246, 248, 0.72);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}
.futuron-hub-intro-tag.is-in {
  opacity: 1;
  transform: translateY(0);
}
.futuron-hub-intro-tag.is-out {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
}

.futuron-hub-intro-skip {
  position: absolute;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  white-space: nowrap;
}
.futuron-hub-intro-skip-desktop { display: none; }
.futuron-hub-intro-skip-mobile { display: inline; }

@keyframes futuronIntroGrid {
  from { transform: translateY(0); }
  to { transform: translateY(39px); }
}
@keyframes futuronIntroPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes futuronIntroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.08); }
}

.futuron-hub-intro.is-reduced .futuron-hub-intro-letter,
.futuron-hub-intro.is-reduced .futuron-hub-intro-hub,
.futuron-hub-intro.is-reduced .futuron-hub-intro-line,
.futuron-hub-intro.is-reduced .futuron-hub-intro-tag,
.futuron-hub-intro.is-reduced .futuron-hub-intro-mark {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.futuron-hub-intro.is-reduced .futuron-hub-intro-mark {
  width: 72px !important;
  height: 72px !important;
}
.futuron-hub-intro.is-reduced .futuron-hub-intro-line {
  width: min(160px, 42vw);
}

@media (max-width: 380px) {
  .futuron-hub-intro-word {
    letter-spacing: 0.08em;
  }
  .futuron-hub-intro-hub {
    letter-spacing: 0.35em;
    text-indent: 0.35em;
  }
}

/* ── Desktop: refined, smaller type; logo stays above; scatter must move ── */
@media (min-width: 768px) {
  .futuron-hub-intro-bg::before {
    opacity: 0.85;
  }
  .futuron-hub-intro-orb--a {
    width: 300px;
    height: 300px;
    filter: blur(52px);
    opacity: 0.45;
  }
  .futuron-hub-intro-orb--b {
    width: 360px;
    height: 360px;
    filter: blur(56px);
    opacity: 0.42;
  }
  .futuron-hub-intro-orb--c {
    width: 200px;
    height: 200px;
    filter: blur(44px);
    opacity: 0.28;
  }
  .futuron-hub-intro-stage {
    padding: 36px 28px;
    max-width: 480px;
  }
  /* Icon on top — a bit larger, never a watermark behind text */
  .futuron-hub-intro-mark {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    margin: 0 0 18px !important;
  }
  .futuron-hub-intro-mark--logo img {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    padding: 0 !important;
    filter: drop-shadow(0 0 18px rgba(86, 169, 181, 0.5));
  }
  .futuron-hub-intro-word {
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    letter-spacing: 0.12em;
  }
  .futuron-hub-intro-letter {
    transform: translateY(28px) scale(0.88);
    text-shadow:
      0 0 22px rgba(86, 169, 181, 0.55),
      0 4px 16px rgba(0, 0, 0, 0.35);
  }
  /* Full scatter rule on desktop (do not drop transform!) */
  .futuron-hub-intro-letter.is-scatter {
    opacity: 0 !important;
    transform: translate3d(var(--sx, 120px), var(--sy, -130px), 0)
      rotate(var(--sr, 20deg))
      scale(0.25) !important;
    filter: blur(7px);
    transition:
      opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
      transform 1.15s cubic-bezier(0.16, 0.84, 0.18, 1),
      filter 1s ease !important;
  }
  .futuron-hub-intro-hub {
    margin-top: 12px;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    letter-spacing: 0.5em;
    text-indent: 0.5em;
  }
  .futuron-hub-intro-line.is-in {
    width: min(180px, 28vw);
    height: 2px;
    margin-top: 16px;
  }
  .futuron-hub-intro-tag {
    margin-top: 14px;
    font-size: 13px;
    letter-spacing: 0.09em;
  }
  .futuron-hub-intro-skip {
    bottom: 28px;
    font-size: 11px;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.45);
  }
  .futuron-hub-intro-skip-mobile { display: none; }
  .futuron-hub-intro-skip-desktop { display: inline; }
}

@media (min-width: 1200px) {
  .futuron-hub-intro-mark {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    margin: 0 0 20px !important;
  }
  .futuron-hub-intro-mark--logo img {
    width: 96px !important;
    height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
  }
  .futuron-hub-intro-word {
    font-size: 2.65rem;
    letter-spacing: 0.13em;
  }
  .futuron-hub-intro-line.is-in {
    width: 200px;
  }
}


