/* ============================================
   Copy page butonlarını gizle
   ============================================ */
/* Copy page butonlarını gizle */
.copy-button,
.md-clipboard,
button[data-clipboard-target],
.md-content__button,
button[title="Copy"],
button[title="Copy to clipboard"],
[data-md-component="content"] button,
.md-typeset button.md-clipboard,
button:has(svg[class*="copy"]),
button:has(svg[class*="clipboard"]),
.prose button,
article button {
  display: none !important;
}

/* GitHub ikonunu gizle */
a[href="None"][target="_blank"] {
  display: none !important;
}

/* Stargazers span'ı içeren linki gizle */
a:has(#stargazers) {
  display: none !important;
}

/* Header'daki GitHub linki */
header a[target="_blank"][rel="noreferrer"] {
  display: none !important;
}

/* Header logo düzeltmesi */
header>div>a[href="/"] img,
header>div>a[href*="127.0.0.1"] img,
header a[href="/"] img,
header a[href*="127.0.0.1"] img {
  width: 140px !important;
  height: 36px !important;
  object-fit: contain !important;
}

/* Logo span container */
header a span.size-8,
header a .size-8 {
  width: 140px !important;
  height: 36px !important;
}

header a span.size-8 img,
header a .size-8 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Logo linkini düzgün göster */
header>div>a[href="/"],
header>div>a[href*="127.0.0.1"] {
  display: flex !important;
  align-items: center !important;
}

/* Navbar menüleri için stil */
header nav {
  display: flex !important;
  gap: 0.5rem;
}

header nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

header nav a:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.dark header nav a {
  color: #94a3b8;
}

.dark header nav a:hover {
  color: #f8fafc;
  background: #1e293b;
}

/* "Modüller"den sonraki navbar linklerini gizle */
header nav a.hidden-after-modules {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* FOUC önleme: Navbar linklerini baştan gizle, JavaScript ile göster */
header nav a {
  /* JavaScript yüklenene kadar tüm linkler gizli olsun */
  /* JavaScript "Modüller"e kadar olanları gösterecek */
}

/* JavaScript yüklenmeden önce navbar'ı işaretle */
header nav:not(.navbar-initialized) a:nth-child(n+7) {
  /* "Modüller" genellikle 6. veya 7. link olabilir, sonrasını gizle */
  display: none !important;
  visibility: hidden !important;
}

/* Mobil görünümde düzenlemeler */
@media (max-width: 1024px) {
  header nav {
    display: none !important;
  }

  /* Mobil header'da logo göster */
  header>div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  header>div>a[href="/"],
  header>div>a[href*="127.0.0.1"],
  header a[href="/"],
  header a[href*="127.0.0.1"] {
    display: flex !important;
    order: 2 !important;
  }

  /* Hamburger menu */
  header button:has(svg) {
    order: 1 !important;
  }

  /* Search ve theme toggle */
  header>div>div:last-child {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  header button[data-slot="dialog-trigger"] {
    display: inline-flex !important;
  }

  /* Logo mobil boyutu */
  header a span.size-8,
  header a .size-8 {
    width: 100px !important;
    height: 28px !important;
  }
}

/* ============================================
   Collapsible Navigation Stilleri
   ============================================ */

/* Sidebar grup stilleri */
[data-slot="sidebar-group"] {
  margin-bottom: 0.25rem;
}

[data-slot="sidebar-group-label"] {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  color: #334155;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.dark [data-slot="sidebar-group-label"] {
  color: #e2e8f0;
}

[data-slot="sidebar-group-label"]:hover {
  background: rgba(0, 0, 0, 0.03);
}

.dark [data-slot="sidebar-group-label"]:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* FOUC önleme: Sidebar içeriğini baştan gizle, JavaScript ile göster */
/* "Giriş Rehberi" ve "Başlangıç Rehberi" gibi alt menüleri baştan kapat */
[data-slot="sidebar-group-content"]:not(.sidebar-initialized) {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transition: none !important;
}

/* JavaScript yüklendiğinde bu class eklenir */
[data-slot="sidebar-group-content"].sidebar-initialized {
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease !important;
}

/* Nav group content - açılır kapanır için */
[data-slot="sidebar-group-content"].nav-group-content {
  overflow: hidden !important;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease !important;
}

[data-slot="sidebar-group"].nav-group.collapsed [data-slot="sidebar-group-content"].nav-group-content {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

[data-slot="sidebar-group"].nav-group.expanded [data-slot="sidebar-group-content"].nav-group-content {
  opacity: 1 !important;
}

/* Toggle icon rotation */
.nav-toggle-icon {
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

[data-slot="sidebar-group"].nav-group.collapsed .nav-toggle-icon svg {
  transform: rotate(-90deg) !important;
}

[data-slot="sidebar-group"].nav-group.expanded .nav-toggle-icon svg {
  transform: rotate(0deg) !important;
}

/* Collapsible menu item */
.nav-collapsible {
  position: relative;
}

.nav-collapsible>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 2rem !important;
}

/* Toggle butonu */
.nav-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  border-radius: 4px;
  transition: all 0.2s ease;
  padding: 0;
}

.nav-toggle:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dark .nav-toggle {
  color: #94a3b8;
}

.dark .nav-toggle:hover {
  background: #1e293b;
  color: #f8fafc;
}

/* Toggle icon rotation */
.nav-toggle svg {
  transition: transform 0.2s ease;
}

.nav-collapsible.collapsed .nav-toggle svg {
  transform: rotate(-90deg);
}

.nav-collapsible.expanded .nav-toggle svg {
  transform: rotate(0deg);
}

/* Submenu - collapsed state */
.nav-submenu {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  max-height: 1000px;
  opacity: 1;
}

.nav-submenu.collapsed {
  max-height: 0 !important;
  opacity: 0;
  padding: 0 !important;
  margin: 0 !important;
}

/* Active link highlight */
aside a.active,
nav a.active,
[class*="sidebar"] a.active {
  background: #eff6ff !important;
  color: #2563eb !important;
  font-weight: 500;
  border-radius: 6px;
}

.dark aside a.active,
.dark nav a.active,
.dark [class*="sidebar"] a.active {
  background: #1e3a5f !important;
  color: #60a5fa !important;
}

/* Nested list indentation */
.nav-submenu {
  padding-left: 1rem !important;
  margin-left: 0.5rem;
  border-left: 1px solid #e2e8f0;
}

.dark .nav-submenu {
  border-left-color: #334155;
}

/* Legacy nav group list stilleri */
.nav-group-list {
  overflow: hidden !important;
  transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease !important;
  padding-left: 0.75rem !important;
  margin-left: 0.5rem !important;
  border-left: 2px solid #e2e8f0 !important;
}

.dark .nav-group-list {
  border-left-color: #334155 !important;
}

.nav-group.collapsed .nav-group-list {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border-left: none !important;
}

.nav-group.expanded .nav-group-list {
  opacity: 1 !important;
}

/* Parent item with children - style */
.nav-collapsible>a {
  font-weight: 500;
  color: #334155;
}

.dark .nav-collapsible>a {
  color: #e2e8f0;
}

/* Smooth hover for all nav items */
aside li a,
nav li a,
[class*="sidebar"] li a {
  transition: all 0.15s ease;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: block;
}

aside li a:hover,
nav li a:hover,
[class*="sidebar"] li a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.dark aside li a:hover,
.dark nav li a:hover,
.dark [class*="sidebar"] li a:hover {
  background: #1e293b;
  color: #f8fafc;
}

/* ============================================
   Modüller Modal Stilleri
   ============================================ */

/* Dropdown ikonu */
.modules-dropdown-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 0.25rem;
  color: inherit;
  transition: transform 0.2s ease;
}

.modules-dropdown-icon svg {
  transition: transform 0.2s ease;
}

/* Modal backdrop */
.modules-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modules-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.dark .modules-modal-backdrop {
  background: rgba(0, 0, 0, 0.7);
}

/* Modal container */
.modules-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  min-height: 400px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modules-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

.dark .modules-modal {
  background: #1e293b;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Modal header */
.modules-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.dark .modules-modal-header {
  border-bottom-color: #334155;
}

.modules-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.dark .modules-modal-title {
  color: #f8fafc;
}

.modules-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  padding: 0;
}

.modules-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dark .modules-modal-close {
  color: #94a3b8;
}

.dark .modules-modal-close:hover {
  background: #1e293b;
  color: #f8fafc;
}

/* Modal content */
.modules-modal-content {
  padding: 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.modules-modal-content.content-loaded {
  opacity: 1;
}

.modules-modal-content::-webkit-scrollbar {
  width: 8px;
}

.modules-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modules-modal-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.modules-modal-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.dark .modules-modal-content {
  scrollbar-color: #475569 transparent;
}

.dark .modules-modal-content::-webkit-scrollbar-thumb {
  background: #475569;
}

.dark .modules-modal-content::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Modal içi Kategori Başlık Stilleri */
.modal-category-group {
  margin-bottom: 1.75rem;
}

.modal-category-group:last-child {
  margin-bottom: 0.5rem;
}

.modal-category-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 0;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  letter-spacing: 0.01em;
}

.dark .modal-category-title {
  color: #94a3b8;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.modal-category-title svg {
  color: #2563eb;
  flex-shrink: 0;
}

.dark .modal-category-title svg {
  color: #60a5fa;
}

/* Loading state */
.modules-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 200px;
}

.modules-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: modules-spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

.dark .modules-loading-spinner {
  border-color: #334155;
  border-top-color: #0ea5e9;
}

.modules-loading-text {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

.dark .modules-loading-text {
  color: #94a3b8;
}

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

/* Modules grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding-bottom: 0.5rem;
}

/* Module card - Sayfa tasarımıyla uyumlu */
.module-card {
  display: block;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #0ea5e9;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left-color: #0ea5e9;
  background: #ffffff;
}

.module-card:hover::before {
  transform: scaleY(1);
}

.dark .module-card {
  background: #0f172a;
  border-color: #334155;
  border-left-color: #334155;
}

.dark .module-card:hover {
  background: #1e293b;
  border-left-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.module-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}

.module-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  margin: 0;
  line-height: 1.4;
}

.dark .module-card-title {
  color: #f8fafc;
}

/* Responsive tasarım */
@media (max-width: 768px) {
  .modules-modal {
    width: 95%;
    max-height: 90vh;
    min-height: 300px;
    border-radius: 12px 12px 0 0;
    top: auto;
    bottom: 0;
    transform: translate(-50%, 100%) scale(1);
  }

  .modules-modal.active {
    transform: translate(-50%, 0) scale(1);
  }

  .modules-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .module-card {
    padding: 0.875rem 1rem;
  }

  .modules-modal-header {
    padding: 1.25rem 1rem;
    flex-shrink: 0;
  }

  .modules-modal-content {
    padding: 1rem;
  }

  .modules-modal-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .modules-modal {
    width: 100%;
    max-height: 95vh;
    border-radius: 0;
  }

  .modules-grid {
    gap: 0.625rem;
  }

  .module-card {
    padding: 0.75rem 1rem;
  }

  .module-card-title {
    font-size: 0.875rem;
  }
}

/* ============================================
   Modüller Sayfası Özel Stilleri
   ============================================ */

.moduller-sayfa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.moduller-sayfa-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.moduller-sayfa-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #0ea5e9;
  background: #f0f9ff;
}

.dark .moduller-sayfa-card {
  background: #1e293b;
  border-color: #334155;
}

.dark .moduller-sayfa-card:hover {
  background: #0f172a;
  border-color: #0ea5e9;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.moduller-sayfa-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.moduller-sayfa-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.3;
}

.dark .moduller-sayfa-title {
  color: #f1f5f9;
}

@media (max-width: 1024px) {
  .moduller-sayfa-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .moduller-sayfa-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .moduller-sayfa-card {
    padding: 0.875rem 1rem;
  }

  .moduller-sayfa-icon {
    font-size: 1.25rem;
  }

  .moduller-sayfa-title {
    font-size: 0.9rem;
  }
}

/* ============================================
   Language Switcher Styles
   ============================================ */
.lang-switcher {
  position: relative;
  margin-right: 0.5rem;
  z-index: 1000;
  display: flex !important;
  align-items: center;
}

/* Mobilde body'e fixed olarak eklenen wrapper içindeki buton için stil */
@media (max-width: 768px) {
  .lang-switcher {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.1rem;
    margin-right: 0;
  }

  .dark .lang-switcher {
    background-color: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

}

.lang-btn {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  border-radius: 0.375rem;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.lang-btn:hover {
  background-color: rgba(128, 128, 128, 0.1);
}

.dark .lang-btn {
  color: #94a3b8;
}

.dark .lang-btn:hover {
  background-color: #1e293b;
  color: #f8fafc;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  width: 160px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 0.25rem;
  z-index: 1001;
  display: none;
}

.lang-dropdown:not(.hidden) {
  display: block;
}

.dark .lang-dropdown {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.lang-dropdown a:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.dark .lang-dropdown a {
  color: #94a3b8;
}

.dark .lang-dropdown a:hover {
  background-color: #334155;
  color: #f8fafc;
}

.lang-dropdown a.active-lang {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.dark .lang-dropdown a.active-lang {
  background-color: #334155;
  color: #f8fafc;
}

/* ============================================
   Landing Page Styles
   ============================================ */

/* Sadece landing-no-sidebar ve landing-page class'ı olan elementleri etkiler */
/* Diğer sayfalar etkilenmez */

.landing-no-sidebar {
  grid-template-columns: minmax(0, 1fr) !important;
}

.landing-no-sidebar>[data-slot="sidebar"] {
  display: none !important;
}

.landing-no-sidebar [view-transition-name="toc"],
.landing-no-sidebar .w-72 {
  display: none !important;
}

/* Tam genişlik + ortalama: typography/article üzerindeki padding kısıtlamalarını kaldır */
.landing-page {
  --accent: #0ea5e9;
  --accent-light: #38bdf8;
  --accent-dark: #0284c7;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --border: #e2e8f0;
  --radius: 12px;
  margin: 0;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100%;
  overflow-x: hidden;
}

.dark .landing-page {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --bg-muted: #334155;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border: #334155;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lp-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-10px) rotate(1deg);
  }

  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes particle-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }

  25% {
    transform: translate(10px, -20px) scale(1.1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-5px, -40px) scale(0.9);
    opacity: 0.3;
  }

  75% {
    transform: translate(15px, -20px) scale(1.05);
    opacity: 0.5;
  }
}

.landing-page .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.landing-page .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.landing-page .hero {
  position: relative;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  overflow: hidden;
}

.landing-page .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.landing-page .hero-gradient {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.03) 0%, transparent 70%);
  animation: lp-float 20s ease-in-out infinite;
}

.dark .landing-page .hero-gradient {
  background: radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
}

.landing-page .hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}

.landing-page .particle.p1 {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.landing-page .particle.p2 {
  width: 6px;
  height: 6px;
  top: 60%;
  left: 80%;
  animation-delay: 1.5s;
}

.landing-page .particle.p3 {
  width: 3px;
  height: 3px;
  top: 40%;
  left: 60%;
  animation-delay: 3s;
}

.landing-page .particle.p4 {
  width: 5px;
  height: 5px;
  top: 70%;
  left: 25%;
  animation-delay: 4.5s;
}

.landing-page .particle.p5 {
  width: 4px;
  height: 4px;
  top: 15%;
  left: 75%;
  animation-delay: 2s;
}

.landing-page .particle.p6 {
  width: 3px;
  height: 3px;
  top: 80%;
  left: 50%;
  animation-delay: 5s;
}

.landing-page .hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.landing-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--bg-muted);
  color: var(--text-muted);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.landing-page .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

.landing-page .hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.landing-page .highlight {
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-page .hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.landing-page .hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.landing-page .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
  position: relative;
  overflow: hidden;
}

.landing-page .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.landing-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.landing-page .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--text) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.landing-page .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(14, 165, 233, 0.05);
}

/* Stats */
.landing-page .stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3rem auto 0;
  max-width: 900px;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.landing-page .stat {
  background: var(--bg-soft);
  text-align: center;
  padding: 1.75rem 1rem;
  transition: background 0.3s;
}

.landing-page .stat:hover {
  background: var(--bg);
}

.landing-page .stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.landing-page .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

/* Section Headers */
.landing-page .section-header {
  text-align: center;
  padding: 3rem 1.5rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.landing-page .section-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.landing-page .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

.landing-page .section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0.75rem auto 0;
  max-width: 500px;
}

/* Features */
.landing-page .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  max-width: 900px;
}

.landing-page .feature {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.landing-page .feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.dark .landing-page .feature:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.landing-page .feature-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--accent);
  transition: all 0.3s;
}

.landing-page .feature:hover .feature-icon-wrap {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.landing-page .feature-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem 0;
  color: var(--text);
  text-decoration: none !important;
}

.landing-page .feature-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  text-decoration: none !important;
}

/* Platforms Marquee */
.landing-page .platforms-marquee {
  overflow: hidden;
  margin: 2rem 0 0;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.landing-page .marquee-track {
  display: flex;
  gap: 0.75rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.landing-page .platforms-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.landing-page .platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--bg-soft);
  color: var(--text-muted);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--border);
  transition: all 0.3s;
  flex-shrink: 0;
  text-decoration: none !important;
  cursor: pointer;
}

.landing-page .platform-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}

.landing-page .platform-badge svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.landing-page .platform-badge:hover svg {
  opacity: 1;
}

/* Modules Grid */
.landing-page .modules-grid-landing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  max-width: 900px;
}

.landing-page .module-card-landing {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.landing-page .module-card-landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(139, 92, 246, 0.03));
  opacity: 0;
  transition: opacity 0.3s;
}

.landing-page .module-card-landing:hover::before {
  opacity: 1;
}

.landing-page .module-card-landing:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--accent);
}

.dark .landing-page .module-card-landing:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.landing-page .module-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  flex-shrink: 0;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.landing-page .module-card-landing:hover .module-card-icon {
  transform: scale(1.08);
}

.landing-page .module-card-icon.blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.landing-page .module-card-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.landing-page .module-card-icon.violet {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.landing-page .module-card-icon.sky {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.landing-page .module-card-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.landing-page .module-card-icon.rose {
  background: rgba(244, 63, 94, 0.1);
  color: #f43f5e;
}

.landing-page .module-card-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.landing-page .module-card-icon.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.landing-page .module-card-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.landing-page .module-card-icon.teal {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}

.landing-page .module-card-icon.pink {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.landing-page .module-card-icon.lime {
  background: rgba(132, 204, 22, 0.1);
  color: #84cc16;
}

.landing-page .module-card-icon.fuchsia {
  background: rgba(192, 38, 211, 0.1);
  color: #c026d3;
}

.landing-page .module-card-icon.green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.landing-page .module-card-icon.slate {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
}

.landing-page .module-card-icon.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.landing-page .module-card-icon.neutral {
  background: rgba(115, 115, 115, 0.1);
  color: #737373;
}

.landing-page .module-card-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.landing-page .module-card-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.landing-page .module-card-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.landing-page .module-card-desc.badge-new {
  color: var(--accent);
  font-weight: 500;
}

.landing-page .module-card-arrow {
  flex-shrink: 0;
  color: var(--text-subtle);
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.landing-page .module-card-landing:hover .module-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA - Theme Adaptive */
.landing-page .cta {
  position: relative;
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 50%, #ede9fe 100%);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: 0 16px 40px -5px rgba(99, 102, 241, 0.1), 0 4px 14px rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  margin: 3.5rem auto 2rem;
  max-width: 960px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dark .landing-page .cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 16px 40px -5px rgba(0, 0, 0, 0.4);
}

.landing-page .cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12), transparent 50%);
  animation: lp-float 10s ease-in-out infinite;
}

.landing-page .cta-content {
  position: relative;
  z-index: 1;
}

.landing-page .cta h2 {
  color: #1e1b4b;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

.dark .landing-page .cta h2 {
  color: #ffffff;
}

.landing-page .cta p {
  color: #475569;
  margin: 0 0 1.75rem 0;
  font-size: 1.02rem;
}

.dark .landing-page .cta p {
  color: #cbd5e1;
}

.landing-page .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -3px rgba(37, 99, 235, 0.35);
}

.dark .landing-page .btn-cta {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 8px 24px -3px rgba(139, 92, 246, 0.4);
}

.landing-page .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

/* Mobile */
@media (max-width: 1024px) {
  .landing-page .modules-grid-landing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .landing-page .hero {
    padding: 3rem 1rem 2rem;
  }

  .landing-page .stats-row {
    grid-template-columns: repeat(2, 1fr);
    margin: 2rem auto 0;
    max-width: 100%;
  }

  .landing-page .features {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .landing-page .modules-grid-landing {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .landing-page .section-header {
    padding: 2.5rem 1rem 0;
  }

  .landing-page .cta {
    margin: 2.5rem auto 1rem;
    padding: 3rem 1.5rem;
    max-width: calc(100% - 2rem);
  }

  .landing-page .stat-value {
    font-size: 1.35rem;
  }

  .landing-page .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .landing-page .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .landing-page .btn-primary,
  .landing-page .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .landing-page .stats-row {
    gap: 1px;
  }

  .landing-page .stat {
    padding: 1.25rem 0.5rem;
  }
}

/* ============================================
   Orta Doküman İçerik Alanı Genişletme (Shadcn Theme)
   ============================================ */
.container-wrapper {
  max-width: 1750px !important;
  width: 100% !important;
}

div[data-slot="sidebar-wrapper"] {
  max-width: 100% !important;
}

div[data-slot="docs"] {
  width: 100% !important;
  max-width: 100% !important;
}

div[data-slot="docs"]>div:first-child {
  max-width: 100% !important;
  flex: 1 1 0% !important;
}

article,
main article,
.prose,
.md-content,
.md-typeset {
  max-width: 100% !important;
}

/* ============================================
   Sol ve Sağ Dikey Ayrım Çizgileri (Masaüstü Özel)
   ============================================ */

/* Masaüstü Ekranlarda (lg: 1025px+) Sol ve Sağ Dikey Ayrım Çizgileri */
@media (min-width: 1025px) {
  div[data-slot="sidebar"] {
    border-right: 1px solid var(--border, rgba(255, 255, 255, 0.12)) !important;
    padding-right: 1.25rem !important;
  }

  div[data-slot="docs"]>div:first-child {
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
  }

  div[data-slot="docs"]>div:last-child {
    border-left: 1px solid var(--border, rgba(255, 255, 255, 0.12)) !important;
    padding-left: 1.5rem !important;
  }

  :root:not(.dark) div[data-slot="sidebar"],
  [data-theme="light"] div[data-slot="sidebar"] {
    border-right-color: rgba(0, 0, 0, 0.08) !important;
  }

  :root:not(.dark) div[data-slot="docs"]>div:last-child,
  [data-theme="light"] div[data-slot="docs"]>div:last-child {
    border-left-color: rgba(0, 0, 0, 0.08) !important;
  }
}

/* ============================================
   Sağ Menü (TOC / İçindekiler) Renk ve Okunabilirlik Düzeltmesi (Sol Menü İle Birebir Aynı)
   ============================================ */

/* Right TOC Header Title ("On This Page" / "Bu Sayfada") */
[view-transition-name="toc"] p,
div[data-slot="docs"]>div:last-child p {
  color: #1e293b !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 0.65rem !important;
  background: transparent !important;
}

.dark [view-transition-name="toc"] p,
.dark div[data-slot="docs"]>div:last-child p {
  color: #f8fafc !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* Right TOC Links (Base State) */
[view-transition-name="toc"] a,
div[data-slot="docs"]>div:last-child a {
  color: #475569 !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  padding: 0.35rem 0.6rem !important;
  display: block !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.dark [view-transition-name="toc"] a,
.dark div[data-slot="docs"]>div:last-child a {
  color: #cbd5e1 !important;
}

/* Right TOC Links (Hover State) */
[view-transition-name="toc"] a:hover,
div[data-slot="docs"]>div:last-child a:hover {
  color: #2563eb !important;
  background: #eff6ff !important;
}

.dark [view-transition-name="toc"] a:hover,
.dark div[data-slot="docs"]>div:last-child a:hover {
  color: #60a5fa !important;
  background: rgba(30, 58, 95, 0.5) !important;
}

/* Right TOC Links (Active State) */
[view-transition-name="toc"] a[data-active="true"],
div[data-slot="docs"]>div:last-child a[data-active="true"] {
  color: #2563eb !important;
  font-weight: 700 !important;
  background: #eff6ff !important;
  border-left: 3px solid #2563eb !important;
}

.dark [view-transition-name="toc"] a[data-active="true"],
.dark div[data-slot="docs"]>div:last-child a[data-active="true"] {
  color: #60a5fa !important;
  font-weight: 700 !important;
  background: #1e3a5f !important;
  border-left: 3px solid #60a5fa !important;
}

/* Mobil Ekranlarda (1024px ve Altı) Masaüstü Yan Menüyü, Sağ TOC ve Sahte İç Scrollbar'ları Tamamen Engelle */
@media (max-width: 1024px) {

  /* 1. Kapsayıcı Elemanların İç Scrollbar (Grey Scrollbar) Oluşturmasını ve Dokunmatik Yakalamasını Engelle */
  html,
  body,
  #inner-body,
  main,
  .container-wrapper,
  div[data-slot="sidebar-wrapper"],
  div[data-slot="docs"],
  div[data-slot="docs"]>div:first-child {
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  /* 2. Masaüstü Yan Menü ve Sağ TOC Alanını Mobilde Kesin Olarak Gizle */
  div[data-slot="sidebar"],
  aside[data-slot="sidebar"],
  .landing-no-sidebar>[data-slot="sidebar"],
  div[data-slot="docs"]>div:last-child {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* 3. Kapalı Modal/Dialog Popover'ların Ekranda Sahte Scrollbar veya Dokunma Alanı Bırakmasını Engelle */
  dialog#bottom-sidebar:not([open]),
  div[data-slot="popover-content"]:not([data-state="open"]) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
  }

  div[data-slot="docs"]>div:first-child {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

.landing-page div[data-slot="sidebar"],
.landing-no-sidebar div[data-slot="sidebar"],
.landing-page div[data-slot="docs"]>div:last-child,
.landing-no-sidebar div[data-slot="docs"]>div:last-child {
  border: none !important;
  display: none !important;
}

.landing-page div[data-slot="docs"]>div:first-child,
.landing-no-sidebar div[data-slot="docs"]>div:first-child {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================
   Mobil Ekranlar İçin Akıcı Kaydırma (Scroll) & Taşma (Overflow) Düzeltmesi
   ============================================ */

/* Genel Sayfa Kapsayıcılarının Dikey Akıcılığı ve Yatay Taşma Koruması (Native Window Scroll) */
html,

/* Mobil Ekranlar İçin Akıcı Kaydırma (Scroll) & Taşma (Overflow) Düzeltmesi */
#inner-body,
main,
.container-wrapper,
div[data-slot="sidebar-wrapper"],
div[data-slot="docs"],
div[data-slot="docs"]>div:first-child,
article,
.prose {
  max-width: 100vw !important;
  width: 100% !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
}

/* İç Yatay Kaydırılabilir Bölümler (Tablolar, Kod Blokları, Görseller) */
table,
.highlight,
pre,
.mermaid,
iframe,
.katex-display {
  max-width: 100% !important;
  box-sizing: border-box !important;
  touch-action: pan-x pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}

table {
  display: block !important;
  overflow-x: auto !important;
  width: 100% !important;
  margin-bottom: 1rem !important;
  white-space: nowrap !important;
}

pre,
code,
.highlight {
  overflow-x: auto !important;
  word-break: normal !important;
  white-space: pre !important;
}

img,
video,
embed,
object {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
}

/* Doküman İçerisindeki Görsellerin/Logoların Devasa Büyümesini Önleme */
article img,
.prose img,
div[data-slot="docs"]>div:first-child img {
  max-width: 100% !important;
  max-height: 420px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 1.5rem auto !important;
  display: block !important;
}


/* ============================================
   Mobil Navbar / Drawer Popover Görsel & Sığdırma İyileştirmesi
   ============================================ */

/* Popover & Dialog Kapsayıcısı - Ekrana Tam Genişlik ve Ortalanmış Sığdırma (Right Cutoff & Overflow Fix) */
dialog#bottom-sidebar {
  width: 100% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  border-radius: 0 !important;
}

div[data-slot="popover-content"],
[role="dialog"][data-slot="popover-content"] {
  width: 100% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100% !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  max-height: calc(100vh - 60px) !important;
  max-height: calc(100dvh - 60px) !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.dark div[data-slot="popover-content"],
.dark [role="dialog"][data-slot="popover-content"] {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(16px) !important;
}

/* İç Boşluklar, Genişlik ve Düzgün Kaydırma (Scroll) */
dialog#bottom-sidebar>div[data-slot="popover-content"]>div,
div[data-slot="popover-content"]>div.flex.flex-col {
  width: 100% !important;
  max-width: 100% !important;
  padding: 1rem 1rem 3rem 1rem !important;
  /* Alt boşluk ile son eleman ekran altında kalmaz */
  gap: 0.85rem !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

/* Modül Grubu Kartı (Subtle Box & Borders) */
dialog#bottom-sidebar .flex.flex-col.gap-4,
div[data-slot="popover-content"] .flex.flex-col.gap-4 {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 0.65rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 0.25rem !important;
  gap: 0.35rem !important;
}

.dark dialog#bottom-sidebar .flex.flex-col.gap-4,
.dark div[data-slot="popover-content"] .flex.flex-col.gap-4 {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Modül Başlığı (Üst Kategori Etiketi) */
dialog#bottom-sidebar .text-muted-foreground.text-sm,
div[data-slot="popover-content"] .text-muted-foreground.text-sm {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.08) !important;
  border-left: 3px solid #2563eb !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin-bottom: 0.35rem !important;
}

.dark dialog#bottom-sidebar .text-muted-foreground.text-sm,
.dark div[data-slot="popover-content"] .text-muted-foreground.text-sm {
  color: #60a5fa !important;
  background: rgba(96, 165, 250, 0.12) !important;
  border-left-color: #60a5fa !important;
}

/* İç Link Kapsayıcısı */
dialog#bottom-sidebar .flex.flex-col.gap-3,
div[data-slot="popover-content"] .flex.flex-col.gap-3 {
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 0.15rem !important;
}

/* Modül İç Linkleri (Kompakt Metin & Çizgi/Renk Efekti) */
dialog#bottom-sidebar a.text-2xl,
div[data-slot="popover-content"] a.text-2xl,
dialog#bottom-sidebar a[class*="text-2xl"],
div[data-slot="popover-content"] a {
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.875rem !important;
  /* 14px ideal okunabilir kompakt boyut */
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #334155 !important;
  padding: 0.45rem 0.65rem !important;
  border-radius: 6px !important;
  border-left: 3px solid transparent !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.15s ease-in-out !important;
  text-decoration: none !important;
}

dialog#bottom-sidebar a:last-child,
div[data-slot="popover-content"] a:last-child {
  border-bottom: none !important;
}

.dark dialog#bottom-sidebar a.text-2xl,
.dark div[data-slot="popover-content"] a.text-2xl,
.dark dialog#bottom-sidebar a[class*="text-2xl"],
.dark div[data-slot="popover-content"] a {
  color: #cbd5e1 !important;
  border-bottom-color: rgba(51, 65, 85, 0.4) !important;
}

/* Hover ve Aktif Durum Stilleri */
dialog#bottom-sidebar a:hover,
div[data-slot="popover-content"] a:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-left-color: #2563eb !important;
  padding-left: 0.85rem !important;
}

.dark dialog#bottom-sidebar a:hover,
.dark div[data-slot="popover-content"] a:hover {
  background: #334155 !important;
  color: #f8fafc !important;
  border-left-color: #60a5fa !important;
  padding-left: 0.85rem !important;
}

/* Aktif Sayfa Vurgusu */
dialog#bottom-sidebar a.active,
div[data-slot="popover-content"] a.active {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563eb !important;
  font-weight: 600 !important;
  border-left-color: #2563eb !important;
}

.dark dialog#bottom-sidebar a.active,
.dark div[data-slot="popover-content"] a.active {
  background: rgba(96, 165, 250, 0.16) !important;
  color: #60a5fa !important;
  border-left-color: #60a5fa !important;
}

/* Ana Sayfa Üst Başlık (SUPSİS AI DÖKÜMANTASYONU) & Vurgu ("tek platformda") Uyumu */
.landing-page .main-hero-heading,
.landing-page .highlight {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-page .main-hero-heading {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-align: center;
}

.dark .landing-page .main-hero-heading,
.dark .landing-page .highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-page .hero-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem) !important;
  font-weight: 700 !important;
  opacity: 0.92;
  margin-bottom: 1.25rem !important;
}

/* Tüm Rehber Alanını Kaplayan Tek Dış Kart Konteyneri (Single Outer Panel Container) */
.landing-page .guides-outer-container {
  max-width: 1140px;
  width: 100%;
  margin: 3.5rem auto;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7f5ff 0%, #ebe6fd 50%, #e7dbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px -8px rgba(99, 102, 241, 0.1), 0 4px 14px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.dark .landing-page .guides-outer-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(16, 37, 66, 0.88) 50%, rgba(15, 23, 42, 0.94) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 16px 45px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.module-category-group {
  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.module-category-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  padding: 0.45rem 1.4rem;
  border-radius: 100px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05);
}

.dark .module-category-title {
  color: #f1f5f9;
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.module-category-title svg {
  color: #2563eb;
  flex-shrink: 0;
}

.dark .module-category-title svg {
  color: #60a5fa;
}

.module-category-group .modules-grid-landing {
  width: 100%;
}

@media (max-width: 768px) {
  .landing-page .guides-outer-container {
    margin: 2rem auto;
    padding: 1.75rem 1rem;
    border-radius: 18px;
  }

  .module-category-group {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .module-category-title {
    font-size: 1rem;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
    padding: 0.35rem 1rem;
  }
}

/* ============================================
   Karanlık (Dark) ve Açık (Light) Tema Gradyan Arka Planları
   ============================================ */

/* Koyu Tema (Dark Mode): Gece Mavisi, İndigo ve Mor Dokunuşlu Zengin Gradyan */
.dark,
.dark body,
.dark #inner-body,
.dark .bg-background,
.dark main {
  background: linear-gradient(135deg, #090d16 0%, #0c1220 35%, #131126 70%, #0a0e1a 100%) !important;
  background-attachment: fixed !important;
}

/* Koyu Tema Header Cam ve Sınır Dengesi */
.dark header,
.dark header.bg-background {
  background: rgba(9, 13, 22, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Açık Tema (Light Mode): Soft Buz Mavisi, Narin Lavanta ve Temiz Beyaz Gradyan */
body:not(.dark),
html:not(.dark) #inner-body,
:root:not(.dark) .bg-background,
:root:not(.dark) main {
  background: linear-gradient(135deg, #f8f9fa 0%, #f4f2fa 40%, #eae6f5 75%, #ede8fa 100%) !important;
  background-attachment: fixed !important;
}

/* Açık Tema Header Cam Dengesi */
:root:not(.dark) header,
:root:not(.dark) header.bg-background {
  background: rgba(251, 252, 253, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

/* Saydamlık Ayarları */
div[data-slot="sidebar"],
div[data-slot="docs"],
div[data-slot="sidebar-wrapper"] {
  background: transparent !important;
}

/* ============================================
   Tüm Doküman Sayfaları İçin Dinamik Beyaz/Koyu Kart Kapsayıcısı (Card Container)
   ============================================ */

/* Light Mode: Temiz Beyaz Kart Panel, Yumuşak Gölge ve Şık Kenarlık */
:root:not(.dark) div[data-slot="docs"]>div:first-child {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 16px !important;
  padding: 2.25rem 2.75rem !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
  margin-top: 1rem !important;
  margin-bottom: 2rem !important;
}

/* Dark Mode: Gece Mavisi / Koyu Kart Panel */
.dark div[data-slot="docs"]>div:first-child {
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 2.25rem 2.75rem !important;
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.3) !important;
  margin-top: 1rem !important;
  margin-bottom: 2rem !important;
}

/* Ana Sayfada (Landing Page), API ve SDK Sayfalarında İç Kart Çakışmasını Önleme */
.landing-page div[data-slot="docs"]>div:first-child,
.landing-no-sidebar div[data-slot="docs"]>div:first-child,
:root:not(.dark) div[data-slot="docs"]>div:first-child:has(.hero),
.dark div[data-slot="docs"]>div:first-child:has(.hero),
:root:not(.dark) div[data-slot="docs"]>div:first-child:has(.api-hero-header),
.dark div[data-slot="docs"]>div:first-child:has(.api-hero-header),
:root:not(.dark) div[data-slot="docs"]>div:first-child:has(.sdk-hero-banner),
.dark div[data-slot="docs"]>div:first-child:has(.sdk-hero-banner) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
}

/* Mobilde Kart Padding ve Kenar Boşluğu Uyumlaması */
@media (max-width: 1024px) {

  :root:not(.dark) div[data-slot="docs"]>div:first-child,
  .dark div[data-slot="docs"]>div:first-child {
    padding: 1.25rem 1.1rem !important;
    border-radius: 12px !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1.5rem !important;
  }
}

/* ============================================
   Sabit (Fixed / Sticky) ve Yüksekliği Artırılmış Navbar Header
   ============================================ */
:root {
  --header-height: 4.75rem !important;
}

header,
header.bg-background {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  min-height: 4.75rem !important;
  height: 4.75rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

header>.container-wrapper>div {
  min-height: 4.75rem !important;
  height: 4.75rem !important;
}

body {
  padding-top: 4.75rem !important;
}