/* ── DOWNLOAD HERO ────────────────────────────────────── */
#dl-hero {
  background: linear-gradient(135deg, #bfdbfe 0%, #bae6fd 42%, #99f6e4 100%);
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 5vw 100px; position: relative; overflow: hidden;
}
#dl-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(56,189,248,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.dl-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: 1100px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.dl-title {
  font-size: clamp(34px, 4.5vw, 54px); font-weight: 800;
  line-height: 1.1; color: #0f172a; margin-bottom: 18px;
}
.dl-sub {
  font-size: 16px; color: #475569; line-height: 1.75; margin-bottom: 32px;
}
.dl-trust { display: flex; flex-direction: column; gap: 11px; }
.dl-trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: #166534;
}

/* ── SCROLL HINT ──────────────────────────────────────── */
#dl-hero .scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #1e40af;
  letter-spacing: .04em; text-transform: uppercase;
  opacity: 0.75; transition: opacity .2s; z-index: 2;
}
#dl-hero .scroll-hint:hover { opacity: 1; }
#dl-hero .scroll-hint a {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-decoration: none; color: inherit;
}
#dl-hero .scroll-arrow {
  color: #1e40af;
  animation: dl-bounce 2s ease-in-out infinite;
}
@keyframes dl-bounce {
  0%, 40%, 100% { transform: translateY(0); }
  70%            { transform: translateY(7px); }
}

/* ── DOWNLOAD CARD ────────────────────────────────────── */
.dl-card {
  background: white; border-radius: 24px;
  padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}
.dl-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.dl-date { font-size: 13px; color: #94a3b8; margin-left: auto; }
.dl-version-badge {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  font-family: 'DM Mono', monospace; letter-spacing: .05em;
}
.dl-demo-badge {
  background: #fef3c7; color: #92400e;
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .03em;
}
.dl-filename {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #0f172a;
  margin-bottom: 14px;
  font-family: 'DM Mono', monospace;
}
.dl-meta-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.dl-meta-pill {
  background: #f1f5f9; color: #475569;
  font-size: 12px; font-weight: 600;
  padding: 5px 13px; border-radius: 20px;
}
.dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white; text-decoration: none;
  font-size: 16px; font-weight: 700; font-family: inherit;
  padding: 16px 28px; border-radius: 14px; width: 100%;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  transition: all .2s; margin-bottom: 14px;
}
.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.5); }
.dl-note {
  font-size: 12px; color: #94a3b8; text-align: center; line-height: 1.6;
  margin-bottom: 16px;
}
.dl-demo-info {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 16px; margin-top: 4px;
}
.dl-demo-info-title {
  font-size: 12px; font-weight: 700; letter-spacing: .07em;
  color: #94a3b8; text-transform: uppercase; margin-bottom: 12px;
}
.dl-demo-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; line-height: 1.5; margin-bottom: 7px;
}
.dl-demo-row:last-child { margin-bottom: 0; }
.dl-demo-included { color: #166534; }
.dl-demo-excluded { color: #991b1b; }

/* ── VOLLVERSION CTA ──────────────────────────────────── */
#dl-upgrade { background: white; padding-top: 0; padding-bottom: 60px; }
.dl-upgrade-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0e7490 100%);
  border-radius: 20px; padding: 36px 48px;
}
.dl-upgrade-title {
  font-size: 22px; font-weight: 800; color: white; margin-bottom: 8px;
}
.dl-upgrade-sub {
  font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 500px;
}
.dl-upgrade-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: white; color: #1e3a8a;
  font-size: 15px; font-weight: 700; font-family: inherit;
  padding: 14px 28px; border-radius: 12px; text-decoration: none;
  transition: all .2s; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.dl-upgrade-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── CHANGELOG ────────────────────────────────────────── */
#dl-changelog { background: white; }
.changelog-card {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 20px; padding: 36px; margin-top: 36px;
}
.changelog-version-bar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.changelog-v { font-size: 18px; font-weight: 700; color: #0f172a; }
.changelog-tag {
  background: #dcfce7; color: #166534;
  font-size: 12px; font-weight: 700;
  padding: 4px 13px; border-radius: 20px;
}
.changelog-list {
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 28px;
}
.changelog-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #374151; line-height: 1.65;
}
.changelog-list svg { flex-shrink: 0; margin-top: 3px; }
.changelog-footer {
  font-size: 13px; color: #64748b;
  padding-top: 20px; border-top: 1px solid #e2e8f0;
}
.changelog-footer a { color: #2563eb; font-weight: 600; text-decoration: none; }
.changelog-footer a:hover { text-decoration: underline; }

/* ── SYSTEMANFORDERUNGEN ──────────────────────────────── */
#dl-requirements { background: #f8fafc; }
.req-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 36px;
}
.req-card {
  background: white; border: 1px solid #e2e8f0;
  border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform .2s, box-shadow .2s;
}
.req-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.req-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: #eff6ff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.req-label {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: #94a3b8; text-transform: uppercase; margin-bottom: 7px;
}
.req-value { font-size: 15px; font-weight: 600; color: #0f172a; }

/* ── AGB CHECKBOX GATE ────────────────────────────────── */
.dl-agb-wrap { margin-bottom: 12px; }
.dl-agb-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #374151;
  cursor: pointer; user-select: none;
}
.dl-agb-check input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  accent-color: #2563eb; cursor: pointer;
}
.dl-agb-check a { color: #2563eb; text-decoration: underline; }
.dl-agb-check a:hover { color: #1d4ed8; }
.dl-btn-locked {
  opacity: 0.42; pointer-events: none;
  box-shadow: none; transform: none;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  #dl-hero { min-height: auto; padding: 100px 5vw 64px; }
  .dl-hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .dl-upgrade-banner { flex-direction: column; align-items: flex-start; padding: 28px 32px; }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  #dl-hero .scroll-hint { display: none; }
}
@media (max-width: 500px) {
  .req-grid { grid-template-columns: 1fr; }
  .dl-upgrade-banner { padding: 24px; }
  .dl-upgrade-btn { width: 100%; justify-content: center; }
  .dl-card { padding: 24px 20px; }
}
