/* ============================================================
   Download page — modern redesign
   ============================================================ */

/* Hero: full-bleed şerit yerine yuvarlatılmış, derinlikli kart */
.dl-hero {
  width: min(1220px, calc(100% - 40px));
  margin: 18px auto 0;
  border-radius: 32px;
  padding: 58px 52px 64px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 6% 0%, rgba(255, 211, 45, .20), transparent 46%),
    radial-gradient(90% 130% at 100% 105%, rgba(47, 191, 113, .12), transparent 52%),
    linear-gradient(135deg, #ef3340 0%, #c81f33 52%, #7a1424 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 34px 90px -34px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 211, 45, .22), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(47, 191, 113, .12), transparent 40%);
  pointer-events: none;
}
.dl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: .16;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent 75%);
  pointer-events: none;
}
.dl-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dl-hero-copy h1 {
  font-size: clamp(42px, 4.6vw, 64px);
  margin: 16px 0 18px;
  color: #fff;
  font-weight: 900;
  line-height: .98;
  letter-spacing: -2px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, .24);
  color: rgba(255, 255, 255, .92);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.dl-hero-copy p {
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  margin: 0 0 28px;
  line-height: 1.6;
  max-width: 440px;
}
.dl-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}
.dl-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ffe76b 0%, #ffd32d 42%, #ffb400 100%);
  color: #2a1400;
  padding: 15px 24px 15px 16px;
  border-radius: 18px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 18px 44px -14px rgba(255, 170, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  cursor: pointer;
}
.dl-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -14px rgba(255, 170, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .8);
  filter: brightness(1.03);
}
.dl-primary:active { transform: translateY(-1px); }
.dl-primary-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #2a1400;
  color: #ffd32d;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.dl-primary-icon svg { display: block; }
.dl-primary-text b { display: block; font-size: 17px; letter-spacing: -.01em; }
.dl-primary-text small { color: rgba(42, 20, 0, .62); font-size: 11.5px; font-weight: 700; }
.dl-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 700;
}
.dl-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, .16);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 12px;
  border-radius: 999px;
}
.dl-browser-link {
  display: inline-block;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: color .15s ease;
}
.dl-browser-link:hover { color: #ffd32d; }

/* App window mockup */
.dl-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dl-hero-visual::before {
  content: "";
  position: absolute;
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(255, 211, 45, .28), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.dl-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: #1c1c1e;
  border-radius: 18px;
  box-shadow: 0 44px 90px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.dl-window-bar {
  background: #2c2c2e;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dl-window-bar i { width: 12px; height: 12px; border-radius: 50%; }
.dl-window-bar i:nth-child(1) { background: #ff5f57; }
.dl-window-bar i:nth-child(2) { background: #febc2e; }
.dl-window-bar i:nth-child(3) { background: #28c840; }
.dl-window-bar span {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  font-weight: 600;
}
.dl-window-body {
  background: radial-gradient(ellipse at 50% 20%, #1f6b46 0%, #0a3320 65%, #051a10 100%);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Steps card */
.dl-steps {
  width: min(1220px, calc(100% - 40px));
  margin: 16px auto 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dl-steps-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 28px;
}
.dl-step { display: flex; align-items: center; gap: 12px; }
.dl-step .dl-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe15c, #ffd32d);
  color: #2a1400;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -6px rgba(255, 211, 45, .8);
}
.dl-step b { display: block; color: #fff; font-size: 13px; font-weight: 800; }
.dl-step > div > span { display: block; color: rgba(255, 255, 255, .45); font-size: 11px; font-weight: 600; }
.dl-step-arrow { color: rgba(255, 255, 255, .22); font-size: 16px; }

/* Info panels */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 26px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
  z-index: 3;
}
.dl-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 24px 54px -32px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dl-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 30px 64px -32px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.dl-panel-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffd32d;
  margin-bottom: 16px;
  background: rgba(255, 211, 45, .12);
  border: 1px solid rgba(255, 211, 45, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.dl-panel-ico svg { display: block; }
.dl-panel h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -.01em;
}
.dl-panel ul, .dl-panel ol { list-style: none; padding: 0; margin: 0; }
.dl-panel-req li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px;
}
.dl-panel-req li:last-child { border-bottom: none; }
.dl-panel-req li b { color: #ffd32d; font-weight: 800; flex-shrink: 0; }
.dl-panel-req li span { color: rgba(255, 255, 255, .6); text-align: right; }
.dl-panel-safe ol { counter-reset: s; }
.dl-panel-safe ol li {
  counter-increment: s;
  padding: 9px 0 9px 36px;
  position: relative;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.55;
}
.dl-panel-safe ol li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 8px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe15c, #ffd32d);
  color: #2a1400;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}
.dl-panel-safe ol li em { color: #ffd32d; font-style: normal; font-weight: 700; }
.dl-changelog li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
}
.dl-changelog li:last-child { border-bottom: none; }
.dl-changelog li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd32d;
}

/* FAQ */
.dl-faq-wrap {
  padding-top: 56px !important;
  padding-bottom: 80px !important;
}
.dl-faq-wrap h2 {
  margin-bottom: 22px;
  font-size: 26px;
  color: #fff;
  letter-spacing: -.02em;
}
.dl-faq details {
  background: rgba(255, 255, 255, .04);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease;
}
.dl-faq details:hover { border-color: rgba(255, 255, 255, .16); }
.dl-faq details[open] {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 211, 45, .22);
}
.dl-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -1px;
  font-size: 22px;
  color: #ffd32d;
  font-weight: 300;
  line-height: 1;
}
.dl-faq details[open] summary::after { content: "−"; }
.dl-faq p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 980px) {
  .dl-hero { padding: 48px 32px 54px; border-radius: 26px; }
  .dl-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .dl-hero-copy h1 { font-size: clamp(38px, 7vw, 52px); }
  .dl-grid { grid-template-columns: 1fr; margin-top: 22px; }
  .dl-steps-inner { padding: 16px 20px; }
}
@media (max-width: 640px) {
  .dl-hero {
    width: calc(100% - 24px);
    padding: 38px 20px 44px;
    border-radius: 22px;
    margin-top: 12px;
  }
  .dl-hero-copy h1 { font-size: 36px; letter-spacing: -1.2px; }
  .dl-hero-copy p { font-size: 15px; }
  .dl-cta { width: 100%; }
  .dl-primary { width: 100%; justify-content: flex-start; }
  .dl-meta { gap: 8px; }
  .dl-meta span { font-size: 11px; padding: 6px 10px; }
  .dl-steps { width: calc(100% - 24px); }
  .dl-steps-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .dl-step-arrow { display: none; }
  .dl-grid { padding-left: 12px !important; padding-right: 12px !important; }
  .dl-panel { padding: 22px; border-radius: 18px; }
  .dl-faq-wrap { padding-left: 12px !important; padding-right: 12px !important; }
}
