:root {
  --qjb-blue: #1e88e5;
  --qjb-blue-deep: #0d4f9f;
  --qjb-blue-soft: #eaf4ff;
  --qjb-orange: #ff9800;
  --qjb-ink: #172033;
  --qjb-muted: #637083;
  --qjb-line: #dfe8f2;
  --qjb-surface: #f6faff;
  --qjb-white: #ffffff;
  --qjb-radius: 12px;
  --qjb-shadow: 0 24px 70px rgba(20, 74, 133, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--qjb-ink);
  background: var(--qjb-white);
  font-family: "HarmonyOS Sans", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.download-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.download-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 76px;
  border-bottom: 1px solid rgba(223, 232, 242, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 800;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--qjb-muted);
  font-size: 12px;
}

.back-link,
.text-link {
  color: var(--qjb-blue-deep);
  font-weight: 800;
}

.back-link span,
.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms ease;
}

.back-link:hover span,
.text-link:hover span {
  transform: translate(2px, -2px);
}

.download-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 152, 0, 0.15), transparent 27%),
    linear-gradient(135deg, #f3f9ff 0%, #ffffff 56%, #eef7ff 100%);
}

.download-hero::after {
  position: absolute;
  right: -160px;
  bottom: -200px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(30, 136, 229, 0.14);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 40px rgba(30, 136, 229, 0.04), 0 0 0 80px rgba(30, 136, 229, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: center;
  gap: 74px;
  min-height: 660px;
  padding: 72px 0 88px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--qjb-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--qjb-ink);
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 span {
  color: var(--qjb-blue);
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 26px;
  color: var(--qjb-muted);
  font-size: 20px;
  line-height: 1.75;
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid rgba(30, 136, 229, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--qjb-blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.status-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--qjb-orange);
  box-shadow: 0 0 0 5px rgba(255, 152, 0, 0.14);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--qjb-blue);
  color: var(--qjb-white);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(30, 136, 229, 0.25);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.store-button:not([aria-disabled="true"]):hover {
  background: #1476ca;
  box-shadow: 0 17px 34px rgba(30, 136, 229, 0.3);
  transform: translateY(-2px);
}

.store-button[aria-disabled="true"] {
  background: #a8bfd7;
  box-shadow: none;
  cursor: not-allowed;
}

.store-button-icon {
  font-size: 19px;
  line-height: 1;
}

.hero-note {
  margin: 14px 0 0;
  color: #8693a3;
  font-size: 13px;
}

.hero-device {
  position: relative;
  display: grid;
  justify-items: center;
  padding-bottom: 20px;
}

.device-shadow {
  position: absolute;
  right: 8%;
  bottom: 2px;
  left: 8%;
  height: 34px;
  border-radius: 50%;
  background: rgba(14, 65, 126, 0.18);
  filter: blur(18px);
}

.device-frame {
  position: relative;
  width: min(100%, 356px);
  padding: 12px;
  border: 7px solid #15223a;
  border-radius: 38px;
  background: #15223a;
  box-shadow: var(--qjb-shadow);
}

.device-frame::before,
.device-frame::after {
  position: absolute;
  top: 142px;
  width: 4px;
  height: 72px;
  border-radius: 4px;
  background: #15223a;
  content: "";
}

.device-frame::before {
  left: -11px;
}

.device-frame::after {
  right: -11px;
  height: 44px;
}

.device-frame img {
  width: 100%;
  border-radius: 25px;
  background: #eef5fb;
}

.device-speaker {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 21px;
  border-radius: 20px;
  background: #090f1b;
  transform: translateX(-50%);
}

.device-caption {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  color: var(--qjb-muted);
  text-align: center;
}

.device-caption strong {
  color: var(--qjb-ink);
  font-size: 17px;
}

.device-caption span {
  font-size: 13px;
}

.feature-section,
.promise-section,
.final-cta-section {
  padding: 104px 0;
}

.feature-section {
  background: var(--qjb-white);
}

.section-heading {
  max-width: 620px;
  margin-bottom: 54px;
}

.section-heading h2,
.promise-layout h2,
.final-cta h2 {
  margin-bottom: 14px;
  color: var(--qjb-ink);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--qjb-muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--qjb-line);
}

.feature-item {
  min-height: 224px;
  padding: 30px 34px 28px 0;
  border-right: 1px solid var(--qjb-line);
}

.feature-item + .feature-item {
  padding-left: 34px;
}

.feature-item:last-child {
  border-right: 0;
}

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--qjb-orange);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-item p {
  max-width: 260px;
  margin-bottom: 0;
  color: var(--qjb-muted);
  line-height: 1.75;
}

.promise-section {
  background: var(--qjb-surface);
}

.promise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 80px;
  align-items: center;
}

.promise-copy {
  max-width: 560px;
  margin: 0;
  color: var(--qjb-muted);
  font-size: 18px;
  line-height: 1.8;
}

.promise-list {
  border-top: 1px solid var(--qjb-line);
}

.promise-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--qjb-line);
}

.promise-list strong {
  font-size: 18px;
}

.promise-list span {
  color: var(--qjb-muted);
  font-size: 14px;
  text-align: right;
}

.final-cta-section {
  background: var(--qjb-blue-deep);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.final-cta .eyebrow,
.final-cta h2 {
  color: var(--qjb-white);
}

.final-cta h2 {
  margin-bottom: 0;
}

.store-button--light {
  flex: 0 0 auto;
  background: var(--qjb-white);
  color: var(--qjb-blue-deep);
  box-shadow: none;
}

.store-button--light[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.7);
  color: var(--qjb-blue-deep);
}

.download-footer {
  background: #0b326a;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.download-footer .footer-inner {
  min-height: 66px;
}

.download-footer a:hover {
  color: var(--qjb-white);
}

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

  .hero-grid {
    gap: 48px;
    min-height: auto;
    padding: 68px 0 78px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-device {
    max-width: 420px;
    justify-self: center;
  }

  .promise-layout {
    gap: 42px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .feature-item + .feature-item {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--qjb-line);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-number {
    margin-bottom: 14px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .download-container {
    width: min(100% - 32px, 520px);
  }

  .download-header,
  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .back-link {
    font-size: 14px;
  }

  .hero-grid {
    padding: 52px 0 62px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .store-button,
  .text-link {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
  }

  .feature-section,
  .promise-section,
  .final-cta-section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading > p:last-child,
  .promise-copy {
    font-size: 16px;
  }

  .promise-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
