/* ============================================================
   Naxput Recorder — download page
   ============================================================ */

.download-page {
  background:
    radial-gradient(900px 600px at 75% -5%, rgba(60, 230, 196, 0.12), transparent 60%),
    radial-gradient(800px 620px at 10% 30%, rgba(109, 124, 255, 0.12), transparent 62%),
    #05090f;
}

.dl-main {
  padding-top: 112px;
}

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

.dl-hero {
  padding: 54px 0 42px;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}

.dl-copy h1 {
  margin: 16px 0 16px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  color: #f8fbfd;
}

html[lang="zh"] .dl-copy h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.dl-lead {
  max-width: 600px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.dl-btn {
  height: 62px;
  padding: 0 20px;
  gap: 11px;
  border-radius: 17px;
}

.dl-btn > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.2;
}

.dl-btn b {
  font-size: 14px;
  font-weight: 600;
}

.dl-btn small {
  font-size: 9.5px;
  font-weight: 400;
  opacity: 0.72;
}

.dl-btn .icon {
  width: 21px;
  height: 21px;
  flex: none;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.dl-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ok-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(60, 230, 196, 0.7);
}

/* visual */

.dl-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
}

.dl-glow {
  position: absolute;
  inset: 4% -6% -8% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(60, 230, 196, 0.25), transparent 45%),
    radial-gradient(circle at 72% 72%, rgba(109, 124, 255, 0.26), transparent 48%);
  filter: blur(42px);
  z-index: 0;
}

.app-icon {
  position: absolute;
  left: -6px;
  top: -28px;
  z-index: 6;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #07101a;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
  overflow: visible;
}

.app-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 23px;
}

.rec-dot {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5c7a;
  border: 4px solid #07101a;
  box-shadow: 0 0 18px rgba(255, 92, 122, 0.65);
}

.recorder {
  position: relative;
  z-index: 3;
  width: 548px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: linear-gradient(180deg, rgba(13, 23, 38, 0.96), rgba(6, 12, 21, 0.98));
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 80px rgba(60, 230, 196, 0.08);
  transform: perspective(1300px) rotateY(4deg) rotateX(1.5deg);
  overflow: hidden;
}

.rec-top {
  height: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.rec-dots { display: flex; gap: 5px; }
.rec-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.rec-dots i:first-child { background: #ff7b72; }
.rec-dots i:nth-child(2) { background: #ffc66d; }
.rec-dots i:nth-child(3) { background: #3ce6c4; }

.rec-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(238, 244, 251, 0.55);
}

.rec-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(60, 230, 196, 0.85);
}

.rec-view {
  position: relative;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: #07101a;
}

.rec-view > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) saturate(0.8) contrast(1.06);
}

.rec-view::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 14, 0.12), rgba(3, 8, 14, 0.5));
}

.rec-live {
  position: absolute;
  left: 14px;
  top: 13px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 92, 122, 0.45);
  background: rgba(30, 8, 14, 0.7);
  color: #ff8a9f;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.rec-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5c7a;
  box-shadow: 0 0 10px rgba(255, 92, 122, 0.8);
  animation: rec-blink 1.2s ease-in-out infinite;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.rec-overlay {
  position: absolute;
  right: 14px;
  top: 13px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 12, 21, 0.6);
  color: rgba(238, 244, 251, 0.7);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.rec-pill .icon { width: 12px; height: 12px; color: var(--mint); }

.rec-bottom {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 18, 0.9);
}

.rec-stop {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 92, 122, 0.6);
  display: grid;
  place-items: center;
  flex: none;
}

.rec-stop i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #ff5c7a;
}

.rec-pause {
  color: rgba(238, 244, 251, 0.5);
  font-size: 12px;
}

.rec-timer {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(238, 244, 251, 0.6);
}

.rec-res, .rec-mp4 {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 7px;
  color: rgba(238, 244, 251, 0.55);
}

.rec-mp4 { margin-left: 0; color: var(--mint); border-color: rgba(60, 230, 196, 0.3); }

.float-chip {
  position: absolute;
  z-index: 7;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(8, 16, 28, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(238, 244, 251, 0.7);
  white-space: nowrap;
}

.chip-a { right: -8px; bottom: 42px; color: var(--mint); border-color: rgba(60, 230, 196, 0.3); }
.chip-b { left: 18px; bottom: -15px; font-family: "ALKATIP", sans-serif; font-size: 12px; color: rgba(238, 244, 251, 0.72); }

/* trust */

.dl-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 15, 25, 0.42);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 104px;
}

.trust-grid > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:last-child { border-right: 0; }

.trust-grid .icon {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  color: var(--mint);
  align-self: center;
}

.trust-grid b {
  font-size: 13px;
  font-weight: 600;
  color: #f4f8fc;
}

.trust-grid span {
  font-size: 9.5px;
  color: var(--muted-2);
}

/* sections */

.dl-section {
  padding: 84px 0;
}

.dl-head {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

.dl-head h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.25;
  font-weight: 400;
  color: #f8fbfd;
}

.dl-head p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
}

html[dir="rtl"] .dl-head p { text-align: left; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(320px 160px at 100% 0%, rgba(60, 230, 196, 0.045), transparent 65%),
    rgba(13, 21, 34, 0.55);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.feature-card:hover {
  border-color: rgba(60, 230, 196, 0.28);
  transform: translateY(-3px);
}

.f-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(60, 230, 196, 0.2);
  background: rgba(60, 230, 196, 0.06);
  color: var(--mint);
  margin-bottom: 14px;
}

.f-icon .icon { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #f4f8fc;
}

.feature-card p {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted-2);
}

/* steps */

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

.step {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(13, 21, 34, 0.45);
}

.step > span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mint);
  letter-spacing: 0.16em;
}

.step h3 {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
}

.step p {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted-2);
}

/* final download */

.dl-final { padding-top: 20px; }

.final-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid rgba(60, 230, 196, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(600px 260px at 92% 0%, rgba(60, 230, 196, 0.12), transparent 65%),
    linear-gradient(145deg, rgba(12, 23, 37, 0.92), rgba(6, 12, 21, 0.9));
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38);
}

.final-icon {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #07101a;
  overflow: visible;
}

.final-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 21px;
}

.final-icon .rec-dot {
  right: -5px;
  bottom: -5px;
  width: 18px;
  height: 18px;
}

.final-copy h2 {
  margin: 4px 0 5px;
  font-size: 26px;
  font-weight: 400;
  color: #f8fbfd;
}

.final-copy p {
  font-size: 11.5px;
  color: var(--muted);
}

.checksum {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  direction: ltr;
}

.checksum > span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.checksum code {
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(238, 244, 251, 0.5);
}

.copy-sha {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 8px;
}

.copy-sha .icon { width: 11px; height: 11px; }
.copy-sha:hover { color: var(--mint); border-color: rgba(60, 230, 196, 0.35); }

.final-btn {
  height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}

.dl-note {
  margin-top: 14px;
  text-align: center;
  font-size: 10px;
  color: var(--muted-2);
}

/* faq */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(13, 21, 34, 0.42);
}

.faq-item h3 {
  font-size: 13px;
  font-weight: 600;
  color: #f4f8fc;
}

.faq-item p {
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted-2);
}

/* mobile */

@media (max-width: 1080px) {
  .dl-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dl-copy { max-width: 760px; }
  .dl-visual { min-height: 440px; }
  .recorder { width: min(560px, 86vw); }
  .dl-head { grid-template-columns: 1fr; gap: 12px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .final-card { grid-template-columns: 74px 1fr; }
  .final-icon { width: 74px; height: 74px; }
  .final-btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .dl-main { padding-top: 94px; }
  .dl-hero { padding-top: 28px; }
  .dl-copy h1 { font-size: 40px; line-height: 1.45; }
  html[lang="zh"] .dl-copy h1 { font-size: 38px; line-height: 1.15; }
  .dl-lead { font-size: 14px; }
  .dl-actions { gap: 8px; }
  .dl-btn { height: 58px; padding: 0 16px; }
  .dl-meta { gap: 12px; font-size: 9px; }
  .dl-visual { min-height: 320px; }
  .app-icon { width: 70px; height: 70px; top: -18px; left: 0; border-radius: 19px; }
  .app-icon img { border-radius: 18px; }
  .recorder { width: 88vw; transform: none; border-radius: 16px; }
  .rec-top { height: 34px; }
  .rec-bottom { height: 46px; }
  .rec-title, .rec-time { font-size: 7.5px; }
  .rec-live, .rec-pill { height: 21px; font-size: 6.5px; }
  .float-chip { height: 32px; font-size: 7.5px; }
  .chip-a { right: 0; bottom: 30px; }
  .chip-b { left: 0; bottom: -12px; font-size: 10px; }
  .dl-section { padding: 56px 0; }
  .dl-head h2 { font-size: 28px; }
  .feature-grid, .steps, .faq-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { padding: 15px 14px; }
  .final-card { grid-template-columns: 60px 1fr; padding: 18px; gap: 14px; }
  .final-icon { width: 60px; height: 60px; border-radius: 16px; }
  .final-copy h2 { font-size: 20px; }
  .checksum { display: none; }
  .final-btn { width: 100%; justify-content: center; }
}


/* ===== 下载页产品切换 ===== */
.dl-switch{
  display:flex; width:fit-content; gap:6px; padding:5px; margin-bottom:18px;
  background:rgba(255,255,255,.05); border:1px solid var(--line, rgba(255,255,255,.1));
  border-radius:999px;
}
.dl-sw{
  border:0; background:transparent; color:var(--muted, #94a2b6);
  font-size:13.5px; font-weight:700; padding:8px 18px; border-radius:999px;
  cursor:pointer; transition:all .18s ease; font-family:inherit; white-space:nowrap;
}
.dl-sw:hover{ color:var(--text, #eef4fb); }
.dl-sw.on{
  color:#08121f; background:var(--grad, linear-gradient(135deg,#3ce6c4,#6d7cff));
  box-shadow:0 8px 20px -10px rgba(60,230,196,.6);
}

/* 输入法示意图 */
.input-show{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:18px;
  padding:38px 28px; border-radius:26px;
  background:var(--surface-solid, #0e1624); border:1px solid var(--line, rgba(255,255,255,.1));
  box-shadow:var(--shadow, 0 30px 60px -30px rgba(0,0,0,.7));
}
.input-show img{ width:96px; height:96px; border-radius:24px; box-shadow:0 18px 34px -18px rgba(109,124,255,.7); }
.input-cands{
  display:flex; gap:8px; flex-wrap:wrap; justify-content:center;
  padding:12px 14px; border-radius:14px; background:rgba(255,255,255,.04);
  border:1px solid var(--line, rgba(255,255,255,.1));
}
.input-cands span{
  min-width:52px; text-align:center; font-size:15px; font-weight:600;
  color:var(--text, #eef4fb); padding:6px 10px; border-radius:9px; background:rgba(255,255,255,.06);
}
.input-cands span.on{ background:var(--grad, linear-gradient(135deg,#3ce6c4,#6d7cff)); color:#08121f; }
.input-chips{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center }
.input-chips span{
  font-size:12px; color:var(--mint, #3ce6c4); background:rgba(60,230,196,.12);
  border:1px solid rgba(60,230,196,.24); border-radius:999px; padding:4px 11px; font-weight:600;
}
@media(max-width:800px){
  .dl-switch{ width:100%; justify-content:center }
  .dl-sw{ flex:1; text-align:center; padding:9px 10px; font-size:12.5px }
}


/* 输入法模式：隐藏录屏专用浮块 */
.dl-visual.app-input .float-chip,
.dl-visual.app-input .rec-mp4 { display: none !important; }


/* hidden 生效：display:flex 会盖住 [hidden]，这里强制隐藏 */
.input-show[hidden] { display: none !important; }
.recorder[hidden] { display: none !important; }
