/**
 * Suite banner — NORA · Scope · mybimflow (hub hero)
 * Live: Suite 30 flow cu noduri
 */
.suite-product-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
}

.suite-scope-word {
  font-weight: 750;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.suite-mybf-word {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.suite-mybf-word .my {
  color: #5eead4;
  font-weight: 600;
  font-size: 0.85em;
}

.suite-phone {
  position: relative;
  width: 118px;
  height: 232px;
  border-radius: 22px;
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
  border: 2px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 32px rgba(20, 184, 166, 0.15);
  overflow: hidden;
  flex-shrink: 0;
}

.suite-phone--lg {
  width: 138px;
  height: 272px;
  border-radius: 26px;
}

.suite-phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  z-index: 2;
}

.suite-phone__screen {
  position: absolute;
  inset: 14px 8px 10px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(20, 184, 166, 0.22), transparent 50%),
    linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  text-align: center;
}

.suite-phone__screen img.suite-phone__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.suite-phone__label {
  font-size:var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2e8f0;
  line-height: 1.25;
}

.suite-phone__label span {
  display: block;
  color: #5eead4;
  font-weight: 600;
  font-size:var(--text-micro);
  margin-top: 2px;
}

.suite-phone__bars {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 28px;
  height: 36px;
  opacity: 0.7;
  background:
    repeating-linear-gradient(180deg, transparent 0, transparent 6px, rgba(45, 212, 191, 0.28) 6px, rgba(45, 212, 191, 0.28) 7px);
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}

.suite-phone__home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 3px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.35);
}

.suite-phone--tilt {
  transform: perspective(640px) rotateY(-12deg) rotateX(4deg);
  animation: suite-phone-float 5.5s ease-in-out infinite;
}

@keyframes suite-phone-float {
  0%, 100% { transform: perspective(640px) rotateY(-12deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(640px) rotateY(-10deg) rotateX(3deg) translateY(-8px); }
}

.suite-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.suite-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 650;
  font-family: inherit;
  text-decoration: none;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.suite-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.1);
}

.suite-cta--nora {
  background: linear-gradient(90deg, #06b6d4, #818cf8);
  border: none;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

.suite-cta--scope {
  background: linear-gradient(90deg, #fb923c, #ea580c);
  border: none;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25);
}

.suite-cta--app {
  background: linear-gradient(90deg, #2dd4bf, #0d9488);
  border: none;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

/* Modal instalare mybimflow */
.mybf-modal-veil {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mybf-modal-veil.is-open {
  display: flex;
}

.mybf-modal {
  width: min(440px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  padding: 28px 24px 22px;
  position: relative;
  color: #f8fafc;
}

.mybf-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size:var(--text-xl);
  line-height: 1;
  cursor: pointer;
}

.mybf-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mybf-modal__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}

.mybf-modal__badge {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size:var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5eead4;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.mybf-modal h3 {
  margin: 0 0 10px;
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mybf-modal p {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.82);
}

.mybf-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mybf-modal__actions .suite-cta {
  margin: 0;
}

.suite-hero {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 48px);
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 27, 75, 0.78) 50%, rgba(15, 23, 42, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.suite-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 88% 70%, rgba(249, 115, 22, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 55% 100%, rgba(99, 102, 241, 0.12) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.suite-hero > * {
  position: relative;
  z-index: 1;
}

.suite-hero .nora-wave-canvas {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4%;
  width: 100%;
  height: 42%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.suite-kicker {
  font-size:var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin: 0 0 12px;
}

.suite-headline {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f8fafc;
  line-height: 1.2;
}

.suite-sub {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.78);
  max-width: 42ch;
}

.suite-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 44ch;
}

.suite-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.82);
}

.suite-points__dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}

.suite-points__dot--nora {
  background: #22d3ee;
  color: rgba(34, 211, 238, 0.55);
}

.suite-points__dot--scope {
  background: #fb923c;
  color: rgba(251, 146, 60, 0.55);
}

.suite-points__dot--mybf {
  background: #2dd4bf;
  color: rgba(45, 212, 191, 0.55);
}

.suite-points b {
  font-weight: 700;
  color: #f8fafc;
}

/* Orbit layout (8B) */
.suite-mp8 {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: clamp(64px, 10vw, 100px);
}

.suite-mp8-orbit {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.suite-mp8b-orbit {
  min-height: 360px;
}

.suite-mp8-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(34, 211, 238, 0.28);
  animation: suite-ring-spin 28s linear infinite;
}

.suite-mp8-ring-2 {
  width: 280px;
  height: 280px;
  border-color: rgba(251, 146, 60, 0.22);
  animation-duration: 40s;
  animation-direction: reverse;
}

.suite-mp8-ring-3 {
  width: 340px;
  height: 340px;
  border-color: rgba(45, 212, 191, 0.18);
  animation-duration: 52s;
}

@keyframes suite-ring-spin {
  to { transform: rotate(360deg); }
}

.suite-mp8-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  animation: suite-chip-bob 4.5s ease-in-out infinite;
}

.suite-mp8-float--nora {
  top: 12%;
  left: 4%;
  border-color: rgba(34, 211, 238, 0.35);
}

.suite-mp8-float--scope {
  bottom: 14%;
  right: 2%;
  border-color: rgba(251, 146, 60, 0.4);
  animation-delay: -1.5s;
}

.suite-mp8-float--mybf {
  top: 8%;
  right: 6%;
  border-color: rgba(45, 212, 191, 0.4);
  animation-delay: -2.2s;
}

.suite-mp8-float .nora-wordmark {
  font-size: var(--text-lg);
}

@keyframes suite-chip-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.suite-mp8-float--card {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 14px;
  max-width: 168px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  pointer-events: auto;
}

.suite-mp8-float--card:hover {
  animation-play-state: paused;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.suite-mp8-float--card.suite-mp8-float--nora:hover {
  border-color: rgba(34, 211, 238, 0.55);
}

.suite-mp8-float--card.suite-mp8-float--scope:hover {
  border-color: rgba(251, 146, 60, 0.6);
}

.suite-mp8-float--card.suite-mp8-float--mybf:hover {
  border-color: rgba(45, 212, 191, 0.55);
}

.suite-mp8-float__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.suite-mp8-float__brand .nora-wordmark {
  font-size: var(--text-lg);
}

.suite-mp8-float__brand .suite-scope-word,
.suite-mp8-float__brand .suite-mybf-word {
  font-size: var(--text-base);
}

.suite-mp8-float__cap {
  margin: 0;
  font-size: var(--text-xs);
  line-height: 1.35;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 500;
}

.suite-mp8b-orbit .suite-mp8-float--nora {
  top: 4%;
  left: 0;
}

.suite-mp8b-orbit .suite-mp8-float--scope {
  bottom: 6%;
  right: 0;
}

.suite-mp8b-orbit .suite-mp8-float--mybf {
  top: 2%;
  right: 0;
}

/* Product logos elsewhere on site */
.product-logo {
  width: 1.15em;
  height: 1.15em;
  min-width: 20px;
  min-height: 20px;
  object-fit: contain;
  vertical-align: -0.15em;
  display: inline-block;
  margin-right: 0.35em;
}

.tool-title .product-logo {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin-right: 8px;
  vertical-align: -4px;
}

.nav-product-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px;
  vertical-align: -3px;
}

.header-scope-chip .nav-product-icon {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

/* ── Suite 29 isometric stack (live on Hub) ── */
.suite-hero.s29 {
  overflow: visible;
}

.s29 {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px 20px;
  align-items: center;
}

.s29-stack {
  position: relative;
  height: 380px;
  perspective: 1100px;
  isolation: isolate;
  transform-style: preserve-3d;
  overflow: visible;
}

.s29-card {
  position: absolute;
  top: 40px;
  left: 8%;
  right: 18%;
  width: auto;
  height: 88px;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform-origin: center center;
  transform-style: preserve-3d;
  animation: s29-carousel 12s linear infinite;
  will-change: transform;
  transition: scale 0.35s ease, translate 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.s29-card--nora {
  border-color: rgba(34, 211, 238, 0.45);
  animation-delay: 0s;
}

.s29-card--scope {
  border-color: rgba(251, 146, 60, 0.45);
  animation-delay: -4s;
}

.s29-card--mybf {
  border-color: rgba(45, 212, 191, 0.45);
  animation-delay: -8s;
}

.s29-card__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.s29-card__brand .nora-wordmark {
  font-size: 1.2rem;
}

.s29-card__brand .suite-scope-word,
.s29-card__brand .suite-mybf-word {
  font-size: 1.1rem;
}

.s29-card__brand .suite-product-icon {
  width: 26px;
  height: 26px;
}

.s29-card__cap {
  margin: 0;
  font-size: var(--text-xs, 12px);
  line-height: 1.3;
  color: rgba(226, 232, 240, 0.62);
  font-weight: 500;
}

.s29-card > span {
  color: rgba(148, 163, 184, 0.75);
  font-size: 1.05rem;
  flex-shrink: 0;
}

/*
 * Translate in parent space first (real vertical air), then isometric tilt.
 * Rest slots ~20px apart on screen. Returning card lifts toward camera and over the pile.
 */
@keyframes s29-carousel {
  0% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 40px) rotateX(12deg) rotateY(-16deg);
  }
  28% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(14px, 92px, 28px) rotateX(12deg) rotateY(-16deg);
  }
  33% {
    z-index: 2;
    opacity: 0.98;
    transform: translate3d(24px, 108px, 16px) rotateX(12deg) rotateY(-16deg);
  }
  61% {
    z-index: 2;
    opacity: 0.95;
    transform: translate3d(34px, 196px, 8px) rotateX(12deg) rotateY(-16deg);
  }
  66% {
    z-index: 1;
    opacity: 0.93;
    transform: translate3d(44px, 216px, 0) rotateX(12deg) rotateY(-16deg);
  }
  76% {
    z-index: 6;
    opacity: 1;
    transform: translate3d(20px, 80px, 130px) rotateX(12deg) rotateY(-16deg) scale(1.05);
  }
  86% {
    z-index: 6;
    opacity: 1;
    transform: translate3d(6px, -36px, 120px) rotateX(12deg) rotateY(-16deg) scale(1.06);
  }
  94% {
    z-index: 5;
    opacity: 1;
    transform: translate3d(2px, -8px, 70px) rotateX(12deg) rotateY(-16deg);
  }
  100% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 40px) rotateX(12deg) rotateY(-16deg);
  }
}

.s29-stack:hover .s29-card {
  animation-play-state: paused;
}

.s29-card:hover {
  z-index: 8 !important;
  opacity: 1 !important;
  scale: 1.12;
  translate: 0 -14px;
  filter: brightness(1.08);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(34, 211, 238, 0.12);
}

.s29-card--scope:hover {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(251, 146, 60, 0.16);
}

.s29-card--mybf:hover {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(45, 212, 191, 0.16);
}

@media (max-width: 900px) {
  .suite-mp8 {
    grid-template-columns: 1fr;
  }

  .suite-mp8b-orbit {
    min-height: 320px;
    order: -1;
  }

  .s29 {
    grid-template-columns: 1fr;
  }

  .s29-stack {
    height: auto;
    order: -1;
  }

  .s29-card {
    position: relative;
    left: 0 !important;
    right: 0;
    top: auto !important;
    transform: none !important;
    animation: none !important;
    margin-bottom: 10px;
    scale: 1 !important;
    translate: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite-phone--tilt,
  .suite-mp8-ring,
  .suite-mp8-ring-2,
  .suite-mp8-ring-3,
  .suite-mp8-float {
    animation: none !important;
  }

  .s29-card {
    animation: none !important;
  }

  .s29-card--nora {
    transform: translate3d(0, 0, 40px) rotateX(12deg) rotateY(-16deg);
    z-index: 3;
  }

  .s29-card--scope {
    transform: translate3d(24px, 108px, 16px) rotateX(12deg) rotateY(-16deg);
    z-index: 2;
  }

  .s29-card--mybf {
    transform: translate3d(44px, 216px, 0) rotateX(12deg) rotateY(-16deg);
    z-index: 1;
  }
}

/* ── Suite 30 — Flow cu noduri (live pe Hub) ── */
.suite-hero.s30 {
  display: block;
}
.s30-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-top: 18px;
  position: relative;
}
.s30-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #fb923c, #2dd4bf);
  opacity: 0.55;
}
.s30-step {
  position: relative;
  z-index: 1;
  width: 30%;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.s30-orb {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid currentColor;
  box-shadow: 0 0 20px currentColor;
}
.s30-step--nora { color: #22d3ee; }
.s30-step--scope { color: #fb923c; }
.s30-step--mybf { color: #2dd4bf; }
.s30-step p {
  margin: 6px 0 0;
  font-size: var(--text-xs, 12px);
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.35;
}
.s30-step strong {
  color: #f8fafc;
  font-size: var(--text-sm, 14px);
}
.s30-status {
  margin: 18px 0 0;
  text-align: center;
  font-size: var(--text-xs, 12px);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
}
.s30-status b {
  color: #fbbf24;
  font-weight: 750;
}

.s30-step.dev-locked {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.s30-step.dev-locked::after {
  content: attr(data-dev-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 2;
}

.s30-step.dev-locked:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 720px) {
  .s30-flow {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
  .s30-flow::before {
    left: 50%;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #22d3ee, #fb923c, #2dd4bf);
  }
  .s30-step { width: 100%; }
}
