:root {
  --ink: #081a34;
  --ink-soft: #122b50;
  --paper: #f7f9fc;
  --white: #ffffff;
  --red: #e52c37;
  --red-dark: #a11c2a;
  --cyan: #32d7ee;
  --violet: #3e286d;
  --line: rgba(8, 26, 52, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 clamp(22px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 26, 52, 0.12);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-logo { width: 142px; height: auto; object-fit: contain; }
.contact-phone { min-height: 36px; padding: 0; display: inline-flex; align-items: center; gap: 4px; color: var(--ink); border: 0; border-radius: 0; transition: color 160ms ease; }
.contact-phone:hover { color: var(--red-dark); }
.contact-phone-icon { width: auto; height: auto; display: inline; color: var(--ink); background: transparent; border-radius: 0; font-size: 13px; }
.contact-phone-copy { display: grid; gap: 2px; }
.contact-phone-copy { display: inline-flex; align-items: baseline; gap: 2px; }
.contact-phone-copy small { color: var(--ink); font-size: 11px; line-height: 1; }
.contact-phone-copy strong { color: var(--ink); font-size: 14px; line-height: 1.1; letter-spacing: .4px; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
  font-style: italic;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 19px; line-height: 1; }
.brand small { margin-top: 4px; font-size: 10px; font-weight: 700; color: #64728a; }

.hero {
  position: relative;
  min-height: 0;
  height: auto;
  overflow: hidden;
  background: #061426;
}
.hero-carousel { position: relative; width: 100%; aspect-ratio: var(--carousel-ratio, 16 / 9); overflow: hidden; background: #061426; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 650ms ease, visibility 650ms ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #061426; }
.hero-carousel::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(to top, rgba(4, 15, 31, .25), transparent 40%, rgba(4, 15, 31, .02)); pointer-events: none; }
.carousel-arrow { position: absolute; z-index: 4; top: 50%; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: rgba(8, 26, 52, .68); border: 1px solid rgba(255,255,255,.46); border-radius: 50%; font-size: 23px; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background 160ms ease, transform 160ms ease; }
.carousel-arrow:hover { background: var(--red); transform: translateY(-50%) scale(1.06); }
.carousel-prev { left: clamp(16px, 2.5vw, 42px); }
.carousel-next { right: clamp(16px, 2.5vw, 42px); }
.carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 24px; display: flex; gap: 9px; transform: translateX(-50%); }
.carousel-dot { width: 30px; height: 4px; padding: 0; background: rgba(255,255,255,.46); border: 0; cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.carousel-dot.is-active { width: 58px; background: var(--cyan); }
.hero-actions {
  position: relative;
  z-index: 2;
  left: auto;
  bottom: auto;
  padding: 18px clamp(42px, 6vw, 120px) 10px;
  display: flex;
  gap: 12px;
  background: var(--ink);
}
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; font-weight: 800; }
.button-primary { color: var(--white); background: var(--red); border: 1px solid var(--red); }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.88); border: 1px solid var(--ink); backdrop-filter: blur(8px); }
.hero-actions { align-items: flex-start; }
.hero-actions .button-secondary {
  position: relative;
  margin-bottom: 34px;
}
.hero-actions .button-secondary::after {
  content: "扫码后请将此链接发至电脑上或者微信打开下载";
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: min(360px, calc(100vw - 36px));
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  text-shadow: 0 1px 8px rgba(50,215,238,.22);
  transform: translateX(-50%);
}
.button:hover { transform: translateY(-2px); transition: transform 160ms ease; }
.hero-meta {
  position: relative;
  z-index: 2;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 4px clamp(42px, 6vw, 120px) 24px;
  display: flex;
  gap: 30px;
  background: var(--ink);
  color: rgba(255,255,255,.86);
  font-size: 11px;
}
.hero-meta span { display: flex; gap: 7px; }
.hero-meta b { color: var(--white); }

.access-band {
  padding: 84px clamp(24px, 6vw, 108px);
  display: grid;
  grid-template-columns: minmax(220px, .75fr) repeat(2, minmax(280px, 1fr));
  gap: 22px;
  align-items: stretch;
  color: var(--white);
  background: var(--ink);
  border-top: 5px solid var(--red);
}
.access-intro { padding: 18px 30px 18px 0; align-self: center; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 11px; line-height: 1; font-weight: 900; }
.access-intro h2, .section-heading h2, .closing h2 { margin: 0; font-weight: 900; line-height: .98; }
.access-intro h2 { font-size: clamp(40px, 4vw, 66px); }
.access-intro > p:last-child { max-width: 310px; margin: 28px 0 0; color: #a8b4c7; font-size: 14px; line-height: 1.8; }
.access-item {
  min-height: 460px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-top: 4px solid var(--cyan);
  border-radius: 6px;
}
.download-item { border-top-color: var(--red); }
.item-heading { display: flex; align-items: flex-start; gap: 16px; }
.item-index { color: #8a96a8; font-size: 11px; font-weight: 900; padding-top: 6px; }
.item-heading h3 { margin: 0; font-size: 22px; }
.item-heading p { margin: 5px 0 0; color: #778398; font-size: 12px; }
.qr-button {
  position: relative;
  width: min(250px, 86%);
  aspect-ratio: 1;
  margin: 34px auto 22px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: zoom-in;
}
.qr-button img { width: 100%; height: 100%; object-fit: contain; }
.scan-corners, .scan-corners::before, .scan-corners::after { position: absolute; inset: -7px; pointer-events: none; }
.scan-corners { border: solid var(--cyan); border-width: 2px 0 0 2px; width: 38px; height: 38px; }
.scan-corners::before { content: ""; left: auto; border: solid var(--cyan); border-width: 2px 2px 0 0; width: 38px; height: 38px; }
.scan-corners::after { content: ""; top: auto; border: solid var(--cyan); border-width: 0 0 2px 2px; width: 38px; height: 38px; }
.item-note { margin: auto 0 0; text-align: center; color: #67758a; font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; background: #20bd72; border-radius: 50%; box-shadow: 0 0 0 4px rgba(32,189,114,.12); }
.desktop-visual { flex: 1; min-height: 260px; display: grid; place-items: center; align-content: center; padding-top: 24px; }
.screen { position: relative; width: min(300px, 95%); aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-soft); border: 8px solid #dbe1e9; border-bottom-width: 13px; border-radius: 7px; box-shadow: 0 20px 34px rgba(8,26,52,.18); }
.screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(229,44,55,.82), transparent 47%), linear-gradient(325deg, rgba(50,215,238,.34), transparent 45%); }
.screen img { position: absolute; right: -3%; bottom: -13%; width: 69%; height: 115%; object-fit: cover; object-position: 56% center; mix-blend-mode: screen; }
.screen-brand { position: absolute; z-index: 2; top: 22px; left: 20px; color: var(--white); font-size: 22px; font-weight: 900; font-style: italic; }
.screen-base { width: 90px; height: 12px; margin-top: -2px; background: #aeb8c7; clip-path: polygon(25% 0,75% 0,100% 100%,0 100%); }
.download-link { min-height: 62px; padding: 10px 13px 10px 17px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); }
.download-link:hover { border-color: var(--red); }
.download-link strong, .download-link small { display: block; }
.download-link strong { font-size: 14px; }
.download-link small { margin-top: 4px; color: #7c8798; font-size: 10px; }
.download-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--red); font-weight: 900; }

.showcase { padding: 110px clamp(24px, 3.6vw, 64px) 120px; background: var(--paper); }
.section-heading { max-width: 680px; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(44px, 6vw, 84px); }
.section-heading > p:last-child { max-width: 520px; margin: 24px 0 0; color: #637086; font-size: 15px; line-height: 1.8; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); gap: 20px; align-items: start; }
.showcase figure { position: relative; margin: 0; overflow: hidden; background: var(--ink); min-height: 0; }
.showcase figure::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(8,26,52,.85), transparent); }
.showcase figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.showcase figure:hover img { transform: scale(1.02); }
.showcase figure.showcase-main { aspect-ratio: 1; }
.showcase-main img { position: absolute; inset: 0; object-position: center; }
.showcase figure.showcase-side { min-height: 0; aspect-ratio: 9 / 16; }
.showcase-side img { position: absolute; inset: 0; object-fit: cover; object-position: center; background: #061426; }
.showcase-side:hover img { transform: none; }
.showcase-side::after { display: none; }
.showcase figcaption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 25px; color: var(--white); display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.showcase figcaption span { font-size: 20px; font-weight: 900; }
.showcase figcaption small { color: #b9c7dc; font-size: 11px; }

.closing {
  min-height: 420px;
  padding: 76px clamp(24px, 7vw, 130px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  color: var(--white);
  background: var(--red);
  background-image: linear-gradient(118deg, transparent 0 66%, rgba(8,26,52,.96) 66% 78%, transparent 78%);
}
.closing .eyebrow { color: var(--ink); }
.closing h2 { max-width: 1080px; font-size: clamp(42px, 5.4vw, 78px); line-height: 1.05; }

footer { min-height: 130px; padding: 30px clamp(24px, 6vw, 108px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; background: var(--white); font-size: 11px; color: #69768a; }
footer > a:last-child { justify-self: end; color: var(--ink); font-weight: 800; }

.qr-dialog { width: min(420px, calc(100% - 28px)); padding: 38px; text-align: center; border: 0; border-top: 5px solid var(--cyan); border-radius: 6px; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.qr-dialog::backdrop { background: rgba(4,15,31,.8); backdrop-filter: blur(8px); }
.qr-dialog h2 { margin: 0 0 20px; font-size: 32px; }
.qr-dialog img { width: 260px; max-width: 100%; margin: 0 auto; }
.qr-dialog > p:last-child { margin: 18px 0 0; color: #68768b; font-size: 12px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }

@media (max-width: 980px) {
  .access-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-intro { grid-column: 1 / -1; padding-right: 0; }
  .access-intro h2 br { display: none; }
  .access-intro > p:last-child { max-width: 520px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-side { display: block; width: min(100%, 620px); justify-self: center; }
}

@media (max-width: 680px) {
  .site-header { position: relative; height: 68px; padding: 0 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-logo { width: 126px; }
  .contact-phone { min-height: 32px; gap: 3px; }
  .contact-phone-copy small { font-size: 9px; }
  .contact-phone-copy strong { font-size: 11px; letter-spacing: 0; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 9px; }
  .hero { min-height: 0; height: auto; display: flex; flex-direction: column; }
  .hero-carousel { position: relative; inset: auto; width: 100%; aspect-ratio: var(--carousel-ratio, 16 / 9); flex: none; }
  .hero-slide img { object-fit: contain; object-position: center; }
  .hero-actions { position: relative; left: auto; right: auto; bottom: auto; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 18px 8px; background: var(--ink); }
  .button { min-height: 46px; }
  .hero-meta { position: relative; left: auto; right: auto; bottom: auto; gap: 10px; justify-content: space-between; padding: 4px 18px 22px; background: var(--ink); }
  .hero-meta span { display: block; }
  .hero-meta b { display: block; margin-bottom: 3px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 19px; }
  .carousel-dots { bottom: 12px; }
  .access-band { padding: 62px 16px; grid-template-columns: 1fr; gap: 14px; }
  .access-intro { grid-column: auto; margin-bottom: 15px; }
  .access-intro h2 { font-size: 46px; }
  .access-item { min-height: 430px; padding: 22px; }
  .qr-button { width: 235px; }
  .showcase { padding: 78px 16px 82px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 48px; }
  .showcase figure { min-height: 0; }
  .showcase figure.showcase-main { aspect-ratio: 1; }
  .showcase figure.showcase-side { min-height: 0; height: auto; aspect-ratio: 9 / 16; }
  .showcase figcaption { left: 18px; right: 18px; bottom: 18px; display: block; }
  .showcase figcaption small { display: block; margin-top: 7px; }
  .closing { min-height: 460px; padding: 60px 22px; display: block; background-image: linear-gradient(150deg, transparent 0 64%, rgba(8,26,52,.96) 64% 76%, transparent 76%); }
  .closing h2 { max-width: 100%; font-size: clamp(34px, 10vw, 54px); line-height: 1.1; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Responsive layout: preserve the original C-RUI proportions at every width. */
html, body { max-width: 100%; overflow-x: hidden; }
.site-header, .hero, .access-band, .showcase, .closing, footer { width: 100%; min-width: 0; }
.brand, .contact-phone, .hero-actions, .hero-meta, .access-item, .showcase figure, footer > * { min-width: 0; }
.contact-phone { white-space: nowrap; }
.hero-actions { flex-wrap: wrap; }
.hero-meta { flex-wrap: wrap; }
.access-item { overflow: hidden; }
.item-heading h3, .item-heading p, .download-link, .download-link span { min-width: 0; }
.download-link strong, .download-link small { overflow-wrap: anywhere; }
.showcase-grid { min-width: 0; }
.showcase figure img { max-width: none; }

@media (max-width: 1180px) {
  .site-header { padding-left: clamp(18px, 3vw, 48px); padding-right: clamp(18px, 3vw, 48px); }
  .access-band { padding-left: clamp(18px, 4vw, 64px); padding-right: clamp(18px, 4vw, 64px); grid-template-columns: minmax(190px, .7fr) repeat(2, minmax(0, 1fr)); }
  .access-item { padding-left: clamp(20px, 2.5vw, 28px); padding-right: clamp(20px, 2.5vw, 28px); }
  .showcase { padding-left: clamp(18px, 3vw, 48px); padding-right: clamp(18px, 3vw, 48px); }
}

@media (max-width: 980px) {
  .access-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-intro { grid-column: 1 / -1; padding-right: 0; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-side { width: min(100%, 620px); justify-self: center; }
}

@media (max-width: 680px) {
  .site-header { height: auto; min-height: 68px; padding: 12px 16px; }
  .brand-logo { width: clamp(108px, 35vw, 126px); }
  .contact-phone { min-height: 32px; gap: 3px; }
  .contact-phone-copy small { font-size: 9px; }
  .contact-phone-copy strong { font-size: clamp(10px, 3.2vw, 13px); letter-spacing: 0; }
  .hero-carousel { aspect-ratio: 16 / 9; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 18px 8px; }
  .hero-actions .button { width: 100%; }
  .hero-meta { gap: 10px; justify-content: space-between; padding: 4px 18px 22px; }
  .hero-meta span { display: block; }
  .hero-meta b { display: block; margin-bottom: 3px; }
  .access-band { padding: 62px 16px; grid-template-columns: 1fr; gap: 14px; }
  .access-intro { grid-column: auto; margin-bottom: 15px; }
  .access-item { min-height: clamp(390px, 108vw, 430px); padding: 22px; }
  .qr-button { width: min(235px, 82vw); }
  .desktop-visual { min-height: 220px; }
  .showcase { padding: 78px 16px 82px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(42px, 12vw, 58px); }
  .showcase figure.showcase-main { aspect-ratio: 1; }
  .showcase figure.showcase-side { width: 100%; aspect-ratio: 9 / 16; }
  .showcase figcaption { left: 18px; right: 18px; bottom: 18px; display: block; }
  .showcase figcaption small { display: block; margin-top: 7px; }
  .closing { min-height: 460px; padding: 60px 22px; display: block; }
  .closing h2 { max-width: 100%; font-size: clamp(34px, 10vw, 54px); line-height: 1.1; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
}

@media (max-width: 380px) {
  .site-header { padding-left: 12px; padding-right: 12px; gap: 6px; }
  .contact-phone-copy small { display: none; }
  .contact-phone-copy strong { font-size: 10px; }
  .contact-phone-icon { font-size: 11px; }
  .hero-meta { font-size: 10px; gap: 8px; }
  .access-intro h2 { font-size: 40px; }
}

.showcase-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 52px;
}
.showcase-top .section-heading { margin-bottom: 0; }
.showcase-customer {
  height: clamp(250px, 16vw, 300px);
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(8,26,52,.13);
  border-top: 4px solid var(--red);
}
.showcase-customer img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  object-fit: contain;
  object-position: center;
}
.customer-dialog {
  width: min(620px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 28px;
  text-align: center;
  border: 0;
  border-top: 5px solid var(--red);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}
.customer-dialog::backdrop { background: rgba(4,15,31,.82); backdrop-filter: blur(8px); }
.customer-dialog .eyebrow { margin-bottom: 16px; }
.customer-dialog img { width: 100%; max-height: calc(100dvh - 104px); object-fit: contain; }
.customer-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .showcase-top { grid-template-columns: 1fr; gap: 34px; }
  .showcase-customer { height: min(520px, 70vw); }
}

@media (max-width: 680px) {
  .showcase-top { gap: 28px; margin-bottom: 34px; }
  .showcase-customer { height: min(520px, 118vw); }
  .customer-dialog { padding: 22px 16px 16px; }
  .customer-dialog img { max-height: calc(100dvh - 92px); }
}
