/* Futuristik 3D sahne + mobil full-screen hero */

.fx-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 900px;
  transform-style: preserve-3d;
  --fx-tilt-x: 0deg;
  --fx-tilt-y: 0deg;
  --fx-scroll-y: 0px;
  /* Pointer tilt yok — titreme/kasma yapıyordu; sadece hafif scroll */
  transform: translate3d(0, var(--fx-scroll-y), 0);
}
.fx-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(242,101,34,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,101,34,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: rotateX(58deg) translateY(-8%) scale(1.35);
  transform-origin: center 70%;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 45%, #000 20%, transparent 72%);
  animation: fxGridDrift 18s linear infinite;
  opacity: 0.55;
}
@keyframes fxGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 48px, 48px 0; }
}
.fx-orb {
  position: absolute;
  width: min(70vw, 520px);
  aspect-ratio: 1;
  left: 50%;
  top: 42%;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,150,80,0.45), rgba(242,101,34,0.16) 42%, transparent 68%);
  filter: blur(18px);
  animation: fxOrbFloat 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes fxOrbFloat {
  from { transform: translate3d(-2%, -3%, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 40px) scale(1.08); }
}
.fx-ring {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(58vw, 420px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(242,101,34,0.28);
  box-shadow: 0 0 24px rgba(242,101,34,0.08), inset 0 0 24px rgba(242,101,34,0.05);
  animation: fxSpin 22s linear infinite;
  transform: rotateX(68deg) rotateZ(0deg);
}
.fx-ring-2 {
  width: min(44vw, 320px);
  border-color: rgba(255,255,255,0.1);
  animation-duration: 16s;
  animation-direction: reverse;
}
.fx-ring-3 {
  width: min(30vw, 220px);
  border-color: rgba(242,101,34,0.45);
  animation-duration: 11s;
}
@keyframes fxSpin {
  from { transform: rotateX(68deg) rotateZ(0deg); }
  to { transform: rotateX(68deg) rotateZ(360deg); }
}
.fx-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 10px;
  height: 10px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #f26522;
  box-shadow: 0 0 20px rgba(242,101,34,0.9), 0 0 60px rgba(242,101,34,0.35);
  animation: fxCorePulse 2.8s ease-in-out infinite;
}
@keyframes fxCorePulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.55); opacity: 1; }
}
.fx-shard {
  position: absolute;
  width: 72px;
  height: 72px;
  left: 18%;
  top: 30%;
  border: 1px solid rgba(242,101,34,0.35);
  background: linear-gradient(135deg, rgba(242,101,34,0.12), transparent 60%);
  transform: rotateX(50deg) rotateZ(-18deg);
  animation: fxShard 9s ease-in-out infinite alternate;
  backdrop-filter: blur(2px);
}
.fx-shard-2 {
  left: auto;
  right: 14%;
  top: 58%;
  width: 54px;
  height: 54px;
  animation-delay: -2.5s;
  transform: rotateX(40deg) rotateZ(24deg);
}
.fx-shard-3 {
  left: 62%;
  top: 22%;
  width: 36px;
  height: 36px;
  animation-delay: -4s;
  opacity: 0.7;
}
@keyframes fxShard {
  from { translate: 0 0; filter: brightness(1); }
  to { translate: 0 -14px; filter: brightness(1.25); }
}
.fx-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f26522;
  opacity: 0.55;
  animation: fxParticle 7s ease-in-out infinite;
}
.fx-particle:nth-child(10) { left: 22%; top: 62%; animation-delay: 0s; }
.fx-particle:nth-child(11) { left: 78%; top: 28%; width: 2px; height: 2px; animation-delay: 1.2s; }
.fx-particle:nth-child(12) { left: 48%; top: 18%; animation-delay: 2.1s; }
.fx-particle:nth-child(13) { left: 70%; top: 70%; width: 4px; height: 4px; animation-delay: 3s; opacity: 0.35; }
@keyframes fxParticle {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  50% { transform: translateY(-16px); opacity: 0.8; }
}

/* Kart hover: hafif, transform çakışması yok */
.work-card:hover {
  transform: none;
  border-color: rgba(242,101,34,0.45);
}

/* ---- Mobil: full-screen ortalı page / LP hero ---- */
@media (max-width: 900px) {
  .page-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    min-height: 100dvh;
    padding:
      calc(4.25rem + env(safe-area-inset-top, 0px))
      0
      calc(4.25rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    border-bottom: 0;
  }
  .page-hero > .wrap,
  .page-hero-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 1.75rem, 1120px);
    margin: 0 auto;
    text-align: center;
  }
  .page-hero .breadcrumb {
    justify-content: center;
  }
  .page-hero .eyebrow {
    justify-content: center;
  }
  .page-hero h1 {
    max-width: none;
    margin-inline: auto;
  }
  .page-lead {
    margin-inline: auto;
  }
  .page-actions {
    justify-content: center;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .page-actions .btn {
    width: 100%;
    padding: 0.85rem 0.7rem;
    font-size: 0.86rem;
  }

  /* LP hero (web / sosyal / video) — sola yaslı, gereksiz alt boşluk yok */
  body.page-web .hero,
  body.page-social .hero,
  body.page-video .hero,
  .lp-fullhero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 0;
    padding:
      calc(5rem + env(safe-area-inset-top, 0px))
      0
      calc(1.5rem + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }
  body.page-web .hero > .wrap,
  body.page-social .hero > .wrap,
  body.page-video .hero > .wrap {
    position: relative;
    z-index: 1;
    width: min(100% - 1.75rem, 1120px);
    margin: 0 auto;
  }
  body.page-web .hero-grid,
  body.page-social .hero-grid,
  body.page-video .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.35rem;
    text-align: left;
  }
  body.page-web .hero-copy,
  body.page-social .hero-copy,
  body.page-video .hero-copy {
    width: 100%;
    text-align: left;
  }
  body.page-web .hero .eyebrow,
  body.page-social .hero .eyebrow,
  body.page-video .hero .eyebrow {
    justify-content: flex-start;
  }
  body.page-web .hero h1,
  body.page-social .hero h1,
  body.page-video .hero h1 {
    max-width: none;
  }
  body.page-web .hero-lead,
  body.page-social .hero-lead,
  body.page-video .hero-lead {
    margin-inline: 0;
  }
  body.page-web .hero-actions,
  body.page-social .hero-actions,
  body.page-video .hero-actions {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  body.page-web .hero-actions .btn,
  body.page-social .hero-actions .btn,
  body.page-video .hero-actions .btn {
    width: 100%;
  }
  body.page-web .trust-row,
  body.page-social .trust-row,
  body.page-video .trust-row {
    justify-content: flex-start;
  }
  body.page-web .lead-card,
  body.page-social .lead-card,
  body.page-video .lead-card {
    width: 100%;
    text-align: left;
  }

  .fx-shard { opacity: 0.55; }
  .fx-grid { opacity: 0.4; }
}

@media (min-width: 901px) {
  .page-hero { position: relative; }
  .page-hero > .wrap { position: relative; z-index: 1; }
  .fx-stage { opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-grid, .fx-orb, .fx-ring, .fx-shard, .fx-core, .fx-particle {
    animation: none !important;
  }
}
