/* =========================================================
   hero.css — ana sayfa giriş sahnesi (yeşil, motion ağırlıklı)
   Tüm başlangıç animasyonları CSS ile; JS yalnızca parallax,
   sayaç, zaman kodu ve mıknatıs buton için.
   Hareketi azaltmayı seçenlerde hepsi kapalı (son hâli gösterilir).
   ========================================================= */

.hx {
  --g: #00c49e;
  --g2: #3ee0b8;
  --g-deep: #04362b;
  --ink: #f3faf7;
  --mute: rgba(232, 245, 240, 0.7);
  --mx: 0;
  --my: 0;
  --sp: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  color: var(--ink);
  background: #050b09;
}

/* ---------- Arka plan sahnesi ---------- */

.hx-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hx-curtain {
  position: absolute;
  inset: -4% -8%;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.42) 0 14px,
      rgba(0, 196, 158, 0.05) 14px 22px,
      rgba(0, 0, 0, 0.25) 22px 38px,
      rgba(62, 224, 184, 0.08) 38px 44px);
  mask-image: radial-gradient(120% 90% at 50% 45%, #000 35%, transparent 85%);
  transform-origin: top center;
  animation:
    hx-curtain-in 1.4s cubic-bezier(0.22, 1, 0.36, 1) both,
    hx-curtain-drift 16s ease-in-out 1.4s infinite alternate;
}

.hx-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1100px, 120vw);
  aspect-ratio: 1.3;
  translate: -50% -50%;
  background:
    radial-gradient(closest-side, rgba(0, 196, 158, 0.55), rgba(0, 196, 158, 0.18) 45%, transparent 75%);
  filter: blur(20px);
  transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 20px), 0);
  animation: hx-glow-in 1.8s ease-out both, hx-breathe 7s ease-in-out 1.8s infinite;
}

.hx-sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  width: 28%;
  left: 0;
  background: linear-gradient(100deg, transparent, rgba(190, 255, 235, 0.09) 45%, rgba(190, 255, 235, 0.14) 50%, transparent 60%);
  transform: translateX(-140%) skewX(-12deg);
  animation: hx-sweep 9s ease-in-out 2.2s infinite;
}

.hx-grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hx::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #060d0d 92%);
}

/* ---------- İskelet ---------- */

.hx-inner {
  position: relative;
  width: min(1360px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 36px 0 34px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hx-top {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.hx-intro {
  max-width: 380px;
  animation: hx-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.hx-lead {
  margin: 0 0 18px;
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hx-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hx-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--g);
  color: #03130e;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 196, 158, 0.35);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hx-cta:hover {
  background: var(--g2);
  box-shadow: 0 14px 40px rgba(0, 196, 158, 0.5);
}

.hx-cta-round {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f3faf7;
  color: #03130e;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.hx-cta-round svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hx-cta-round:hover {
  background: var(--g2);
}

.hx-cta-round:hover svg {
  transform: rotate(45deg);
}

/* Program etiketleri */
.hx-tools {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hx-tools li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border: 1px solid rgba(62, 224, 184, 0.28);
  border-radius: 999px;
  background: rgba(5, 20, 16, 0.55);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  font-weight: 700;
  animation:
    hx-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
    hx-bob 5s ease-in-out infinite;
}

.hx-tools li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 10px var(--g);
}

.hx-tools[data-icons="on"] li.has-icon::before {
  display: none;
}

.hx-tool-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.hx-tools li:nth-child(1) { animation-delay: 1.05s, 2s; }
.hx-tools li:nth-child(2) { animation-delay: 1.15s, 2.6s; }
.hx-tools li:nth-child(3) { animation-delay: 1.25s, 3.2s; }
.hx-tools li:nth-child(4) { animation-delay: 1.35s, 3.8s; }

/* ---------- Merkez: portre + dev başlık ---------- */

.hx-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 18px;
  transform: translate3d(0, calc(var(--sp) * 90px), 0);
}

.hx-portrait {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: min(520px, 40vw);
  translate: -50% 0;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -8px), 0);
  z-index: 1;
}

.hx-portrait img,
.hx-portrait video {
  display: block;
  width: 100%;
  height: auto;
  mask-image: radial-gradient(58% 62% at 50% 46%, #000 42%, rgba(0, 0, 0, 0.6) 58%, transparent 74%);
  filter: saturate(0.9) contrast(1.05);
  animation: hx-portrait-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hx-portrait.has-showreel video {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.hx-portrait::after {
  content: "";
  position: absolute;
  inset: 8% 10% 0;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 196, 158, 0.45), transparent);
  filter: blur(30px);
  animation: hx-breathe 6s ease-in-out infinite;
}

.hx-title {
  position: relative;
  z-index: 3;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.22em;
  font-family: var(--studio-display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(4rem, 10.6vw, 11.5rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.55);
  transform:
    translate3d(calc(var(--mx) * 10px), calc(var(--my) * 6px), 0)
    scale(calc(1 - var(--sp) * 0.08));
}

.hx-title-line {
  display: inline-flex;
  overflow: hidden;
  padding: 0.06em 0 0.08em;
}

.hx-ch {
  display: inline-block;
  animation: hx-char 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* harf harf giriş (CSP'ye uygun: gecikmeler CSS'te) */
.hx-title-line .hx-ch:nth-child(1) { animation-delay: 0.45s; }
.hx-title-line .hx-ch:nth-child(2) { animation-delay: 0.5s; }
.hx-title-line .hx-ch:nth-child(3) { animation-delay: 0.55s; }
.hx-title-line .hx-ch:nth-child(4) { animation-delay: 0.6s; }
.hx-title-line .hx-ch:nth-child(5) { animation-delay: 0.65s; }
.hx-title-line .hx-ch:nth-child(6) { animation-delay: 0.7s; }
.hx-title-line-2 .hx-ch:nth-child(1) { animation-delay: 0.62s; }
.hx-title-line-2 .hx-ch:nth-child(2) { animation-delay: 0.67s; }
.hx-title-line-2 .hx-ch:nth-child(3) { animation-delay: 0.72s; }
.hx-title-line-2 .hx-ch:nth-child(4) { animation-delay: 0.77s; }
.hx-title-line-2 .hx-ch:nth-child(5) { animation-delay: 0.82s; }
.hx-title-line-2 .hx-ch:nth-child(6) { animation-delay: 0.87s; }

/* başlığın üstünden geçen yeşil "playhead" */
.hx-title::after {
  content: "";
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--g2);
  box-shadow: 0 0 18px 2px var(--g);
  opacity: 0;
  animation: hx-playhead 1.6s cubic-bezier(0.65, 0, 0.35, 1) 1.1s both;
}

.hx-sub {
  position: relative;
  z-index: 3;
  margin: 10px 0 0;
  font-family: var(--studio-display, "Bricolage Grotesque", sans-serif);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--g2);
  animation: hx-fade-up 0.8s ease 1.2s both;
}

.hx-rec {
  position: absolute;
  top: 6%;
  right: 4%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  animation: hx-fade-up 0.8s ease 1.4s both;
}

.hx-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d5e;
  animation: hx-blink 1.2s steps(2, start) infinite;
}

/* ---------- Alt satır: kartlar ---------- */

.hx-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.hx-card-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  animation: hx-slide-r 1s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}

.hx-thumb {
  width: 120px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--g), var(--g-deep));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hx-thumb img {
  width: 100%;
  height: auto;
  margin-top: 10%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hx-card-row:hover .hx-thumb img {
  transform: scale(1.08) translateY(-4%);
}

.hx-glass {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 170px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  text-align: center;
}

.hx-glass strong {
  font-family: var(--studio-display, "Bricolage Grotesque", sans-serif);
  font-size: 2.6rem;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.hx-glass-label {
  color: var(--mute);
  font-size: 0.8rem;
}

.hx-clients {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 20, 16, 0.55);
  backdrop-filter: blur(12px);
  color: var(--ink);
  animation: hx-slide-l 1s cubic-bezier(0.22, 1, 0.36, 1) 1.4s both;
  transition: border-color 0.25s ease;
}

.hx-clients:hover {
  border-color: rgba(62, 224, 184, 0.6);
}

.hx-faces {
  display: flex;
}

.hx-faces img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #050b09;
  object-fit: cover;
  background: #12221d;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hx-faces img + img {
  margin-left: -12px;
}

.hx-clients:hover .hx-faces img {
  transform: translateY(-4px);
}

.hx-clients:hover .hx-faces img:nth-child(2) { transition-delay: 0.04s; }
.hx-clients:hover .hx-faces img:nth-child(3) { transition-delay: 0.08s; }
.hx-clients:hover .hx-faces img:nth-child(4) { transition-delay: 0.12s; }
.hx-clients:hover .hx-faces img:nth-child(5) { transition-delay: 0.16s; }

.hx-clients-text {
  display: grid;
  line-height: 1.25;
}

.hx-clients-text strong {
  font-size: 1.05rem;
}

.hx-clients-text span {
  color: var(--mute);
  font-size: 0.82rem;
}

/* Aşağı kaydır */
.hx-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;
  width: 26px;
  height: 42px;
  translate: -50% 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  animation: hx-fade-up 0.8s ease 1.8s both;
}

.hx-scroll span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  translate: -50% 0;
  border-radius: 2px;
  background: var(--g2);
  animation: hx-wheel 1.8s ease-in-out infinite;
}

/* Kaydırınca üst ve alt öğeler yumuşakça çekilir */
.hx-top,
.hx-bottom {
  opacity: calc(1 - var(--sp) * 1.4);
}

/* ---------- Keyframes ---------- */

@keyframes hx-curtain-in {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes hx-curtain-drift {
  from { translate: 0 0; }
  to { translate: -44px 0; }
}

@keyframes hx-glow-in {
  from { opacity: 0; scale: 0.6; }
  to { opacity: 1; scale: 1; }
}

@keyframes hx-breathe {
  0%, 100% { opacity: 0.85; scale: 1; }
  50% { opacity: 1; scale: 1.06; }
}

@keyframes hx-sweep {
  0% { transform: translateX(-140%) skewX(-12deg); }
  45%, 100% { transform: translateX(480%) skewX(-12deg); }
}

@keyframes hx-char {
  from { transform: translateY(105%) rotate(8deg); filter: blur(6px); opacity: 0; }
  to { transform: none; filter: none; opacity: 1; }
}

@keyframes hx-portrait-in {
  from { transform: translateY(70px) scale(1.08); filter: blur(14px) saturate(0.9); opacity: 0; }
  to { transform: none; filter: saturate(0.9) contrast(1.05); opacity: 1; }
}

@keyframes hx-playhead {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes hx-fade-up {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes hx-pop {
  from { transform: scale(0.6) translateY(10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes hx-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@keyframes hx-slide-r {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes hx-slide-l {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes hx-blink {
  to { visibility: hidden; }
}

@keyframes hx-wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Mobil ---------- */

@media (max-width: 820px) {
  .hx,
  .hx-inner {
    min-height: auto;
  }

  .hx-inner {
    width: calc(100% - 32px);
    padding: 22px 0 70px;
    grid-template-rows: none;
    gap: 22px;
  }

  .hx-top {
    flex-direction: column;
    gap: 18px;
  }

  .hx-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hx-tools li {
    padding: 7px 12px 7px 10px;
    font-size: 0.82rem;
  }

  .hx-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
  }

  .hx-title {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 0;
    font-size: clamp(3.6rem, 21vw, 7rem);
    line-height: 0.9;
  }

  .hx-portrait {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(360px, 82vw);
    translate: none;
    margin: -10px auto -40px;
    order: 3;
  }

  .hx-sub {
    order: 2;
  }

  .hx-rec {
    display: none;
  }

  .hx-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hx-card-row {
    justify-content: center;
  }

  .hx-thumb {
    width: 96px;
  }

  .hx-glass {
    flex: 1;
  }

  .hx-glass strong {
    font-size: 2.1rem;
  }

  .hx-clients {
    justify-content: center;
  }

  .hx-scroll {
    display: none;
  }

  .hx-top,
  .hx-bottom {
    opacity: 1;
  }
}

/* ---------- Hareketi azalt ---------- */

@media (prefers-reduced-motion: reduce) {
  .hx *,
  .hx *::before,
  .hx *::after {
    animation: none !important;
    transition: none !important;
  }

  .hx-title::after {
    display: none;
  }
}

/* =========================================================
   Yerleşim v2 — referans kompozisyon:
   üstte açıklama + etiketler, ortada tek satır dev başlık,
   altta kartlar; kişi ortada başlığın arkasında.
   ========================================================= */

.hx-thumb {
  background: radial-gradient(120% 90% at 50% 20%, #23e0b4 0%, #00a383 45%, #03332a 100%);
}

.hx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  margin-top: 8%;
}

.hx-portrait img {
  mask-image: linear-gradient(to bottom, #000 72%, transparent 99%);
  filter: drop-shadow(0 0 40px rgba(0, 196, 158, 0.25));
}

@keyframes hx-portrait-in {
  from { transform: translateY(80px) scale(1.06); filter: blur(14px) drop-shadow(0 0 40px rgba(0, 196, 158, 0)); opacity: 0; }
  to { transform: none; filter: drop-shadow(0 0 40px rgba(0, 196, 158, 0.25)); opacity: 1; }
}

.hx-rating-num {
  font-family: var(--studio-display, "Bricolage Grotesque", sans-serif);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

@media (min-width: 821px) {
  .hx-inner {
    width: min(1280px, calc(100% - 64px));
    grid-template-rows: 1fr auto 1fr;
    padding: 28px 0 28px;
  }

  .hx-top {
    align-items: flex-end;
    padding-bottom: clamp(16px, 3.5vh, 40px);
  }

  .hx-center {
    position: static;
    display: block;
    padding: 0;
    transform: none;
  }

  .hx-title {
    translate: 0 calc(var(--sp) * 70px);
  }

  .hx-portrait {
    left: 50%;
    bottom: 0;
    width: auto;
    height: 92%;
    translate: -50% 0;
  }

  .hx-portrait img {
    height: 100%;
    width: auto;
  }

  .hx-title {
    font-size: clamp(4.5rem, 9.4vw, 10.5rem);
    line-height: 0.9;
    justify-content: center;
  }

  .hx-rec {
    top: 26px;
    right: 0;
  }

  .hx-bottom {
    align-items: flex-start;
    padding-top: clamp(16px, 3vh, 34px);
  }

  .hx-card-row {
    gap: 0;
    align-items: center;
  }

  .hx-thumb {
    width: clamp(120px, 11vw, 160px);
    border-radius: 20px;
  }

  .hx-glass {
    margin-left: -18px;
    min-width: 0;
    padding: 18px 26px;
    text-align: left;
  }

  .hx-glass strong {
    font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  }

  .hx-clients {
    padding: 0;
    border: 0;
    background: none;
    backdrop-filter: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hx-clients-text strong {
    font-size: 1.1rem;
  }

  .hx-scroll {
    bottom: 22px;
  }
}

.hx-inner {
  position: relative;
}

.hx-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hx-rating-label {
  color: var(--mute);
  font-size: 0.85rem;
  line-height: 1.35;
}

/* v3: kenarlara yayılım + yumuşak arka ışık */
.hx-portrait img {
  filter: none;
}

@keyframes hx-portrait-in {
  from { transform: translateY(80px) scale(1.06); filter: blur(14px); opacity: 0; }
  to { transform: none; filter: none; opacity: 1; }
}

.hx-portrait::after {
  inset: 4% -30% -10%;
  background: radial-gradient(closest-side, rgba(0, 196, 158, 0.32), rgba(0, 196, 158, 0.12) 55%, transparent);
  filter: blur(60px);
}

@media (min-width: 821px) {
  .hx-inner {
    width: min(1760px, calc(100% - clamp(48px, 8vw, 160px)));
  }

  .hx-intro {
    max-width: 400px;
  }
}

/* v4: ferah yerleşim, tek arka plan, başlık gölgesi */
.hx {
  background: #060d0d;
}

.hx-title {
  text-shadow: none;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.35));
}

@media (min-width: 821px) {
  .hx-top {
    padding-bottom: clamp(48px, 11vh, 130px);
  }

  .hx-bottom {
    padding-top: clamp(56px, 12vh, 140px);
  }

  .hx-title {
    translate: 0 calc(28px + var(--sp) * 70px);
  }

  .hx-card-row {
    gap: 14px;
  }

  .hx-glass {
    margin-left: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* v5: harf noktaları kesilmesin */
.hx-title-line {
  padding-top: 0.24em;
  margin-top: -0.18em;
}

.hx {
  background: transparent;
}

.hx-curtain {
  display: none;
}

.hx::after {
  background: none;
}


/* giriş katmanları alta doğru erisin, sınır çizgisi kalmasın */
.hx-stage {
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.hx-portrait::after {
  inset: 4% -30% 18%;
}

/* Arka planda bulanık süzülen program logoları (logolar assets/icons/tools/ içinde varsa) */
.hx-float {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * -22px), calc(var(--my) * -14px), 0);
}

.hx-float-item {
  position: absolute;
  width: clamp(70px, 8vw, 130px);
  opacity: 0;
  filter: blur(5px) saturate(0.9);
  animation:
    hx-float-in 1.6s ease 1.2s forwards,
    hx-float-drift 14s ease-in-out 1.2s infinite alternate;
}

.hx-float-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22%;
}

.hx-float-item.f1 { left: 8%;  top: 18%; rotate: -12deg; animation-duration: 1.6s, 15s; }
.hx-float-item.f2 { right: 9%; top: 52%; rotate: 10deg;  animation-duration: 1.6s, 18s; filter: blur(7px); }
.hx-float-item.f3 { left: 24%; bottom: 14%; rotate: 8deg; animation-duration: 1.6s, 13s; filter: blur(9px); width: clamp(54px, 6vw, 96px); }
.hx-float-item.f4 { right: 24%; top: 10%; rotate: -8deg; animation-duration: 1.6s, 16s; filter: blur(10px); width: clamp(50px, 5vw, 84px); }
.hx-float-item.f5 { left: 46%; top: 6%; rotate: 14deg; animation-duration: 1.6s, 20s; filter: blur(12px); width: clamp(44px, 4.5vw, 76px); }

@keyframes hx-float-in {
  to { opacity: 0.38; }
}

@keyframes hx-float-drift {
  0% { translate: 0 0; }
  50% { translate: 18px -26px; }
  100% { translate: -14px 12px; }
}

@media (max-width: 820px) {
  .hx-float-item.f3,
  .hx-float-item.f5 { display: none; }
  .hx-float-item { opacity: 0; animation-name: hx-float-in-m, hx-float-drift; }
}

@keyframes hx-float-in-m {
  to { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-float-item { animation: none; opacity: 0.3; }
}
