/* CT Super FX — host + hero slider chrome */

.ctfx,
.g-superfx-hero {
  position: relative;
  overflow: hidden;
}

.ctfx-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ctfx > .ctfx-content,
.g-superfx-hero > .g-superfx-overlay,
.g-superfx-hero > .g-superfx-slides,
.g-superfx-hero > .g-superfx-nav,
.g-superfx-hero > .g-superfx-dots {
  position: relative;
  z-index: 2;
}

.g-superfx-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.05) 0%, rgba(11, 17, 32, 0.5) 100%);
}

.g-superfx-hero {
  width: 100%;
  min-height: 600px;
  background: radial-gradient(ellipse at 50% 30%, #101a33 0%, #0b1120 70%);
}

.g-superfx-slides {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.g-superfx-slide {
  position: absolute;
  max-width: 780px;
  padding: 0 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}

.g-superfx-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.g-superfx-slide .g-superfx-eyebrow {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: #4fd1c5;
  margin-bottom: 18px;
  font-weight: 600;
}

.g-superfx-slide h1,
.g-superfx-slide .g-title {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.25;
  color: #f4f6fb;
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.g-superfx-slide p,
.g-superfx-slide .g-text {
  color: #aab3c8;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  margin: 0 0 32px;
}

.g-superfx-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.g-superfx-btn {
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
}

.g-superfx-btn-solid {
  background: linear-gradient(135deg, #7c6cf0, #4fd1c5);
  color: #0b1120;
}

.g-superfx-btn-solid:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  color: #0b1120;
}

.g-superfx-btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #e8ebf3;
  background: transparent;
}

.g-superfx-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #e8ebf3;
}

.g-superfx-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e8ebf3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 18px;
  user-select: none;
  padding: 0;
}

.g-superfx-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.g-superfx-nav-prev {
  left: 24px;
}

.g-superfx-nav-next {
  right: 24px;
}

.g-superfx-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.g-superfx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: 0.25s ease;
}

.g-superfx-dot.active {
  background: #4fd1c5;
  transform: scale(1.25);
}

@media (max-width: 48rem) {
  .g-superfx-nav {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .g-superfx-nav-prev {
    left: 10px;
  }

  .g-superfx-nav-next {
    right: 10px;
  }
}

/* Generic ctfx block — min height when used as section BG */
.ctfx.ctfx--block {
  min-height: 320px;
}

.ctfx .ctfx-content {
  position: relative;
  z-index: 2;
}
