/**
 * Magic UI Split Hero — metin sol · robot sağ · hizalı · çakışma yok
 */

.fast-magic-split {
  --mu-text: #f8fafc;
  --mu-text-soft: rgba(226, 232, 240, 0.88);
}

.fast-magic-split .mu-hero--split {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

/* fx-hero / cm-hero eski grid'i tek child'ı sola sıkıştırıyordu */
.fast-magic-split .mu-hero--split.fx-hero,
.fast-magic-split .mu-hero--split.cm-hero {
  display: block;
  max-width: none;
  width: 100%;
  padding: 0;
  gap: 0;
  min-height: 100svh;
  height: auto;
  background: transparent;
}

.mu-hero--split .mu-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  align-items: stretch;
  min-height: 100svh;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  gap: 0;
}

.mu-hero--split .mu-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: var(--space-5);
  padding: calc(var(--nav-height) + var(--space-8)) clamp(1.25rem, 4vw, 3rem) var(--space-8)
    clamp(1.5rem, 6vw, 5rem);
  max-width: none;
}

.mu-hero--split .mu-shiny-pill {
  margin-bottom: 0;
}

.mu-hero--split .mu-hero__title {
  margin: 0;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.125rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--mu-text);
}

.mu-hero--split .mu-hero__title-line {
  display: block;
}

.mu-hero--split .mu-hero__title-line--morph {
  margin-top: 0.12em;
  color: var(--mu-accent-soft, #93c5fd);
}

.mu-hero--split .mu-morph {
  min-width: 10ch;
  text-align: left;
}

.mu-hero--split .mu-hero__lead {
  margin: 0;
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--mu-text-soft);
}

.mu-hero--split .mu-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.mu-hero--split .mu-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin: var(--space-4) 0 0;
  padding: var(--space-5) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.mu-hero--split .mu-hero__metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--mu-text);
}

.mu-hero--split .mu-hero__metric-label {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

/* Robot panel — sağ kolon, tam yükseklik */
.mu-hero--split .mu-hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 100svh;
  border-left: none;
  background: radial-gradient(ellipse 85% 75% at 58% 44%, rgba(37, 99, 235, 0.14), transparent 72%);
}

.mu-hero--split .mu-hero__visual-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mu-hero--split .mu-hero__visual-fx .mu-flicker-grid {
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 78%);
}

.mu-hero--split .mu-hero__visual-fx .mu-particles {
  opacity: 0.6;
  mix-blend-mode: screen;
}

.mu-hero--split .mu-hero__visual .mu-hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 1;
  background: #041525;
}

.mu-hero--split .mu-hero__visual .mu-hero__video.is-error {
  opacity: 0;
}

.mu-hero--split .mu-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 6, 10, 0.72) 0%,
    rgba(5, 6, 10, 0.28) 38%,
    rgba(5, 6, 10, 0.08) 62%,
    transparent 100%
  );
}

.mu-hero--split .mu-hero__visual .cm-hero__spline-fullstage {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent !important;
  overflow: hidden;
  clip-path: inset(0 0 13% 0);
}

.fast-magic-split .mu-hero__visual .cm-hero__spline-fullstage spline-viewer.cm-spline-viewer {
  position: absolute;
  inset: 0;
  width: 150% !important;
  height: 150% !important;
  left: -25% !important;
  top: -6% !important;
  transform: none;
  transform-origin: 58% 46%;
  background: transparent !important;
}

.fast-magic-split .mu-hero__visual .cm-hero__spline-fullstage::before {
  display: none !important;
}

.fast-magic-split .mu-hero__visual .cm-hero__spline-loader {
  inset: auto;
  right: var(--space-4);
  bottom: var(--space-4);
  width: auto;
  height: auto;
  background: transparent;
}

.fast-magic-split .fast-nav {
  background: rgba(5, 6, 10, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
}

.fast-magic-split .fast-nav--solid {
  background: rgba(8, 16, 32, 0.88);
}

@media (max-width: 1023px) {
  .mu-hero--split .mu-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mu-hero--split .mu-hero__copy {
    max-width: none;
    padding-bottom: var(--space-6);
  }

  .mu-hero--split .mu-hero__visual {
    min-height: clamp(300px, 50vh, 460px);
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 639px) {
  .mu-hero--split .mu-hero__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
