:root {
  --bg:        #08131F;
  --bg-alt:    #0A1622;
  --bg-deep:   #060F18;
  --bg-deeper: #04090F;
  --card:      #0F1F30;
  --card-2:    #12283A;
  --card-hover:#13263A;

  --line:        rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --text:   #FFFFFF;
  --text-2: #93A9BA;
  --text-3: #7A93A4;
  --text-4: #5E7A8C;
  --text-5: #4F6675;

  --mint:      #2DD4BF;
  --mint-soft: #7FE3D5;
  --mint-ink:  #04231F;
  --sky:       #57B8FF;
  --sky-soft:  #9CD4FF;
  --amber:     #FFB454;
  --amber-soft:#FFCB84;

  --radius-card: 24px;
  --radius-md:   18px;
  --radius-btn:  13px;

  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-cjk: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "Inter Tight", "Inter", "SF Pro Display", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}


*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cjk);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--mint); color: var(--mint-ink); }

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 999;
  padding: 12px 22px;
  background: var(--mint); color: var(--mint-ink);
  font-weight: 600; border-radius: 0 0 12px 12px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }


.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}
.container--vf { max-width: 720px; }


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 34px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--sm { padding: 11px 24px; font-size: 15px; }

.btn--mint {
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: 0 0 0 rgba(45, 212, 191, 0);
}
.btn--mint:hover {
  background: #4ee0cd;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(45, 212, 191, .55);
}

.btn--ghost {
  background: #0E1E2E;
  color: #C8D8E4;
  border: 1px solid var(--line-strong);
  font-weight: 500;
}
.btn--ghost:hover {
  background: #14293C;
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: .62;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }


.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.badge--mint {
  background: #10283A;
  color: var(--mint-soft);
  border: 1px solid rgba(45, 212, 191, .35);
}
.badge--plain {
  background: rgba(255, 255, 255, .04);
  color: var(--text-3);
  border: 1px solid var(--line);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--mint);
  flex: 0 0 auto;
  animation: badge-pulse 2.4s var(--ease) infinite;
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.78); }
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 19, 31, .82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 15, 24, .94);
  border-bottom-color: rgba(255, 255, 255, .12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
  max-width: 720px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand__mark {
  width: 38px; height: 38px;
  flex: 0 0 auto;
  display: block;
  border-radius: 23%;
  object-fit: cover;
}

.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__text strong { font-size: 19px; font-weight: 700; line-height: 1.2; }
.brand__text em {
  font-family: var(--font-num);
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--text-4);
  line-height: 1.2;
}


.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.faq__item[open] { background: var(--card-hover); border-color: var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chevron {
  width: 20px; height: 20px;
  flex: 0 0 auto;
  color: var(--text-3);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); color: var(--mint); }
.faq__a {
  padding: 0 28px 24px;
  margin-top: -6px;
  font-size: 15px;
  color: #8AA0B0;
  line-height: 1.85;
}


.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer__bottom {
  background: var(--bg-deeper);
  padding-top: 26px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__note { font-size: 12px; color: var(--text-5); line-height: 1.75; }
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__legal p { font-size: 13px; color: var(--text-4); }
.footer__filings { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer__filings a { transition: color .2s var(--ease); }
.footer__filings a:hover { color: var(--mint); }


.legal__note {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: #10283A;
  border: 1px solid rgba(45, 212, 191, .28);
  color: var(--mint-soft);
  font-size: 14px;
  line-height: 1.85;
}
.legal__note strong { color: #FFFFFF; font-weight: 600; }


.nf { min-height: 56vh; display: flex; align-items: center; }
.nf__lead { margin-top: 16px; }
.nf__actions { margin-top: 30px; }
.nf__hint { margin-top: 26px; font-size: 13px; color: var(--text-3); line-height: 1.85; max-width: 46em; }
.nf__hint a { color: var(--mint); text-underline-offset: 3px; }
.nf__hint a:hover { color: var(--mint-soft); }


.vf { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }

.vf-card {
  padding: clamp(28px, 4.4vw, 44px);
  border-radius: var(--radius-card);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(16, 64, 61, .34) 0%, rgba(12, 25, 38, 0) 52%),
    linear-gradient(180deg, #10212F 0%, #0C1926 100%);
  box-shadow: 0 24px 64px -32px rgba(0, 0, 0, .65);
}

.vf-card__head {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}

.vf-card__title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.vf-card__sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 30em;
}


.vf-seal {
  position: relative;
  flex: 0 0 auto;
  width: clamp(76px, 9vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: radial-gradient(closest-side, rgba(45, 212, 191, .13), rgba(45, 212, 191, 0) 74%);
}

.vf-seal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 212, 191, .38);
}

.vf-seal::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px dashed rgba(45, 212, 191, .22);
  animation: vf-spin 28s linear infinite;
}

.vf-seal__ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(45, 212, 191, 0) 0%, rgba(45, 212, 191, .55) 26%, rgba(45, 212, 191, 0) 42%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
  animation: vf-spin 3.6s linear infinite;
}

.vf-seal__icon { width: 42%; height: 42%; display: none; }
.vf-card[data-state="ok"]    .vf-seal__icon--ok,
.vf-card[data-state="bad"]   .vf-seal__icon--bad,
.vf-card[data-state="empty"] .vf-seal__icon--qr { display: block; }

.vf-card[data-state="loading"] .vf-seal { animation: vf-breathe 1.6s var(--ease) infinite; }

.vf-card[data-state="bad"] .vf-seal { color: var(--amber); }
.vf-card[data-state="bad"] .vf-seal::before { border-color: rgba(255, 180, 84, .42); }
.vf-card[data-state="bad"] .vf-seal::after { border-color: rgba(255, 180, 84, .24); }
.vf-card[data-state="bad"] .vf-seal__ring {
  background: conic-gradient(from 0deg, rgba(255, 180, 84, 0) 0%, rgba(255, 180, 84, .5) 26%, rgba(255, 180, 84, 0) 42%);
}

@keyframes vf-spin { to { transform: rotate(360deg); } }
@keyframes vf-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(.96); }
}
@keyframes vf-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}


.vf-state { padding-top: clamp(18px, 2.6vw, 24px); }

.vf-scan {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--card-2);
  border: 1px solid rgba(45, 212, 191, .28);
  color: var(--mint-soft);
  font-size: 13.5px;
  line-height: 1.8;
  animation: vf-rise .55s var(--ease) both;
}

.vf-scan__icon { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; display: none; }
.vf-card[data-state="ok"]  .vf-scan__icon--ok,
.vf-card[data-state="bad"] .vf-scan__icon--bad { display: block; }

.vf-card[data-state="bad"] .vf-scan {
  border-color: rgba(255, 180, 84, .3);
  background: rgba(255, 180, 84, .07);
  color: var(--amber-soft);
}

.vf-note {
  margin-top: 14px;
  padding: 13px 16px;
  border-left: 2px solid var(--amber);
  background: rgba(255, 180, 84, .07);
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.8;
}


.vf-reason {
  font-size: 16px;
  color: var(--amber-soft);
  line-height: 1.8;
}

.vf-guide { margin-top: 14px; display: grid; gap: 9px; }
.vf-guide li {
  position: relative;
  padding-left: 19px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.85;
}
.vf-guide li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.vf-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.9;
  text-wrap: pretty;
}


.vf-webview-tip {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 180, 84, .3);
  background: rgba(255, 180, 84, .07);
}
.vf-webview-tip p { font-size: 13.5px; color: var(--amber-soft); line-height: 1.8; }
.vf-webview-tip__how { margin-top: 4px; color: var(--text-2); }

.vf-webview-tip.is-flash { animation: vf-flash .9s var(--ease) 2; }
@keyframes vf-flash {
  0%, 100% { border-color: rgba(255, 180, 84, .3); background: rgba(255, 180, 84, .07); }
  40% { border-color: rgba(255, 180, 84, .75); background: rgba(255, 180, 84, .16); }
}

.vf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.vf-fallback {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(4, 9, 15, .38);
}
.vf-fallback__title { font-size: 16px; font-weight: 600; }
.vf-fallback__text {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
}
.vf-fallback__retry { margin-top: 12px; }

.vf-linkbtn {
  padding: 2px 0;
  border-bottom: 1px solid rgba(45, 212, 191, .5);
  font-size: 14px;
  color: var(--mint);
  line-height: 1.7;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.vf-linkbtn:hover { color: var(--mint-soft); border-color: var(--mint-soft); }


.vf-what { margin-top: clamp(56px, 7vw, 84px); }
.vf-what__title {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.vf-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.vf-step {
  padding: 24px 22px;
  border-radius: var(--radius-card);
  background: var(--card);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.vf-step:hover {
  background: var(--card-hover);
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.vf-step__num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}
.vf-step__title { font-size: 17px; font-weight: 600; line-height: 1.4; }
.vf-step__desc { font-size: 13.5px; color: var(--text-3); line-height: 1.8; }

.vf-what .btn-row { margin-top: 26px; }


.dl-head {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-bottom: clamp(22px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.dl-head__icon {
  width: clamp(76px, 9vw, 96px);
  height: auto;
  flex: 0 0 auto;
  border-radius: 23%;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6), 0 0 0 1px rgba(45, 212, 191, .12);
}

.dl-head__title {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.dl-head__slogan {
  margin-top: 6px;
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--text-2);
  line-height: 1.7;
}

.dl-head__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.dl-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-top: clamp(22px, 3vw, 28px);
}

.dl-buttons {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.dl-buttons .btn { width: 100%; }

.dl-note {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.8;
  max-width: 40em;
}
.dl-note a { color: var(--mint-soft); }

.dl-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; }
.dl-qr__frame {
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s var(--ease);
}
.dl-qr:hover .dl-qr__frame { border-color: rgba(255, 255, 255, .3); }
.dl-qr__hint { font-size: 12px; line-height: 1.6; text-align: center; color: var(--text-2); }
.dl-qr__label { font-size: 13px; font-weight: 600; color: var(--text-3); }

.dl-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.vf-faq { margin-top: clamp(48px, 6vw, 68px); }
.vf-faq .faq { margin-top: 24px; }


@media (max-width: 1240px) {
  .container { padding-left: 56px; padding-right: 56px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .container { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 640px) {
  .container { padding-left: 22px; padding-right: 22px; }

  .btn { padding: 16px 26px; font-size: 15px; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }

  .faq__q { padding: 20px 22px; font-size: 16px; }
  .faq__a { padding: 0 22px 20px; }

  .vf-card__head { gap: 18px; }

  .dl-head { gap: 18px; }
  .dl-body { flex-direction: column; align-items: stretch; gap: 26px; }
  .dl-qr { align-items: center; }
  .dl-feats { grid-template-columns: minmax(0, 1fr); }

  .vf-steps { grid-template-columns: minmax(0, 1fr); }

  .vf-actions { flex-direction: column; align-items: stretch; }
  .vf-actions .btn { width: 100%; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


@media print {
  .site-header, .vf-actions, .vf-webview-tip, .vf-fallback, .vf-seal::after { display: none; }
  .vf-card { border-color: #ccc; background: #fff; box-shadow: none; }
  body { background: #fff; color: #000; }
}
