@charset "UTF-8";

:root {
  --cyan: #009fe9;
  --cyan-deep: #007bb8;
  --ink: #0f2433;
  --ink-soft: #2a4558;
  --paper: #f3f8fc;
  --muted: #5d778a;
  --line: #cfe0ec;
  --shell: 1160px;
  --header-height: 72px;
  --shadow: 0 16px 36px rgba(0, 123, 184, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.page-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}
.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(243, 248, 252, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  height: 100%;
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 123, 184, 0.25);
}
.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.primary-nav a:hover { color: var(--cyan-deep); }
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--cyan);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 0 #006a9e;
}
.nav-download .icon { filter: brightness(0) invert(1); }
.menu-toggle { display: none; padding: 8px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.section-heading { margin-bottom: 28px; max-width: 640px; }
.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
}
.section-heading p { margin: 0; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 800;
}
.button-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 159, 233, 0.28);
}
.button-primary .icon { filter: brightness(0) invert(1); }
.button-ghost {
  background: #fff;
  color: var(--cyan-deep);
  border: 1px solid var(--line);
}
.button-light {
  background: #fff;
  color: var(--cyan-deep);
}

/* Hero: curated ticket board */
.hero {
  padding: 46px 0 62px;
  background:
    linear-gradient(120deg, rgba(0, 159, 233, 0.12), transparent 40%),
    linear-gradient(180deg, #dff0fa 0%, var(--paper) 72%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 34px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
}
.hero-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--cyan-deep);
}
.hero-summary {
  margin: 0 0 22px;
  max-width: 34em;
  color: var(--ink-soft);
}

.qy-board {
  position: relative;
  padding: 16px;
  border-radius: 18px;
  background: #0f2433;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  animation: qy-tilt 5s ease-in-out infinite;
}
.qy-board::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  pointer-events: none;
}
.qy-ticket {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.qy-ticket img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.qy-stamp {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  border: 2px solid var(--cyan);
  color: var(--cyan-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(8deg);
}
.qy-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #f3f8fc;
  font-size: 12px;
  color: var(--muted);
}
.qy-meta strong { color: var(--ink); }

@keyframes qy-tilt {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-6px); }
}

/* Features: filter chips + lanes */
.features {
  padding: 70px 0;
  background: #fff;
}
.qy-lanes {
  display: grid;
  gap: 12px;
}
.qy-lane {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.qy-lane .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 159, 233, 0.12);
  color: var(--cyan-deep);
  font-weight: 800;
  font-size: 13px;
}
.qy-lane h4 { margin: 0 0 4px; font-size: 17px; }
.qy-lane p { margin: 0; color: var(--muted); font-size: 14px; }

/* Screens: shelf rail */
.screens {
  padding: 70px 0;
  background: linear-gradient(180deg, #e6f3fb, #f5fafd);
}
.qy-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.qy-shelf figure {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 36, 51, 0.06);
}
.qy-shelf img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.qy-shelf figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.qy-shelf b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
}
.qy-shelf span { font-weight: 800; font-size: 14px; }
.qy-guide {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--cyan);
  background: #fff;
  border-radius: 0 12px 12px 0;
}
.qy-guide h4 { margin: 0 0 8px; font-size: 17px; color: var(--cyan-deep); }
.qy-guide p { margin: 0; color: var(--muted); }

/* FAQ: ticket stubs */
.faq {
  padding: 70px 0;
  background: #fff;
}
.qy-faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.qy-faq details {
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
}
.qy-faq summary {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: default;
}
.qy-faq summary::-webkit-details-marker { display: none; }
.qy-faq .stub {
  flex: 0 0 40px;
  align-self: stretch;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--cyan);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
}
.qy-faq h3 { margin: 0; font-size: 16px; flex: 1; }
.qy-faq .faq-answer {
  margin: 10px 0 0 54px;
  color: var(--muted);
}
.qy-faq .faq-answer p { margin: 0; }

/* Official */
.official {
  padding: 46px 0;
  background: var(--cyan-deep);
  color: #fff;
}
.qy-official {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.qy-official .eyebrow { color: rgba(255, 255, 255, 0.75); }
.qy-official h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 32px); }
.qy-official p { margin: 0; max-width: 38em; color: rgba(255, 255, 255, 0.9); }
.qy-official .button-ghost {
  border-color: transparent;
  color: var(--cyan-deep);
}

/* Reviews: receipt rows */
.reviews {
  padding: 70px 0;
  background: var(--paper);
}
.qy-receipts {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.qy-receipts article {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed var(--line);
  box-shadow: inset 0 0 0 1px #fff;
}
.qy-receipts header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--muted);
}
.qy-receipts header strong { color: var(--cyan-deep); }
.qy-receipts p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Download */
.download {
  padding: 56px 0;
  background: #0f2433;
  color: #d7e7f2;
  text-align: center;
}
.qy-download { max-width: 640px; margin: 0 auto; }
.qy-download .eyebrow { color: #7fd4ff; }
.qy-download h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); color: #fff; }
.qy-download p { margin: 0 0 20px; color: rgba(215, 231, 242, 0.78); }

.site-footer {
  padding: 48px 0 28px;
  background: #08151f;
  color: #90a8b8;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
}
.footer-brand strong { color: #fff; font-size: 18px; }
.footer-brand p { margin: 0; color: #6d8698; font-size: 14px; }
.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a { color: #6d8698; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.copyright {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 18px;
  border-top: 1px solid #1a2d3c;
  color: #5d7688;
  font-size: 13px;
}
.legal {
  grid-column: 1 / -1;
  color: #5d7688;
  font-size: 13px;
}
.legal p { margin: 0 0 8px; }
.legal a { color: #90a8b8; }
.disclaimer { line-height: 1.7; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 152px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  background: var(--cyan);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.to-top::before {
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(45deg) translate(1px, 1px);
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .qy-shelf { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    margin: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }
  .primary-nav li a { display: block; padding: 12px 0; }
  .nav-download { display: none; }
  .qy-board { transform: none; animation: none; }
  .qy-lane { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .to-top { right: 14px; bottom: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .qy-board { animation: none; }
  html { scroll-behavior: auto; }
}
