/* Holodepth — hafif, premium temel stiller */

:root {
  --bg-deep: #05060a;
  --bg-elevated: #0c0e14;
  --text: #e8eaef;
  --text-muted: #8b92a4;
  --cyan: #2ee7f2;
  --cyan-dim: rgba(46, 231, 242, 0.14);
  --violet: #b56cff;
  --violet-dim: rgba(181, 108, 255, 0.16);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --sidebar-width: min(28rem, 92vw);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Modern ince scrollbar — koyu tema + cyan / mor vurgu (Firefox) */
@supports (scrollbar-width: thin) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 231, 242, 0.42) rgba(10, 12, 20, 0.92);
  }
}

/* Chromium / Safari / Edge */
html::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

html::-webkit-scrollbar-track {
  background: rgba(8, 10, 16, 0.65);
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background-image: linear-gradient(175deg,
      rgba(46, 231, 242, 0.5) 0%,
      rgba(100, 140, 210, 0.35) 45%,
      rgba(181, 108, 255, 0.42) 100%);
}

html::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(175deg,
      rgba(56, 245, 252, 0.62) 0%,
      rgba(120, 160, 220, 0.45) 45%,
      rgba(200, 130, 255, 0.55) 100%);
}

html::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--cyan);
  color: #041014;
  font-weight: 600;
  border-radius: 6px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(180deg,
      rgba(5, 6, 10, 0.92) 0%,
      rgba(5, 6, 10, 0.55) 70%,
      transparent 100%);
  backdrop-filter: blur(10px);
}

.top-bar__nav {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .top-bar__nav {
    display: flex;
  }
}

.top-bar__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(170, 182, 200, 0.88);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.top-bar__link:hover {
  color: rgba(200, 244, 252, 0.98);
  border-bottom-color: rgba(46, 231, 242, 0.35);
}

.top-bar__link:focus-visible {
  outline: 1px solid rgba(46, 231, 242, 0.45);
  outline-offset: 3px;
  border-radius: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: #f4f6fa;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.3s ease;
}

.brand__mark {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(46, 231, 242, 0.22));
  transition: filter 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.brand__text {
  letter-spacing: 0.04em;
  transition: text-shadow 0.35s cubic-bezier(0.33, 1, 0.68, 1), color 0.3s ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--cyan);
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  filter: drop-shadow(0 0 16px rgba(46, 231, 242, 0.42));
}

.brand:hover .brand__text,
.brand:focus-visible .brand__text {
  text-shadow: 0 0 20px rgba(46, 231, 242, 0.32);
}

.brand:focus-visible {
  outline: 2px solid rgba(46, 231, 242, 0.45);
  outline-offset: 4px;
}

.brand:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .brand__mark,
  .brand__text {
    transition: none;
  }

  .brand:hover .brand__text,
  .brand:focus-visible .brand__text {
    text-shadow: none;
  }
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.75);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-trigger:hover {
  border-color: rgba(46, 231, 242, 0.35);
  box-shadow: 0 0 0 1px var(--cyan-dim);
}

/* SVG mask: üç çizgi aynı kalınlıkta (gradient yerine); sub-pixel kayması olmaz */
.menu-trigger__icon {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 12px;
  background-color: currentColor;
  opacity: 0.92;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none'%3E%3Crect width='18' height='2' y='0' rx='1' fill='%23000'/%3E%3Crect width='18' height='2' y='5' rx='1' fill='%23000'/%3E%3Crect width='18' height='2' y='10' rx='1' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12' fill='none'%3E%3Crect width='18' height='2' y='0' rx='1' fill='%23000'/%3E%3Crect width='18' height='2' y='5' rx='1' fill='%23000'/%3E%3Crect width='18' height='2' y='10' rx='1' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 18px 12px;
  mask-size: 18px 12px;
}

.menu-trigger:hover .menu-trigger__icon {
  opacity: 1;
}

.menu-trigger__text {
  letter-spacing: 0.02em;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 4, 10, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.sidebar-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: var(--sidebar-width);
  height: 100vh;
  max-height: 100dvh;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(165deg,
      var(--bg-elevated) 0%,
      #080910 55%,
      #05060a 100%);
  border-right: 1px solid var(--border);
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(-104%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 112, 132, 0.95) rgba(255, 255, 255, 0.09);
}

.sidebar::-webkit-scrollbar {
  width: 5px;
}

.sidebar::-webkit-scrollbar-track {
  margin: 0.35rem 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg,
      rgba(90, 98, 118, 0.95) 0%,
      rgba(70, 78, 98, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
      rgba(46, 180, 195, 0.55) 0%,
      rgba(46, 140, 170, 0.65) 100%);
  border-color: rgba(46, 231, 242, 0.25);
}

.sidebar::-webkit-scrollbar-thumb:active {
  background: rgba(46, 231, 242, 0.35);
}

.sidebar::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.sidebar.is-open {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {

  .sidebar-backdrop,
  .sidebar {
    transition: none;
  }
}

.sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sidebar__title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sidebar__close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sidebar__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Sidebar: hızlı erişim + hiyerarşik gezinme */

.sidebar__intro {
  margin: -0.25rem 0 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sidebar__intro p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.sidebar__intro strong {
  color: rgba(232, 234, 239, 0.92);
  font-weight: 600;
}

.sidebar__quick-label {
  margin: 0 0 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(100, 108, 124, 0.92);
}

.sidebar__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sidebar__quick a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.45);
  color: rgba(210, 214, 222, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sidebar__quick a:hover,
.sidebar__quick a:focus-visible {
  border-color: rgba(46, 231, 242, 0.22);
  background: rgba(8, 18, 22, 0.92);
  color: rgba(210, 248, 252, 0.95);
  outline: none;
}

.sidebar__quick a[aria-current="page"] {
  border-color: rgba(46, 231, 242, 0.28);
  background: rgba(6, 22, 28, 0.95);
  color: rgba(200, 244, 248, 0.96);
  box-shadow: inset 0 0 0 1px rgba(46, 231, 242, 0.08);
}

.sidebar__quick a.is-soon {
  opacity: 0.62;
  cursor: default;
}

.sidebar__section-title {
  margin: 1.35rem 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(139, 146, 164, 0.88);
}

.sidebar__section-title:first-of-type {
  margin-top: 0.35rem;
}

.sidebar__bridge-hint {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(165, 185, 210, 0.88);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-acc {
  border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-acc[open] {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.nav-acc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.55rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f4f6fa;
  cursor: pointer;
  user-select: none;
}

.nav-acc__summary::-webkit-details-marker {
  display: none;
}

.nav-acc__summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(139, 146, 164, 0.85);
  border-bottom: 2px solid rgba(139, 146, 164, 0.85);
  transform: rotate(-45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.nav-acc[open] .nav-acc__summary::after {
  transform: rotate(45deg);
  border-color: rgba(46, 231, 242, 0.75);
}

.nav-acc__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.nav-acc__badge {
  flex-shrink: 0;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(46, 231, 242, 0.1);
  color: #8ef2fb;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-acc__badge--violet {
  background: rgba(181, 108, 255, 0.12);
  color: #d9b8ff;
}

.nav-acc__badge--soon {
  background: rgba(230, 170, 70, 0.14);
  color: #f0d090;
}

.nav-acc__body {
  padding: 0 0.35rem 0.65rem 0.55rem;
}

.nav-acc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-acc__list a {
  position: relative;
  display: block;
  padding: 0.48rem 0.6rem 0.48rem 1.05rem;
  border-radius: 6px;
  color: rgba(200, 206, 218, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.38;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Solda ince vurgu çubuğu (hover / odak) */
.nav-acc__list a::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg,
      rgba(46, 231, 242, 0.95) 0%,
      rgba(30, 160, 185, 0.9) 100%);
  box-shadow: 0 0 10px rgba(46, 231, 242, 0.35);
  opacity: 0;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.nav-acc__list a:hover,
.nav-acc__list a:focus-visible {
  background: rgba(0, 0, 0, 0.42);
  color: rgba(220, 244, 248, 0.98);
  outline: none;
}

.nav-acc__list a:hover::before,
.nav-acc__list a:focus-visible::before {
  height: 1.25rem;
  opacity: 1;
}

.nav-acc__list a:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(46, 231, 242, 0.22);
}

/* Liste içi alt başlık (Scene → Camera, Renderer); <details> ile aç/kapa */
.nav-acc__nest {
  list-style: none;
}

.nav-acc--nest {
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-acc--nest[open] {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
}

.nav-acc__summary--nest {
  padding: 0.48rem 0.55rem 0.48rem 1.05rem !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: rgba(200, 206, 218, 0.95) !important;
}

.nav-acc__summary--nest::after {
  width: 0.38rem !important;
  height: 0.38rem !important;
  opacity: 0.95;
}

.nav-acc--nest[open] .nav-acc__summary--nest::after {
  border-color: rgba(46, 231, 242, 0.8);
}

/* İç içe alt grup özeti — solda cyan vurgu çubuğu (ör. Işık Nedir?) */
.nav-acc--nest-highlight .nav-acc__summary--nest {
  position: relative;
  padding-left: 1.2rem !important;
}

.nav-acc--nest-highlight .nav-acc__summary--nest::before {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 50%;
  width: 4px;
  height: 1.05rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg,
      rgba(46, 231, 242, 0.98) 0%,
      rgba(94, 200, 255, 0.92) 100%);
  box-shadow: 0 0 12px rgba(46, 231, 242, 0.38);
  pointer-events: none;
}

.nav-acc--nest-highlight[open] {
  border-color: rgba(46, 231, 242, 0.12);
  background: rgba(0, 0, 0, 0.32);
}

/* Çekirdek üçlü / Işık altı gibi üçüncü katman liste */
.nav-acc__sublist--deep {
  margin-top: 0.12rem;
  margin-left: 0.1rem;
  padding-left: 0.75rem;
  border-left-color: rgba(46, 231, 242, 0.28);
}

.nav-acc__sublist .nav-acc__nest {
  list-style: none;
}

/* Three.js: alt maddeler */
.nav-acc__sublist {
  margin: 0.1rem 0 0.35rem 0.25rem;
  padding: 0 0 0.35rem 0.7rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border-left: 2px solid rgba(46, 231, 242, 0.18);
}

.nav-acc__sublist a {
  padding-top: 0.38rem;
  padding-bottom: 0.38rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(185, 198, 215, 0.92);
}

.nav-acc__sublist a:hover,
.nav-acc__sublist a:focus-visible {
  color: rgba(220, 244, 248, 0.98);
}

.nav-acc__sublist a.is-soon {
  opacity: 0.58;
  cursor: help;
}

.sidebar__foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.sidebar__foot p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: rgba(139, 146, 164, 0.85);
}

.sidebar__foot kbd {
  display: inline-block;
  padding: 0.08rem 0.32rem;
  margin: 0 0.05rem;
  border-radius: 4px;
  border: 1px solid rgba(80, 110, 140, 0.45);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(200, 220, 240, 0.9);
  background: rgba(6, 12, 22, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .nav-acc__summary::after {
    transition: none;
  }

  .nav-acc__list a,
  .nav-acc__list a::before {
    transition: none;
  }
}

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 12vw, 8rem) clamp(1rem, 5vw, 3rem) 4rem;
  overflow: hidden;
}

/* Üst gökyüzü: Three.js yıldızlarıyla uyumlu hafif nebula hissi (metin üstte) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 50% -8%,
      rgba(46, 231, 242, 0.1) 0%,
      transparent 55%),
    radial-gradient(ellipse 75% 55% at 90% 15%,
      rgba(181, 108, 255, 0.09) 0%,
      transparent 50%),
    radial-gradient(ellipse 60% 50% at 8% 20%,
      rgba(70, 110, 190, 0.07) 0%,
      transparent 46%);
  mask-image: linear-gradient(180deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.5) 42%,
      transparent 76%);
  -webkit-mask-image: linear-gradient(180deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.5) 42%,
      transparent 76%);
}

.hero__canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 5.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--cyan {
  color: #b8fbff;
  text-shadow: 0 0 40px rgba(46, 231, 242, 0.35);
}

.hero__title-line--violet {
  margin-top: 0.2em;
  background: linear-gradient(120deg, #d9b8ff 0%, var(--violet) 45%, #7c5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(181, 108, 255, 0.35));
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.45rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 1px solid rgba(46, 231, 242, 0.55);
  outline-offset: 2px;
}

.btn--cyan {
  border: 1px solid rgba(46, 231, 242, 0.32);
  background: rgba(4, 10, 14, 0.82);
  color: rgba(232, 250, 252, 0.96);
  box-shadow: none;
}

.btn--cyan:hover {
  border-color: rgba(46, 231, 242, 0.48);
  background: rgba(6, 18, 22, 0.92);
  box-shadow: 0 0 0 1px rgba(46, 231, 242, 0.12);
}

.btn--violet {
  border: 1px solid rgba(181, 108, 255, 0.32);
  background: rgba(8, 6, 14, 0.82);
  color: rgba(238, 228, 255, 0.96);
  box-shadow: none;
}

.btn--violet:hover {
  border-color: rgba(181, 108, 255, 0.48);
  background: rgba(14, 10, 22, 0.92);
  box-shadow: 0 0 0 1px rgba(181, 108, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}

/* ——— Banner altı: bölümler ——— */

main>section[id] {
  scroll-margin-top: 5rem;
}

.section {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2rem);
}

.section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section__head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(139, 146, 164, 0.9);
}

.section__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f3f8;
}

.section__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Z-Axis kartları */
.z-axis {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-deep) 0%, #070810 100%);
}

.z-axis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.z-card {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.05rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.z-card:hover {
  border-color: rgba(46, 231, 242, 0.18);
  background: rgba(6, 10, 18, 0.65);
}

.z-card__viz {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: -0.25rem -0.25rem 0.75rem;
  border-radius: 8px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%,
      rgba(46, 231, 242, 0.06) 0%,
      transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.z-card__viz canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.z-card__mono {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 190, 210, 0.95);
}

.z-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #eef1f6;
}

.z-card__summary {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(160, 168, 186, 0.95);
}

.z-card__cta {
  align-self: flex-start;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(46, 231, 242, 0.28);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(200, 244, 248, 0.95);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.z-card__cta:hover,
.z-card__cta:focus-visible {
  border-color: rgba(46, 231, 242, 0.45);
  background: rgba(46, 231, 242, 0.08);
  outline: none;
}

/* Orbit vitrin */
.orbit-showcase {
  border-top: 1px solid var(--border);
  background: #05060a;
}

.orbit-showcase__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .orbit-showcase__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
  }
}

.orbit-showcase__copy {
  text-align: left;
}

@media (max-width: 899px) {
  .orbit-showcase__copy {
    text-align: center;
  }
}

.orbit-showcase__lead {
  max-width: 36rem;
}

.orbit-showcase__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: min(42vh, 380px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(ellipse at 50% 20%,
      rgba(46, 231, 242, 0.08) 0%,
      transparent 50%),
    #04060c;
  touch-action: none;
}

.orbit-showcase__frame canvas {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.orbit-showcase__hint {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(180, 190, 205, 0.9);
  pointer-events: none;
}

/* HoloDepth katmanları */
.holo-layers {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #05060a 0%, #080a12 100%);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 44rem;
  margin: 0 auto;
}

.layer-acc {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.layer-acc[open] {
  border-color: rgba(46, 231, 242, 0.15);
  background: rgba(0, 0, 0, 0.28);
}

.layer-acc__summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.layer-acc__summary::-webkit-details-marker {
  display: none;
}

.layer-acc__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #0a0e12;
}

.layer-acc__icon--0 {
  background: linear-gradient(145deg, #5ee7f5 0%, #2aa8bc 100%);
  box-shadow: 0 0 20px rgba(46, 231, 242, 0.25);
}

.layer-acc__icon--1 {
  background: linear-gradient(145deg, #9b7cff 0%, #6b4ed8 100%);
  box-shadow: 0 0 20px rgba(155, 124, 255, 0.22);
}

.layer-acc__icon--2 {
  background: linear-gradient(145deg, #ff8c6b 0%, #d45a38 100%);
  box-shadow: 0 0 20px rgba(255, 140, 107, 0.2);
}

.layer-acc__icon--3 {
  background: linear-gradient(145deg, #5cffb0 0%, #2a9f6a 100%);
  box-shadow: 0 0 20px rgba(92, 255, 176, 0.18);
}

.layer-acc__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  text-align: left;
}

.layer-acc__name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #eef1f7;
}

.layer-acc__sub {
  font-size: 0.78rem;
  color: rgba(139, 146, 164, 0.95);
}

.layer-acc__body {
  padding: 0 1.1rem 1.1rem 4.1rem;
}

.layer-acc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-acc__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(190, 198, 214, 0.92);
}

.layer-acc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(46, 231, 242, 0.55);
}

@media (max-width: 520px) {
  .layer-acc__body {
    padding-left: 1.1rem;
  }
}

body.sidebar-open {
  overflow: hidden;
}

/* ——— Site footer ——— */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 2.75rem clamp(1rem, 4vw, 2rem) 2.25rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg,
      rgba(8, 10, 18, 0.98) 0%,
      var(--bg-deep) 100%),
    radial-gradient(ellipse 80% 40% at 50% 0%,
      rgba(46, 231, 242, 0.06) 0%,
      transparent 55%);
}

.site-footer__glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(46, 231, 242, 0.35) 22%,
      rgba(181, 108, 255, 0.35) 78%,
      transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

.site-footer__inner {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
  }

  .site-footer__bottom {
    grid-column: 1 / -1;
  }
}

.site-footer__name {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #eef1f6;
}

.site-footer__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(155, 165, 186, 0.95);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .site-footer__nav {
    align-items: flex-end;
    text-align: right;
  }
}

.site-footer__link {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(180, 200, 220, 0.95);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__link:hover {
  color: rgba(200, 248, 252, 0.98);
  border-bottom-color: rgba(46, 231, 242, 0.35);
}

.site-footer__link:focus-visible {
  outline: 1px solid rgba(46, 231, 242, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Footer: AI / ikon notu + yasal özet (Byteomi tarzı, Holodepth metni) */
.site-footer__meta-wide {
  grid-column: 1 / -1;
}

.site-footer__dev-note {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 231, 242, 0.22);
  background: rgba(4, 14, 22, 0.68);
}

.site-footer__dev-note-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(155, 170, 198, 0.94);
}

.site-footer__dev-note-text strong {
  color: rgba(184, 251, 255, 0.95);
  font-weight: 600;
}

.site-footer__disclosure {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(55, 100, 160, 0.35);
  background: rgba(4, 8, 18, 0.72);
}

.site-footer__disclosure-text,
.site-footer__icons-note,
.site-footer__tools-note,
.site-footer__external-note,
.site-footer__oss-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(155, 170, 198, 0.94);
}

.site-footer__disclosure-text:last-child,
.site-footer__icons-note:last-child,
.site-footer__tools-note:last-child,
.site-footer__external-note:last-child,
.site-footer__oss-note:last-child {
  margin-bottom: 0;
}

.site-footer__disclosure-text strong,
.site-footer__icons-note strong,
.site-footer__external-note strong,
.site-footer__oss-note strong {
  color: rgba(200, 218, 245, 0.98);
  font-weight: 600;
}

.site-footer__tools-note a,
.site-footer__external-note a,
.site-footer__oss-note a {
  color: rgba(130, 215, 248, 0.95);
  text-decoration: underline;
  text-decoration-color: rgba(46, 231, 242, 0.35);
}

.site-footer__tools-note a:hover,
.site-footer__external-note a:hover,
.site-footer__oss-note a:hover {
  color: rgba(220, 240, 255, 0.98);
}

.site-footer__policies {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-footer__policies {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.site-footer__policy {
  margin: 0;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(55, 100, 160, 0.32);
  background: rgba(6, 10, 20, 0.65);
  overflow: hidden;
}

.site-footer__policy summary {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(190, 210, 235, 0.96);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__policy summary::-webkit-details-marker {
  display: none;
}

.site-footer__policy summary::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  opacity: 0.85;
}

.site-footer__policy[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__policy-body {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.74rem;
  line-height: 1.58;
  color: rgba(145, 160, 185, 0.92);
}

.site-footer__policy-body p {
  margin: 0 0 0.6rem;
}

.site-footer__policy-body p:last-child {
  margin-bottom: 0;
}

.site-footer__policy-date {
  margin-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(120, 135, 155, 0.85);
}

.site-footer__bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer__legal {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(130, 140, 158, 0.9);
}

.site-footer__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(120, 130, 150, 0.75);
}

/* Yukarı çık — cam panel + kaydırma halkası + 3B yüzey */
.back-to-top {
  position: fixed;
  z-index: 45;
  right: clamp(0.85rem, 3vw, 1.35rem);
  bottom: clamp(0.85rem, 3vw, 1.35rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(46, 231, 242, 0.14);
  border-radius: 15px;
  cursor: pointer;
  color: rgba(248, 250, 255, 0.98);
  background:
    radial-gradient(ellipse 95% 55% at 50% 12%, rgba(255, 255, 255, 0.11) 0%, transparent 52%),
    linear-gradient(
      165deg,
      rgba(38, 44, 58, 0.88) 0%,
      rgba(14, 16, 26, 0.94) 45%,
      rgba(5, 7, 12, 0.97) 100%
    );
  background-color: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(0, 0, 0, 0.35) inset,
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 4px 10px rgba(0, 0, 0, 0.4),
    0 0 22px rgba(46, 231, 242, 0.08),
    inset 0 14px 28px rgba(0, 0, 0, 0.42),
    inset 0 -2px 12px rgba(255, 255, 255, 0.03);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) perspective(280px) rotateX(4deg);
  transform-style: preserve-3d;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-color 0.22s ease,
    box-shadow 0.28s ease,
    filter 0.22s ease;
}

.back-to-top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 38%,
    transparent 52%
  );
  pointer-events: none;
  z-index: 0;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) perspective(280px) rotateX(0deg);
}

.back-to-top--visible:hover {
  border-color: rgba(46, 231, 242, 0.32);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    0 16px 36px rgba(0, 0, 0, 0.58),
    0 8px 16px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(46, 231, 242, 0.14),
    inset 0 14px 28px rgba(0, 0, 0, 0.38),
    inset 0 -2px 14px rgba(255, 255, 255, 0.04);
  transform: translateY(-3px) perspective(280px) rotateX(-2deg) scale(1.04);
  filter: brightness(1.06);
}

.back-to-top--visible:active {
  transform: translateY(0) perspective(280px) rotateX(1deg) scale(0.98);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 14px rgba(0, 0, 0, 0.55),
    inset 0 10px 22px rgba(0, 0, 0, 0.48);
  filter: brightness(0.96);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(46, 231, 242, 0.55);
  outline-offset: 3px;
}

.back-to-top__ring {
  position: absolute;
  inset: 3px;
  z-index: 1;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.back-to-top__icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.back-to-top__icon svg {
  display: block;
  margin-top: -1px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.06));
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: translateY(6px);
  }

  .back-to-top--visible {
    transform: none;
  }

  .back-to-top--visible:hover,
  .back-to-top--visible:active {
    transform: none;
    filter: none;
  }
}

/* Konu sayfaları (pages/…/…html) — ortak kemik yapı */
body.page-topic {
  background: #000000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-topic .topic-layout {
  flex: 1;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(4.75rem, 10vw, 5.75rem) clamp(1rem, 4vw, 2rem) 3rem;
}

body.page-topic .topic-content {
  min-height: 12rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 14, 20, 0.5);
}