.download-page {
  min-height: 100vh;
}

.download-page .site-header {
  position: sticky;
}

.software-hero {
  padding: 74px 0 34px;
}

.software-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 28px 42px;
  align-items: start;
}

.software-copy {
  grid-row: 1 / span 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 440px;
  padding: 54px;
  border: 1px solid rgba(10, 37, 64, 0.09);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 253, 0.94)),
    linear-gradient(90deg, rgba(43, 127, 255, 0.08), rgba(30, 157, 98, 0.06));
  box-shadow: 0 24px 50px rgba(10, 37, 64, 0.07);
  overflow: hidden;
}

.software-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.software-subtitle {
  max-width: 680px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.8;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.download-primary,
.download-card-button {
  min-width: 190px;
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  max-width: 720px;
}

.release-strip > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.release-strip strong {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.download-card,
.software-panel {
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(10, 37, 64, 0.06);
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  padding: 28px;
}

.download-card-head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.platform-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.1);
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.08);
  overflow: hidden;
}

.platform-mark img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.download-card-head > div > strong,
.download-card-head > div > span {
  display: block;
}

.download-card-head > div > strong {
  font-size: 1.34rem;
}

.download-card-head > div > span {
  margin-top: 5px;
  color: var(--text-muted);
  word-break: break-word;
}

.download-meta {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.download-meta div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.download-meta dt {
  color: var(--text-muted);
}

.download-meta dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 700;
}

.download-card p {
  margin: 18px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.software-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.software-section-tight {
  padding-bottom: 86px;
}

.software-grid,
.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 22px;
}

.software-panel {
  padding: 30px;
}

.software-panel h2 {
  margin: 10px 0 22px;
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  letter-spacing: 0;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.install-steps div {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.install-steps span {
  display: block;
  color: var(--brand);
  font-weight: 700;
}

.install-steps strong {
  display: block;
  margin-top: 18px;
  font-size: 1.1rem;
}

.install-steps p,
.support-panel p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.75;
}

.requirements-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}

.requirements-list strong {
  color: var(--text-muted);
}

.requirements-list span {
  text-align: right;
  font-weight: 700;
}

.security-table {
  display: grid;
  gap: 12px;
}

.security-table div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 8px;
  background: #f8fbff;
}

.security-table span {
  color: var(--text-muted);
  font-weight: 700;
}

.security-table code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.support-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-panel .button {
  align-self: flex-start;
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .software-hero-layout,
  .software-grid,
  .security-layout {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .software-hero {
    padding-top: 34px;
  }

  .software-copy {
    min-height: 0;
    padding: 34px 24px;
  }

  .software-copy h1 {
    font-size: clamp(2.7rem, 15vw, 4.8rem);
  }

  .release-strip,
  .install-steps {
    grid-template-columns: 1fr;
  }

  .download-actions .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .software-panel,
  .download-card {
    padding: 22px;
  }

  .requirements-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .requirements-list span {
    text-align: left;
  }
}

/* ============ Oriby 品牌美化(猫头鹰 logo + 绿色) ============ */
.download-page {
  --oriby: #1f9d62;
  --oriby-deep: #157a4b;
}

/* 副本面板:绿色微调 + 定位(承载水印) */
.download-page .software-copy {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 245, 0.94)),
    linear-gradient(120deg, rgba(31, 157, 98, 0.1), rgba(31, 157, 98, 0.04));
}
.software-copy > *:not(.oriby-watermark) {
  position: relative;
  z-index: 1;
}

/* hero 品牌锁定:猫头鹰 + Oriby */
.oriby-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.oriby-hero-owl {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  filter: drop-shadow(0 12px 26px rgba(31, 157, 98, 0.34));
}
.download-page .eyebrow {
  margin: 0;
  color: var(--oriby);
}

/* 大猫头鹰水印(从右下角探出) */
.oriby-watermark {
  position: absolute;
  right: -64px;
  bottom: -76px;
  width: 320px;
  height: 320px;
  opacity: 0.06;
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 0;
}

/* 下载卡:猫头鹰图标 + hover 微动 */
.platform-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 157, 98, 0.08), rgba(31, 157, 98, 0.02));
  border: 1px solid rgba(31, 157, 98, 0.16);
  box-shadow: 0 12px 28px rgba(31, 157, 98, 0.16);
  overflow: hidden;
}
.platform-mark img {
  width: 100%;
  height: 100%;
}
.download-card {
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}
.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 157, 98, 0.34);
  box-shadow: 0 26px 52px rgba(31, 157, 98, 0.15);
}

/* 主下载按钮:Oriby 绿 */
.download-page .button-primary {
  background: linear-gradient(135deg, #1f9d62, #157a4b);
  box-shadow: 0 12px 24px rgba(31, 157, 98, 0.28);
}
.download-page .button-primary:hover,
.download-page .button-primary:focus-visible {
  background: linear-gradient(135deg, #1b8c57, #126b41);
}

@media (max-width: 860px) {
  .oriby-hero-owl {
    width: 60px;
    height: 60px;
  }
  .oriby-watermark {
    width: 220px;
    height: 220px;
    right: -50px;
    bottom: -50px;
  }
}

/* ============ Oriby 下载页 v2:居中头部 + 双平台对等卡 ============ */
.download-hero {
  padding: 58px 0 84px;
}
.download-shell {
  max-width: 1000px;
  margin: 0 auto;
}
.download-intro {
  text-align: center;
  margin-bottom: 46px;
}
.download-intro .oriby-lockup {
  justify-content: center;
  margin-bottom: 14px;
}
.download-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.download-intro .software-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--text-muted);
}
.download-intro h1 .oriby-name {
  color: var(--oriby);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.platform-card {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 30px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(10, 37, 64, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 37, 64, 0.12);
  border-color: rgba(31, 157, 98, 0.45);
}

.platform-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
}
.platform-glyph {
  flex: none;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}
.platform-glyph svg {
  width: 32px;
  height: 32px;
}
.platform-glyph-windows {
  color: #0078d4;
  background: rgba(0, 120, 212, 0.1);
}
.platform-glyph-apple {
  color: #1d1d1f;
  background: rgba(29, 29, 31, 0.07);
}
.platform-head h2 {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.1;
  color: var(--text-primary);
}
.platform-req {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.platform-card .download-meta {
  flex: 1 1 auto;
  margin: 22px 0 26px;
}
.platform-card .download-meta div:last-child {
  border-bottom: none;
}
.platform-card .download-card-button {
  width: 100%;
  margin-top: auto;
}

.download-foot {
  margin: 30px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}
