/* Moonla — "takımyıldızı" teması
   Saf siyah zemin, tek mor aksiyon rengi, amber vurgu, ince gövde yazısı. */

/* Inter (değişken, 200–700) — yerelden; Türkçe karakterler latin-ext'te */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --void: #000000;
  --bone: #ffffff;
  --ash: #9a9a9a;
  --silver: #bdbdbd;
  --iris: #8052ff;
  --iris-hover: #946dff;
  --spark: #ffb829;
  --verdant: #15846e;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-display: clamp(64px, 9.2vw, 132px);
  --text-xl: clamp(48px, 7vw, 96px);
  --text-lg: clamp(40px, 5.4vw, 78px);
  --text-md: clamp(32px, 3.4vw, 48px);
  --text-sm: clamp(24px, 2.4vw, 36px);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --section: clamp(96px, 14vw, 180px);
  --radius: 24px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--bone);
  font-family: var(--font);
  font-feature-settings: "ss01" on, "cv11" on;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
em { font-style: normal; color: var(--spark); }
::selection { background: var(--iris); color: var(--bone); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--iris); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 4px; border-radius: 6px; }

#sky {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
main, footer, .nav { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografi ---------- */
.display {
  font-size: var(--text-display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -0.045em;
}
.h-xl { font-size: var(--text-xl); font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.h-lg { font-size: var(--text-lg); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; }
.h-md { font-size: var(--text-md); font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; }
.h-sm { font-size: var(--text-sm); font-weight: 400; line-height: 1.2; letter-spacing: -0.03em; }
.body { font-size: 18px; font-weight: 200; line-height: 1.55; max-width: 34em; }
.muted { color: var(--silver); }
.label {
  font-size: 13px; font-weight: 600; line-height: 1.2;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--spark);
  margin-bottom: 24px;
}
.label--ash { color: var(--ash); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--iris); color: var(--bone);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 22px; border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--iris-hover); transform: translateY(-1px); }
.ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ash);
  transition: color .2s;
}
.ghost span { transition: transform .25s var(--ease); }
.ghost:hover { color: var(--bone); }
.ghost:hover span { transform: translateX(4px); }

/* ---------- Navigasyon ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  transition: transform .4s var(--ease), background .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid { background: linear-gradient(#000 40%, rgba(0,0,0,0)); }
.nav__logo svg { width: 124px; height: auto; display: block; }
.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a {
  font-size: 14px; font-weight: 600; letter-spacing: .035em; text-transform: uppercase;
  color: var(--ash); transition: color .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--bone); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; padding-bottom: 48px;
}
.hero__grid { flex: 1; display: flex; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__copy .display { margin-bottom: 36px; }
.hero__lead { max-width: 30em; margin-bottom: 40px; }
.hero__actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 48px; flex-wrap: wrap;
  list-style: none; margin-top: 64px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash);
}
.hero__meta b { color: var(--bone); font-weight: 600; }

/* ---------- Referans akışı ---------- */
.ticker {
  overflow: hidden; padding: 40px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track {
  display: flex; gap: 64px; width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker__track span {
  font-size: 24px; font-weight: 200; letter-spacing: -0.02em; color: var(--ash);
  white-space: nowrap; transition: color .2s;
}
.ticker__track span:hover { color: var(--bone); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.statement { padding-block: var(--section); }
.statement__text {
  font-size: var(--text-md); font-weight: 300; line-height: 1.15; letter-spacing: -0.035em;
  max-width: 22em;
}

/* ---------- Hizmetler ---------- */
.services {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px;
  padding-bottom: var(--section);
}
.services__head { position: sticky; top: 120px; align-self: start; }
.services__head .h-lg { margin-bottom: 28px; }
.svc {
  display: grid; grid-template-columns: 48px 1fr auto; column-gap: 18px; row-gap: 10px;
  align-items: baseline;
  padding: 30px 0;
}
.svc__no { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ash); transition: color .3s; }
.svc__name {
  font-size: var(--text-sm); font-weight: 400; letter-spacing: -0.03em; line-height: 1.15;
  transition: color .3s, transform .4s var(--ease);
}
.svc__desc { grid-column: 2 / 3; font-size: 17px; font-weight: 200; color: var(--silver); max-width: 30em; }
.svc__cta { grid-column: 3; grid-row: 1; opacity: 0; transition: opacity .3s, color .2s; }
.svc:hover .svc__no { color: var(--spark); }
.svc:hover .svc__name { transform: translateX(6px); }
.svc:hover .svc__cta, .svc:focus-within .svc__cta { opacity: 1; }

/* ---------- Çalışan sistem ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px 96px; align-items: center;
  padding-block: var(--section);
}
.split__visual { align-self: stretch; min-height: 560px; }
.split__col .h-lg { margin-bottom: 28px; }
.split__col > .body { margin-bottom: 56px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 36px; }
.features dt { font-size: 22px; font-weight: 400; letter-spacing: -0.02em; margin-bottom: 8px; }
.features dd { font-size: 16px; font-weight: 200; color: var(--silver); }

/* ---------- Pusula ---------- */
.pusula {
  display: grid; grid-template-columns: 7fr 5fr; gap: 64px 80px; align-items: center;
  padding-block: var(--section);
}
.pusula .h-lg { margin-bottom: 28px; }
.pusula__lead { margin-bottom: 32px; max-width: 36em; }
.pusula__modes {
  display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0 0 56px;
  font-size: 15px; font-weight: 200; color: var(--silver);
}
.pusula__modes b {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--spark); margin-right: 6px;
}
.pusula__features { margin-bottom: 56px; }
.pusula__visual { align-self: stretch; min-height: 560px; }
.pusula__more { font-size: 15px; font-weight: 200; margin-top: 48px; max-width: 32em; }

/* ---------- Süreç ---------- */
.process { height: 420vh; position: relative; }
.process__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.process__phase { align-self: end; padding-bottom: 4vh; }
.process__count { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ash); }
.process__count b { color: var(--spark); font-weight: 600; }
.process__copy .h-lg { margin-bottom: 48px; max-width: 9em; }
.steps { position: relative; min-height: 220px; }
.step {
  position: absolute; inset: 0 auto auto 0;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step__k { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--spark); margin-bottom: 14px; }
.step .h-sm { margin-bottom: 14px; }

/* ---------- SSS ---------- */
.faq {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px;
  padding-block: var(--section);
}
details { padding: 22px 0; }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  font-size: 24px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.25;
  transition: color .2s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-weight: 200; font-size: 30px; line-height: 1; color: var(--ash);
  transition: transform .3s var(--ease), color .3s;
}
details[open] summary::after { transform: rotate(45deg); color: var(--spark); }
summary:hover { color: var(--spark); }
details p { font-size: 17px; font-weight: 200; color: var(--silver); max-width: 36em; padding-top: 14px; }

/* ---------- CTA ---------- */
.cta {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-block: 0 var(--section);
}
.cta__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__mark { height: 34vh; width: 100%; }
.cta .h-xl { margin-bottom: 28px; }
.cta__lead { margin: 0 auto 40px; max-width: 28em; color: var(--silver); }
.cta__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: 1fr auto; gap: 48px 64px;
  padding-block: 80px 40px;
}
.footer__logo { width: 140px; height: auto; display: block; margin-bottom: 20px; }
.footer__brand p { font-size: 15px; font-weight: 200; max-width: 24em; }
.footer__cols { display: flex; gap: 80px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols .label { margin-bottom: 8px; }
.footer__cols a, .footer__cols span { font-size: 15px; font-weight: 300; color: var(--silver); transition: color .2s; }
.footer__cols a:hover { color: var(--bone); }
.footer__legal { grid-column: 1 / -1; font-size: 12px; color: var(--ash); padding-top: 40px; }

/* ---------- Görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .services, .split, .pusula, .faq, .process__grid { grid-template-columns: 1fr; }
  .services__head { position: static; }
  .split__visual { min-height: 0; height: min(78vw, 460px); }
  .pusula__visual { order: -1; min-height: 0; height: min(78vw, 460px); }
  .process__grid { align-content: end; height: 100%; padding-bottom: 8vh; }
  .process__phase { display: none; }
  .process__copy .h-lg { margin-bottom: 28px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { gap: 16px; padding-block: 16px; }
  .nav__logo svg { width: 104px; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
    padding: 0 var(--gutter); background: var(--void);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__links a { font-size: 40px; font-weight: 400; letter-spacing: -0.03em; text-transform: none; color: var(--bone); }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav .btn { margin-left: auto; padding: 12px 16px; font-size: 12px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--bone); transition: transform .3s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .hero { justify-content: flex-end; padding-top: 40vh; }
  .hero__copy .display { margin-bottom: 24px; }
  .hero__lead { margin-bottom: 28px; }
  .hero__grid { flex: none; }
  .hero__meta { gap: 12px 28px; margin-top: 48px; }
  .svc { grid-template-columns: 36px 1fr; padding: 22px 0; }
  .svc__desc { grid-column: 2; }
  .svc__cta { grid-column: 2; grid-row: auto; opacity: 1; }
  .features { grid-template-columns: 1fr; gap: 28px; }
  .footer { grid-template-columns: 1fr; }
  .footer__cols { gap: 48px; flex-wrap: wrap; }
  summary { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
}
