/* ==============================================================================
   İNDİRME VE GÜVENLİK SAYFALARI (download.html, security.html + tr karşılıkları)
   Yalnız style.css belirteçleri; bd-faq builder.css'ten gelir.
   ============================================================================== */
.dl-page {
  padding: 72px 0 96px;
}

.dl-page .container > * {
  max-width: 820px;
}

.dl-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.dl-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 18px;
}

.dl-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
  margin-bottom: 18px;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-main);
}

.dl-meta span {
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}

.dl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
}

.dl-hero .dl-meta + .dl-cta {
  margin-top: 0;
}

.dl-hint {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-faint);
  max-width: 64ch;
}

/* ---------- Uyarı kutusu ---------- */
.dl-warning {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 44px 0 0;
  padding: 20px 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-focus);
  border-left: 4px solid var(--text-main);
  border-radius: var(--radius);
}

.dl-warning-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text-main);
  color: var(--bg-page);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.dl-warning-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.dl-warning p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
}

/* ---------- Bölümler ---------- */
.dl-section {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}

.dl-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 14px;
}

.dl-h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin: 26px 0 10px;
}

.dl-section p,
.dl-section li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.dl-section p + p {
  margin-top: 12px;
}

.dl-section ul,
.dl-section ol {
  margin: 10px 0 12px 22px;
}

.dl-section li + li {
  margin-top: 6px;
}

.dl-section a,
.dl-hint a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.dl-section a:hover {
  text-decoration: underline;
}

.dl-section a:focus-visible,
.dl-copy:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.dl-section strong {
  color: var(--text-main);
}

.dl-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

.dl-steps li {
  padding-left: 4px;
}

.dl-muted {
  color: var(--text-muted);
}

.dl-note {
  margin-top: 18px;
  font-weight: 600;
  color: var(--text-main) !important;
}

/* ---------- Kartlar ---------- */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* Aylık | Yıllık anahtarı: dil anahtarıyla (style.css .lang-toggle) aynı görünüm ve kayış */
.dl-interval-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dl-interval {
  --opt-w: 84px;
  --pad: 3px;
  position: relative;
  display: inline-grid;
  grid-template-columns: var(--opt-w) var(--opt-w);
  align-items: center;
  padding: var(--pad);
  border-radius: 999px;
  background: var(--bg-subtle);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.dl-interval:hover {
  background: var(--bg-hover);
}

.dl-interval-opt {
  position: relative;
  z-index: 1;
  padding: 5px 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-align: center;
  color: var(--text-faint);
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.3s ease;
}

.dl-interval-opt[aria-checked="true"] {
  color: var(--text-main);
}

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

.dl-interval-thumb {
  position: absolute;
  top: var(--pad);
  bottom: var(--pad);
  left: var(--pad);
  width: var(--opt-w);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(28, 26, 23, 0.18), 0 0 0 0.5px rgba(28, 26, 23, 0.06);
  transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.5, 1);
}

.dl-interval[data-current="year"] .dl-interval-thumb {
  transform: translateX(var(--opt-w));
}

.dl-save {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.dl-save[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .dl-interval-opt {
    padding: 8px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dl-interval-thumb,
  .dl-interval-opt {
    transition: none;
  }
}

.dl-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dl-buy button {
  cursor: pointer;
}

.dl-buy button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.dl-buy-error {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-main);
}

.dl-buy-error a {
  text-decoration: underline;
}

.dl-card {
  min-width: 0;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.dl-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dl-soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-main);
  letter-spacing: 0.06em;
  vertical-align: middle;
  line-height: 1.4;
}

.dl-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* Çıkış fiyatı: üstü çizili eski fiyat yok; liste fiyatı yalnız tarihli notta */
.dl-launch {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
  line-height: 1.4;
}

.dl-price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: -4px 0 12px;
}

.dl-list {
  list-style: none;
  margin: 0 0 12px !important;
}

.dl-list li {
  position: relative;
  padding-left: 18px;
}

.dl-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-main);
}

.dl-file-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}

.dl-sha-label {
  margin-top: 14px !important;
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: 0.08em;
  color: var(--text-faint) !important;
}

.dl-sha-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 6px;
}

.dl-sha {
  flex: 1;
  min-width: 0;
  display: block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}

.dl-section .dl-sha {
  padding: 8px 10px;
}

.dl-copy {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background: transparent;
  border: 1px solid var(--border-focus);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.dl-copy:hover {
  background: var(--bg-hover);
}

/* ---------- Komut blokları ---------- */
.dl-code {
  margin: 8px 0 14px;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
}

.dl-section .dl-code code {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  white-space: pre;
  color: var(--text-main);
}

/* ---------- Tarama sonuçları ---------- */
.dl-scans {
  margin-top: 8px;
}

.dl-release + .dl-release {
  margin-top: 30px;
}

.dl-release .dl-h3 {
  margin-top: 18px;
}

.dl-scan .dl-sha-row {
  margin-bottom: 14px;
}

.dl-scan-status {
  font-size: 15px !important;
  color: var(--text-main) !important;
}

.dl-scan-status.is-pending {
  font-family: var(--font-mono);
  font-size: 13px !important;
  color: var(--text-muted) !important;
}

.dl-scan-status.is-pending::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: dl-pulse 1.6s ease-in-out infinite;
}

@keyframes dl-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-scan-status.is-pending::before { animation: none; }
}

.dl-detections {
  margin: 10px 0 0 20px !important;
}

.dl-status {
  padding: 14px 16px;
  border: 1px dashed var(--border-focus);
  border-radius: var(--radius);
  font-size: 14.5px !important;
}

.dl-status-error {
  border-style: solid;
  border-color: var(--text-main);
  color: var(--text-main) !important;
}

/* ---------- Yasal metinler ---------- */
.dl-legal {
  max-width: none;
  margin-top: 16px;
}

.dl-legal-text {
  padding: 0 0 22px;
}

.dl-legal-text h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin: 22px 0 6px;
}

.dl-legal-text p,
.dl-legal-text li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.dl-legal-text ul {
  margin: 8px 0 8px 22px;
}

.dl-legal-text a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Dar ekran ---------- */
@media (max-width: 720px) {
  .dl-page {
    padding: 48px 0 72px;
  }

  .dl-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-warning {
    padding: 16px;
    gap: 12px;
  }

  .dl-section {
    margin-top: 44px;
    padding-top: 34px;
  }

  .dl-sha-row {
    flex-direction: column;
  }

  .dl-copy {
    align-self: flex-start;
  }
}
