
:root {
  --ink: #5B21B6;
  --ink-2: #C4B5FD;
  --bg: #F7F4FA;
  --card: #FFFFFF;
  --border: #E6DFF0;
  --text: #1E1630;
  --muted: #6F6580;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: #4C1D95; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header.dn-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.dn-nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.dn-brand { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: #1E1630; }
.dn-brand span { color: var(--ink); }
.dn-links { display: flex; gap: 24px; list-style: none; }
.dn-links a { font-size: 15px; font-weight: 500; color: var(--muted); }
.dn-links a:hover, .dn-links a.active { color: var(--ink); font-weight: 600; }

.btn-dn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: 0.2s; text-decoration: none;
}
.btn-dn-primary { background: #5B21B6; color: #fff; box-shadow: 0 4px 12px rgba(91, 33, 182, 0.25); }
.btn-dn-primary:hover { background: #4C1D95; color: #fff; }
.btn-dn-outline { background: #fff; border: 1px solid var(--border); color: #1E1630; }
.btn-dn-outline:hover { background: #F3EEF8; color: #1E1630; }

.dn-hero {
  padding: 60px 0 40px;
  background: linear-gradient(#F3E8FF 0%, #F7F4FA 100%);
  border-bottom: 1px solid var(--border);
}
.dn-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.dn-app-meta { display: flex; gap: 24px; align-items: center; }
.dn-app-icon {
  width: 90px; height: 90px; border-radius: 20px;
  background: linear-gradient(135deg, #5B21B6 0%, #C084FC 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(91, 33, 182, 0.28);
  color: #fff;
}
.dn-app-info h1 { font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.dn-stars { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.dn-stars-mark { color: #C47B2B; font-weight: 700; }
.dn-live { color: #5B21B6; font-weight: 600; }

.dn-platform { padding: 60px 0; }
.dn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dn-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: 0.25s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.dn-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06); border-color: var(--ink); }
.dn-badge {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: #F3E8FF; color: #5B21B6; font-size: 12px; font-weight: 700; margin-bottom: 16px;
}
.dn-badge-mac { background: #F8E8F2; color: #9D3B6A; }
.dn-badge-phone { background: #F8F1E4; color: #8A5A2B; }
.dn-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.dn-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.dn-meta {
  font-size: 13px; color: #9488A8; margin-bottom: 24px;
  display: flex; justify-content: space-between;
  border-top: 1px solid #F3EEF8; padding-top: 12px;
}

.dn-dl { padding: 50px 0 70px; }
.dn-matrix {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; margin-bottom: 28px;
}
.dn-matrix-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.dn-matrix h2 { font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.dn-matrix p { color: var(--muted); font-size: 14px; margin: 0; }
.dn-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dn-checksum {
  background: #F3EEF8; padding: 10px 14px; border-radius: 6px;
  font-family: Consolas, monospace; font-size: 12px; color: #5C5368;
  margin-top: 12px; word-break: break-all;
}

.dn-article {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px; margin-bottom: 24px;
}
.dn-article h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.dn-article h2 { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: #1E1630; }
.dn-article h3 { font-size: 17px; margin: 18px 0 8px; color: #5B21B6; }
.dn-article p { font-size: 15px; color: #3C3450; margin-bottom: 14px; line-height: 1.7; }
.dn-article ul, .dn-article ol { margin-left: 20px; font-size: 15px; color: #3C3450; margin-bottom: 16px; }

footer.dn-footer { background: #1A1428; color: #A89BB8; padding: 50px 0 30px; font-size: 14px; }
.dn-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.dn-footer-col h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.dn-foot-title { color: #C4B5FD; font-size: 16px; }
.dn-footer-col p { margin-bottom: 12px; line-height: 1.6; }
.dn-foot-note { font-size: 12px; color: #7E7394; }
.dn-footer-col ul { list-style: none; }
.dn-footer-col li { margin-bottom: 8px; }
.dn-footer-col a { color: #A89BB8; }
.dn-footer-col a:hover { color: #fff; }
.dn-legal {
  border-top: 1px solid #2C2440; padding-top: 20px;
  display: flex; justify-content: space-between; font-size: 13px;
}
.dn-lead { text-align: center; margin-bottom: 40px; }
.dn-lead h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.dn-lead p { color: var(--muted); }

@media (max-width: 900px) {
  .dn-grid-3, .dn-footer-grid { grid-template-columns: 1fr; }
  .dn-links { display: none; }
}
