/* .stop kutulari 100svh + dolgu kadar uzuyordu: ilk ekranda basligin
   altta kalmasina yol aciyordu. Dolgu yukseklige dahil edilir. */
*, *::before, *::after { box-sizing: border-box; }

/* Layout: fixed WebGL city behind a scroll tour; one glass card per stop, alternating sides so the 3D subject stays visible. */
:root {
  --sky-bg: #dcefff;          /* gokyuzu: WebGL yoksa da zemin acik kalir */
  --night: #1b2440;           /* amber/mavi dolgu uzerindeki koyu yazi */
  --night-2: #cfe6f7;
  --glass: rgba(255, 255, 255, 0.94);
  --ink: #16263f;
  --muted: #4f5e74;
  --amber: #f0a33c;           /* dolgu */
  --amber-ink: #a35e14;       /* acik zeminde okunan sicak ton */
  --sky: #8ed8ea;             /* dolgu */
  --sky-ink: #1d7e9e;         /* acik zeminde okunan mavi */
  --line: rgba(22, 38, 63, 0.18);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* Sayfa dolgusu ve sag taraftaki tur menusunun yer olcusu: sag kartlarin
     menunun altina girmemesi icin ikisi birlikte hesaplanir. */
  --page-pad: clamp(16px, 5vw, 72px);
  --tour-right: clamp(12px, 2vw, 28px);
  --tour-w: 8rem;
  --tour-gap: 1.5rem;
  color-scheme: light;
}
/* Her durak ekranin ortasina oturur; hizli kaydirmada da bir sonraki
   duraktan oteye atlamaz (scroll-snap-stop). */
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; scroll-snap-type: none; } }
body {
  margin: 0;
  background: var(--sky-bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
.no-webgl body { background: radial-gradient(120% 80% at 70% 18%, #fff3da 0%, var(--sky-bg) 62%); }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.no-webgl #scene { display: none; }

/* skip link (site genelindeki ile ayni davranis) */
.skip-link {
  position: fixed; left: 50%; top: 10px; z-index: 50;
  transform: translate(-50%, -200%);
  padding: 10px 18px; border-radius: 999px;
  background: var(--amber); color: var(--night);
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
  text-decoration: none; transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) clamp(16px, 4vw, 48px) 18px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.wordmark { display: block; text-decoration: none; }
.wordmark img { width: clamp(104px, 11vw, 136px); height: auto; }
.topbar .cta-link {
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--night); background: var(--amber); padding: 9px 14px; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.topbar .cta-link:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; }

/* tour nav */
/* Sehir turu: etiketler her zaman gorunur, elmaslar tek hizada.
   Sehrin uzerinde okunmasi icin camsi bir panelde duruyor. */
.tour {
  position: fixed; right: var(--tour-right); top: 50%; transform: translateY(-50%); z-index: 5;
  display: grid; gap: 1px; list-style: none; margin: 0;
  padding: 8px; border: 1px solid var(--line); border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px -20px rgba(16, 40, 70, 0.5);
}
@supports (backdrop-filter: blur(1px)) {
  .tour { background: rgba(255, 255, 255, 0.76); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.tour li { display: block; }
.tour button {
  width: 100%;
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 8px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.tour button span { flex: 1; text-align: right; }
.tour button::after {
  content: ""; flex: none; width: 9px; height: 9px;
  border: 1.5px solid var(--sky-ink); transform: rotate(45deg);
  transition: background .25s, border-color .25s;
}
.tour button:hover { color: var(--ink); background: rgba(22, 38, 63, 0.06); }
.tour button.is-active { color: var(--ink); background: rgba(240, 163, 60, 0.18); }
.tour button.is-active::after { background: var(--amber); border-color: var(--amber-ink); }
@media (max-width: 900px) { .tour { display: none; } }

/* sections */
main { position: relative; z-index: 2; padding-inline: var(--page-pad); }
.stop {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-block: 10vh;
  scroll-margin-top: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.stop.left { justify-content: flex-start; }
.stop.right { justify-content: flex-end; padding-right: clamp(0px, 4vw, 64px); }
/* Tur menusu 900px ustunde sagda sabit duruyor; sagdaki kartlar (Kampus,
   Akopsis) onun altina giriyordu. Menu genisligi kadar sola cekilir. */
@media (min-width: 901px) {
  .stop.right {
    padding-right: max(
      clamp(0px, 4vw, 64px),
      calc(var(--tour-right) + var(--tour-w) + var(--tour-gap) - var(--page-pad))
    );
  }
}

.card {
  width: 100%; max-width: 31rem; min-width: 0;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  box-shadow: 0 20px 52px -22px rgba(16, 40, 70, 0.42);
  padding: clamp(1.25rem, 3vw, 2rem);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  display: grid; gap: 0.9rem;
}
.product-logo { height: 28px; width: auto; }
.card .product-logo + .eyebrow { margin-top: -0.25rem; }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-ink);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.18; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); max-width: 62ch; }
.card p strong { color: var(--ink); font-weight: 600; }
.ext {
  justify-self: start; color: var(--sky-ink); text-decoration: none; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.ext:hover { color: var(--ink); border-color: var(--sky-ink); }

/* hero: logo ve slogan ekranin ortasinda */
.hero { align-items: center; justify-content: center; padding-block: 10vh; }
.hero-inner {
  position: relative; isolation: isolate;
  display: grid; gap: 1.1rem; justify-items: center; text-align: center;
  max-width: 46rem; margin-inline: auto;
}
/* Sehrin uzerinde yazinin okunmasi icin yumusak beyaz hale */
.hero-inner::before {
  content: ""; position: absolute; inset: -26% -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 48% at 50% 50%,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.86) 48%,
    rgba(255, 255, 255, 0) 78%);
}
.hero-logo {
  width: min(520px, 76vw); height: auto;
  filter: drop-shadow(0 2px 26px rgba(255, 255, 255, 0.95));
}
.hero h1 {
  font-family: var(--display); font-weight: 600; line-height: 1.14; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  text-shadow: 0 2px 22px rgba(255, 255, 255, 0.95);
}
.hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink); max-width: 36rem; margin: 0; text-shadow: 0 1px 14px rgba(255, 255, 255, 0.96); }
.hero .hint { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-ink); display: flex; gap: 10px; align-items: center; justify-content: center; margin: 0; }
.hero .hint i { display: inline-block; width: 1px; height: 28px; background: linear-gradient(var(--sky-ink), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0%,100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* school product list */
/* Ad ustte ve ok sagda, aciklama altinda tam genislikte: ad sutunu dar
   kaldiginda "Yapay Zeka Sohbetleri" sariyor ve satirlar kayiyordu. */
.rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.rooms a {
  display: grid; grid-template-columns: 1fr auto;
  column-gap: 1rem; row-gap: 0.18rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--muted);
  transition: color .2s;
}
.rooms a b {
  grid-column: 1; grid-row: 1;
  font-family: var(--display); font-weight: 500; font-size: 0.88rem;
  color: var(--ink); letter-spacing: 0.02em;
}
.rooms a span { grid-column: 1 / -1; grid-row: 2; font-size: 0.92rem; line-height: 1.5; }
.rooms a::after {
  content: "\2192"; grid-column: 2; grid-row: 1;
  font-family: var(--mono); color: var(--sky-ink);
  transition: transform .2s;
}
.rooms a:hover { color: var(--ink); }
.rooms a:hover b { color: var(--amber-ink); }
.rooms a:hover::after { transform: translateX(3px); }

/* bitasis bilgi listesi */
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; font-size: 0.9rem; }
.facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-ink); padding-top: 0.2rem; }
.facts dd { margin: 0; color: var(--muted); }
.note { font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; color: var(--muted); opacity: 0.92; letter-spacing: 0.04em; }

/* akopsis */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: s; }
.steps li { counter-increment: s; padding: 0.6rem 0.7rem; border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink); min-width: 0; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: 0.68rem; color: var(--amber-ink); letter-spacing: 0.1em; }
/* gerekmeyenler: ustu cizili uc madde + "yetiyor" satiri */
.minihead, .store-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nope { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.nope li {
  position: relative; padding-left: 1.6rem; font-weight: 600;
  color: var(--ink); opacity: 0.72; text-decoration: line-through; text-decoration-thickness: 1px;
}
.nope li::before {
  content: ""; position: absolute; left: 0; top: 0.34em; width: 14px; height: 14px;
  border: 1.5px solid currentColor; border-radius: 50%; text-decoration: none;
  background: linear-gradient(to bottom right,
    transparent calc(50% - 0.7px), currentColor calc(50% - 0.7px),
    currentColor calc(50% + 0.7px), transparent calc(50% + 0.7px));
}
/* "yetiyor." cipslerle ayni satirda kalsin diye olculer kisik tutuldu */
.enough { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 0.92rem; }
.enough b {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink);
  border: 1px solid var(--line); padding: 0.4rem 0.55rem;
}
.enough svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--sky-ink); stroke-width: 1.6; stroke-linejoin: round; }

/* uygulama magazasi baglantilari */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.store-label { margin-right: 4px; }
.store a {
  color: var(--ink); text-decoration: none; font-size: 0.85rem; line-height: 1;
  border: 1px solid var(--line); padding: 0.5rem 0.8rem;
  transition: background .2s, border-color .2s;
}
.store a:hover { border-color: var(--sky-ink); background: rgba(22, 38, 63, 0.05); }

/* yzs */
.dilemma { padding: 0.85rem 1rem; border: 1px solid var(--line); background: rgba(29, 126, 158, 0.07); color: var(--ink); font-size: 1rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice {
  font: inherit; font-size: 0.9rem; text-align: left; cursor: pointer; color: var(--ink);
  background: transparent; border: 1px solid var(--line); padding: 0.75rem 0.85rem; display: grid; gap: 0.2rem;
  transition: background .2s, border-color .2s;
}
.choice small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; }
.choice[data-side="A"] small { color: var(--amber-ink); }
.choice[data-side="B"] small { color: var(--sky-ink); }
.choice:hover { background: rgba(22, 38, 63, 0.05); }
.choice[aria-pressed="true"][data-side="A"] { border-color: var(--amber-ink); background: rgba(240, 163, 60, 0.2); }
.choice[aria-pressed="true"][data-side="B"] { border-color: var(--sky-ink); background: rgba(142, 216, 234, 0.22); }
@media (max-width: 420px) { .choices { grid-template-columns: 1fr; } }
/* display:grid, [hidden] icin tarayicinin display:none'unu eziyordu:
   secim yapilmadan once gerekceler goruntude kaliyordu. */
.result { display: grid; gap: 0.7rem; }
.result[hidden] { display: none; }
.split { display: flex; height: 26px; font-family: var(--mono); font-size: 0.72rem; color: var(--night); }
.split div { display: flex; align-items: center; padding-inline: 8px; white-space: nowrap; transition: flex-basis .6s ease; }
.split .a { background: var(--amber); }
.split .b { background: var(--sky-ink); color: #ffffff; justify-content: flex-end; }
.models { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.models li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; font-size: 0.85rem; color: var(--muted); }
.models .tag { font-family: var(--mono); font-size: 0.68rem; padding: 2px 7px; height: fit-content; color: var(--night); letter-spacing: 0.06em; }
.models .tag.A { background: var(--amber); }
.models .tag.B { background: var(--sky-ink); color: #ffffff; }
.models b { color: var(--ink); font-weight: 600; }
.reset { justify-self: start; background: none; border: 0; padding: 0; color: var(--sky-ink); font-family: var(--mono); font-size: 0.75rem; cursor: pointer; letter-spacing: 0.06em; border-bottom: 1px solid var(--line); }

/* contact */
.contact-card { max-width: 36rem; }
/* Iletisim satirlari: ikon + etiket + deger. Her satir tiklanabilir bir
   adres; kopyala dugmesi yerine dogrudan mailto/tel baglantisi var. */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; row-gap: 0.15rem;
  align-items: start; padding: 0.8rem 0; border-bottom: 1px solid var(--line);
}
.contact-list svg {
  grid-column: 1; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 0.3rem;
  fill: none; stroke: var(--sky-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list b { grid-column: 2; font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { grid-column: 2; justify-self: start; color: var(--ink); text-decoration: none; font-size: 1.02rem; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.contact-list a:hover { color: var(--amber-ink); border-color: currentColor; }
.contact-list address { grid-column: 2; font-style: normal; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sites a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 0.92rem; display: grid; }
.sites a small { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; }
.sites a:hover { color: var(--amber-ink); }
/* Dar ekranda iki sutun kalinca uzun alan adlari ("yapayzekasohbetleri.com")
   satir sonunda okuyla birlikte kiriliyordu. */
@media (max-width: 520px) { .sites { grid-template-columns: 1fr; } }
.foot { scroll-snap-align: end; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.06em; padding-block: 0 2rem; position: relative; z-index: 2; padding-inline: clamp(16px, 5vw, 72px); }

/* phones: cards ride at the bottom so the city stays visible above */
@media (max-width: 760px) {
  .stop { align-items: flex-end; padding-block: 40vh 6vh; }
  .stop.right { padding-right: 0; }
  .hero { align-items: center; padding-block: 12vh; }
  .card { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hint i { animation: none; display: none; }
}
