:root {
  --brand: #ff6b35;
  --brand-deep: #e55a2b;
  --ink: #1a1f28;
  --ink-soft: #5a6472;
  --paper: #f6f7f9;
  --white: #ffffff;
  --line: rgba(26, 31, 40, 0.1);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-nav.is-solid {
  box-shadow: 0 6px 20px rgba(26, 31, 40, 0.04);
}

/* 仅首页首屏：透明底 + 白字；滚动后恢复默认深色导航 */
.site-nav.is-overlay:not(.is-solid) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav-inner {
  width: min(1080px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.site-nav.is-overlay:not(.is-solid) .brand-name {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-nav.is-overlay:not(.is-solid) .nav-links {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a {
  color: inherit;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--brand-deep);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-nav.is-overlay:not(.is-solid) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #14181f;
}

.hero-home {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 24, 0.45) 0%, rgba(12, 16, 24, 0.35) 40%, rgba(12, 16, 24, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 0 64px;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-title {
  margin: 0 0 14px;
  max-width: 14em;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-desc {
  margin: 0 0 28px;
  max-width: 32em;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 48px;
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-hero p {
  margin: 0;
  max-width: 36em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-muted {
  background: #fff;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.section-desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Home biz preview */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.biz-card {
  display: block;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.biz-card:hover {
  border-color: rgba(255, 107, 53, 0.45);
  transform: translateY(-2px);
}

.biz-card .biz-no {
  display: block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.biz-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.biz-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Business list page */
.biz-list {
  display: grid;
  gap: 14px;
}

.biz-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.biz-item .biz-no {
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 700;
}

.biz-item h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.biz-item p {
  margin: 0;
  color: var(--ink-soft);
}

/* Platform */
.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item .no {
  color: var(--brand);
  font-weight: 700;
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
}

.platform-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.qr-box {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.qr-box img {
  width: 200px;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 12px;
}

.qr-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 32px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(120deg, #1a1f28, #c6532a);
}

.cta-strip-copy {
  flex: 1 1 260px;
}

.cta-strip h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cta-strip-qr {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-strip-qr img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
}

.cta-strip-qr span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* About */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.info-item {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.info-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.info-item strong {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand img {
  width: auto;
  height: 28px;
  margin-top: 2px;
}

.footer-name {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.footer-sub {
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.footer-link {
  color: var(--ink-soft);
}

.footer-link:hover {
  color: var(--brand);
}

.footer-police {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-police img {
  width: 16px;
  height: 18px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    box-shadow: 0 12px 24px rgba(26, 31, 40, 0.06);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-cta {
    margin-top: 10px;
    border-bottom: 0;
  }

  .biz-grid {
    grid-template-columns: 1fr;
  }

  .platform-panel,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip-qr {
    align-self: center;
  }
}
