﻿/* Ata Chapters — havacılık / gökyüzü, ferah açık tema */
:root {
  --bg: #e2edf8;
  --bg-deep: #d0e2f4;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --border: rgba(19, 47, 76, 0.11);
  --border-strong: rgba(19, 47, 76, 0.17);
  --text: #0c2744;
  --muted: #5a6f82;
  --accent: #0d6efd;
  --accent-dim: rgba(13, 110, 253, 0.14);
  --accent-hover: #0b5ed7;
  --sky-band: rgba(125, 185, 232, 0.38);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow: 0 16px 48px rgba(15, 53, 80, 0.09);
  --shadow-soft: 0 6px 28px rgba(15, 53, 80, 0.07);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  /* Geniş monitörlerde 90vw dev telefon yapmasın; küçük ekranda taşmayı sınırla */
  --hero-phone-width: min(320px, 88vw, 22rem);
  --hero-mockup-shift-x: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* scrollIntoView(smooth) kullanılıyor; padding sticky nav + sarmalanan menü için */
  scroll-behavior: smooth;
  scroll-padding-top: 6.25rem;
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #f3f8fd;
  background-image:
    linear-gradient(180deg, #fafcfe 0%, #f4f9fd 28%, #ecf4fb 58%, #e5eff8 100%),
    radial-gradient(ellipse 110% 65% at 50% -8%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(ellipse 85% 50% at 92% 18%, var(--sky-band) 0%, transparent 48%),
    radial-gradient(ellipse 75% 45% at 6% 38%, rgba(160, 200, 245, 0.35), transparent 44%);
  background-attachment: fixed;
  overflow-x: hidden;
  max-width: 100%;
}

/* fixed + hero ::before üst üste binince bölüm sınırında yatay “çizgi”; açık temada gövde ile birlikte kayar */
html:not([data-theme="dark"]) body {
  background-attachment: scroll;
}

@media (prefers-reduced-motion: no-preference) {
  body::before {
    content: "";
    position: fixed;
    inset: -30%;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(ellipse 48% 40% at 70% 15%, rgba(8, 112, 217, 0.16), transparent 58%),
      radial-gradient(ellipse 44% 38% at 15% 58%, rgba(125, 185, 232, 0.22), transparent 52%);
    animation: ambient-drift 20s ease-in-out infinite alternate;
  }

  body::after {
    content: "";
    position: fixed;
    inset: -35%;
    z-index: -2;
    pointer-events: none;
    opacity: 0.65;
    background:
      radial-gradient(circle at 30% 40%, rgba(8, 112, 217, 0.09), transparent 42%),
      radial-gradient(circle at 75% 70%, rgba(125, 185, 232, 0.12), transparent 40%);
    animation: ambient-orbit 32s ease-in-out infinite alternate;
  }

  /* Açık tema: koyu moda yakın yumuşak mavi “ambiyans” katmanları */
  html:not([data-theme="dark"]) body::before {
    background:
      radial-gradient(ellipse 52% 44% at 68% 14%, rgba(8, 112, 217, 0.2), transparent 58%),
      radial-gradient(ellipse 48% 42% at 14% 56%, rgba(125, 185, 232, 0.26), transparent 52%);
  }

  html:not([data-theme="dark"]) body::after {
    opacity: 0.78;
    background:
      radial-gradient(circle at 28% 38%, rgba(8, 112, 217, 0.11), transparent 44%),
      radial-gradient(circle at 78% 68%, rgba(125, 185, 232, 0.16), transparent 42%);
  }

  html:not([data-theme="dark"]) body:has(.landing-hero)::before,
  html:not([data-theme="dark"]) body:has(.landing-hero)::after {
    opacity: 0.32;
  }

  /* Koyu tema: tüm site boyunca hafif mavi ambiyans */
  [data-theme="dark"] body::before {
    background:
      radial-gradient(ellipse 52% 44% at 72% 12%, rgba(10, 132, 255, 0.14), transparent 58%),
      radial-gradient(ellipse 48% 42% at 12% 55%, rgba(100, 170, 255, 0.11), transparent 52%);
  }

  [data-theme="dark"] body::after {
    opacity: 0.8;
    background:
      radial-gradient(circle at 28% 42%, rgba(10, 132, 255, 0.09), transparent 44%),
      radial-gradient(circle at 80% 72%, rgba(100, 170, 255, 0.08), transparent 42%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    display: none;
  }
}

@keyframes ambient-drift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(-3%, 2%) rotate(1.8deg) scale(1.05);
  }
}

@keyframes ambient-orbit {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(4%, -3%);
  }
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Ana sayfa hero: referans düzenine yakın daha geniş içerik (≈60/40 grid) */
.app-content.container:has(.landing-hero) {
  max-width: min(100%, 90rem);
  padding-inline: clamp(1rem, 3.2vw, 2rem);
}

@media (max-width: 639px) {
  .app-content.container:has(.landing-hero) {
    padding-inline: clamp(1rem, 3.6vw, 1.65rem);
  }
}

/*
 * Açık tema ana sayfa: hero ↔ bölümler tek sürekli dikey gradient (main üzerinde).
 * body ile çakışan ikinci gradient çizgi yapmasın diye :has(.landing-hero) ile sadeleştirilir.
 */
html:not([data-theme="dark"]) body:has(.landing-hero) {
  background: #f6f9fc;
  background-image: none;
}

html:not([data-theme="dark"]) main.app-content.container:has(.landing-hero) {
  background-color: #f6f9fc;
  background-image: linear-gradient(
    180deg,
    #fafcfe 0%,
    #f1f7fd 12%,
    #e9f3fb 22%,
    #e4f0fa 30%,
    #e6f1fa 38%,
    #ebf4fb 46%,
    #f0f7fc 54%,
    #f3f8fd 62%,
    #f5f9fd 70%,
    #f6f9fc 78%,
    #f6f9fc 100%
  );
  background-size: 100% min(140vh, 72rem);
  background-repeat: no-repeat;
  background-position: top center;
}

/* ——— Üst bar ——— */
.app-top {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-top.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(19, 47, 76, 0.08);
  box-shadow: 0 10px 40px rgba(19, 47, 76, 0.07);
}

.app-top__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-height: 3.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.app-brand:hover {
  color: var(--text);
}

.app-brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.app-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .app-brand__mark {
    transition: transform 0.45s var(--ease-spring), box-shadow 0.35s ease;
  }

  .app-brand:hover .app-brand__mark {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(11, 107, 203, 0.2);
  }
}

.app-nav-panel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-top__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.app-menu {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.85rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.app-menu::-webkit-scrollbar {
  display: none;
}

.app-menu a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.app-menu a:hover {
  color: var(--text);
}

.app-menu a[aria-current="page"] {
  color: var(--accent);
}

@media (min-width: 1401px) {
  .app-menu {
    justify-content: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
}

/* Mobil / dar masaüstü: menü çekmecesi + hamburger */
.app-nav-toggle {
  display: none;
  width: 2.95rem;
  height: 2.95rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.app-nav-toggle:hover {
  border-color: rgba(11, 107, 203, 0.35);
}

.app-nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.app-nav-toggle__bars {
  display: block;
  width: 1.35rem;
  height: 0.12rem;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 0 -0.4rem 0 currentColor, 0 0.4rem 0 currentColor;
}

[data-theme="dark"] .app-nav-toggle {
  background: #121212;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  box-shadow: none;
}

.app-nav-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 3.65rem;
  bottom: 0;
  z-index: 55;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-top.is-nav-open {
  z-index: 200;
}

.app-top.is-nav-open .app-nav-backdrop {
  display: block;
}

@media (max-width: 900px) {
  .app-nav-toggle {
    display: inline-flex;
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 0.85rem;
  }

  .app-nav-panel {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    height: 0;
    overflow: visible;
  }

  .app-menu {
    position: fixed;
    top: 3.65rem;
    right: 0;
    left: auto;
    width: min(19.5rem, calc(100vw - 1rem));
    bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 0.85rem 1rem 1.5rem;
    margin: 0;
    overflow-x: visible;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgba(15, 53, 80, 0.12);
    transform: translateX(105%);
    visibility: hidden;
    z-index: 60;
    transition: transform 0.28s var(--ease-out), visibility 0.28s;
  }

  [data-theme="dark"] .app-menu {
    background: #121820;
    border-left-color: rgba(255, 255, 255, 0.08);
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
  }

  .app-top.is-nav-open .app-menu {
    transform: translateX(0);
    visibility: visible;
  }

  .app-menu a {
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
    white-space: normal;
    flex-shrink: 0;
  }

  .app-menu a:hover,
  .app-menu a:focus-visible {
    background: rgba(13, 110, 253, 0.08);
  }

  [data-theme="dark"] .app-menu a:hover,
  [data-theme="dark"] .app-menu a:focus-visible {
    background: rgba(96, 165, 250, 0.1);
  }

  .app-top__end {
    margin-left: auto;
  }
}

@media (min-width: 901px) {
  .app-nav-toggle {
    display: none !important;
  }

  .app-nav-backdrop {
    display: none !important;
  }
}

body.is-app-nav-open {
  overflow: hidden;
  touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
  .app-menu {
    transition: none;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .app-menu a {
    position: relative;
  }

  .app-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(11, 107, 203, 0.35));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
  }

  .app-menu a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .app-menu a:hover::after,
  .app-menu a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* ——— Butonlar ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease-out), border-color 0.25s ease, transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 107, 203, 0.28);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 107, 203, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn--ghost:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover,
  .btn--ghost:hover {
    transform: none;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ——— Beta + mağaza ——— */
.beta-pill {
  margin: 0 0 1rem;
}

.beta-pill span {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b4a9e;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.12) 0%, rgba(125, 185, 232, 0.22) 100%);
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 999px;
}

@media (prefers-reduced-motion: no-preference) {
  .beta-pill span {
    animation: beta-glow 3.5s ease-in-out infinite;
  }
}

@keyframes beta-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.06);
  }
}

.store-panel {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: border-color 0.35s ease, box-shadow 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.store-panel--compact {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
}

.store-panel--compact .store-panel__copy {
  margin-bottom: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: no-preference) {
  .store-panel:hover {
    border-color: rgba(13, 110, 253, 0.22);
    box-shadow: 0 16px 48px rgba(19, 47, 76, 0.1);
    transform: translateY(-3px);
  }
}

.store-panel__copy {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.store-panel__copy strong {
  color: var(--text);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.store-badge {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
  opacity: 0.72;
  filter: saturate(0.65);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.45s var(--ease-spring);
}

.store-badge--apple {
  height: 40px;
}

.store-badge:hover {
  opacity: 0.88;
  filter: saturate(0.85);
  transform: translateY(-3px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .store-badge:hover {
    transform: none;
  }
}

.store-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.store-badge-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— Ana içerik ——— */
.app-content {
  padding-bottom: 4rem;
}

/* Dil değişimi: içerik çıkış / giriş (erişilebilirlik: azaltılmış hareket) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes ata-lang-swap-out {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(0.45rem);
    }
  }

  @keyframes ata-lang-swap-in {
    from {
      opacity: 0;
      transform: translateY(-0.35rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes ata-lang-seg-nudge {
    0%,
    100% {
      transform: scale(1);
    }
    45% {
      transform: scale(1.05);
    }
  }

  main.app-content.ata-lang-swap-phase-out,
  .app-shell > footer.app-footer.ata-lang-swap-phase-out,
  header.app-top .app-menu.ata-lang-swap-phase-out {
    animation: ata-lang-swap-out 0.24s var(--ease-out) forwards;
    pointer-events: none;
  }

  main.app-content.ata-lang-swap-phase-in,
  .app-shell > footer.app-footer.ata-lang-swap-phase-in,
  header.app-top .app-menu.ata-lang-swap-phase-in {
    animation: ata-lang-swap-in 0.42s var(--ease-out) forwards;
  }

  .lang-seg.ata-lang-seg-nudge {
    animation: ata-lang-seg-nudge 0.42s var(--ease-spring);
  }
}

.app-hero {
  padding: 2.75rem 0 2rem;
  text-align: center;
  position: relative;
}

.app-hero::after {
  content: "";
  display: block;
  width: min(12rem, 50%);
  height: 3px;
  margin: 2rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(11, 107, 203, 0.35), rgba(125, 185, 232, 0.5), rgba(11, 107, 203, 0.35), transparent);
  opacity: 0.85;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .app-hero::after {
    animation: motion-line-in 1s var(--ease-out) 0.45s backwards;
  }
}

@keyframes motion-line-in {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 0.85;
  }
}

@media (min-width: 640px) {
  .app-hero {
    padding: 3.5rem 0 2.25rem;
  }
}

.app-hero__icon {
  width: clamp(7.25rem, 32vw, 11rem);
  height: clamp(7.25rem, 32vw, 11rem);
  margin: 0 auto 1.35rem;
  border-radius: clamp(1.2rem, 5vw, 2rem);
  overflow: hidden;
  border: none;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.45), transparent 58%),
    linear-gradient(155deg, rgba(11, 107, 203, 0.22), rgba(11, 107, 203, 0.06));
  box-shadow:
    0 24px 56px rgba(11, 107, 203, 0.18),
    0 0 0 1px rgba(11, 107, 203, 0.1);
  display: grid;
  place-items: center;
  padding: clamp(0.2rem, 1.2vw, 0.45rem);
}

@keyframes hero-icon-breathe {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-6px) scale(1.03);
  }
}

.app-hero__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0;
  clip-path: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.app-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.app-hero .lead {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
}

.app-hero .btn-row {
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .app-hero > * {
    animation: motion-fade-up 0.8s var(--ease-out) backwards;
  }

  .app-hero > .beta-pill {
    animation-delay: 0.05s;
  }

  .app-hero > .app-hero__icon {
    animation-delay: 0.1s;
  }

  .app-hero__icon img {
    animation: hero-icon-breathe 5s ease-in-out 0.95s infinite alternate;
  }

  .app-hero > h1 {
    animation-delay: 0.16s;
  }

  .app-hero > .lead {
    animation-delay: 0.22s;
  }

  .app-hero > .btn-row {
    animation-delay: 0.28s;
  }

  .app-hero > .store-panel {
    animation-delay: 0.38s;
  }
}

@keyframes motion-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ——— Landing (uygulama giriş sayfası + ATA koyu) ——— */
.landing-hero {
  position: relative;
  padding-top: 1.75rem;
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
  text-align: left;
}

/* Açık tema: sadece dekor (alt opak beyaz katman yok — main gradient ile çizgi oluşturmasın) */
.landing-hero::before {
  content: "";
  position: absolute;
  inset: -10% -15% -12% -15%;
  pointer-events: none;
  z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 680' preserveAspectRatio='xMidYMid meet'%3E%3Cellipse cx='500' cy='310' rx='455' ry='275' fill='none' stroke='%230d6efd' stroke-opacity='0.16' stroke-width='1.2' stroke-dasharray='5 14'/%3E%3Cellipse cx='515' cy='335' rx='390' ry='305' fill='none' stroke='%237db9e8' stroke-opacity='0.1' stroke-width='1' stroke-dasharray='4 11'/%3E%3C/svg%3E")
      center 50% / min(165vw, 1850px) min(95vh, 920px) no-repeat,
    radial-gradient(
      ellipse 72% 86% at 60% 52%,
      rgba(13, 110, 253, 0.2) 0%,
      rgba(13, 110, 253, 0.09) 22%,
      rgba(13, 110, 253, 0.03) 42%,
      transparent 68%
    ),
    radial-gradient(ellipse 88% 72% at 32% 48%, rgba(125, 185, 232, 0.12) 0%, transparent 55%),
    linear-gradient(
      100deg,
      rgba(125, 185, 232, 0.08) 0%,
      rgba(13, 110, 253, 0.06) 28%,
      rgba(13, 110, 253, 0.11) 48%,
      rgba(13, 110, 253, 0.15) 72%,
      rgba(125, 185, 232, 0.09) 100%
    );
}

[data-theme="dark"] .landing-hero::before {
  inset: -15% -18% 0 -18%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 680' preserveAspectRatio='xMidYMid meet'%3E%3Cellipse cx='500' cy='310' rx='455' ry='275' fill='none' stroke='%230a84ff' stroke-opacity='0.22' stroke-width='1.2' stroke-dasharray='5 14'/%3E%3Cellipse cx='515' cy='335' rx='390' ry='305' fill='none' stroke='%2364a8ff' stroke-opacity='0.14' stroke-width='1' stroke-dasharray='4 11'/%3E%3C/svg%3E")
      center 52% / min(165vw, 1900px) min(98vh, 980px) no-repeat,
    radial-gradient(
      ellipse 72% 88% at 62% 54%,
      rgba(10, 132, 255, 0.3) 0%,
      rgba(10, 132, 255, 0.12) 22%,
      rgba(10, 132, 255, 0.04) 42%,
      transparent 68%
    );
}

.landing-hero.app-hero::after {
  display: none;
}

.landing-hero .btn-row {
  justify-content: flex-start;
}

.landing-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.35rem, 3.2vw, 2rem);
  align-items: center;
  overflow-x: visible;
  min-width: 0;
}

.landing-hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  /* clip kaldırıldı: grid sınırında dikey “kesik” oluşturuyordu */
  overflow-x: visible;
}

/* Telefonu büyütmeden etrafındaki boşluğu glow / halka ile doldurur */
.landing-hero__visual-scene {
  position: relative;
  width: 100%;
  max-width: min(36rem, 100%);
  margin-inline: auto;
  min-width: 0;
  /* Keskin dikdörtgen kırpma yok; yatay taşma üst grid + html/body ile sınırlı */
  overflow-x: visible;
}

.landing-hero__ambient {
  position: absolute;
  inset: -18% -12% -18% -55%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  contain: layout style;
}

.landing-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.32;
}

.landing-hero__blob--1 {
  width: 62%;
  height: 52%;
  top: -10%;
  left: 8%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.42) 0%, transparent 72%);
}

.landing-hero__blob--2 {
  width: 52%;
  height: 44%;
  bottom: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(125, 185, 232, 0.3) 0%, transparent 74%);
}

.landing-hero__blob--3 {
  width: 40%;
  height: 34%;
  top: 36%;
  right: -4%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.18) 0%, transparent 70%);
}

[data-theme="dark"] .landing-hero__blob--1 {
  background: radial-gradient(circle, rgba(10, 132, 255, 0.5) 0%, transparent 68%);
}

[data-theme="dark"] .landing-hero__blob--2 {
  background: radial-gradient(circle, rgba(100, 170, 255, 0.26) 0%, transparent 70%);
}

[data-theme="dark"] .landing-hero__blob--3 {
  background: radial-gradient(circle, rgba(10, 132, 255, 0.24) 0%, transparent 65%);
}

[data-theme="dark"] .landing-hero__blob {
  opacity: 0.32;
}

.landing-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(13, 110, 253, 0.22);
  pointer-events: none;
}

.landing-hero__ring--1 {
  width: 104%;
  height: 86%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  opacity: 0.55;
}

.landing-hero__ring--2 {
  width: 112%;
  height: 94%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(8deg);
  border-color: rgba(125, 185, 232, 0.14);
  opacity: 0.45;
}

[data-theme="dark"] .landing-hero__ring--1 {
  border-color: rgba(10, 132, 255, 0.3);
  opacity: 0.6;
}

[data-theme="dark"] .landing-hero__ring--2 {
  border-color: rgba(10, 132, 255, 0.16);
  opacity: 0.48;
}

.landing-hero__spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 0.5;
  transform: rotate(45deg);
}

.landing-hero__spark--1 {
  top: 12%;
  left: 8%;
}

.landing-hero__spark--2 {
  bottom: 18%;
  right: 10%;
}

[data-theme="dark"] .landing-hero__spark {
  background: rgba(200, 220, 255, 0.35);
  opacity: 0.55;
  box-shadow: 0 0 6px rgba(100, 170, 255, 0.28);
}

@media (min-width: 640px) and (max-width: 959px) {
  :root {
    --hero-phone-width: clamp(280px, 48vw, 400px);
  }

  .landing-phones {
    min-height: 560px;
  }
}

@media (min-width: 960px) {
  /* Telefon çerçevesi görseli için daha geniş sağ sütun */
  .landing-hero__grid {
    align-items: start;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 4.1fr) minmax(0, 5.9fr);
  }

  .landing-hero__visual {
    justify-content: center;
    margin-top: clamp(2.75rem, 9vh, 5.5rem);
  }

  .landing-hero__copy {
    align-self: start;
    max-width: 36rem;
  }

  :root {
    /* İki sütunda sağ kolon geniş olsa bile mockup fiziksel telefon ölçeğinde kalsın */
    --hero-phone-width: clamp(260px, 24vw, 400px);
    --hero-mockup-shift-x: -0.5rem;
  }
}

.landing-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  min-width: 0;
}

.landing-hero__subtitle {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
}

/* Başlık + lead: lead genişliği başlık satırıyla hizalı (inline-flex shrink-to-fit) */
.landing-hero__head-block {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  min-width: 0;
}

.landing-hero__head-block .lead {
  margin: 0;
}

.landing-hero h1 {
  text-align: left;
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  margin: 0 0 0.85rem;
}

.landing-hero .lead {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  font-size: clamp(0.98rem, 2vw, 1.03rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Geniş sütunda başlık tek satır; font biraz kısılır ki taşma olmasın */
@media (min-width: 960px) {
  .landing-hero h1 {
    white-space: nowrap;
    font-size: clamp(1.45rem, 1.55vw + 0.95rem, 1.95rem);
  }
}

@media (max-width: 959px) {
  .landing-hero h1 {
    white-space: normal;
    font-size: clamp(1.72rem, 5vw + 0.15rem, 2.22rem);
  }

  .landing-hero .lead {
    font-size: clamp(1rem, 2.65vw, 1.07rem);
    line-height: 1.55;
  }
}

/* Satır sonunda tek kelime kalmayı engelle (i18n’de .text-nobreak ile birlikte) */
.text-nobreak {
  white-space: nowrap;
}

@media (max-width: 360px) {
  .text-nobreak {
    white-space: normal;
  }
}

/* Ana sayfa: indirme butonlarının altı — kapatılınca localStorage ile gizlenir */
.home-release-callout {
  position: relative;
  margin: 0.5rem 0 0.9rem;
  max-width: 38rem;
  box-sizing: border-box;
  padding: 0.85rem 2.25rem 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 110, 253, 0.25);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(125, 185, 232, 0.14) 100%);
  box-shadow: var(--shadow-soft);
}

.home-release-callout__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-release-callout__close:hover {
  background: rgba(13, 110, 253, 0.15);
  color: var(--accent);
}

.home-release-callout__label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-release-callout__body {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
}

.home-release-callout__body a {
  font-weight: 600;
}

[data-theme="dark"] .home-release-callout {
  border-color: rgba(10, 132, 255, 0.4);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.16) 0%, rgba(10, 132, 255, 0.06) 100%);
}

[data-theme="dark"] .home-release-callout__close {
  background: rgba(255, 255, 255, 0.08);
  color: #e8eaed;
}

[data-theme="dark"] .home-release-callout__close:hover {
  background: rgba(10, 132, 255, 0.22);
  color: #64a8ff;
}

[data-theme="dark"] .home-release-callout__label {
  color: #64a8ff;
}

/* İndir — iki kutu: güncel / arşiv */
.releases-two-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0.25rem 0 1.5rem;
}

.releases-two-stack__slot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.releases-two-stack__slot:empty {
  display: none;
}

.version-card--archived {
  border-color: var(--border);
  background: var(--bg-elevated);
  box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
  .version-card--archived:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }
}

.version-badge--muted {
  background: #86868b;
  color: #fff;
}

.btn-dl--disabled {
  pointer-events: none;
  cursor: not-allowed;
  margin-top: 0.35rem;
  padding: 0.65rem 1.2rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .version-badge--muted {
  background: #636366;
  color: #f2f2f7;
}

.version-card--latest > .subhead-ch:first-child {
  margin-top: 0;
}

.upcoming-release-banner {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 110, 253, 0.22);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.09) 0%, rgba(125, 185, 232, 0.12) 100%);
  box-shadow: var(--shadow-soft);
}

.upcoming-release-banner--tip {
  margin: 0 0 1.5rem;
  border-left: 4px solid var(--accent);
}

.upcoming-release-banner__label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.upcoming-release-banner__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}

.upcoming-release-banner__body strong {
  font-weight: 600;
  color: var(--accent);
}

[data-theme="dark"] .upcoming-release-banner {
  border-color: rgba(10, 132, 255, 0.35);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.14) 0%, rgba(10, 132, 255, 0.05) 100%);
}

[data-theme="dark"] .upcoming-release-banner__label,
[data-theme="dark"] .upcoming-release-banner__body strong {
  color: #64a8ff;
}

.landing-hero .store-panel {
  text-align: left;
  background: #fff;
  box-shadow: 0 10px 40px rgba(15, 53, 80, 0.08), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border-color: rgba(19, 47, 76, 0.09);
}

.landing-hero .store-panel__copy {
  margin-left: 0;
}

.landing-hero .store-badges {
  justify-content: flex-start;
}

[data-theme="dark"] .landing-hero .store-panel {
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  border-color: var(--border);
}

.landing-phones {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: visible;
  perspective: 920px;
  perspective-origin: 38% 42%;
}

@media (min-width: 960px) {
  .landing-phones {
    min-height: min(960px, 90vh);
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    perspective-origin: 50% 52%;
  }

  .landing-hero__visual-scene {
    max-width: 100%;
    width: 100%;
  }
}

/*
 * Hero: birleşik mockup PNG (484×1024), çerçeve+ekran tek dosyada — images/app-preview-*.png
 */
.hero-photo-mockup {
  --phone-rot-y: -14deg;
  --phone-rot-x: 4deg;
  position: relative;
  line-height: 0;
  width: var(--hero-phone-width);
  max-width: 100%;
  transform-style: preserve-3d;
  transform: translateX(var(--hero-mockup-shift-x)) rotateY(var(--phone-rot-y)) rotateX(var(--phone-rot-x)) translateZ(0);
  backface-visibility: hidden;
  filter: drop-shadow(0 16px 32px rgba(15, 53, 80, 0.17)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
}

/*
 * Görünür yüksekliğe göre genişlik tavanı (en-boy 484×1024).
 * Çıkarılan rem fazlaysa telefon ~400px’te kalıyordu; hero kaydırılabilir olduğundan tavan daha cömert.
 */
.hero-photo-mockup--composite {
  width: min(
    var(--hero-phone-width),
    100%,
    calc((100dvh - 4rem) * 484 / 1024)
  );
}

@media (min-width: 960px) {
  .hero-photo-mockup--composite {
    width: min(
      var(--hero-phone-width),
      100%,
      calc((100dvh - 2.5rem) * 484 / 1024)
    );
  }
}

.hero-photo-mockup__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

/* Kare kutu + contain → yanlarda “siyah şerit” hissi; PNG en-boyu ile hizala */
.hero-photo-mockup--composite .hero-photo-mockup__inner {
  aspect-ratio: 484 / 1024;
}

.hero-photo-mockup--composite .hero-photo-mockup__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

@media (max-width: 959px) {
  .landing-hero::before {
    inset: -10% -10% -20% -10%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 680' preserveAspectRatio='xMidYMid meet'%3E%3Cellipse cx='500' cy='310' rx='455' ry='275' fill='none' stroke='%230d6efd' stroke-opacity='0.14' stroke-width='1.2' stroke-dasharray='5 14'/%3E%3Cellipse cx='515' cy='335' rx='390' ry='305' fill='none' stroke='%237db9e8' stroke-opacity='0.09' stroke-width='1' stroke-dasharray='4 11'/%3E%3C/svg%3E")
        center 40% / 135vw 78vh no-repeat,
      radial-gradient(ellipse 92% 78% at 50% 38%, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.04) 40%, transparent 65%),
      radial-gradient(ellipse 88% 62% at 48% 58%, rgba(125, 185, 232, 0.1) 0%, transparent 54%),
      linear-gradient(
        95deg,
        rgba(125, 185, 232, 0.06) 0%,
        rgba(13, 110, 253, 0.06) 45%,
        rgba(13, 110, 253, 0.11) 100%
      );
  }

  [data-theme="dark"] .landing-hero::before {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 680' preserveAspectRatio='xMidYMid meet'%3E%3Cellipse cx='500' cy='310' rx='455' ry='275' fill='none' stroke='%230a84ff' stroke-opacity='0.2' stroke-width='1.2' stroke-dasharray='5 14'/%3E%3Cellipse cx='515' cy='335' rx='390' ry='305' fill='none' stroke='%2364a8ff' stroke-opacity='0.12' stroke-width='1' stroke-dasharray='4 11'/%3E%3C/svg%3E")
        center 40% / 135vw 78vh no-repeat,
      radial-gradient(
        ellipse 95% 78% at 50% 42%,
        rgba(10, 132, 255, 0.28) 0%,
        rgba(10, 132, 255, 0.09) 36%,
        rgba(10, 132, 255, 0.025) 56%,
        transparent 72%
      );
  }

  .landing-hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.1rem, 3vw, 1.65rem);
  }

  /* Masaüstüyle aynı okuma sırası: metin → telefon (eskiden telefon üstteydi) */
  .landing-hero__visual {
    order: 0;
  }

  .landing-phones {
    min-height: 400px;
  }

  .hero-photo-mockup {
    transform: translateX(var(--hero-mockup-shift-x)) rotateY(-6deg) rotateX(2.5deg) translateZ(0);
    filter: drop-shadow(0 12px 24px rgba(15, 53, 80, 0.15)) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.09));
  }
}

/* Tablet: masaüstüne yakın iki sütun + aynı perspektif / gölge */
@media (min-width: 700px) and (max-width: 959px) {
  :root {
    --hero-mockup-shift-x: -0.5rem;
  }

  .landing-hero__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: start;
    gap: 1.25rem;
  }

  .landing-hero__copy {
    max-width: 36rem;
    align-self: start;
  }

  .landing-hero__visual {
    justify-content: center;
    margin-top: clamp(2rem, 7vh, 4.25rem);
  }

  .landing-phones {
    min-height: min(580px, 74vh);
    perspective-origin: 50% 52%;
  }

  .hero-photo-mockup {
    transform: translateX(var(--hero-mockup-shift-x)) rotateY(-8deg) rotateX(3deg) translateZ(0);
    filter: drop-shadow(0 16px 32px rgba(15, 53, 80, 0.17)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
  }

  [data-theme="dark"] .hero-photo-mockup {
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.34)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
  }

  .hero-photo-mockup--composite {
    width: min(
      var(--hero-phone-width),
      100%,
      calc((100dvh - 2.75rem) * 484 / 1024)
    );
  }

  [data-theme="dark"] .landing-hero__copy {
    max-width: 38rem;
  }

  /* Arka plan dekorunu masaüstü merkezine yaklaştır */
  .landing-hero::before {
    inset: -10% -15% -12% -15%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 680' preserveAspectRatio='xMidYMid meet'%3E%3Cellipse cx='500' cy='310' rx='455' ry='275' fill='none' stroke='%230d6efd' stroke-opacity='0.16' stroke-width='1.2' stroke-dasharray='5 14'/%3E%3Cellipse cx='515' cy='335' rx='390' ry='305' fill='none' stroke='%237db9e8' stroke-opacity='0.1' stroke-width='1' stroke-dasharray='4 11'/%3E%3C/svg%3E")
        center 50% / min(165vw, 1850px) min(95vh, 920px) no-repeat,
      radial-gradient(
        ellipse 72% 86% at 60% 52%,
        rgba(13, 110, 253, 0.2) 0%,
        rgba(13, 110, 253, 0.09) 22%,
        rgba(13, 110, 253, 0.03) 42%,
        transparent 68%
      ),
      radial-gradient(ellipse 88% 72% at 32% 48%, rgba(125, 185, 232, 0.12) 0%, transparent 55%),
      linear-gradient(
        100deg,
        rgba(125, 185, 232, 0.08) 0%,
        rgba(13, 110, 253, 0.06) 28%,
        rgba(13, 110, 253, 0.11) 48%,
        rgba(13, 110, 253, 0.15) 72%,
        rgba(125, 185, 232, 0.09) 100%
      );
  }

  [data-theme="dark"] .landing-hero::before {
    inset: -15% -18% 0 -18%;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 680' preserveAspectRatio='xMidYMid meet'%3E%3Cellipse cx='500' cy='310' rx='455' ry='275' fill='none' stroke='%230a84ff' stroke-opacity='0.22' stroke-width='1.2' stroke-dasharray='5 14'/%3E%3Cellipse cx='515' cy='335' rx='390' ry='305' fill='none' stroke='%2364a8ff' stroke-opacity='0.14' stroke-width='1' stroke-dasharray='4 11'/%3E%3C/svg%3E")
        center 52% / min(165vw, 1900px) min(98vh, 980px) no-repeat,
      radial-gradient(
        ellipse 72% 88% at 62% 54%,
        rgba(10, 132, 255, 0.3) 0%,
        rgba(10, 132, 255, 0.12) 22%,
        rgba(10, 132, 255, 0.04) 42%,
        transparent 68%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero__blob {
    filter: blur(16px);
    opacity: 0.22;
  }

  .landing-phones {
    perspective: none;
  }

  .hero-photo-mockup {
    transform-style: flat;
    transform: translateX(var(--hero-mockup-shift-x)) rotate(-4deg);
    filter: drop-shadow(0 12px 24px rgba(15, 53, 80, 0.14));
  }

  .landing-hero .landing-hero__visual {
    animation: none;
  }

  @media (max-width: 959px) {
    .hero-photo-mockup {
      transform: translateX(var(--hero-mockup-shift-x)) rotate(-3deg);
    }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-hero .landing-hero__copy > * {
    animation: motion-fade-up 0.52s var(--ease-out) backwards;
  }

  .landing-hero .landing-hero__copy > *:nth-child(1) {
    animation-delay: 0.04s;
  }

  .landing-hero .landing-hero__copy > *:nth-child(2) {
    animation-delay: 0.08s;
  }

  .landing-hero .landing-hero__copy > *:nth-child(3) {
    animation-delay: 0.12s;
  }

  .landing-hero .landing-hero__copy > *:nth-child(4) {
    animation-delay: 0.14s;
  }

  .landing-hero .landing-hero__copy > *:nth-child(5) {
    animation-delay: 0.18s;
  }

  .landing-hero .landing-hero__visual {
    animation: hero-phone-enter 0.7s var(--ease-out) 0.12s backwards;
  }
}

@keyframes hero-phone-enter {
  from {
    opacity: 0;
    transform: translateX(clamp(120px, 22vw, 320px)) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.showcase-section {
  padding: 2.5rem 0 0.5rem;
  border-top: 1px solid var(--border);
}

.showcase-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .showcase-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.showcase-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

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

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.feature-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.4s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover {
    border-color: rgba(8, 112, 217, 0.22);
    box-shadow: 0 14px 40px rgba(15, 53, 80, 0.1);
    transform: translateY(-2px);
  }
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.landing-quote {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.landing-quote__inner {
  margin: 0;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.landing-quote__inner p {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.landing-quote__inner footer {
  font-size: 0.8rem;
  color: var(--muted);
}

.landing-quote__inner cite {
  font-style: normal;
  font-weight: 600;
}

[data-theme="dark"] .feature-card:hover {
  border-color: rgba(10, 132, 255, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .hero-photo-mockup {
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.34)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.2));
}

.landing-phones .hero-photo-mockup {
  transform-origin: 46% 50%;
  transition: transform 0.32s var(--ease-out), filter 0.32s var(--ease-out);
}

.landing-phones .hero-photo-mockup:hover {
  transform: translateX(var(--hero-mockup-shift-x)) rotateY(var(--phone-rot-y)) rotateX(var(--phone-rot-x)) scale(1.04) translateY(-10px);
  filter: drop-shadow(0 18px 36px rgba(15, 53, 80, 0.2)) drop-shadow(0 8px 18px rgba(13, 110, 253, 0.12));
}

[data-theme="dark"] .landing-phones .hero-photo-mockup:hover {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.38)) drop-shadow(0 8px 18px rgba(10, 132, 255, 0.14));
}

@media (max-width: 959px) {
  .landing-phones .hero-photo-mockup:hover {
    transform: translateX(var(--hero-mockup-shift-x)) rotateY(var(--phone-rot-y)) rotateX(var(--phone-rot-x)) scale(1.03) translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-phones .hero-photo-mockup {
    transition-duration: 0.15s;
  }

  .landing-phones .hero-photo-mockup:hover {
    transform: translateX(var(--hero-mockup-shift-x)) rotate(-3deg) scale(1.02) translateY(-4px);
    filter: drop-shadow(0 14px 28px rgba(15, 53, 80, 0.16));
  }

  [data-theme="dark"] .landing-phones .hero-photo-mockup:hover {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.32));
  }

  @media (max-width: 959px) {
    .landing-phones .hero-photo-mockup:hover {
      transform: translateX(var(--hero-mockup-shift-x)) rotate(-2.5deg) scale(1.02) translateY(-4px);
    }
  }
}

/* Bölümler */
.section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

/* Hero’dan sonraki ilk bölüm: üst çizgi yok, tek sayfa akışı */
.landing-hero + .section {
  border-top: none;
  padding-top: 2.25rem;
}

html:not([data-theme="dark"]) .landing-hero + .section {
  padding-top: 3rem;
}

[data-theme="dark"] .landing-hero + .section {
  padding-top: 2.5rem;
}

.section__head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.section__head p + p {
  margin-top: 0.75rem;
}

/* ——— Feedback system ——— */
#geri-bildirim .fb-form,
#geri-bildirim .fb-error,
#geri-bildirim .fb-empty,
#geri-bildirim .fb-list {
  width: 100%;
  max-width: min(56rem, 100%);
}

.fb-form {
  margin: 0 0 1.5rem;
}

.fb-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.fb-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fb-form__field--full {
  grid-column: 1 / -1;
}

.fb-form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.fb-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.fb-form__row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.fb-form__input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}

.fb-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.fb-form__btn {
  flex-shrink: 0;
  padding: 0.55rem 1.35rem;
  font-size: 0.9rem;
}

.fb-form__select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.fb-form__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

[data-theme="dark"] .fb-form__select {
  background: var(--bg-deep);
  border-color: rgba(255, 255, 255, 0.1);
}

.fb-form__msg-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
}

.fb-form__msg-head .fb-form__label {
  margin: 0;
}

.fb-form__msg-head .fb-stars {
  margin-left: auto;
}

@media (max-width: 520px) {
  .fb-form__msg-head {
    flex-direction: column;
    align-items: stretch;
  }

  .fb-form__msg-head .fb-stars {
    margin-left: 0;
    align-self: flex-end;
  }
}

/* ─── Yıldız sistemi (10 adet tam yıldız) ─── */
.fb-stars--input {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: filter 0.35s ease;
}

.fb-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin: 0;
  border: none;
  background: none;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.fb-star:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-radius: 3px;
}

.fb-star.is-on {
  color: #3b82f6;
}

[data-theme="dark"] .fb-star.is-on {
  color: #60a5fa;
}

button.fb-star:hover {
  transform: scale(1.18);
}

.fb-star-svg {
  width: 1.1em;
  height: 1.1em;
  display: block;
  pointer-events: none;
}

.fb-stars--input.has-value {
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.35));
}

[data-theme="dark"] .fb-stars--input.has-value {
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.35));
}

.fb-stars-ro {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
  margin-right: 0.35rem;
}

.fb-stars-ro .fb-star {
  cursor: default;
}

.fb-stars-ro .fb-star-svg {
  width: 0.85em;
  height: 0.85em;
}

.fb-form__msg-wrap {
  position: relative;
}

.fb-form__textarea {
  width: 100%;
  min-height: 5rem;
  padding: 0.65rem 0.75rem;
  padding-bottom: 1.6rem;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.fb-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.fb-form__chars {
  position: absolute;
  right: 0.65rem;
  bottom: 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.15s ease;
}

.fb-form__chars.is-warn {
  color: #c07800;
}

.fb-form__chars.is-over {
  color: #d32f2f;
  font-weight: 600;
}

[data-theme="dark"] .fb-form__input,
[data-theme="dark"] .fb-form__textarea,
[data-theme="dark"] .fb-form__select {
  background: var(--bg-deep);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .fb-form__input:focus,
[data-theme="dark"] .fb-form__textarea:focus,
[data-theme="dark"] .fb-form__select:focus {
  border-color: rgba(10, 132, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

.fb-error {
  margin: 0 0 1rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: #b71c1c;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  border-radius: var(--radius-sm);
}

[data-theme="dark"] .fb-error {
  color: #ef9a9a;
  background: rgba(211, 47, 47, 0.12);
  border-color: rgba(211, 47, 47, 0.3);
}

.fb-loading {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 0;
  min-height: 3rem;
}

.fb-loading.is-busy {
  display: flex;
}

.fb-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: fb-spin 0.7s linear infinite;
}

@keyframes fb-spin {
  to { transform: rotate(360deg); }
}

.fb-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.fb-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fb-card {
  position: relative;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: var(--radius-sm);
  box-shadow:
    0 0 10px rgba(59, 130, 246, 0.14),
    0 0 28px rgba(59, 130, 246, 0.08);
  animation: fb-pulse 3s ease-in-out infinite;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.fb-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow:
    0 0 14px rgba(59, 130, 246, 0.25),
    0 0 40px rgba(59, 130, 246, 0.12);
  animation-play-state: paused;
}

@keyframes fb-pulse {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(59, 130, 246, 0.14),
      0 0 28px rgba(59, 130, 246, 0.08);
  }
  50% {
    box-shadow:
      0 0 16px rgba(59, 130, 246, 0.24),
      0 0 40px rgba(59, 130, 246, 0.13);
  }
}

.fb-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.fb-card__head-main {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.fb-card__name-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  min-width: 0;
}

.fb-team-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem 0.22rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  background: var(--fb-rank-color, #64748b);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 10px var(--fb-rank-glow, rgba(255, 255, 255, 0.35)),
    0 0 22px var(--fb-rank-glow, rgba(255, 255, 255, 0.2)),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .fb-team-badge {
    animation: fb-rank-neon 2.4s ease-in-out infinite alternate;
  }
}

@keyframes fb-rank-neon {
  from {
    filter: brightness(1) drop-shadow(0 0 4px var(--fb-rank-glow));
  }
  to {
    filter: brightness(1.12) drop-shadow(0 0 10px var(--fb-rank-glow));
  }
}

.fb-rank-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}

.fb-rank-legend__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  color: #fff;
  background: var(--fb-rank-c, #64748b);
  box-shadow: 0 0 12px var(--fb-rank-g, rgba(255, 255, 255, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.fb-team-profile {
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border);
}

.fb-team-profile .btn {
  margin-top: 0.35rem;
  width: 100%;
}

.fb-team-profile__status {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--accent);
}

.fb-admin-list__rank {
  display: inline-block;
  margin: 0.2rem 0 0;
  padding: 0.12rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  background: var(--fb-rank-c);
  box-shadow: 0 0 10px var(--fb-rank-g);
}

.fb-card__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  min-width: 0;
}

.fb-card__time {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.fb-card__msg {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

[data-theme="dark"] .fb-card {
  background: var(--bg-elevated);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow:
    0 0 12px rgba(96, 165, 250, 0.18),
    0 0 30px rgba(96, 165, 250, 0.1),
    inset 0 0 14px rgba(96, 165, 250, 0.04);
  animation-name: fb-pulse-dark;
}

[data-theme="dark"] .fb-card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow:
    0 0 18px rgba(96, 165, 250, 0.32),
    0 0 45px rgba(96, 165, 250, 0.15),
    inset 0 0 18px rgba(96, 165, 250, 0.06);
}

@keyframes fb-pulse-dark {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(96, 165, 250, 0.18),
      0 0 30px rgba(96, 165, 250, 0.1),
      inset 0 0 14px rgba(96, 165, 250, 0.04);
  }
  50% {
    box-shadow:
      0 0 20px rgba(96, 165, 250, 0.3),
      0 0 45px rgba(96, 165, 250, 0.16),
      inset 0 0 20px rgba(96, 165, 250, 0.06);
  }
}

.fb-more {
  margin-top: 1rem;
  align-self: flex-start;
}

.fb-more.is-hidden {
  display: none !important;
}

.fb-card__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
}

.fb-card__votes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fb-card__owner {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.fb-act {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  font-family: var(--font);
  font-size: 0.75rem;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.fb-act:hover {
  color: var(--text);
  border-color: var(--text);
}

.fb-act--del:hover {
  color: #d32f2f;
  border-color: #d32f2f;
}

.fb-act__svg {
  width: 0.9em;
  height: 0.9em;
  display: block;
}

.fb-card--own {
  border-left: 3px solid var(--accent);
}

/* —— Site yanıtı (yalnızca yönetici) —— */
.fb-reply {
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, transparent 100%);
}

.fb-reply__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.35rem;
}

.fb-reply__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.fb-reply__by {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  max-width: 100%;
}

.fb-team-badge--reply {
  font-size: 0.58rem;
  padding: 0.14rem 0.48rem 0.18rem;
}

.fb-reply__badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 0;
}

[data-theme="dark"] .fb-reply__badge {
  color: #93c5fd;
}

.fb-reply__text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.fb-reply__time {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.fb-reply-editor {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
}

.fb-reply-editor__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.fb-reply-editor__input {
  width: 100%;
  margin-bottom: 0.5rem;
  min-height: 4rem;
}

.fb-reply-editor__btn {
  font-size: 0.82rem;
}

.fb-admin-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.fb-admin-modal[hidden] {
  display: none !important;
}

.fb-admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.fb-admin-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(22rem, calc(100vw - 2rem));
  max-height: min(90vh, 36rem);
  overflow-y: auto;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.fb-admin-modal__panel--wide {
  max-width: min(58rem, calc(100vw - 2rem));
  max-height: min(94vh, 56rem);
  padding: 1.6rem 1.75rem;
}

.fb-admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin: 0.4rem 0 1rem;
  padding: 0.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.fb-admin-tabs__btn {
  flex: 1;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.fb-admin-tabs__btn:hover {
  color: var(--text);
}

.fb-admin-tabs__btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 107, 203, 0.25);
}

[data-theme="dark"] .fb-admin-tabs {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fb-admin-tabs__btn.is-active {
  background: #0a84ff;
}

.fb-admin-tab {
  display: none;
}

.fb-admin-tab.is-active {
  display: block;
}

.fb-visitor-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 160px;
  padding: 0.75rem 0.6rem 0.4rem;
  margin: 0.35rem 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .fb-visitor-chart {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.fb-visitor-chart__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.3rem;
  position: relative;
  min-width: 0;
}

.fb-visitor-chart__bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(11, 107, 203, 0.55) 100%);
  box-shadow: 0 2px 6px rgba(11, 107, 203, 0.3);
  min-height: 2px;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.fb-visitor-chart__col:hover .fb-visitor-chart__bar {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

[data-theme="dark"] .fb-visitor-chart__bar {
  background: linear-gradient(180deg, #0a84ff 0%, rgba(10, 132, 255, 0.4) 100%);
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.35);
}

.fb-visitor-chart__label {
  font-size: 0.6rem;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-visitor-chart__value {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-card);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  white-space: nowrap;
  border: 1px solid var(--border);
}

.fb-visitor-chart__col:hover .fb-visitor-chart__value {
  opacity: 1;
}

.fb-admin-modal__x {
  position: absolute;
  top: 0.4rem;
  right: 0.45rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 4px;
}

.fb-admin-modal__x:hover {
  color: var(--text);
  background: var(--accent-dim);
}

.fb-admin-modal__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.fb-admin-modal__hint {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.fb-admin-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fb-admin-modal__field span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.fb-admin-modal__signed p {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
}

.fb-admin-modal__admins {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.fb-admin-modal__admins-h {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.fb-admin-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fb-admin-list__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8rem;
}

.fb-admin-list__name {
  font-weight: 600;
  color: var(--text);
}

.fb-admin-list__uid {
  font-size: 0.65rem;
  line-height: 1.35;
  word-break: break-all;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  background: rgba(13, 110, 253, 0.06);
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
}

[data-theme="dark"] .fb-admin-list__uid {
  background: rgba(96, 165, 250, 0.1);
}

.fb-admin-modal__admins-h--sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fb-visitor-stats {
  margin: 0.4rem 0 0.6rem;
}

.fb-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem;
}

.fb-stat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

.fb-stat-tile__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.fb-stat-tile__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .fb-stat-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.fb-visitor-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.fb-visitor-list .fb-admin-list__item {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
}

[data-theme="dark"] .fb-visitor-list .fb-admin-list__item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.fb-visitor-list .fb-admin-list__name {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
}

.fb-visitor-list .fb-admin-list__rank {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(13, 110, 253, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

[data-theme="dark"] .fb-visitor-list .fb-admin-list__rank {
  color: #64a8ff;
  background: rgba(96, 165, 250, 0.12);
}

.fb-visitor-list .fb-admin-list__uid {
  flex-basis: 100%;
  font-size: 0.65rem;
}

.chapter-browser {
  column-count: 3;
  column-gap: 0.85rem;
}

.chapter-col {
  display: contents;
}

.chapter-item {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(13, 110, 253, 0.1), var(--bg-elevated) 45%);
  overflow: clip;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.chapter-item:hover {
  border-color: rgba(13, 110, 253, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.14);
}

.chapter-item[open] {
  border-color: rgba(29, 185, 84, 0.45);
  box-shadow: 0 10px 22px rgba(29, 185, 84, 0.16);
}

.chapter-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.12), transparent 55%);
}

.chapter-item summary::-webkit-details-marker {
  display: none;
}

.chapter-item__code {
  font-family: ui-monospace, monospace;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.35), rgba(45, 192, 255, 0.28));
  color: var(--accent-hover);
  font-size: 0.72rem;
}

.chapter-item__sub {
  padding: 0 0.75rem 0.7rem;
}

.chapter-item__section {
  margin: 0;
  padding: 0 0.75rem 0.25rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.chapter-item__subhead {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.chapter-item__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.22rem;
}

.chapter-item__list li {
  font-size: 0.78rem;
  color: var(--text);
  padding: 0.22rem 0.35rem;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(13, 110, 253, 0.16);
}

[data-theme="dark"] .chapter-item {
  background: linear-gradient(160deg, rgba(10, 132, 255, 0.15), rgba(255, 255, 255, 0.03) 46%);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .chapter-item__code {
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.4), rgba(94, 92, 230, 0.32));
  color: #9ecbff;
}

[data-theme="dark"] .chapter-item summary {
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.16), transparent 60%);
}

[data-theme="dark"] .chapter-item__list li {
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.18), rgba(255, 255, 255, 0.02));
  border-color: rgba(10, 132, 255, 0.28);
}

@media (max-width: 920px) {
  .chapter-browser {
    column-count: 2;
  }
}

@media (max-width: 620px) {
  .chapter-browser {
    column-count: 1;
  }
}

.fb-card__admin {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}

[data-theme="dark"] .fb-card__bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 560px) {
  .fb-card__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .fb-card__votes {
    justify-content: flex-start;
  }

  .fb-card__owner,
  .fb-card__admin {
    margin-left: 0;
    justify-content: flex-end;
  }

  .fb-card {
    padding: 0.72rem 0.85rem;
  }

  .fb-vote {
    min-height: 2.75rem;
    padding: 0.35rem 0.75rem;
  }

  .fb-act {
    min-height: 2.5rem;
    padding: 0.32rem 0.65rem;
    font-size: 0.8rem;
  }

  #geri-bildirim .fb-form__grid {
    gap: 0.7rem;
  }

  #geri-bildirim .fb-form__textarea {
    min-height: 6.5rem;
  }
}

.fb-card__votes.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.fb-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.fb-vote:hover {
  border-color: var(--accent);
}

.fb-vote.is-pressed {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.fb-vote__icon {
  font-size: 1rem;
  line-height: 1;
}

.fb-vote__svg {
  width: 1.05em;
  height: 1.05em;
  display: block;
}

.fb-vote__count {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 1.25ch;
}

[data-theme="dark"] .fb-vote {
  background: var(--bg-deep);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
  .fb-form__row {
    flex-direction: column;
  }
}

.placeholder-text {
  color: var(--muted);
  font-style: italic;
}

.cta-strip {
  margin-top: 0.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 107, 203, 0.2);
  background: linear-gradient(135deg, rgba(11, 107, 203, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .cta-strip:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(11, 107, 203, 0.12);
    border-color: rgba(11, 107, 203, 0.28);
  }
}

@media (min-width: 560px) {
  .cta-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-strip p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

/* ——— Credits ——— */
.credits-block {
  padding: 2.5rem 0 1rem;
}

.credits-block--spotlight {
  padding: 3.5rem 0;
}

.credits-block--spotlight .credits-card {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.credits-block--spotlight .credits-list dt {
  text-align: center;
}

.credits-block--spotlight .credits-list dd {
  text-align: center;
}

.credits-card {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.45s var(--ease-out), border-color 0.35s ease, transform 0.45s var(--ease-out);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .credits-card:hover {
    box-shadow: 0 20px 48px rgba(19, 47, 76, 0.09);
    border-color: rgba(11, 107, 203, 0.18);
    transform: translateY(-3px);
  }
}

.credits-card h2 {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text);
}

.credits-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.credits-list dt {
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.credits-list dt:first-of-type {
  padding-top: 0;
  border-top: none;
}

.credits-list dd {
  margin: 0.15rem auto 0;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  max-width: 28rem;
}

/* ——— İndir / releases ——— */
.page-intro {
  padding: 2.5rem 0 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .page-intro--hero > * {
    animation: motion-fade-up 0.75s var(--ease-out) backwards;
  }

  .page-intro--hero > h1 {
    animation-delay: 0.06s;
  }

  .page-intro--hero > .lead {
    animation-delay: 0.14s;
  }
}

.page-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-intro .lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.section-block {
  margin-bottom: 2.5rem;
}

.section-block h2 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.version-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s ease, border-color 0.35s ease, transform 0.4s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .version-card:hover {
    box-shadow: 0 16px 40px rgba(19, 47, 76, 0.09);
    transform: translateY(-2px);
  }
}

.version-card--latest {
  border-color: rgba(11, 107, 203, 0.35);
  background: linear-gradient(165deg, rgba(11, 107, 203, 0.08) 0%, var(--bg-card) 45%);
}

.version-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.version-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
}

.version-meta {
  font-size: 0.875rem;
  color: var(--muted);
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.65rem 1.2rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  box-shadow: 0 4px 12px rgba(11, 107, 203, 0.25);
}

.btn-dl:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 107, 203, 0.32);
}

.btn-dl:active {
  transform: translateY(0);
}

.btn-dl:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.subhead-ch {
  margin: 1.15rem 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.changelog-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}

.changelog-list li {
  margin-bottom: 0.35rem;
}

.older-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.older-item {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .older-item:hover {
    border-color: rgba(11, 107, 203, 0.2);
    box-shadow: 0 10px 28px rgba(19, 47, 76, 0.08);
  }
}

.older-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.older-item a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}

.older-item a:hover {
  color: var(--accent-hover);
}

.older-item__dl-off {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: not-allowed;
  user-select: none;
}

.muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.alert-soft {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #8b4513;
  background: rgba(255, 200, 120, 0.25);
  border: 1px solid rgba(200, 120, 40, 0.35);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.history-block {
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.history-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.history-block__title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.comments-note {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.comments-wrap {
  min-height: 200px;
  margin-top: 0.35rem;
  padding: 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.3s ease, box-shadow 0.35s ease;
}

.comments-wrap:focus-within {
  border-color: rgba(8, 112, 217, 0.28);
  box-shadow: 0 0 0 3px rgba(8, 112, 217, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .section.reveal.is-inview .section__head h2,
  .section-block.reveal.is-inview > h2:first-of-type {
    animation: head-slide-in 0.45s var(--ease-out) both;
  }

  .credits-block.reveal.is-inview .credits-card {
    animation: card-lift-in 0.5s var(--ease-out) 0.06s both;
  }

  .app-menu a {
    transition: color 0.25s ease, transform 0.35s var(--ease-spring);
  }

  .app-menu a:hover {
    transform: translateY(-2px);
  }
}

@keyframes head-slide-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes card-lift-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ——— Nasıl yüklenir ——— */
.prose {
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 0.85rem;
}

.prose ol,
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: var(--text);
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--muted);
}

.prose .note {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  color: var(--muted);
}

.prose .placeholder {
  margin: 0 0 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted);
  font-style: italic;
}

.prose code {
  color: var(--accent);
  font-size: 0.88em;
}

/* ——— Footer ——— */
.app-footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
}

.app-footer p,
.app-footer__line {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Alt bilgi taşarsa yatay scrollbar oluşmasın (sticky header üstünde değil) */
  min-width: 0;
}

.app-shell > .app-footer {
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

.app-shell .app-content {
  flex: 1;
  /* Flex öğede min-width:auto içerik genişliğinde kalır → yatay scrollbar; sıfırla */
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

/* ——— Tema: gece ——— */
[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] :root,
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-deep: #121212;
  --bg-elevated: #1a1a1a;
  --bg-card: rgba(30, 30, 30, 0.94);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a1a1a6;
  --accent: #0a84ff;
  --accent-dim: rgba(10, 132, 255, 0.16);
  --accent-hover: #409cff;
  --sky-band: rgba(10, 132, 255, 0.1);
  --shadow: 0 16px 56px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 36px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body {
  background-color: #070b10;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(10, 132, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(10, 132, 255, 0.04), transparent 45%);
  background-attachment: fixed;
}

[data-theme="dark"] body::before {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(10, 132, 255, 0.04), transparent 45%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(10, 132, 255, 0.03), transparent 50%);
  opacity: 0.85;
}

[data-theme="dark"] body::after {
  background:
    radial-gradient(circle at 15% 70%, rgba(10, 132, 255, 0.025), transparent 38%),
    radial-gradient(circle at 85% 60%, rgba(10, 132, 255, 0.02), transparent 35%);
  opacity: 0.5;
}

[data-theme="dark"] .app-top {
  background: rgba(18, 18, 18, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

[data-theme="dark"] .app-top.is-scrolled {
  background: rgba(12, 17, 24, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .beta-pill span {
  color: #b8d9ff;
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.2) 0%, rgba(10, 132, 255, 0.08) 100%);
  border-color: rgba(10, 132, 255, 0.35);
}

/* Ana sayfa hero (koyu): referans — rozet koyu mavi + parlak mavi çerçeve, başlık beyaz, gövde açık gri */
[data-theme="dark"] .landing-hero .beta-pill span {
  color: #ffffff;
  background: rgba(12, 28, 58, 0.92);
  border: 1px solid rgba(10, 132, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="dark"] .landing-hero .beta-pill span {
    animation: none;
  }
}

[data-theme="dark"] .landing-hero h1 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.16;
  margin: 0 0 0.85rem;
}

@media (min-width: 960px) {
  [data-theme="dark"] .landing-hero h1 {
    font-size: clamp(1.5rem, 1.7vw + 0.9rem, 2.05rem);
  }
}

@media (max-width: 959px) {
  [data-theme="dark"] .landing-hero h1 {
    font-size: clamp(1.78rem, 4.2vw, 2.55rem);
  }
}

[data-theme="dark"] .landing-hero .lead {
  color: #d7dbe3;
  font-size: clamp(1rem, 2.05vw, 1.0625rem);
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 959px) {
  [data-theme="dark"] .landing-hero .lead {
    font-size: clamp(1.02rem, 2.65vw, 1.08rem);
    line-height: 1.55;
  }
}

@media (min-width: 960px) {
  [data-theme="dark"] .landing-hero__copy {
    max-width: 36rem;
  }
}

[data-theme="dark"] .landing-hero .lead strong {
  color: #ffffff;
  font-weight: 600;
}

[data-theme="dark"] .btn--primary {
  color: #ffffff;
}

[data-theme="dark"] .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: var(--text);
}

[data-theme="dark"] .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .app-footer {
  background: rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .app-hero__icon {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.1), transparent 55%),
    linear-gradient(155deg, rgba(77, 163, 255, 0.22), rgba(20, 30, 42, 0.55));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .comments-wrap {
  background: var(--bg-elevated);
}

[data-theme="dark"] .comments-wrap:focus-within {
  border-color: rgba(77, 163, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.1);
}

[data-theme="dark"] .prose .note,
[data-theme="dark"] .prose .placeholder {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .alert-soft {
  color: #f0d0a8;
  background: rgba(200, 120, 40, 0.18);
  border-color: rgba(255, 160, 80, 0.28);
}

[data-theme="dark"] .version-badge {
  color: #ffffff;
}

/* ——— Üst bar: dil + tema ——— */
.app-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.lang-seg button {
  margin: 0;
  padding: 0.35rem 0.65rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  transition: background 0.25s var(--ease-out), color 0.2s ease, transform 0.2s ease;
}

.lang-seg button:hover {
  color: var(--text);
}

.lang-seg button.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11, 107, 203, 0.35);
}

[data-theme="dark"] .lang-seg button.is-active {
  color: #ffffff;
}

.theme-toggle {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: transform 0.35s var(--ease-spring), border-color 0.25s ease, box-shadow 0.25s ease, color 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.theme-toggle__moon,
.theme-toggle__sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__moon svg,
.theme-toggle__sun svg {
  display: block;
}

.theme-toggle__moon {
  transform: rotate(-15deg);
}

.theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: inline-flex;
}

.theme-toggle:hover {
  border-color: rgba(11, 107, 203, 0.35);
  transform: scale(1.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

[data-theme="dark"] .theme-toggle {
  color: #d1d5db;
  background: #121212;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(209, 213, 219, 0.28);
  color: #e5e7eb;
}

/* ——— Simge: beyaz çerçeve gider ——— */
.app-brand__mark {
  border: none;
  background: var(--icon-pad, rgba(11, 107, 203, 0.06));
}

[data-theme="dark"] .app-brand__mark {
  --icon-pad: rgba(255, 255, 255, 0.06);
}

.app-brand__mark img {
  object-fit: contain;
  padding: 2px;
  clip-path: inset(1px round 7px);
}

.credits-list dt {
  text-align: center;
}

/* ——— Scroll reveal ——— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.99);
    transition: opacity 0.42s var(--ease-out), transform 0.42s var(--ease-out);
  }

  .reveal.is-inview {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .reveal-stagger-1 {
    transition-delay: 0.03s;
  }

  .reveal-stagger-2 {
    transition-delay: 0.06s;
  }

  .reveal-stagger-3 {
    transition-delay: 0.09s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn-dl:hover {
    transform: none;
  }
}

/* APK tıklanınca canvas partikül (landing-page.js) */
.ata-apk-burst {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10050;
  pointer-events: none;
  contain: strict;
}
