/* =====================================================
   INTRO
===================================================== */

#intro-screen {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #050505;

  transition:
    background .55s ease,
    opacity .45s ease,
    visibility .45s ease;
}


#intro-screen.moving {
  background: rgba(5,5,5,0);
}


#intro-screen.intro-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}



/* =====================================================
   INTRO LOGO WRAPPER
===================================================== */

.intro-logo-wrap {
  position: fixed;

  left: 50%;
  top: 50%;

  width: min(520px, 56vw);

  aspect-ratio: 1 / 1;

  display: flex;
  align-items: center;
  justify-content: center;

  transform:
    translate(-50%, -50%);

  background: transparent;

  transition:
    left 1.25s cubic-bezier(.16,1,.3,1),
    top 1.25s cubic-bezier(.16,1,.3,1),
    width 1.25s cubic-bezier(.16,1,.3,1);

  will-change:
    left,
    top,
    width;
}



/* =====================================================
   INTRO PNG LOGO
===================================================== */

#intro-logo {
  position: relative;

  z-index: 2;

  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;

  opacity: 0;

  clip-path:
    polygon(
      0 0,
      0 0,
      0 100%,
      0 100%
    );

  transform: scale(.94);

  background: transparent;

  filter: none;

  animation:
    logoDraw
    1.8s
    cubic-bezier(.16,1,.3,1)
    forwards;

  user-select: none;
  -webkit-user-drag: none;
}



/* =====================================================
   INTRO SCANNER
===================================================== */

.intro-logo-wrap::before {
  content: "";

  position: absolute;

  z-index: 3;

  left: 0;
  top: 10%;

  width: 2px;
  height: 80%;

  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(255,255,255,.88),
      rgba(201,120,255,.80),
      transparent
    );

  box-shadow:
    0 0 7px rgba(255,255,255,.55),
    0 0 14px rgba(196,105,255,.38);

  opacity: 0;

  animation:
    drawScanner
    1.8s
    cubic-bezier(.16,1,.3,1)
    forwards;

  transition:
    opacity .15s ease;

  pointer-events: none;
}


.intro-logo-wrap.moving::before {
  opacity: 0;
  animation: none;
}



/* =====================================================
   INTRO KEYFRAMES
===================================================== */

@keyframes logoDraw {

  0% {
    opacity: 0;

    clip-path:
      polygon(
        0 0,
        0 0,
        0 100%,
        0 100%
      );

    transform:
      scale(.90);
  }

  12% {
    opacity: 1;
  }

  55% {
    transform:
      scale(.97);
  }

  100% {
    opacity: 1;

    clip-path:
      polygon(
        0 0,
        100% 0,
        100% 100%,
        0 100%
      );

    transform:
      scale(1);
  }

}


@keyframes drawScanner {

  0% {
    left: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }

}


/* =====================================================
   HERO
===================================================== */

.hero-section {
  position: relative;

  overflow: hidden;

  background:
    #050505;

  isolation: isolate;
}



/* =====================================================
   UZAY ARKA PLANI
===================================================== */

.hero-section::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 0;

  background-image:
    url("../img/b406-space-bg.png");

  background-size:
    cover;

  background-position:
    center center;

  background-repeat:
    no-repeat;

  opacity:
    .60;

  transform:
    scale(1.035);

  filter:
    brightness(.65)
    contrast(1.12)
    saturate(1.08);

  pointer-events: none;
}



/* =====================================================
   ARKA PLAN KARARTMASI
===================================================== */

.hero-section::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:

    linear-gradient(
      90deg,
      rgba(5,5,5,.86) 0%,
      rgba(5,5,5,.65) 31%,
      rgba(5,5,5,.22) 58%,
      rgba(5,5,5,.25) 100%
    ),

    radial-gradient(
      circle at 70% 48%,
      rgba(168,85,247,.07),
      transparent 42%
    ),

    linear-gradient(
      180deg,
      rgba(5,5,5,.04),
      rgba(5,5,5,.30)
    );

  pointer-events: none;
}



/* =====================================================
   YILDIZ CANVAS
===================================================== */

#space-canvas {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 2;

  pointer-events: none;
}


.space-nebula {
  position: absolute;

  inset: 0;

  z-index: 3;

  pointer-events: none;

  background:

    radial-gradient(
      ellipse at 72% 46%,
      rgba(155,45,255,.08),
      transparent 34%
    ),

    radial-gradient(
      ellipse at 34% 65%,
      rgba(104,25,175,.04),
      transparent 43%
    );
}



.hero {
  min-height:
    calc(100vh - 92px);

  display: grid;

  grid-template-columns:
    1.05fr .95fr;

  align-items: center;

  gap: 50px;

  padding:
    75px 0;

  position: relative;

  z-index: 4;
}



/* =====================================================
   HERO SOL
===================================================== */

.eyebrow {
  color: #bd73ff;

  text-transform: uppercase;

  letter-spacing: 7px;

  font-size: 13px;

  margin-bottom: 24px;

  font-weight: 700;

  text-shadow:
    0 0 15px rgba(168,85,247,.30);
}


.hero h1 {
  font-size:
    clamp(52px,6vw,94px);

  line-height: .98;

  max-width: 780px;

  letter-spacing: -4px;

  margin-bottom: 28px;

  text-shadow:
    0 8px 30px rgba(0,0,0,.85);
}


.hero h1 span {
  color: #a855f7;

  text-shadow:
    0 0 30px rgba(168,85,247,.30);
}


.hero p {
  max-width: 680px;

  color: #b8b8c2;

  font-size: 19px;

  line-height: 1.7;

  margin-bottom: 35px;

  text-shadow:
    0 3px 15px #000;
}



/* =====================================================
   HERO GIRIS
===================================================== */

.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-content .hero-buttons {
  opacity: 0;

  transform:
    translate3d(-120px,0,0);
}


body.site-ready
.hero-content
.eyebrow {
  animation:
    heroSlideIn
    1.25s
    cubic-bezier(.16,1,.3,1)
    .05s
    forwards;
}


body.site-ready
.hero-content
h1 {
  animation:
    heroSlideIn
    1.25s
    cubic-bezier(.16,1,.3,1)
    .18s
    forwards;
}


body.site-ready
.hero-content
p {
  animation:
    heroSlideIn
    1.25s
    cubic-bezier(.16,1,.3,1)
    .30s
    forwards;
}


body.site-ready
.hero-content
.hero-buttons {
  animation:
    heroSlideIn
    1.25s
    cubic-bezier(.16,1,.3,1)
    .42s
    forwards;
}


@keyframes heroSlideIn {

  to {
    opacity: 1;

    transform:
      translate3d(0,0,0);
  }

}


/* =====================================================
   HERO SAG
===================================================== */

.hero-visual {
  min-height: 560px;

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;
}


.orb {
  position: absolute;

  width: 455px;
  height: 455px;

  border-radius: 50%;

  border:
    1px solid rgba(182,92,255,.75);

  background:
    radial-gradient(
      circle,
      rgba(115,30,180,.11),
      rgba(55,5,90,.03) 55%,
      transparent 72%
    );

  box-shadow:
    0 0 40px rgba(168,85,247,.35),
    inset 0 0 65px rgba(168,85,247,.06);

  animation:
    orbPulse
    4s
    ease-in-out
    infinite;
}


@keyframes orbPulse {

  50% {
    box-shadow:
      0 0 85px rgba(168,85,247,.58),
      inset 0 0 90px rgba(168,85,247,.14);
  }

}


.hero-symbol {
  position: relative;

  z-index: 5;

  width:
    min(400px,78%);

  aspect-ratio:
    1 / 1;

  display: flex;

  align-items: center;

  justify-content: center;
}


.hero-symbol img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  display: block;

  opacity: 0;

  filter:
    drop-shadow(
      0 0 15px
      rgba(182,92,255,.5)
    )
    drop-shadow(
      0 0 38px
      rgba(168,85,247,.25)
    );

  user-select: none;

  -webkit-user-drag: none;

  transition:
    opacity .18s ease;
}


.hero-symbol img.logo-visible {
  opacity: 1;
}



/* =====================================================
   SIDE WORDS
===================================================== */

.side-words {
  position: absolute;

  right: 0;
  top: 95px;

  display: flex;

  flex-direction: column;

  gap: 18px;

  color:
    #e7e7ec;

  letter-spacing: 6px;

  font-size: 12px;

  text-transform: uppercase;

  pointer-events: none;
}


.side-words span {
  display: block;

  opacity: 0;

  transform:
    translate3d(90px,0,0);

  filter:
    blur(4px);
}


body.site-ready
.side-words span:nth-child(1) {
  animation:
    sideWordSlide
    .90s
    cubic-bezier(.16,1,.3,1)
    .32s
    forwards;
}


body.site-ready
.side-words span:nth-child(2) {
  animation:
    sideWordSlide
    .90s
    cubic-bezier(.16,1,.3,1)
    .50s
    forwards;
}


body.site-ready
.side-words span:nth-child(3) {
  animation:
    sideWordSlide
    .90s
    cubic-bezier(.16,1,.3,1)
    .68s
    forwards;
}


body.site-ready
.side-words span:nth-child(4) {
  animation:
    sideWordSlide
    .90s
    cubic-bezier(.16,1,.3,1)
    .86s
    forwards;
}


@keyframes sideWordSlide {

  to {
    opacity: 1;

    transform:
      translate3d(0,0,0);

    filter:
      blur(0);
  }

}



/* =====================================================
   SCROLL REVEAL
===================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(90px);

  filter:
    blur(5px);

  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.22,1,.36,1),
    filter .9s ease;
}


.reveal.active {
  opacity: 1;

  transform:
    translateY(0);

  filter:
    blur(0);
}


.reveal-left {
  opacity: 0;

  transform:
    translateX(-110px);

  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.22,1,.36,1);
}


.reveal-left.active {
  opacity: 1;

  transform:
    translateX(0);
}


.reveal-right {
  opacity: 0;

  transform:
    translateX(110px);

  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.22,1,.36,1);
}


.reveal-right.active {
  opacity: 1;

  transform:
    translateX(0);
}


.delay-1 {
  transition-delay:
    .05s;
}


.delay-2 {
  transition-delay:
    .18s;
}


.delay-3 {
  transition-delay:
    .31s;
}



/* =====================================================
   HIZMETLER
===================================================== */

.features {
  padding:
    100px 0 110px;
}


.section-title {
  max-width:
    700px;

  margin-bottom:
    50px;
}


.section-title span {
  display:
    inline-block;

  color:
    #b65cff;

  font-size:
    12px;

  font-weight:
    700;

  text-transform:
    uppercase;

  letter-spacing:
    5px;

  margin-bottom:
    15px;
}


.section-title h2 {
  font-size:
    clamp(38px,4vw,58px);

  margin-bottom:
    18px;
}


.section-title p {
  color:
    #9797a2;

  line-height:
    1.7;
}


.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  gap: 22px;
}


.card {
  padding: 34px;

  min-height: 230px;

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.015)
    );

  border:
    1px solid rgba(255,255,255,.1);

  transition:
    .3s ease;
}


.card:hover {
  border-color:
    rgba(168,85,247,.65);

  transform:
    translateY(-4px);

  box-shadow:
    0 20px 55px rgba(0,0,0,.45),
    0 0 30px rgba(168,85,247,.08);
}


.icon {
  font-size: 38px;

  margin-bottom: 25px;

  color:
    #a855f7;
}


.card h3 {
  font-size: 21px;

  margin-bottom: 14px;
}


.card p {
  color:
    #a7a7b0;

  line-height: 1.7;

  font-size: 15px;
}



/* =====================================================
   HAKKIMIZDA
===================================================== */

.about {
  position: relative;

  padding:
    120px 0;

  border-top:
    1px solid rgba(255,255,255,.07);

  overflow: hidden;
}


.about::before {
  content: "";

  position: absolute;

  right: 5%;
  top: 20%;

  width: 480px;
  height: 480px;

  border-radius: 50%;

  background:
    rgba(168,85,247,.035);

  filter:
    blur(100px);

  pointer-events: none;
}


.about-box {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 80px;

  align-items: center;
}


.about h2 {
  font-size:
    clamp(42px,4vw,62px);

  margin-bottom: 22px;
}


.about h2 span {
  color:
    #a855f7;
}


.about p {
  color:
    #a8a8b2;

  font-size: 17px;

  line-height: 1.8;
}


/* =====================================================
   HAKKIMIZDA - INTERAKTIF WEBGL GEZEGEN MODULU
===================================================== */
.about-planet-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  touch-action: pan-y;
}

#about-planet-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  opacity: 0;
  border-radius: 50%;
  transition: opacity 1.1s ease;
}

#about-planet-canvas.live { opacity: 1; }
#about-planet-canvas.dragging { cursor: grabbing; }

#about-planet-canvas:focus-visible {
  outline: 2px solid #dc9cff;
  outline-offset: 6px;
}

.about-planet-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}

.about-planet-fallback.live { opacity: 1; }

.about-planet-label {
  position: relative;
  z-index: 3;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: .12em;
  color: #fff;
  text-shadow: 0 0 14px rgba(232,200,255,.9), 0 0 40px rgba(168,85,247,.75);
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease .4s;
  will-change: transform;
}

body.site-ready .about-planet-label { opacity: 1; }

/* sol ustteki telemetri */
.about-planet-readout {
  position: absolute;
  left: 0;
  top: 3%;
  z-index: 3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .14em;
  color: rgba(214,186,255,.42);
  pointer-events: none;
  display: grid;
  gap: .32rem;
}

.about-planet-readout b {
  font-weight: 600;
  color: rgba(236,214,255,.8);
  font-variant-numeric: tabular-nums;
}

/* hiz cubugu */
.about-planet-spin-meter {
  position: absolute;
  right: 2%;
  top: 3%;
  z-index: 3;
  width: 3px;
  height: 84px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
  pointer-events: none;
}

.about-planet-spin-meter span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #dc9cff, #a855f7);
  box-shadow: 0 0 8px rgba(190,120,255,.9);
}

.about-planet-hint {
  position: absolute;
  left: 50%;
  bottom: 1%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  letter-spacing: .05em;
  color: rgba(220,200,255,.5);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .5s ease;
}

.about-planet-hint::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1px solid rgba(220,200,255,.5);
  border-radius: 50%;
  animation: hintPulse 2.6s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: scale(.8); opacity: .4; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.about-planet-hint.gone { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .about-planet-hint::before { animation: none; }
}


/* =====================================================
   ILETISIM
===================================================== */

.contact {
  padding:
    120px 0;

  border-top:
    1px solid rgba(255,255,255,.07);
}


.contact-box {
  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 26px;

  padding: 60px;

  background:
    radial-gradient(
      circle at top right,
      rgba(168,85,247,.20),
      transparent 38%
    ),
    rgba(255,255,255,.02);

  display: grid;

  grid-template-columns:
    .9fr 1.1fr;

  gap: 70px;

  align-items: center;

  box-shadow:
    inset 0 0 40px rgba(168,85,247,.025);
}


.contact h2 {
  font-size:
    clamp(40px,4vw,60px);

  margin-bottom: 20px;
}


.contact h2 span {
  color:
    #a855f7;
}


.contact p {
  color:
    #aaaab4;

  line-height: 1.8;

  font-size: 17px;

  max-width: 540px;
}



/* =====================================================
   EKIP
===================================================== */

.team-links {
  display: flex;

  flex-direction: column;

  gap: 16px;
}


.team-title {
  color:
    #8f8f9b;

  font-size: 12px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 4px;

  margin-bottom: 3px;
}


.linkedin-card {
  position: relative;

  min-height: 105px;

  display: flex;

  align-items: center;

  gap: 18px;

  padding:
    18px 20px;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      rgba(168,85,247,.06),
      rgba(255,255,255,.015)
    );

  overflow: hidden;

  transition:
    transform .32s cubic-bezier(.16,1,.3,1),
    border-color .32s ease,
    background .32s ease,
    box-shadow .32s ease;
}


.linkedin-card:hover {
  transform:
    translateY(-4px)
    translateX(4px);

  border-color:
    rgba(184,92,255,.78);

  background:
    linear-gradient(
      135deg,
      rgba(168,85,247,.13),
      rgba(255,255,255,.025)
    );

  box-shadow:
    0 15px 35px rgba(0,0,0,.38),
    0 0 24px rgba(168,85,247,.14);
}


.team-avatar {
  width: 66px;
  height: 66px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  border-radius: 18px;

  color: #ffffff;

  font-size: 20px;

  font-weight: 800;

  background:
    linear-gradient(
      145deg,
      #7c26c9,
      #31104f
    );

  border:
    1px solid rgba(211,145,255,.60);
}


.linkedin-data {
  flex: 1;

  display: flex;

  flex-direction: column;

  gap: 6px;
}


.linkedin-person {
  font-size: 17px;

  font-weight: 700;
}


.linkedin-label {
  display: flex;

  align-items: center;

  gap: 7px;

  color:
    #9898a4;

  font-size: 13px;
}


.linkedin-mini-icon {
  width: 21px;
  height: 21px;

  display: grid;

  place-items: center;

  border-radius: 5px;

  background:
    rgba(168,85,247,.22);

  border:
    1px solid rgba(190,105,255,.38);

  color: white;

  font-size: 11px;

  font-weight: 800;
}


.linkedin-arrow {
  width: 42px;
  height: 42px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color:
    #b966ff;

  font-size: 21px;
}


.about-planet-visual {
  min-height: 520px;
  max-width: 680px;
}

@media (max-width: 980px) {
  .about-planet-visual {
    min-height: 480px;
    max-width: 640px;
  }
}

@media (max-width: 700px) {
  .about-planet-visual {
    min-height: 330px;
    max-width: 100%;
  }

  .about-planet-readout,
  .about-planet-spin-meter {
    display: none;
  }
}


/* =====================================================
   JS KAPALIYKEN ICERIK GORUNSUN
===================================================== */

.no-js #intro-screen {
  display: none;
}

.no-js .hero-content .eyebrow,
.no-js .hero-content h1,
.no-js .hero-content p,
.no-js .hero-content .hero-buttons,
.no-js .side-words span,
.no-js .hero-symbol img,
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1;
  transform: none;
  filter: none;
}



/* Yandan kayarak gelen ogeler sayfayi yatayda tasirmasin */
main {
  overflow-x: clip;
}



/* =====================================================
   ILETISIM - E-POSTA KARTI
===================================================== */

.mail-card .team-avatar {
  font-size: 24px;
}



/* =====================================================
   TABLET
===================================================== */

@media (max-width: 980px) {

  .hero,
  .about-box,
  .contact-box {
    grid-template-columns: 1fr;
  }

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

  .side-words {
    display: none;
  }

  .hero-visual {
    min-height: 500px;
  }

}



/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 49px;
    letter-spacing: -2px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .orb {
    width: 300px;
    height: 300px;
  }

  .hero-symbol {
    width: 270px;
  }

  .contact-box {
    padding: 30px;
  }

}
