/* ==========================================================================
   云镜AI · 官网样式
   深空底 + 镜面玻璃 · 蓝→紫品牌渐变 · 琥珀星芒点缀
   ========================================================================== */

:root {
  --bg: #05060D;
  --bg-2: #0B0E1C;
  --bg-3: #0E1226;
  --text: #EEF2FF;
  --muted: #97A1C4;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .06);
  --brand-1: #3B82F6;
  --brand-2: #8B5CF6;
  --brand-3: #A855F7;
  --spark: #F59E0B;
  --grad: linear-gradient(120deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 68px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--brand-2); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(139, 92, 246, .9); }
.btn-ghost {
  color: var(--text); background: var(--surface);
  border-color: var(--line-strong); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(168, 85, 247, .55); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(5, 6, 13, .55);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(5, 6, 13, .88);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-text { font-size: 19px; letter-spacing: .02em; }
.brand-accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  color: #fff; padding: 9px 18px; border-radius: 999px;
  background: var(--grad); font-weight: 600;
  box-shadow: 0 8px 24px -12px rgba(139, 92, 246, .8);
}
.nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }

.menu-btn {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0; cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 20px; }
.menu-btn span:nth-child(3) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 30%, rgba(139, 92, 246, .28), transparent 60%),
    radial-gradient(90% 80% at 10% 90%, rgba(59, 130, 246, .22), transparent 60%),
    linear-gradient(100deg, rgba(5, 6, 13, .96) 30%, rgba(5, 6, 13, .72) 58%, rgba(5, 6, 13, .5));
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 180px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-inner { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; letter-spacing: .06em; color: var(--muted);
  padding: 7px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .18);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.hero-title { margin-bottom: 22px; }
.hero-title .brand-line {
  display: block; font-size: clamp(52px, 10vw, 104px); line-height: .98;
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px;
}
.hero-title .brand-line .brand-accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-tagline {
  display: block; font-size: clamp(19px, 3.4vw, 30px); font-weight: 600;
  color: #D5DCF5; letter-spacing: 0; line-height: 1.35;
}

.hero-sub {
  font-size: clamp(15px, 1.9vw, 17.5px); color: var(--muted);
  max-width: 600px; margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.hero-points li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: #B9C2E0;
}
.hero-points .ic { font-size: 17px; color: var(--brand-3); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.6px solid var(--line-strong);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 7px;
}
.hero-scroll span {
  width: 4px; height: 7px; border-radius: 3px; background: var(--brand-3);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 104px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(11, 14, 28, .8) 18%, rgba(11, 14, 28, .8) 82%, transparent);
}
.section-head { max-width: 720px; margin-bottom: 54px; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-3); margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 5vw, 46px); letter-spacing: -.02em; }
.section-lead { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* ---------- 数据条 ---------- */
.stats { padding: 4px 0 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-2); padding: 30px 26px; }
.stat-num {
  display: flex; align-items: baseline; gap: 2px;
  font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.stat-num em { font-size: 20px; font-style: normal; }
.stat-label { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- 核心能力 ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.feature {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  padding: 34px 30px 36px;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.feature:hover { background: rgba(139, 92, 246, .07); }
.feature .f-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; font-size: 23px;
  color: #fff; background: var(--grad); margin-bottom: 20px;
  box-shadow: 0 10px 26px -14px rgba(139, 92, 246, .9);
}
.feature h3 { font-size: 19px; margin-bottom: 11px; }
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.72; }

/* ---------- 技术优势 ---------- */
.tech-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.tech-list { margin-top: 34px; display: grid; gap: 22px; }
.tech-list li { display: flex; gap: 16px; }
.tech-list .t-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 21px;
  color: var(--brand-3); background: var(--surface); border: 1px solid var(--line);
}
.tech-list h3 { font-size: 16.5px; margin-bottom: 5px; }
.tech-list p { font-size: 14.5px; color: var(--muted); }

.tech-visual {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 70px -40px rgba(59, 130, 246, .6);
}
.tech-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tech-visual figcaption {
  padding: 15px 20px; font-size: 13.5px; color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 13, .5);
}

/* ---------- 应用场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.scene {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.scene:hover {
  transform: translateY(-4px); border-color: rgba(168, 85, 247, .45);
  box-shadow: 0 30px 60px -34px rgba(139, 92, 246, .75);
}
.scene-media { position: relative; overflow: hidden; }
.scene-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.scene:hover .scene-media img { transform: scale(1.045); }
.scene-body { padding: 26px 28px 30px; }
.scene-tag {
  display: inline-block; font-size: 12.5px; letter-spacing: .04em; font-weight: 600;
  color: var(--brand-3); padding: 5px 12px; border-radius: 999px;
  background: rgba(168, 85, 247, .1); border: 1px solid rgba(168, 85, 247, .24);
  margin-bottom: 14px;
}
.scene-body h3 { font-size: 20px; margin-bottom: 10px; }
.scene-body p { font-size: 14.5px; color: var(--muted); }

/* ---------- 定价 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.price-card.featured {
  border-color: rgba(168, 85, 247, .55);
  background: linear-gradient(180deg, rgba(139, 92, 246, .14), rgba(11, 14, 28, .9));
  box-shadow: 0 34px 70px -40px rgba(139, 92, 246, .9);
}
.price-badge {
  position: absolute; top: -13px; left: 30px;
  font-size: 12.5px; font-weight: 600; color: #fff;
  padding: 5px 14px; border-radius: 999px; background: var(--grad);
  box-shadow: 0 8px 20px -10px rgba(139, 92, 246, .9);
}
.price-name { font-size: 17px; color: #D5DCF5; }
.price-amount {
  margin: 12px 0 6px; font-size: 44px; font-weight: 800; letter-spacing: -.02em;
  display: flex; align-items: baseline; gap: 3px;
}
.price-amount .cur { font-size: 22px; font-weight: 700; }
.price-amount em { font-size: 15px; font-weight: 500; font-style: normal; color: var(--muted); margin-left: 6px; }
.price-desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price-list { display: grid; gap: 12px; margin-bottom: 28px; }
.price-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: #C7CFEA; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px; border-left: 2px solid var(--brand-3); border-bottom: 2px solid var(--brand-3);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; }
.price-note {
  margin-top: 30px; font-size: 14px; color: var(--muted); text-align: center;
}
.price-note strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { background: var(--surface-2); border-color: rgba(168, 85, 247, .4); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 24px; font-size: 16.5px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--brand-3); border-bottom: 2px solid var(--brand-3);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 14.8px; }

/* ---------- 联系 / CTA ---------- */
.cta-section { padding-bottom: 110px; }
.cta-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center;
  padding: 56px; border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 130% at 12% 0%, rgba(59, 130, 246, .2), transparent 55%),
    radial-gradient(80% 120% at 95% 100%, rgba(168, 85, 247, .22), transparent 55%),
    var(--bg-2);
  box-shadow: 0 40px 90px -50px rgba(139, 92, 246, .85);
}
.cta-title { font-size: clamp(26px, 4.4vw, 40px); letter-spacing: -.02em; }
.cta-sub { margin-top: 16px; color: var(--muted); font-size: 16px; }
.cta-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; }
.cta-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: #C7CFEA; }
.cta-points .ic { font-size: 17px; color: var(--brand-3); }

.cta-form {
  background: rgba(5, 6, 13, .6); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  backdrop-filter: blur(8px);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  padding: 12px 14px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--line-strong);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder { color: #6B769A; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--brand-3); background: rgba(139, 92, 246, .08);
}
.field select option { background: var(--bg-2); color: var(--text); }
.field input.is-error { border-color: #F87171; }
.form-tip { margin-top: 12px; font-size: 13.5px; min-height: 20px; }
.form-tip.ok { color: #4ADE80; }
.form-tip.err { color: #F87171; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 66px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: var(--muted); max-width: 340px; }
.footer-col h3 { font-size: 14px; color: #D5DCF5; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 11px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--brand-3); }
.footer-meta { font-size: 13.5px; color: #6B769A; margin-bottom: 8px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: #6B769A;
}
.footer-legal a { color: #8C97BC; }
.footer-legal a:hover { color: var(--brand-3); }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  color: #fff; border: 1px solid var(--line-strong);
  background: rgba(11, 14, 28, .85); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad); border-color: transparent; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .eyebrow .dot, .hero-scroll span { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 24px;
    background: rgba(5, 6, 13, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 13px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0; }
  .menu-btn { display: block; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-bg img { object-position: 68% center; }
  .hero-veil {
    background:
      radial-gradient(120% 70% at 80% 20%, rgba(139, 92, 246, .3), transparent 60%),
      linear-gradient(180deg, rgba(5, 6, 13, .82) 10%, rgba(5, 6, 13, .95) 78%);
  }
  .cta-inner { padding: 30px 22px; }
  .cta-form { padding: 22px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   应用下载页
   ========================================================================== */
.dl-hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + 76px) 0 44px;
}
.dl-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 130% at 16% 0%, rgba(59, 130, 246, .18), transparent 60%),
    radial-gradient(70% 120% at 92% 6%, rgba(168, 85, 247, .20), transparent 60%);
}
.dl-hero .eyebrow { margin-bottom: 22px; }
.dl-title { font-size: clamp(30px, 5.4vw, 52px); letter-spacing: -.03em; }
.dl-title .brand-accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.dl-lead { margin-top: 18px; max-width: 660px; font-size: 17px; color: var(--muted); }

.dl-section { padding: 16px 0 104px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: stretch; }

.dl-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 32px 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.dl-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.dl-card.is-ready {
  border-color: rgba(168, 85, 247, .45);
  background: linear-gradient(180deg, rgba(139, 92, 246, .12), rgba(11, 14, 28, .9));
}
.dl-card.is-ready:hover { box-shadow: 0 30px 60px -34px rgba(139, 92, 246, .8); }

.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.dl-icon {
  flex: none; width: 52px; height: 52px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--grad);
  box-shadow: 0 12px 28px -14px rgba(139, 92, 246, .9);
}
.dl-icon svg { width: 26px; height: 26px; }
.dl-icon.is-muted {
  color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line); box-shadow: none;
}
.dl-card h2 { font-size: 21px; }
.dl-tag { margin-top: 5px; font-size: 13px; color: var(--muted); }
.dl-tag-ready { color: #4ADE80; }

.dl-desc { margin-bottom: 22px; font-size: 14.5px; color: var(--muted); }

.dl-meta { margin-bottom: 22px; border-top: 1px solid var(--line); }
.dl-meta li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.dl-meta b { font-weight: 500; color: var(--muted); flex: none; }
.dl-meta span { color: #C7CFEA; text-align: right; }

.dl-changelog { margin-bottom: 26px; }
.dl-changelog h3 {
  margin-bottom: 12px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; color: #D5DCF5;
}
.dl-changelog ul { display: grid; gap: 9px; }
.dl-changelog li { position: relative; padding-left: 24px; font-size: 14px; color: var(--muted); }
.dl-changelog li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--brand-3); border-bottom: 2px solid var(--brand-3);
  transform: rotate(-45deg);
}

.dl-actions { margin-top: auto; }
.btn.is-loading { opacity: .85; pointer-events: none; }
.btn.is-disabled {
  color: var(--muted); background: var(--surface);
  border-color: var(--line-strong); cursor: not-allowed;
  box-shadow: none; opacity: .72;
}

.dl-status {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; min-height: 20px; font-size: 13.5px; color: var(--muted);
}
.dl-status .dl-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dl-status[data-state="idle"] { color: #6B769A; }
.dl-status[data-state="idle"] .dl-dot { opacity: .55; }
.dl-status[data-state="downloading"] { color: #7FB2FF; }
.dl-status[data-state="downloading"] .dl-dot { animation: pulse 1.4s var(--ease) infinite; }
.dl-status[data-state="done"] { color: #4ADE80; }
.dl-status[data-state="locked"] { color: #6B769A; }
.dl-status[data-state="locked"] .dl-dot { opacity: .4; }

.dl-note { margin-top: 36px; font-size: 14px; color: var(--muted); text-align: center; }
.dl-note a { color: var(--brand-3); border-bottom: 1px solid rgba(168, 85, 247, .4); }

.nav a.is-active { color: var(--text); }

@media (max-width: 860px) {
  .dl-hero { padding-top: calc(var(--header-h) + 52px); }
  .dl-grid { grid-template-columns: 1fr; }
  .nav a.is-active { color: var(--brand-3); }
}

@media (max-width: 720px) {
  .dl-section { padding-bottom: 68px; }
  .dl-card { padding: 26px 22px 26px; }
  .dl-head { gap: 14px; }
  .dl-icon { width: 46px; height: 46px; border-radius: 13px; }
  .dl-meta li { font-size: 13.5px; }
}
