/**
 * OKIDIA Web Portal - Çekirdek Tasarım Sistemi
 * Açık kurumsal tema, modern cam efekti (glassmorphism), responsive grid ve tipografi
 */

:root {
  /* Renk Paleti - Açık Kurumsal & Güvenlik Teması */
  --primary: #1e3a8a;          /* Kurumsal derin kobalt / lacivert */
  --primary-hover: #172554;    /* Koyu hover tonu */
  --primary-light: #eff6ff;    /* Çok açık mavi arkaplanlar */
  --accent: #2563eb;           /* Vurgu mavisi */
  --accent-cyan: #0284c7;      /* Canlı siber mavi */
  --success: #059669;          /* Güvenlik & Doğrulama yeşili */
  --success-light: #ecfdf5;    /* Açık yeşil rozet zemin */
  --warning: #d97706;          /* Uyarı kehribar */
  --warning-light: #fffbeb;

  /* Nötr Tonlar (Açık Tema) */
  --bg-body: #f8fafc;          /* Sayfa ana arkaplanı */
  --bg-surface: #ffffff;       /* Kart ve panel zeminleri */
  --bg-glass: rgba(255, 255, 255, 0.85); /* Cam efekti */
  --border: #e2e8f0;           /* İnce kenarlıklar */
  --border-focus: #93c5fd;     /* Odaklanma kenarlığı */

  /* Tipografi Renkleri */
  --text-main: #0f172a;        /* Başlıklar ve ana metin (koyu slate) */
  --text-muted: #475569;       /* İkincil metin */
  --text-light: #64748b;       /* Soluk metin, etiketler */

  /* Gölgeler */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Radius & Transition */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Temel Reset & Sayfa Ayarları */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Konteyner & Grid */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigasyon */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-main);
}

.brand-logo img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}

.brand-logo .brand-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Dil Seçici Butonu */
.lang-switcher {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.2rem;
  gap: 0.2rem;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
}

/* Mobil Menü Butonu */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: var(--transition);
}

/* Footer (Alt Bilgi) */
.footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Responsive Düzenlemeler */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Hero Bölümü (Ana Sayfa)
   ========================================================================== */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #f8fafc 70%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Hero Önizleme Kartı */
.hero-preview {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  max-width: 980px;
  margin: 0 auto;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.preview-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.preview-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #f59e0b; }
.preview-dot.green { background: #10b981; }

.preview-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.preview-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.preview-body {
  background: radial-gradient(circle at 50% 10%, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  color: #f8fafc;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.metric-box:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
}

.metric-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.metric-icon {
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.metric-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.25;
}

.metric-sub {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.metric-badge-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Modüller ve Kartlar
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.module-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-focus);
}

.module-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.module-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.module-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.module-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.module-features {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}

.module-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ==========================================================================
   Güvenlik ve Mimari Bölümü
   ========================================================================== */
.features-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.feature-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.feature-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-item.full-width-feature {
  grid-column: 1 / -1;
  background: linear-gradient(to right, #eff6ff, #f8fafc);
  border: 1px dashed var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

@media (max-width: 900px) {
  .hero h1 { font-size: 2.4rem; }
  .modules-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; gap: 1rem; }
}

/* ==========================================================================
   İndirme Merkezi (download.html) Stilleri
   ========================================================================== */
.download-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #f8fafc 70%);
  border-bottom: 1px solid var(--border);
}

.os-tabs {
  display: inline-flex;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  margin-top: 2rem;
  gap: 0.5rem;
}

.os-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.os-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.os-tab-btn img, .os-tab-btn svg {
  width: 20px;
  height: 20px;
}

.os-panel {
  display: none;
  padding: 3.5rem 0;
}

.os-panel.active {
  display: block;
}

/* Dağıtım Grubu Kartları */
.distro-group {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.distro-header {
  padding: 1.25rem 1.75rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.distro-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.distro-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-ready {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-coming {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* İndirme Tablosu */
.download-table-wrap {
  overflow-x: auto;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.download-table th {
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.download-table td {
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  vertical-align: middle;
}

.download-table tr:last-child td {
  border-bottom: none;
}

.download-table tr:hover td {
  background: #f8fafc;
}

.pkg-name {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pkg-arch {
  display: inline-block;
  font-family: monospace;
  font-size: 0.8rem;
  background: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.pkg-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Sütun Genişlik Ayarları */
.download-table th.col-pkg,
.download-table td.col-pkg {
  width: auto; /* En geniş alan: kalan tüm genişliği alır */
}

.download-table th.col-version,
.download-table td.col-version {
  width: 120px;
  white-space: nowrap;
}

.download-table th.col-arch,
.download-table td.col-arch {
  width: 100px;
  white-space: nowrap;
}

.download-table th.col-sha,
.download-table td.col-sha {
  width: 95px;
  text-align: center;
  white-space: nowrap;
}

.download-table th.col-dl,
.download-table td.col-dl {
  width: 130px;
  text-align: right;
  white-space: nowrap;
}

.sha-actions-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.45rem;
}

.sha-container {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.4rem;
}

.sha-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.btn-sha-action {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}

.btn-sha-action svg {
  pointer-events: none;
}

.btn-sha-action:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.btn-sha-action.copied {
  background: #ecfdf5;
  color: #059669;
}

/* Eski Sürümler Akordeonu */
.archive-accordion {
  border-top: 1px dashed var(--border);
  background: #fafbfc;
}

.archive-toggle-btn {
  width: 100%;
  padding: 0.9rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.archive-toggle-btn:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.archive-toggle-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.archive-badge {
  font-size: 0.75rem;
  font-weight: 500;
  background: #e2e8f0;
  color: #475569;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
}

.archive-chevron {
  transition: transform 0.25s ease;
}

.archive-accordion.open .archive-chevron {
  transform: rotate(180deg);
}

.archive-body {
  display: none;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.archive-accordion.open .archive-body {
  display: block;
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
}

.archive-table td {
  padding: 0.85rem 1.75rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

.archive-table tr:hover td {
  background: #f8fafc;
}

/* Mobil Mağaza Rozetleri (Google Play & App Store) */
.store-badge-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #0f172a;
  color: #ffffff !important;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: #1e293b;
}

.store-btn.disabled {
  opacity: 0.85;
  cursor: default;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

/* SHA Modal / Doğrulama Rehberi */
.sha-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sha-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.sha-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 540px;
  overflow: hidden;
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.sha-modal-header {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sha-modal-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.sha-modal-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.sha-modal-close:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.sha-modal-body {
  padding: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-main);
}

.sha-code-block {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  margin: 0.5rem 0 1rem;
  position: relative;
  border: 1px solid #1e293b;
}

.sha-verify-box {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  border: 1px dashed #cbd5e1;
}

.sha-verify-box p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dağıtım İçi Mimari Sekmeleri (amd64 / arm64) */
.arch-subtabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.75rem 0;
  gap: 0.5rem;
}

.arch-tab-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.arch-tab-btn:hover {
  color: var(--primary);
}

.arch-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #ffffff;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.arch-panel {
  display: none;
}

.arch-panel.active {
  display: block;
}

/* ==========================================================================
   Dokümantasyon & Hızlı Kurulum Rehberi (docs.html) Stilleri
   ========================================================================== */
.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: start;
}

/* Sol Yapışkan (Sticky) Navigasyon */
.docs-sidebar {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.docs-sidebar h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin: 0 0 1rem;
  font-weight: 700;
}

.docs-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.docs-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.docs-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.docs-nav-link:hover {
  background: var(--bg-body);
  color: var(--primary);
}

.docs-nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.docs-nav-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #e2e8f0;
  color: #475569;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.docs-nav-link.active .docs-nav-badge {
  background: var(--primary);
  color: #ffffff;
}

/* Ana Dokümantasyon İçeriği */
.docs-content {
  min-width: 0;
}

.doc-section {
  margin-bottom: 4rem;
  scroll-margin-top: 100px;
}

.doc-section-header {
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.doc-section-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.5rem;
}

.doc-section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Kurulum Adım Kartları (Step Cards) */
.step-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
}

.step-timeline::before {
  content: '';
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 23px;
  width: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.step-card {
  position: relative;
  display: flex;
  gap: 1.5rem;
  z-index: 1;
}

.step-num {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #ffffff, var(--shadow-sm);
}

.step-content {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

/* Dokümantasyon Terminal ve Kod Kutuları */
.doc-code-box {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #1e293b;
  overflow: hidden;
  margin: 1.25rem 0;
}

.doc-code-header {
  background: #1e293b;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-code-header span.dot-group {
  display: flex;
  gap: 0.35rem;
}

.doc-code-header span.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.doc-code-header span.dot-red { background: #ef4444; }
.doc-code-header span.dot-yellow { background: #f59e0b; }
.doc-code-header span.dot-green { background: #10b981; }

.doc-code-pre {
  margin: 0;
  padding: 1rem 1.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  overflow-x: auto;
  color: #e2e8f0;
}

.doc-code-pre code span.cmd {
  color: #38bdf8;
  font-weight: 600;
}
.doc-code-pre code span.param {
  color: #fcd34d;
}
.doc-code-pre code span.comment {
  color: #64748b;
  font-style: italic;
}

/* Görsel / Ekran Görüntüsü / Video Şablonu */
.media-placeholder {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.media-placeholder:hover {
  border-color: var(--primary);
  background: #f0fdf4;
}

.media-placeholder .icon-badge {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.media-placeholder h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.media-placeholder p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 480px;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fee2e2;
  color: #dc2626;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Bilgi ve Uyarı Kutuları (Callouts) */
.doc-callout {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.15rem 1.4rem;
  margin: 1.25rem 0;
}

.doc-callout.warning {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.doc-callout.security {
  border-left-color: #10b981;
  background: #ecfdf5;
}

.doc-callout h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doc-callout.warning h4 { color: #b45309; }
.doc-callout.security h4 { color: #047857; }

.doc-callout p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.doc-callout.warning p { color: #92400e; }
.doc-callout.security p { color: #065f46; }

/* SSS (FAQ) Akordiyonları */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: #ffffff;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-chevron {
  transition: transform 0.25s ease;
  color: var(--text-light);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 1rem;
}

@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .docs-sidebar {
    position: static;
    top: auto;
  }
}



