/* ═══════════════════════════════════════════════════════════
   ComUp Yardım Merkezi — Shared CSS
   Tüm sayfalar bu dosyayı kullanır.
   Sayfa özeli stiller ilgili HTML'de küçük <style> bloğunda kalır.
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0');

.mi,
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

/* ── TOKENS ── */
:root {
  --brand:          #1A56DB;
  --brand-light:    #3B82F6;
  --brand-dark:     #1E3A8A;
  --brand-pale:     #EFF6FF;
  --brand-pale2:    #DBEAFE;
  --accent:         #06B6D4;
  --accent-dark:    #0891B2;
  --success:        #10B981;
  --success-pale:   #F0FDF4;
  --success-border: #BBF7D0;
  --warning:        #F59E0B;
  --warning-pale:   #FFFBEB;
  --warning-border: #FDE68A;
  --danger:         #EF4444;
  --danger-pale:    #FEF2F2;
  --purple:         #7C3AED;
  --purple-dark:    #6D28D9;
  --purple-pale:    #F5F3FF;
  --orange:         #EA580C;
  --orange-pale:    #FFF7ED;
  --orange-border:  #FED7AA;
  --surface:        #FFFFFF;
  --surface2:       #F8FAFF;
  --surface3:       #F1F5F9;
  --border:         #E2E8F0;
  --border-focus:   #93C5FD;
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --sidebar-w:      260px;
  --header-h:       64px;
  --toc-w:          220px;
  --radius:         12px;
  --radius-sm:      8px;
  --shadow-sm:      0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:      0 4px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg:      0 12px 40px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.06);
  --shadow-brand:   0 8px 32px rgba(26,86,219,.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════════════════
   READING PROGRESS BAR
════════════════════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  height: 3px;
  background: var(--border);
  z-index: 99;
}
.reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  width: 0%;
  transition: width .1s;
}

/* ════════════════════════════════════════════════════
   TOP NAV
════════════════════════════════════════════════════ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #3B82F6, #1A56DB);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(26,86,219,.4);
}
.nav-logo-mark svg { width: 18px; height: 18px; fill: white; }
.nav-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--text-primary); line-height: 1;
}
.nav-logo-text span {
  display: block;
  font-size: 11px; font-weight: 400;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

.nav-divider { width: 1px; height: 24px; background: var(--border); }

.nav-search-mini { flex: 1; max-width: 420px; position: relative; }
.nav-search-mini input {
  width: 100%; height: 36px;
  background: var(--surface3);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 12px 0 36px;
  font-size: 13.5px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: all .2s;
}
.nav-search-mini input::placeholder { color: var(--text-muted); }
.nav-search-mini input:focus {
  background: white;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(147,197,253,.25);
}
.nav-search-mini-icon {
  position: absolute; left: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.nav-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--success); font-weight: 500;
  padding: 5px 10px;
  background: var(--success-pale);
  border-radius: 20px;
  border: 1px solid var(--success-border);
}
.nav-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
  50%      { box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}

.btn-nav {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--brand); color: white;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.btn-nav:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════ */
.layout { display: flex; min-height: calc(100vh - var(--header-h)); }

/* ════════════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════════════ */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface2);
  border-right: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 20px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sidebar-section { margin-bottom: 24px; }

.sidebar-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 8px; margin-bottom: 6px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13.5px; font-weight: 400;
  transition: all .15s;
  position: relative;
}
.sidebar-link:hover { background: white; color: var(--brand); }
.sidebar-link.active {
  background: var(--brand-pale);
  color: var(--brand);
  font-weight: 500;
}
.sidebar-link.active::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 70%;
  background: linear-gradient(to bottom, var(--brand-light), var(--brand));
  border-radius: 0 3px 3px 0;
}

.sidebar-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: .7; }
.sidebar-link:hover .sidebar-icon,
.sidebar-link.active .sidebar-icon { opacity: 1; }

.sidebar-badge {
  margin-left: auto;
  font-size: 10px; font-weight: 600;
  padding: 2px 6px; border-radius: 10px;
}
.badge-free { background: var(--success-pale); color: #16A34A; }
.badge-pro  { background: var(--brand-pale);   color: var(--brand); }
.badge-adv  { background: var(--orange-pale);  color: var(--orange); }
.badge-ent  { background: var(--purple-pale);  color: var(--purple); }
.badge-new  { background: var(--accent); color: white; }

.sidebar-sub {
  margin-left: 27px; padding-left: 12px;
  border-left: 1px solid var(--border);
  margin-top: 2px;
}
.sidebar-sub .sidebar-link { font-size: 13px; padding: 5px 8px; }

/* Sidebar popular tags */
.popular-tags-section { margin-top: 8px; }
.popular-tag-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px; }
.popular-tag {
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  transition: all .15s;
}
.popular-tag:hover {
  color: var(--brand);
  border-color: var(--brand-light);
  background: var(--brand-pale);
}

/* ════════════════════════════════════════════════════
   MAIN + TOC
════════════════════════════════════════════════════ */
.main { flex: 1; min-width: 0; display: flex; }
.article-wrap { flex: 1; min-width: 0; }

/* TOC */
.toc-panel { width: var(--toc-w); flex-shrink: 0; padding: 32px 0 32px 8px; }
.toc-inner { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.toc-link {
  display: block;
  font-size: 12.5px; color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--border);
  transition: all .15s;
  line-height: 1.4;
}
.toc-link:hover,
.toc-link.active { color: var(--brand); border-left-color: var(--brand); }
.toc-link.sub { padding-left: 22px; font-size: 12px; }

.toc-support {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.toc-support-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: var(--brand); color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  margin-top: 8px;
  transition: background .2s;
}
.toc-support-btn:hover { background: var(--brand-dark); }

/* ════════════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted);
  padding: 20px 48px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { font-size: 14px; }

/* ════════════════════════════════════════════════════
   ARTICLE HEADER
════════════════════════════════════════════════════ */
.article-header {
  padding: 28px 48px 32px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--brand-pale) 0%, rgba(239,246,255,0) 100%);
}

.article-meta-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 14px;
}

.plan-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.plan-chip.free { background: var(--success-pale); color: #16A34A; border: 1px solid var(--success-border); }
.plan-chip.pro  { background: var(--brand-pale);   color: var(--brand); border: 1px solid var(--brand-pale2); }
.plan-chip.adv  { background: var(--orange-pale);  color: var(--orange); border: 1px solid var(--orange-border); }
.plan-chip.ent  { background: var(--purple-pale);  color: var(--purple); border: 1px solid #DDD6FE; }

.meta-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px;
  background: var(--surface3); color: var(--text-secondary);
}

.article-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; color: var(--text-primary);
  line-height: 1.15; margin-bottom: 14px;
}

.article-lead {
  font-size: 16px; color: var(--text-secondary);
  max-width: 680px; line-height: 1.7; margin-bottom: 20px;
}

.result-bar {
  display: flex; gap: 24px; flex-wrap: wrap;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--brand-pale), #F0FDFA);
  border: 1px solid var(--brand-pale2);
  border-radius: var(--radius);
}
.result-bar.green {
  background: linear-gradient(135deg, var(--success-pale), #ECFDF5);
  border-color: var(--success-border);
}
.result-item { text-align: center; }
.result-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--brand);
}
.result-bar.green .result-num { color: var(--success); }
.result-label { font-size: 12px; color: var(--text-secondary); }

/* ════════════════════════════════════════════════════
   ARTICLE BODY
════════════════════════════════════════════════════ */
.article-body { padding: 36px 48px 64px; max-width: 780px; }

.article-body h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px; font-weight: 700; color: var(--text-primary);
  margin: 52px 0 18px;
  padding-bottom: 14px;
  border-bottom: none;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.article-body h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 52px; height: 2.5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
}
.article-body h2:first-child { margin-top: 0; }

/* Section badge — the decorative <span> inside h2 */
.article-body h2 > span {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 30px; height: 30px;
  padding: 0 6px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: white;
  border-radius: 8px;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(26,86,219,.28);
  letter-spacing: 0;
}

.article-body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--text-primary);
  margin: 32px 0 10px;
}

.article-body p { margin-bottom: 14px; color: var(--text-secondary); }
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body ul, .article-body ol { margin: 12px 0 12px 20px; color: var(--text-secondary); }
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--brand); text-decoration: none; border-bottom: 1px solid var(--brand-pale2); transition: border-color .15s; }
.article-body a:hover { border-bottom-color: var(--brand); }

code {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  background: var(--surface3);
  padding: 2px 7px; border-radius: 5px;
  color: #DC2626;
}

pre {
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  color: #E2E8F0;
  border: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px; border-radius: var(--radius);
  font-family: 'DM Mono', monospace;
  font-size: 13.5px; line-height: 1.7;
  overflow-x: auto;
  margin: 20px 0;
}
pre code { background: none; color: inherit; padding: 0; }

/* ════════════════════════════════════════════════════
   STEPS
════════════════════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }

.step {
  display: flex; gap: 16px;
  position: relative;
}

.step-num-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; padding-top: 18px; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: white;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(26,86,219,.35);
  position: relative; z-index: 1;
}
.step-line { width: 2px; flex: 1; background: linear-gradient(to bottom, var(--brand-pale2), transparent); margin: 8px 0; min-height: 16px; }
.step:last-child .step-line { display: none; }

.step-body {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 8px;
}
.step-desc { font-size: 14.5px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

.step-tip {
  margin-top: 10px; padding: 10px 14px;
  background: var(--brand-pale);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px; color: var(--text-secondary);
}
.step-tip strong { color: var(--brand); }

/* ════════════════════════════════════════════════════
   SETTINGS TABLE
════════════════════════════════════════════════════ */
.settings-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0; font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  clip-path: inset(0 0 0 0 round var(--radius));
  box-shadow: var(--shadow-sm);
}
.settings-table th {
  text-align: left; padding: 10px 12px;
  background: var(--surface3);
  font-size: 12px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.settings-table td {
  padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.settings-table tr:last-child td { border-bottom: none; }
.settings-table td:first-child { font-weight: 600; color: var(--text-primary); width: 36%; }
.settings-table tr:hover td { background: var(--brand-pale); }

/* ════════════════════════════════════════════════════
   CALLOUT BOXES
════════════════════════════════════════════════════ */
.callout {
  display: flex; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  margin: 20px 0;
  border-left-width: 4px;
}
.callout-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}
.callout-body { flex: 1; }
.callout-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.callout-text  { font-size: 13.5px; line-height: 1.6; margin: 0; }

.callout.tip     { background: var(--success-pale); border: 1px solid var(--success-border); border-left-color: var(--success); }
.callout.tip     .callout-icon  { background: var(--success); color: white; }
.callout.tip     .callout-title { color: #15803D; }
.callout.tip     .callout-text  { color: #166534; }

.callout.warning { background: var(--warning-pale); border: 1px solid var(--warning-border); border-left-color: var(--warning); }
.callout.warning .callout-icon  { background: var(--warning); color: white; }
.callout.warning .callout-title { color: #B45309; }
.callout.warning .callout-text  { color: #92400E; }

.callout.info    { background: var(--brand-pale); border: 1px solid var(--brand-pale2); border-left-color: var(--brand); }
.callout.info    .callout-icon  { background: var(--brand); color: white; }
.callout.info    .callout-title { color: var(--brand-dark); }
.callout.info    .callout-text  { color: #1E3A8A; }

.callout.danger  { background: var(--danger-pale); border: 1px solid #FECACA; border-left-color: var(--danger); }
.callout.danger  .callout-icon  { background: var(--danger); color: white; }
.callout.danger  .callout-title { color: #B91C1C; }
.callout.danger  .callout-text  { color: #7F1D1D; }

/* ════════════════════════════════════════════════════
   SCREEN MOCK (panel önizleme)
════════════════════════════════════════════════════ */
.screen-mock {
  margin: 20px 0;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.screen-mock-bar {
  background: #E2E8F0; padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
}
.screen-mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.screen-mock-body { padding: 20px; }

/* ════════════════════════════════════════════════════
   FAQ ACCORDION
════════════════════════════════════════════════════ */
.faq-list { margin: 16px 0; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 14px 18px;
  font-size: 14.5px; font-weight: 600; color: var(--text-primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: white; transition: background .15s;
  list-style: none;
}
.faq-q:hover { background: var(--brand-pale); }
.faq-q::marker, .faq-q::-webkit-details-marker { display: none; }
.faq-arrow { font-size: 18px; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
details[open] .faq-arrow { transform: rotate(180deg); }
details[open] .faq-q { background: var(--brand-pale); }
.faq-a {
  padding: 0 18px 14px;
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7;
  background: var(--brand-pale);
}
.faq-a a { color: var(--brand); }

/* ════════════════════════════════════════════════════
   RELATED ARTICLES
════════════════════════════════════════════════════ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px; margin: 16px 0;
}
.related-card {
  padding: 14px 16px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
  transition: all .18s;
}
.related-card:hover {
  border-color: var(--brand-light);
  background: var(--brand-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.related-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--surface3); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.related-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.related-cat   { font-size: 11.5px; color: var(--text-muted); }

/* ════════════════════════════════════════════════════
   FEEDBACK BAR
════════════════════════════════════════════════════ */
.feedback-bar {
  margin-top: 48px; padding: 20px 24px;
  background: linear-gradient(135deg, var(--brand-pale), #F0FDFA);
  border: 1px solid var(--brand-pale2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.feedback-text { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.feedback-sub  { font-size: 12.5px; color: var(--text-muted); }
.feedback-btns { display: flex; gap: 8px; }
.feedback-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 20px;
  font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border);
  background: white; color: var(--text-secondary);
  transition: all .2s;
}
.feedback-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-pale); }
.feedback-btn.yes:hover { border-color: var(--success); color: var(--success); background: var(--success-pale); }

/* ════════════════════════════════════════════════════
   INDEX SAYFASI — HERO
════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1A56DB 100%);
  padding: 64px 48px 56px;
  position: relative; overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(6,182,212,.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 100%, rgba(139,92,246,.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 680px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8);
  margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero-eyebrow-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: white; line-height: 1.15; margin-bottom: 12px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 16px; color: rgba(255,255,255,.65); margin-bottom: 32px; font-weight: 300; }

/* Search box */
.search-box { position: relative; display: flex; align-items: center; }
.search-input-wrap { flex: 1; position: relative; }
.search-input {
  width: 100%; height: 56px;
  background: rgba(255,255,255,.97);
  border: 2px solid transparent;
  border-radius: 14px 0 0 14px;
  padding: 0 20px 0 52px;
  font-size: 15.5px; font-family: 'DM Sans', sans-serif;
  color: var(--text-primary); outline: none; transition: all .2s;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.search-input::placeholder { color: #94A3B8; }
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,0,0,.2), 0 0 0 4px rgba(6,182,212,.15);
}
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--brand); pointer-events: none; }
.search-btn {
  height: 56px; padding: 0 28px;
  background: var(--accent); color: white;
  border: none; border-radius: 0 14px 14px 0;
  font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.search-btn:hover { background: var(--accent-dark); }

/* Search dropdown */
.search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  overflow: hidden; display: none; z-index: 50;
}
.search-dropdown.visible { display: block; }
.search-dropdown-section { padding: 8px 0; border-bottom: 1px solid var(--border); }
.search-dropdown-section:last-child { border-bottom: none; }
.search-dropdown-label { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); padding: 4px 16px 6px; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 9px 16px; cursor: pointer; transition: background .12s; text-decoration: none; }
.search-result-item:hover { background: var(--surface3); }
.search-result-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-pale); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.search-result-icon .mi { font-size: 18px; color: var(--brand-dark); }
.search-result-text { flex: 1; }
.search-result-title { font-size: 13.5px; font-weight: 500; color: var(--text-primary); }
.search-result-path  { font-size: 11.5px; color: var(--text-muted); }
.search-result-arrow { color: var(--text-muted); font-size: 14px; }

/* Search tags */
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.search-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  font-size: 12.5px; color: rgba(255,255,255,.85);
  cursor: pointer; transition: all .2s; backdrop-filter: blur(4px);
  text-decoration: none;
}
.search-tag:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); color: white; transform: translateY(-1px); }
.search-tag .mi { font-size: 15px; }

/* Hero stats */
.hero-stats { display: flex; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 700; color: white; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.5); }

/* ════════════════════════════════════════════════════
   INDEX SAYFASI — CONTENT
════════════════════════════════════════════════════ */
.content { padding: 40px 48px 64px; max-width: 960px; }

.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-title-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--brand-pale2), transparent); margin-left: 4px; }
.section-title a { font-size: 13px; font-weight: 500; color: var(--brand); text-decoration: none; white-space: nowrap; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 48px; }
.cat-card {
  background: var(--cat-bg, var(--brand-pale));
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius);
  padding: 24px 20px; text-decoration: none; transition: all .22s;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
}
.cat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--cat-color, var(--brand));
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.cat-card:hover {
  border-color: var(--cat-color, var(--brand));
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  transform: translateY(-3px);
}
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; transition: transform .25s ease;
}
.cat-card:hover .cat-icon { transform: scale(1.08) rotate(-3deg); }
.cat-icon .mi { font-size: 24px; color: var(--cat-color, var(--brand)); }
.cat-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-primary); }
.cat-count { font-size: 12px; color: var(--text-secondary); font-weight: 500; }

/* Widget grid */
.widget-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 48px; }
.widget-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px 14px 12px; text-decoration: none;
  display: flex; align-items: center; gap: 12px; transition: all .18s;
  border-left: 3px solid var(--border);
}
.widget-card:hover {
  border-color: var(--brand-light);
  border-left-color: var(--brand);
  background: var(--brand-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.widget-emoji {
  font-size: 22px; flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--surface3); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.widget-emoji .mi { font-size: 20px; color: var(--text-secondary); }
.widget-card:hover .widget-emoji { background: var(--brand-pale2); }
.widget-card:hover .widget-emoji .mi { color: var(--brand); }
.widget-name { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.widget-plan { font-size: 11px; color: var(--text-muted); }
.plan-badge { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; }
.plan-free { background: var(--success-pale); color: #16A34A; }
.plan-pro  { background: var(--brand-pale);   color: var(--brand); }
.plan-adv  { background: var(--orange-pale);  color: var(--orange); }
.plan-ent  { background: var(--purple-pale);  color: var(--purple); }

/* Article list (popular) */
.article-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 48px; }
.article-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-sm); text-decoration: none; transition: all .15s; border: 1px solid transparent; }
.article-item:hover { background: white; border-color: var(--brand-pale2); box-shadow: var(--shadow-sm); }
.article-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 12px; font-weight: 700; color: var(--text-muted); width: 22px; text-align: right; flex-shrink: 0; }
.article-icon-wrap { width: 36px; height: 36px; border-radius: 9px; background: var(--brand-pale); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.article-icon-wrap .mi { font-size: 19px; color: var(--brand-dark); }
.article-text { flex: 1; }
.article-title-txt { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.article-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.article-arrow { color: var(--text-muted); font-size: 18px; transition: transform .15s; }
.article-item:hover .article-arrow { color: var(--brand); transform: translateX(3px); }

/* Integration grid */
.integration-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 48px; }
.integration-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-decoration: none; text-align: center; transition: all .2s; }
.integration-card:hover { border-color: var(--brand-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.integration-logo { width: 48px; height: 48px; border-radius: 10px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--surface3); }
.integration-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.integration-status { font-size: 11px; color: var(--success); margin-top: 3px; }

/* Video scroll */
.video-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 48px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.video-scroll::-webkit-scrollbar { height: 4px; }
.video-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.video-card { flex-shrink: 0; width: 220px; text-decoration: none; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .2s; }
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.video-thumb { height: 124px; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); display: flex; align-items: center; justify-content: center; position: relative; }
.video-thumb-emoji { font-size: 36px; }
.video-thumb-emoji .mi { font-size: 36px; color: rgba(255,255,255,.92); }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.2); }
.video-play-circle { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 3px; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.6); color: white; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.video-info { background: white; padding: 12px; }
.video-title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 5px; }
.video-meta  { font-size: 11.5px; color: var(--text-muted); }

/* Update list */
.update-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 48px; }
.update-item { display: flex; gap: 16px; padding: 14px 16px; background: white; border: 1px solid var(--border); border-radius: var(--radius); align-items: flex-start; }
.update-badge { flex-shrink: 0; padding: 3px 9px; border-radius: 5px; font-size: 11px; font-weight: 700; margin-top: 2px; }
.badge-new      { background: var(--success-pale); color: #16A34A; }
.badge-improved { background: var(--brand-pale);   color: var(--brand); }
.badge-fixed    { background: var(--orange-pale);  color: var(--orange); }
.update-title { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 3px; }
.update-date  { font-size: 12px; color: var(--text-muted); }

/* Support banner */
.support-banner {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: 16px; padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-bottom: 48px; position: relative; overflow: hidden;
}
.support-banner::before { content:''; position:absolute; right:-40px; top:-40px; width:200px; height:200px; border-radius:50%; background:rgba(255,255,255,.05); }
.support-banner::after  { content:''; position:absolute; right:40px; bottom:-60px; width:160px; height:160px; border-radius:50%; background:rgba(255,255,255,.04); }
.support-banner-text { position: relative; }
.support-banner-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; color: white; margin-bottom: 6px; }
.support-banner-sub   { font-size: 14px; color: rgba(255,255,255,.65); }
.support-banner-actions { display: flex; gap: 10px; flex-shrink: 0; position: relative; }

.btn-white { display:flex; align-items:center; gap:8px; padding:10px 20px; background:white; color:var(--brand); border-radius:var(--radius-sm); font-size:14px; font-weight:600; text-decoration:none; transition:all .2s; }
.btn-white:hover { background:var(--brand-pale); transform:translateY(-1px); }
.btn-outline-white { display:flex; align-items:center; gap:8px; padding:10px 20px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:white; border-radius:var(--radius-sm); font-size:14px; font-weight:500; text-decoration:none; transition:all .2s; }
.btn-outline-white:hover { background:rgba(255,255,255,.2); }

/* Footer */
.help-footer { background:var(--surface2); border-top:1px solid var(--border); padding:32px 48px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.help-footer-text { font-size:13px; color:var(--text-muted); }
.help-footer-links { display:flex; gap:20px; }
.help-footer-link { font-size:13px; color:var(--text-secondary); text-decoration:none; transition:color .15s; }
.help-footer-link:hover { color:var(--brand); }

/* ════════════════════════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════════════════════════ */
.lang-switcher {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: var(--surface3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em;
}
.ls-active {
  color: var(--brand);
}
.ls-sep {
  color: var(--text-muted);
  font-weight: 400;
}
.ls-other {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s;
}
.ls-other:hover { color: var(--text-primary); }

/* ════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .5s ease both; }
.fade-up-1 { animation-delay: .05s; }
.fade-up-2 { animation-delay: .10s; }
.fade-up-3 { animation-delay: .15s; }
.fade-up-4 { animation-delay: .20s; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .toc-panel { display: none; }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .hero { padding: 40px 24px 36px; }
  .content { padding: 28px 24px 48px; }
  .breadcrumb { padding: 16px 24px 0; }
  .article-header { padding: 20px 24px 24px; }
  .article-body { padding: 28px 24px 48px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .widget-grid { grid-template-columns: repeat(2, 1fr); }
  .support-banner { flex-direction: column; }
  .help-footer { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }
  .nav-search-mini { display: none; }
  .result-bar { gap: 16px; }
}
