:root {
  --page-bg: rgba(234, 243, 255, 0.93);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
  --accent-blue: #2563eb;
  --accent-emerald: #059669;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  min-height: 100vh;
  background: url("assets/page-bg.jpg")/*tpa=https://www.06wm.cn/assets/page-bg.jpg*/ center/cover fixed no-repeat;
  color: var(--text-dark);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.site-wrapper {
  width: min(1200px, calc(100% - 6rem));
  margin: 0 auto;
  padding: 3.5rem 0 2rem;
  flex: 1;
}

@media (max-width: 1024px) {
  .site-wrapper {
    width: min(1100px, calc(100% - 3rem));
  }
}

@media (max-width: 640px) {
  .site-wrapper {
    width: calc(100% - 1.5rem);
    padding: 3rem 0 1.5rem;
  }
}

.logo-pin {
  position: fixed;
  left: 28px;
  top: 24px;
  z-index: 50;
}

.logo-pin img {
  width: 110px;
  border-radius: 999px;
  display: block;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}

@media (max-width: 640px) {
  .logo-pin {
    left: 16px;
    top: 16px;
  }

  .logo-pin img {
    width: 78px;
  }
}

.hero {
  position: relative;
  margin: 0 auto 2.5rem;
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 45px 90px rgba(8, 25, 80, 0.28);
}

.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  padding: 4rem 2rem 3rem;
  text-align: center;
  visibility: hidden;
  pointer-events: none;
}

.hero p {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #bfdbfe;
}

.hero p.body-text {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: #e2e8f0;
  margin-top: 0.75rem;
}

.hero h1 {
  margin: 1rem auto 0.5rem;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  letter-spacing: 0.08em;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.25);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
}

.btn-emerald {
  background: var(--accent-emerald);
  color: #fff;
  box-shadow: 0 18px 35px rgba(5, 150, 105, 0.35);
}

.btn-outline {
  border: 1px solid var(--accent-blue);
  background: #fff;
  color: var(--accent-blue);
}

.btn:hover {
  transform: translateY(-2px);
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .main-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
}

.sticky-panel {
  position: static;
  top: auto;
  align-self: stretch;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--card-bg);
  border-radius: 32px;
  border: 1px solid var(--border);
  padding: 1.8rem;
  box-shadow: var(--card-shadow);
}

.sticky-panel .card {
  padding: 1.4rem;
}

@media (max-width: 768px) {
  .sticky-panel .card {
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .sticky-panel {
    position: sticky;
    top: 1.5rem;
    align-self: flex-start;
  }
}

.card h3 {
  margin-top: 0;
  color: var(--text-dark);
}

.page-title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  color: var(--text-dark);
}

.card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0.75rem 0.55rem 1.5rem;
  border-radius: 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-left: 3px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.nav-list a:hover {
  background: rgba(217, 119, 6, 0.08);
  color: #b45309;
  border-left-color: #d97706;
}

.contact-card strong {
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-card p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
}

.table-wrap {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.table th {
  text-align: center;
}

.table td {
  text-align: center;
}

.table thead {
  background: #f8fafc;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #475569;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 600;
}

.feature-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.feature-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
  text-align: center;
  padding: 1.2rem;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
}

.feature-card h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

.feature-card .feature-icon {
  width: 24px;
  height: 28px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #2563eb;
  background: none;
  box-shadow: none;
}

.notice-list,
.notice-danger {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notice-list li {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.85rem 1.2rem;
  color: var(--text-muted);
}

.notice-danger li {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 20px;
  padding: 0.85rem 1.2rem;
  color: #be123c;
}

.notice-double {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.wechat-card {
  text-align: center;
}

.wechat-card__content {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

.wechat-card__qr {
  width: min(240px, 60vw);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.15);
  background: #f8fafc;
  padding: 0.75rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  object-fit: contain;
}

.wechat-card__note {
  margin: 0;
  color: #0f172a;
  font-weight: 600;
}

.section-block {
  margin-top: 1.75rem;
}

.download-card {
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), #fff);
}

.section-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-list article {
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.8rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.section-list article h2 {
  margin-top: 0;
  color: #047857;
}

.section-list article p {
  margin: 0.4rem 0;
  line-height: 1.7;
}

.section-list article ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.download-grid .card {
  padding: 1.5rem;
}

.download-grid .card ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.download-config {
  grid-column: span 2;
  background: rgba(59, 130, 246, 0.08);
}

.download-config .config-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.download-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.download-links a {
  display: block;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 1.2rem;
  background: #f8fafc;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition: border 0.2s ease, transform 0.2s ease;
}

.download-links a:hover {
  border-color: var(--accent-emerald);
  transform: translateY(-2px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer {
  width: 100%;
  margin: 3rem 0 0;
  background: #113665;
  color: #bfdbfe;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
}

.footer p {
  margin: 0.2rem 0;
}

.invite-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}

.invite-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.invite-modal__backdrop {
  position: absolute;
  inset: 0;
}

.invite-modal__dialog {
  position: relative;
  width: min(420px, 92vw);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #2b1c0f 0%, #1a140e 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 158, 11, 0.45);
  border: 1px solid #f59e0b;
  text-align: center;
  color: #fef3c7;
  z-index: 1;
}

.invite-modal__header {
  margin-bottom: 0.75rem;
}

.invite-modal__eyebrow {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #fcd34d;
  font-weight: 700;
}

.invite-modal__subtitle {
  margin: 0.5rem 0 0;
  color: #f8fafc;
  font-size: 0.95rem;
}

.invite-modal__hint {
  margin: 0.4rem 0 1.2rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.invite-modal__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.invite-modal__qr {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  margin: 0.5rem 0 1.1rem;
}

.invite-modal__qr img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
  padding: 0.75rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(252, 211, 77, 0.45);
}

.invite-modal__note {
  margin: 0;
  color: #fcd34d;
  font-weight: 700;
}

.invite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.invite-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.invite-btn--primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #3b2a0f;
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.35);
}

.invite-btn--ghost {
  background: linear-gradient(135deg, #44403c, #292524);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 520px) {
  .invite-modal__dialog {
    padding: 1.5rem 1.1rem 1.25rem;
  }

  .invite-modal__eyebrow {
    letter-spacing: 0.08em;
  }
}
