/**
 * 造视 Zoovis 官网 — 主题内联，不依赖 /pub
 */
:root {
  --zo-bg: #02040a;
  --zo-electric: #4d9fff;
  --zo-purple: #a855f7;
  --zo-pink: #ec4899;
  --zo-text: #f0f4fc;
  --zo-muted: rgba(255, 255, 255, 0.55);
  --zo-panel: #12151f;
  --zo-border: rgba(255, 255, 255, 0.11);
  --zo-danger: #f87171;
  --zo-ok: #4ade80;
  --zo-gradient-brand: linear-gradient(
    135deg,
    var(--zo-electric) 0%,
    var(--zo-purple) 58%,
    var(--zo-pink) 110%
  );
  --zo-font: "SF Pro Text", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --zo-radius-lg: 16px;
  --zo-radius-md: 10px;
  --zo-electric-rgb: 77, 159, 255;
  --zo-purple-rgb: 168, 85, 247;
  --site-max: 72rem;
  --nav-h: 4rem;
}

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

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

body.zoovis-themed {
  margin: 0;
  min-height: 100vh;
  font-family: var(--zo-font);
  color: var(--zo-text);
  line-height: 1.6;
  background: var(--zo-bg);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--zo-bg);
  background-image: radial-gradient(
      ellipse 120% 80% at 0% -20%,
      rgba(var(--zo-purple-rgb), 0.22),
      transparent 55%
    ),
    radial-gradient(ellipse 100% 60% at 100% 0%, rgba(var(--zo-electric-rgb), 0.16), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(236, 72, 153, 0.08), transparent 45%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--zo-electric);
  color: #fff;
  border-radius: var(--zo-radius-md);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ── 顶栏 ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-nav__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-logo__mark {
  display: flex;
  align-items: center;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo__cn {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-logo__en {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zo-muted);
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 1rem;
}

.site-nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--zo-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav__links a:hover {
  color: var(--zo-text);
}

@media (min-width: 768px) {
  .site-nav__links {
    display: flex;
  }
}

.btn-nav-cta {
  margin-left: auto;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--zo-gradient-brand);
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(var(--zo-electric-rgb), 0.25);
}

@media (min-width: 768px) {
  .btn-nav-cta {
    margin-left: 0;
  }
}

/* ── 主内容区 ── */
#main {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.section {
  padding: 4rem 0 0;
}

.section--alt {
  margin-top: 4rem;
  padding: 3rem 1.5rem;
  border-radius: var(--zo-radius-lg);
  background: rgba(18, 21, 31, 0.55);
  border: 1px solid var(--zo-border);
}

.section--band {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border-radius: var(--zo-radius-lg);
  border: 1px solid rgba(var(--zo-electric-rgb), 0.28);
  background: linear-gradient(
    135deg,
    rgba(var(--zo-electric-rgb), 0.1),
    rgba(var(--zo-purple-rgb), 0.08)
  );
}

.section__head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zo-electric);
}

.section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.section__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--zo-muted);
}

.zoovis-brand-text {
  background: var(--zo-gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Hero ── */
.hero-panel {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
  min-height: calc(100vh - var(--nav-h) - 2rem);
  min-height: calc(100dvh - var(--nav-h) - 2rem);
}

@media (min-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 3rem;
  }
}

.hero-panel__title {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-panel__title .zoovis-brand-text {
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero-panel__title-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.hero-panel__lead {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: var(--zo-muted);
  max-width: 32rem;
}

.hero-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-panel__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--zo-muted);
}

.hero-panel__hint strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.store-badge__icon {
  width: 1.5rem;
  height: 1.5rem;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge__label {
  font-size: 0.58rem;
  opacity: 0.85;
}

.store-badge__name {
  font-size: 1.05rem;
  font-weight: 700;
}

/* 手机示意 */
.hero-panel__visual {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}

.device-frame {
  width: min(100%, 280px);
  padding: 0.65rem;
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.device-frame__screen {
  border-radius: 1.5rem;
  overflow: hidden;
  background: #0a0c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-mock {
  padding: 0.85rem;
}

.device-mock__bar {
  width: 2.5rem;
  height: 4px;
  margin: 0 auto 0.75rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
}

.device-mock__chip {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
  background: rgba(var(--zo-purple-rgb), 0.25);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.device-mock__prompt {
  font-size: 0.72rem;
  color: var(--zo-muted);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.device-mock__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.device-mock__tile {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-mock__tile--a {
  background: linear-gradient(135deg, #1e3a5f, #4d9fff);
}

.device-mock__tile--b {
  background: linear-gradient(135deg, #3b1f5c, #a855f7);
}

.device-mock__tile--c {
  background: linear-gradient(135deg, #4a1942, #ec4899);
}

.device-mock__tile--d {
  background: linear-gradient(135deg, #1a3a2e, #4ade80);
  opacity: 0.85;
}

.device-mock__cta {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: 99px;
  background: var(--zo-gradient-brand);
  color: #fff;
}

/* ── 功能卡片 ── */
.feature-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.35rem;
  border-radius: var(--zo-radius-lg);
  background: rgba(18, 21, 31, 0.85);
  border: 1px solid var(--zo-border);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(var(--zo-electric-rgb), 0.35);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  padding: 0.45rem;
  border-radius: var(--zo-radius-md);
  background: rgba(var(--zo-electric-rgb), 0.12);
  color: var(--zo-electric);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--zo-muted);
  line-height: 1.55;
}

/* ── 流程 ── */
.workflow-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .workflow-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.workflow-card {
  padding: 1.25rem;
  border-radius: var(--zo-radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-card__step {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--zo-electric);
  margin-bottom: 0.5rem;
}

.workflow-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.workflow-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--zo-muted);
}

/* ── 场景标签 ── */
.tag-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag-cloud li {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--zo-border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
}

.disclaimer {
  max-width: 40rem;
  margin: 2rem auto 0;
  padding: 1rem 1.1rem;
  font-size: 0.8rem;
  color: var(--zo-muted);
  text-align: center;
  border-radius: var(--zo-radius-md);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--zo-border);
}

/* ── 合规条 ── */
.band-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .band-grid {
    grid-template-columns: 1fr auto;
  }
}

.band-grid__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.band-grid__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--zo-muted);
  max-width: 36rem;
}

.band-grid__text strong {
  color: var(--zo-text);
}

.band-grid__text a {
  color: var(--zo-electric);
}

.band-grid__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.text-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--zo-electric);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ── FAQ ── */
.faq-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--zo-radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.faq-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--zo-muted);
}

.faq-card a {
  color: var(--zo-electric);
}

/* ── 页脚 ── */
.site-footer {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 3rem 1.25rem 2.5rem;
  border-top: 1px solid var(--zo-border);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.site-footer__logo {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.site-footer__logo span {
  font-weight: 600;
  color: var(--zo-muted);
  font-size: 0.95rem;
}

.site-footer__tagline,
.site-footer__entity {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--zo-muted);
}

.site-footer__col-title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 0.4rem;
}

.site-footer__links a {
  font-size: 0.86rem;
  color: var(--zo-muted);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--zo-electric);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ── 按钮（全站） ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-primary {
  background: var(--zo-gradient-brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--zo-purple-rgb), 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--zo-text);
  border: 1px solid var(--zo-border);
}

.btn-ghost:hover {
  border-color: rgba(var(--zo-electric-rgb), 0.45);
  color: var(--zo-electric);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--zo-text);
  border: 1px solid var(--zo-border);
}

.btn-apple {
  background: #fff;
  color: #000;
  width: 100%;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── 核销页 / 窄版布局 ── */
.wrap {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.www-site .wrap {
  max-width: none;
}

.page-hero {
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 800;
}

.page-hero .site-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.92rem;
  color: var(--zo-muted);
}

.card {
  background: var(--zo-panel);
  border: 1px solid var(--zo-border);
  border-radius: var(--zo-radius-lg);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1rem;
}

.card h2 {
  font-size: 1rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.card p,
.card li {
  font-size: 0.9rem;
  color: var(--zo-muted);
}

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.card a {
  color: var(--zo-electric);
}

.muted {
  font-size: 0.85rem;
  color: var(--zo-muted);
}

.field {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: var(--zo-radius-md);
  border: 1px solid var(--zo-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--zo-text);
  font-size: 1rem;
  font-family: inherit;
}

.field:focus {
  outline: none;
  border-color: rgba(var(--zo-electric-rgb), 0.55);
  box-shadow: 0 0 0 2px rgba(var(--zo-electric-rgb), 0.2);
}

.label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.85rem;
}

.status {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--zo-radius-md);
  font-size: 0.88rem;
}

.status.ok {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: var(--zo-ok);
}

.status.err {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: var(--zo-danger);
}

.status.info {
  background: rgba(var(--zo-electric-rgb), 0.1);
  border: 1px solid rgba(var(--zo-electric-rgb), 0.28);
  color: var(--zo-text);
}

.site-foot {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--zo-muted);
  text-align: center;
}

.site-foot a {
  color: var(--zo-electric);
}

.hidden {
  display: none !important;
}

.redeem-page .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
}

.redeem-page .btn-secondary {
  width: 100%;
  margin-top: 0.5rem;
}
