:root {
  color-scheme: light;
  --blue: #087cf0;
  --blue-deep: #0453b9;
  --orange: #ff920d;
  --orange-deep: #f26b08;
  --ink: #1d2735;
  --header-h: 88px;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #071424;
  min-width: 320px;
  overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: #000;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 rgba(13,45,83,.08);
}

.header-inner {
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand {
  width: 230px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-number {
  position: relative;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -4px;
  padding: 6px 10px 8px 7px;
  transform: skew(-8deg);
  text-shadow: 0 2px 0 #004690, 2px 0 0 #004690, -2px 0 0 #004690, 0 -2px 0 #004690;
  background: linear-gradient(180deg, #55d7ff, #0577e6);
  border-radius: 12px 18px 9px 16px;
  box-shadow: 0 3px 0 #063d82, inset 0 2px 0 rgba(255,255,255,.65);
}

.brand-number::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  right: 9px;
  top: -12px;
  border: 5px solid #ffc51b;
  border-bottom: 0;
  border-radius: 10px 10px 2px 2px;
  transform: skew(8deg) rotate(9deg);
}

.brand-word { display: grid; line-height: 1; }
.brand-word b { color: #065ebd; font-size: 24px; font-style: italic; letter-spacing: -.5px; }
.brand-word small { margin-top: 5px; color: #ff7b08; font-size: 11px; letter-spacing: 2px; white-space: nowrap; }

.main-nav {
  margin-left: auto;
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.main-nav a, .main-nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0 18px;
  color: #272f3b;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.main-nav a::after, .main-nav button::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.main-nav a:hover, .main-nav button:hover, .main-nav .active { color: var(--blue); font-weight: 700; }
.main-nav a:hover::after, .main-nav button:hover::after, .main-nav .active::after { transform: scaleX(1); }

.menu-toggle { display: none; }

.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 650px;
  max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: #072b5a;
}

.slides, .slide { position: absolute; inset: 0; }

.slide {
  opacity: 0;
  visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity;
  transition: opacity 3s ease, visibility 0s linear 3s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 3s ease, visibility 0s linear 0s;
}

.slide > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,21,43,.62) 0%, rgba(1,23,48,.18) 35%, transparent 59%),
    linear-gradient(0deg, rgba(3,22,42,.2), transparent 30%);
}

.slide-copy {
  position: absolute;
  z-index: 2;
  left: max(5vw, calc((100vw - 1180px) / 2));
  top: 50%;
  width: 460px;
  color: #fff;
  transform: translateY(-48%);
  text-shadow: 0 3px 20px rgba(0,25,66,.65);
  animation: copy-in 1.2s both 1s cubic-bezier(.22,.7,.25,1);
}

.slide:not(.active) .slide-copy { animation: none; }

@keyframes copy-in {
  from { opacity: 0; transform: translate(-24px,-48%); }
  to { opacity: 1; transform: translate(0,-48%); }
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffe06f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
}

.slide-copy h1, .slide-copy h2 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.03;
  letter-spacing: -3px;
  font-weight: 1000;
}
.slide-copy h1 em, .slide-copy h2 em { color: #ffcf2e; font-style: normal; }
.slide-copy p:not(.eyebrow) { margin: 20px 0 30px; font-size: 18px; line-height: 1.8; }

.slide-copy > a {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffad18, #f47608);
  box-shadow: 0 12px 35px rgba(126,42,0,.3), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .2s ease, filter .2s ease;
}
.slide-copy > a:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ocean-copy h2 em { color: #69f6ff; }
.ocean-copy > a { background: linear-gradient(135deg, #13bddd, #0873d7); }

.slide-dots {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.slide-dots button {
  position: relative;
  overflow: hidden;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 5px rgba(0,0,0,.3);
  cursor: pointer;
  transition: width .25s ease, border-radius .25s ease, background .25s ease;
}
.slide-dots button.active { width: 36px; border-radius: 8px; background: rgba(255,255,255,.45); }
.slide-dots button.active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #2ff2dd;
  transform-origin: left center;
  animation: dot-progress 6s linear forwards;
}

@keyframes dot-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.download-card {
  position: absolute;
  z-index: 12;
  top: 50%;
  right: max(16px, calc((100vw - 1440px) / 2));
  width: 232px;
  color: #fff;
  transform: translateY(-50%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 16px 30px rgba(0,26,69,.27));
}
.download-card.collapsed { transform: translate(calc(100% + max(16px, (100vw - 1440px) / 2)), -50%); }

.download-toggle {
  position: absolute;
  left: -36px;
  top: 10px;
  width: 38px;
  height: 56px;
  color: #fff;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: var(--orange);
  cursor: pointer;
  box-shadow: -6px 6px 18px rgba(0,0,0,.14);
}
.download-toggle span { display: block; font-size: 34px; line-height: 1; transition: transform .3s ease; }
.download-card.collapsed .download-toggle span { transform: rotate(180deg); }

.download-content {
  padding: 21px 20px 18px;
  text-align: center;
  border: 8px solid rgba(47,60,102,.28);
  background: linear-gradient(160deg, #ffa00e, #ff8304 68%, #f36c00);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
}
.download-content h2 { margin: 0 0 14px; font-size: 21px; font-weight: 500; }

.qr-wrap {
  position: relative;
  width: 174px;
  height: 174px;
  margin: 0 auto 10px;
  padding: 8px;
  background: #fff;
}
.qr-wrap img { width: 100%; height: 100%; display: block; object-fit: contain; }
.qr-badge {
  position: absolute;
  left: 50%; top: 50%;
  display: grid;
  width: 37px; height: 37px;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 1000;
  background: #ff9800;
  border: 4px solid #fff;
  border-radius: 10px;
  transform: translate(-50%,-50%);
}

.download-actions { display: grid; gap: 7px; }
.download-actions a {
  height: 36px;
  display: grid;
  place-items: center;
  color: #ec8509;
  font-size: 15px;
  text-decoration: none;
  background: #fff;
  border-radius: 999px;
  transition: transform .2s ease, color .2s ease;
}
.download-actions a:hover { color: #cf5500; transform: translateY(-1px); }

.platforms { margin-top: 15px; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.platforms button { padding: 0; color: #fff; border: 0; background: transparent; cursor: pointer; }
.platform-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 5px;
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50%;
}
.platform-icon.apple { font-size: 13px; }
.platform-icon.tablet { font-size: 26px; line-height: 1; }
  .platforms small { display: block; white-space: nowrap; font-size: 11px; }

.info-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0,10,28,.7);
  backdrop-filter: blur(14px) saturate(1.15);
}
.info-panel[hidden] { display: none; }
.info-card {
  position: relative;
  width: min(760px, 100%);
  min-height: 500px;
  padding: 52px 58px 48px;
  overflow: hidden;
  color: #edf9ff;
  border: 1px solid rgba(73,225,255,.4);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(15,218,236,.22), transparent 32%),
    radial-gradient(circle at 8% 100%, rgba(255,145,13,.2), transparent 37%),
    linear-gradient(145deg, rgba(5,49,91,.98), rgba(3,20,53,.98) 52%, rgba(4,38,67,.98));
  box-shadow:
    0 34px 100px rgba(0,8,32,.58),
    0 0 0 8px rgba(32,171,218,.08),
    inset 0 1px 0 rgba(255,255,255,.14);
}
.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 56%, rgba(255,255,255,.035) 56% 57%, transparent 57% 100%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(86,211,255,.035) 72px 73px);
  mask-image: linear-gradient(90deg, #000, transparent);
}
.modal-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -140px;
  top: -180px;
  border: 1px solid rgba(100,237,255,.3);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(27,211,255,.14), inset 0 0 45px rgba(27,211,255,.1);
}
.modal-orbit::after {
  content: "";
  position: absolute;
  inset: 46px;
  border: 1px solid rgba(255,198,57,.28);
  border-radius: 50%;
}
.modal-header, .modal-body { position: relative; z-index: 1; }
.panel-kicker { margin: 0 0 10px; color: #64f2ff; font-size: 13px; font-weight: 900; letter-spacing: 5px; }
.info-card h2 { margin: 0; color: #fff; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -1px; }
.modal-lead { margin: 13px 0 0; color: #a9cce2; font-size: 16px; line-height: 1.7; }
.modal-body { margin-top: 32px; }
.modal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.modal-item {
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(123,226,255,.16);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(19,92,138,.42), rgba(7,36,74,.56));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.modal-item.accent { border-color: rgba(255,180,46,.34); background: linear-gradient(145deg, rgba(139,73,10,.38), rgba(32,43,72,.6)); }
.modal-item strong { display: block; color: #fff; font-size: 18px; margin-bottom: 9px; }
.modal-item p { margin: 0; color: #a9cce2; font-size: 14px; line-height: 1.7; }
.modal-item .item-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 9px;
  color: #66efff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  background: rgba(54,207,235,.1);
}
.modal-item.accent .item-tag { color: #ffd466; background: rgba(255,174,38,.12); }
.modal-notice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(98,224,255,.18);
  border-radius: 20px;
  background: rgba(3,22,53,.52);
}
.modal-date {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #ffc75b;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
  background: rgba(255,170,26,.12);
}
.modal-notice h3 { margin: 0 0 9px; color: #fff; font-size: 20px; }
.modal-notice p { margin: 0; color: #b4d2e5; font-size: 15px; line-height: 1.8; }
.modal-steps { display: grid; gap: 12px; counter-reset: steps; }
.modal-step { position: relative; min-height: 62px; padding: 10px 14px 10px 62px; display: flex; align-items: center; color: #c3deed; border-radius: 14px; background: rgba(17,75,113,.34); }
.modal-step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 16px; width: 30px; height: 30px; display: grid; place-items: center; color: #062847; font-weight: 900; border-radius: 50%; background: linear-gradient(135deg,#62f0ff,#28b8ef); }
.panel-close {
  position: absolute;
  z-index: 5;
  top: 22px; right: 22px;
  width: 42px; height: 42px;
  border: 1px solid rgba(115,231,255,.3);
  border-radius: 14px;
  color: #d9f8ff;
  background: rgba(12,63,94,.66);
  cursor: pointer;
  font-size: 26px;
  transition: transform .2s ease, background .2s ease;
}
.panel-close:hover { transform: rotate(6deg); background: rgba(17,105,144,.8); }

.toast {
  position: fixed;
  z-index: 110;
  left: 50%; bottom: 34px;
  padding: 12px 20px;
  color: #fff;
  background: rgba(13,27,45,.88);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(12px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1050px) {
  :root { --header-h: 72px; }
  .header-inner { width: calc(100% - 32px); }
  .brand { width: auto; }
  .brand-number { font-size: 28px; }
  .brand-word b { font-size: 20px; }
  .brand-word small { display: none; }
  .main-nav a, .main-nav button { min-width: 0; padding: 0 13px; font-size: 14px; }
  .slide-copy { left: 6vw; width: 390px; }
  .download-card { right: 18px; }
  .download-card.collapsed { transform: translate(calc(100% + 18px), -50%); }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .site-header { position: relative; }
  .brand-number { font-size: 25px; border-radius: 9px 13px 7px 11px; }
  .brand-word b { font-size: 17px; }

  .menu-toggle {
    margin-left: auto;
    width: 44px; height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 9px;
    background: #f2f6fb;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #17426f; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    height: auto;
    padding: 10px 16px 16px;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 16px 28px rgba(0,33,75,.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a, .main-nav button { height: 45px; justify-content: flex-start; padding: 0 16px; border-radius: 8px; background: #f6f8fb; }
  .main-nav a::after, .main-nav button::after { display: none; }

  .hero { min-height: 720px; height: calc(100svh - var(--header-h)); max-height: none; }
  .slide > img { object-position: 58% center; }
  .slide:nth-child(2) > img { object-position: 48% center; }
  .slide-shade { background: linear-gradient(0deg, rgba(1,15,34,.8) 0%, rgba(2,16,36,.05) 60%); }
  .slide-copy {
    left: 22px; right: 22px; top: auto; bottom: 212px;
    width: auto;
    transform: none;
    text-align: center;
  }
  @keyframes copy-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .slide-copy h1, .slide-copy h2 { font-size: clamp(40px, 13vw, 58px); letter-spacing: -2px; }
  .slide-copy p:not(.eyebrow) { display: none; }
  .eyebrow { margin-bottom: 10px; font-size: 10px; letter-spacing: 2px; }
  .slide-copy > a { margin-top: 20px; height: 46px; font-size: 14px; }

  .download-card {
    top: auto;
    left: 14px; right: 14px; bottom: 14px;
    width: auto;
    transform: none;
    filter: drop-shadow(0 10px 28px rgba(0,0,0,.25));
  }
  .download-card.collapsed { transform: translateY(calc(100% + 14px)); }
  .download-toggle {
    left: auto; right: 12px; top: -34px;
    width: 50px; height: 36px;
    border-radius: 10px 10px 0 0;
  }
  .download-toggle span { transform: rotate(90deg); }
  .download-card.collapsed .download-toggle span { transform: rotate(-90deg); }
  .download-content {
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 72px 1fr 88px;
    gap: 12px;
    align-items: center;
    border-width: 5px;
    border-radius: 14px;
  }
  .download-content h2 { display: none; }
  .qr-wrap { width: 72px; height: 72px; margin: 0; padding: 3px; }
  .qr-badge { width: 24px; height: 24px; border-width: 2px; border-radius: 6px; font-size: 8px; }
  .download-actions { gap: 5px; }
  .download-actions a { height: 30px; font-size: 13px; }
  .platforms { margin: 0; gap: 2px; }
  .platform-icon { width: 24px; height: 24px; margin-bottom: 3px; border-width: 1.5px; font-size: 11px; }
  .platform-icon.tablet { font-size: 20px; }
  .platforms small { display: none; }
  .slide-dots { bottom: 176px; }
  .info-panel { padding: 14px; align-items: end; }
  .info-card { min-height: min(610px, calc(100svh - 28px)); max-height: calc(100svh - 28px); padding: 44px 24px 28px; border-radius: 24px; overflow-y: auto; }
  .info-card h2 { font-size: 35px; }
  .modal-lead { font-size: 14px; }
  .modal-body { margin-top: 24px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-item { min-height: 0; }
  .modal-notice { flex-direction: column; gap: 12px; padding: 19px; }
  .panel-close { top: 15px; right: 15px; }
}

@media (max-width: 420px) {
  .download-content { grid-template-columns: 60px 1fr 78px; gap: 8px; }
  .qr-wrap { width: 60px; height: 60px; }
  .slide-copy { bottom: 190px; }
  .slide-dots { bottom: 158px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide { transition: opacity 3s ease, visibility 0s linear 3s !important; }
  .slide.active { transition: opacity 3s ease, visibility 0s linear 0s !important; }
  .slide-dots button.active::after { animation-duration: 6s !important; }
}

:focus-visible { outline: 3px solid #6bf3ff; outline-offset: 3px; }
