:root {
  --ink: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --cyan: #0ea5e9;
  --line: rgba(15, 23, 42, .08);
  --paper: #f5f7fb;
  --card: #ffffff;
  --night: #0b1220;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 46% at 92% 0%, rgba(37, 99, 235, .12), transparent 46%),
    radial-gradient(ellipse 50% 36% at 8% 8%, rgba(14, 165, 233, .1), transparent 42%),
    linear-gradient(180deg, #f8fafc, #eef2f7);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", sans-serif;
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
main, .section, .shell, .hero-section, .entry-stage, .pass-card, .scan-card, .order-box, .contact-card {
  max-width: 100%;
  min-width: 0;
}

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.beam {
  position: absolute;
  filter: blur(48px);
  opacity: .55;
}
.beam-a {
  width: 42vw; height: 42vw; left: -10%; top: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.28), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.beam-b {
  width: 36vw; height: 36vw; right: -8%; top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.22), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
.beam-c {
  width: 48vw; height: 22vw; left: 26%; bottom: -8%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(15,23,42,.06), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: radial-gradient(rgba(15,23,42,.4) .5px, transparent .6px);
  background-size: 4px 4px;
}
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(3%, -4%, 0); }
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 1;
  width: 26vw; height: 26vw; max-width: 340px; max-height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.14), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
}
body.is-pointer .cursor-glow { opacity: 1; }
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 50; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  background: rgba(248, 250, 252, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled { background: rgba(255,255,255,.94); }

.shell, .nav-shell, .hero-section {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; }
.brand-mark {
  width: 36px; height: 36px; overflow: hidden; border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(37,99,235,.12);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-links {
  position: relative; display: flex; align-items: center; gap: 2px;
  color: #475569; font-size: 14px; font-weight: 700;
}
.nav-links a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; }
.nav-links a.is-active { color: var(--ink); }
.nav-indicator {
  position: absolute; bottom: 8px; left: 0; height: 2px; width: 0; border-radius: 99px;
  background: var(--accent); transition: transform .28s ease, width .28s ease;
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.text-btn { min-height: 36px; display: inline-flex; align-items: center; padding: 0 10px; color: var(--accent); font-size: 14px; font-weight: 800; }
.menu-toggle, .mobile-menu, .menu-backdrop { display: none; }

.hero-section {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 64px; padding: 80px 0 88px;
}
.eyebrow {
  display: inline-flex; margin: 0 0 18px;
  color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(37,99,235,.06);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 16px; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.12;
  font-weight: 800; letter-spacing: -.03em; text-wrap: balance;
  color: var(--ink);
  overflow-wrap: anywhere;
}
h2 { margin-bottom: 10px; font-size: clamp(26px, 3vw, 36px); line-height: 1.22; font-weight: 800; letter-spacing: -.02em; }
h3 { margin-bottom: 8px; font-size: 20px; font-weight: 800; }
.hero-copy > p, .section-heading p, .contact-copy p { color: var(--muted); }
.hero-copy > p { max-width: 34em; }
.hero-copy { min-width: 0; }
.muted { margin: 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.primary-btn, .secondary-btn, .ghost-btn, .menu-close {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; border: 0; border-radius: 12px; font-size: 15px; font-weight: 800;
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform .16s ease, filter .16s ease, background .16s ease;
}
.primary-btn::after, .secondary-btn::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255,255,255,.5) 0%, transparent 58%);
  opacity: 0;
  transform: scale(.55);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.hero-copy .hero-actions .primary-btn,
.hero-copy .hero-actions .secondary-btn {
  min-width: min(176px, 100%);
  padding: 0 32px;
}
.primary-btn {
  color: #fff;
  background: linear-gradient(180deg, #4f8cff 0%, #2563eb 54%, #1d4ed8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.primary-btn:hover { filter: brightness(1.05); }
.primary-btn.compact {
  min-height: 36px; padding: 0 14px; border-radius: 10px;
}
.secondary-btn {
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.12);
}
.secondary-btn:hover { background: #f8fafc; }
.primary-btn:active, .secondary-btn:active {
  transform: scale(.97);
  filter: brightness(1.06);
}
.primary-btn:active::after, .secondary-btn:active::after {
  opacity: 1;
  transform: scale(1);
}

.hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.hero-points article {
  min-height: 92px; padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.hero-points article:first-child {
  background: linear-gradient(180deg, #15233d, #0f172a);
  border-color: transparent;
}
.hero-points article:first-child span { color: #fff; }
.hero-points article:first-child strong { color: rgba(255,255,255,.68); }
.hero-points span { display: block; color: var(--accent); font-size: 22px; font-weight: 800; }
.hero-points strong { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }

.hero-visual {
  position: relative; overflow: hidden; border-radius: 24px; background: #dbe4f0;
  box-shadow: 0 28px 60px rgba(15, 23, 42, .12);
}
.hero-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; animation: ken 18s ease-in-out infinite alternate; }
@keyframes ken { from { transform: scale(1); } to { transform: scale(1.05); } }
.visual-card {
  position: absolute; left: 18px; bottom: 18px; width: min(220px, calc(100% - 36px));
  padding: 16px 18px; border-radius: 16px; color: #eef4ff;
  background: rgba(11, 18, 32, .82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.visual-card span { display: block; color: #93c5fd; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.visual-card strong { display: block; margin: 6px 0 4px; font-size: 28px; }
.visual-card p { margin: 0; color: rgba(238,244,255,.7); font-size: 13px; }

.section { width: 100%; position: relative; z-index: 2; padding: 88px 0; }
.section-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { margin: 0 auto; max-width: 36em; }
.section-heading h2::before {
  content: ""; display: block; width: 28px; height: 3px; margin: 0 auto 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
}
.entry-section { background: linear-gradient(180deg, rgba(37,99,235,.05), transparent); }
.services-section { background: rgba(255,255,255,.42); }
.resource-section { background: transparent; }
.order-section { background: linear-gradient(180deg, rgba(37,99,235,.05), transparent); }
.contact-wrap { padding-bottom: 48px; }

.service-grid, .process-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.service-grid article, .resource-copy article, .contact-card, .pass-card, .scan-card, .order-box {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); box-shadow: 0 14px 32px rgba(15,23,42,.05);
}
.service-grid article { min-height: 220px; padding: 28px 24px; background: #fff; }
.service-grid span, .process-list span {
  display: block; margin-bottom: 28px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em;
}
.service-grid p, .resource-copy p, .scan-card p { margin: 0; color: var(--muted); }

.entry-stage { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 16px; }
.entry-stage.is-single { grid-template-columns: 1fr; }
.entry-stage.is-qr-only .scan-card {
  width: min(420px, 100%);
  justify-self: center;
}
.pass-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 320px; }
.pass-meta { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.pass-meta span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.pass-meta strong { display: block; margin: 10px 0 8px; font-size: 28px; }
.pass-meta p { margin: 0 0 22px; color: var(--muted); overflow-wrap: anywhere; }
.pass-meta .primary-btn { align-self: flex-start; }
.pass-art { display: block; min-height: 100%; background: var(--night); }
.pass-art img { width: 100%; height: 100%; object-fit: cover; }
.scan-card {
  display: grid; align-content: center; justify-items: center; text-align: center;
  gap: 14px; padding: 28px 22px;
  background:
    radial-gradient(circle at 80% 12%, rgba(37,99,235,.12), transparent 42%),
    linear-gradient(180deg, #eef4ff, #e8eef8);
}
.scan-card span { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.scan-card p { margin-bottom: 4px; overflow-wrap: anywhere; font-size: 13px; }
.qr-image {
  width: 132px; height: 132px; padding: 10px; border-radius: 18px;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.16);
}

.process-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(37,99,235,.28), transparent 22rem),
    linear-gradient(160deg, #0b1220, #13233f 58%, #0b1220);
  color: #eef4ff;
}
.process-section .section-heading p, .process-list p { color: #93a4c4; }
.process-section h2, .process-list h3 { color: #eef4ff; }
.process-section .section-heading h2::before { background: #60a5fa; }
.process-list article {
  min-height: 210px; padding: 24px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px;
  background: rgba(255,255,255,.04);
}
.process-list span { color: #93c5fd; }

.resource-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 16px; }
.resource-copy { display: grid; gap: 16px; }
.resource-copy article, .resource-panel { padding: 28px; }
.resource-panel {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%;
  border-radius: 20px; color: #eef4ff;
  background: linear-gradient(160deg, #3b82f6, #1d4ed8);
}
.resource-panel span { display: block; margin-bottom: 14px; color: #bfdbfe; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.resource-panel p { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.55; }

.order-box {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 32px;
  background: linear-gradient(135deg, #fff, #eef4ff);
}
.order-box .hero-actions { margin: 0; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-card { background: #fff; }
.contact-card article { padding: 20px 22px; }
.contact-card article + article { border-top: 1px solid var(--line); }
.contact-card span { display: block; margin-bottom: 6px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.contact-card strong { font-size: 18px; overflow-wrap: anywhere; }

.site-footer { position: relative; z-index: 2; padding: 28px 0 36px; color: #475569; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.site-footer p { margin: 4px 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 14px; }
.footer-legal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-legal p { margin: 0; }
.footer-icp { color: #64748b; white-space: nowrap; }
.mobile-cta { display: none; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:active { transform: scale(.94); }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 99px;
    transition: transform .2s ease, opacity .2s ease;
  }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-backdrop {
    position: fixed; inset: 0; z-index: 1000; display: block;
    visibility: hidden; background: rgba(11,18,32,.46); opacity: 0; transition: opacity .22s ease;
  }
  .mobile-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 1001; display: flex;
    width: min(86vw, 360px); flex-direction: column;
    padding: 18px 18px 22px;
    background:
      radial-gradient(circle at 88% 8%, rgba(37,99,235,.16), transparent 16rem),
      linear-gradient(180deg, #f8fafc, #eef4ff);
    box-shadow: -18px 0 40px rgba(15,23,42,.16);
    transform: translateX(100%);
    transition: transform .24s cubic-bezier(.16,1,.3,1);
    overflow: auto;
  }
  .mobile-menu-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px;
  }
  .menu-close {
    position: relative;
    width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 12px;
    background: #fff; box-shadow: inset 0 0 0 1px var(--line);
    -webkit-tap-highlight-color: transparent;
  }
  .menu-close::before, .menu-close::after {
    content: ""; position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink);
  }
  .menu-close::before { transform: rotate(45deg); }
  .menu-close::after { transform: rotate(-45deg); }
  .mobile-menu-links { display: grid; gap: 4px; }
  .mobile-menu-links a {
    min-height: 52px; display: flex; align-items: center;
    padding: 0 14px; border-radius: 14px; font-size: 17px; font-weight: 800;
    -webkit-tap-highlight-color: transparent;
    transition: transform .16s ease, background .16s ease;
  }
  .mobile-menu-links a:active {
    background: rgba(37,99,235,.08);
    transform: scale(.98);
  }
  .mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 18px; }
  .mobile-menu-actions .primary-btn,
  .mobile-menu-actions .secondary-btn { width: 100%; min-width: 0; padding: 0 12px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-backdrop { visibility: visible; opacity: 1; }
  body.menu-open .mobile-menu { transform: none; }
}
@media (max-width: 980px) {
  .hero-section, .entry-stage, .pass-card, .resource-layout, .contact-section, .order-box { grid-template-columns: 1fr; }
  .service-grid, .process-list { grid-template-columns: 1fr 1fr; }
  .shell, .nav-shell, .hero-section { width: min(1120px, calc(100% - 32px)); }
  .hero-copy .hero-actions .primary-btn,
  .hero-copy .hero-actions .secondary-btn { min-width: 0; padding: 0 18px; }
  .hero-visual img { animation: none; }
  .cursor-glow { display: none; }
}
@media (max-width: 720px) {
  .shell, .nav-shell, .hero-section { width: min(1120px, calc(100% - 40px)); }
  .hero-section { padding: 28px 0 16px; gap: 28px; }
  .hero-section + .section { padding-top: 40px; }
  .hero-copy .hero-actions .primary-btn,
  .hero-copy .hero-actions .secondary-btn { padding: 0 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
  }
  .hero-points { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .hero-points article { min-height: 84px; padding: 12px 10px; }
  .hero-points span { font-size: 16px; }
  .hero-points strong { font-size: 11px; }
  .hero-visual { display: none; }
  .service-grid, .process-list { grid-template-columns: 1fr; }
  .pass-meta, .scan-card, .order-box, .contact-card article, .resource-copy article { padding: 20px 16px; }
  .scan-card p, .pass-meta p, .contact-card strong { word-break: break-all; }
  .footer-row, .footer-links { flex-direction: column; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(248,250,252,.96); border-top: 1px solid var(--line);
    transform: translate3d(0, 0, 0);
    transition: transform .42s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
  }
  .mobile-cta.is-away,
  body.menu-open .mobile-cta {
    transform: translate3d(0, calc(100% + 12px), 0);
    pointer-events: none;
  }
  .site-footer { padding-bottom: 96px; }
  .mobile-cta .primary-btn, .mobile-cta .secondary-btn { width: 100%; min-width: 0; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .beam, .hero-visual img { animation: none; }
  .mobile-cta { transition: none; }
}
