:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --warn-text: #92400e;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.07), 0 4px 10px -6px rgba(15, 23, 42, 0.05);
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #ffffff;
  font-family: "Amiri", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 15px;
  line-height: 1.2;
}

.brand-text small {
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow-warn {
  color: var(--warn-text);
  background: #fef3c7;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections & Cards */
.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-warn {
  background: #fffdf5;
  border-top: 1px solid var(--warn-border);
  border-bottom: 1px solid var(--warn-border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 6px 0 10px;
  font-size: 18px;
  line-height: 1.3;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.step-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 6px;
}

.step-tag.warn {
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid var(--warn-border);
}

.mini-pill {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.step-list {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.step-list li + li {
  margin-top: 6px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-header h3 {
  margin: 0;
  font-size: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Media Slot & Placeholder */
.media-slot {
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.placeholder-box {
  padding: 20px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  text-align: left;
}

.placeholder-box strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  margin: 6px 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.placeholder-box p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.badge-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: #e2e8f0;
  color: #1e293b;
}

.media-slot img.loaded-media {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Warning banner & cards */
.warn-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
  font-size: 14px;
  line-height: 1.55;
}

.hero .warn-banner {
  margin-top: 26px;
}

.warn-banner strong {
  color: #78350f;
}

.warn-banner a {
  color: #78350f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.warn-banner-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fde68a;
  color: #7c2d12;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.warn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.warn-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--warn-border);
  box-shadow: var(--shadow-sm);
}

.warn-card-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn-text);
  border: 1px solid var(--warn-border);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.warn-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--warn-text);
}

.warn-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  background: var(--surface);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.85);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: min(1000px, 95vw);
  max-height: 90vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  background: #ffffff;
}

.lightbox-content p {
  margin: 10px 0 0;
  color: #e2e8f0;
  font-size: 14px;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .feature-grid,
  .steps-grid,
  .warn-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

/* ---------- Kurulum Rehberi Sayfası ---------- */

.guide-hero {
  padding: 44px 0 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* 3 adım özet kutusu */
.quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.quick-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.quick-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.quick-step strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 2px;
}

/* Adım kartları (dikey zaman çizelgesi) */
.guide-steps {
  display: grid;
  gap: 18px;
}
.guide-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.guide-step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
}
.guide-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
.guide-step p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14.5px;
}
.guide-step .step-list {
  margin: 8px 0 0;
}

/* Bilgi kutusu */
.guide-tip {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: #1e3a8a;
  font-size: 13.5px;
  line-height: 1.55;
  border: 1px solid #bfdbfe;
  margin-top: 14px;
}
.guide-tip strong { color: #1e3a8a; }

/* Doğru / Yanlış karşılaştırma */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.compare-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}
.compare-card.do {
  border-color: #bbf7d0;
  background: #f0fdf4;
}
.compare-card.dont {
  border-color: #fecaca;
  background: #fef2f2;
}
.compare-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.35;
}
.compare-card.do h3 { color: #166534; }
.compare-card.dont h3 { color: #991b1b; }
.compare-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}
.compare-card li + li { margin-top: 6px; }

/* Yol etiketi (dosya yolu) */
.path-chip {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  padding: 2px 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  word-break: break-all;
}

/* Rehber sayfası responsive */
@media (max-width: 900px) {
  .quick-steps { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .guide-step {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .guide-step-num {
    width: 36px;
    height: 36px;
    font-size: 15px;
    border-radius: 10px;
  }
}

.media-slot {
  position: relative;
  overflow: hidden;
}

.media-slot.is-loading .placeholder-box {
  opacity: 0.2;
}

.media-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  font-size: 0.875rem;
  font-weight: 600;
}

.media-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(0, 0, 0, 0.14);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: media-spin 0.75s linear infinite;
}

@keyframes media-spin {
  to {
    transform: rotate(360deg);
  }
}