:root {
  --ink: #0b0c0a;
  --ink-soft: rgba(11, 12, 10, 0.68);
  --paper: #f7f4e8;
  --paper-deep: #e7dfc7;
  --acid: #c9ff2f;
  --mint: #5dff9b;
  --pink: #ff3fa4;
  --cyan: #36d7ff;
  --warning: #ffcf25;
  --line: rgba(247, 244, 232, 0.2);
  --dark: #080908;
  --dark-2: #10130e;
  --shadow-hard: 8px 8px 0 #000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(90deg, rgba(247, 244, 232, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 244, 232, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(201, 255, 47, 0.2), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(255, 63, 164, 0.24), transparent 30%),
    linear-gradient(145deg, #060706 0%, #11190f 48%, #070806 100%);
  background-size: 26px 26px, 26px 26px, auto, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 7px, 9px 100%;
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(247, 244, 232, 0.16);
  background: rgba(8, 9, 8, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.signal-strip,
.case-card-head,
.contact-line,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 1000;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 8px;
  background: var(--acid);
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-7deg);
}

.nav-links {
  gap: 24px;
  color: rgba(247, 244, 232, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--acid);
}

.nav-cta {
  padding: 10px 16px;
  color: var(--ink);
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 6px;
  background: var(--warning);
  box-shadow: 4px 4px 0 #000;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 80px);
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 1000;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(72px, 15vw, 180px);
  line-height: 0.86;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow: 7px 7px 0 #000, 10px 10px 0 rgba(255, 63, 164, 0.72);
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(247, 244, 232, 0.82);
  font-size: clamp(18px, 2.3vw, 30px);
  line-height: 1.45;
  font-weight: 800;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  font-weight: 1000;
  border-radius: 7px;
}

.primary-action {
  gap: 16px;
  color: var(--ink);
  border: 2px solid #000;
  background: var(--acid);
  box-shadow: var(--shadow-hard);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover,
.nav-cta:hover,
.contact-line button:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #000;
}

.primary-action.compact {
  width: fit-content;
}

.primary-action.light {
  background: var(--paper);
}

.secondary-action {
  color: var(--paper);
  border: 1px solid rgba(247, 244, 232, 0.28);
  background: rgba(247, 244, 232, 0.08);
}

.action-arrow {
  font-size: 18px;
}

.signal-strip {
  flex-wrap: wrap;
  gap: 10px;
}

.signal-strip span {
  padding: 8px 11px;
  color: rgba(247, 244, 232, 0.72);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(247, 244, 232, 0.16);
  border-radius: 999px;
  background: rgba(247, 244, 232, 0.06);
}

.hero-board {
  position: relative;
  min-height: 540px;
}

.case-card {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin-left: auto;
  padding: 18px;
  color: var(--ink);
  border: 3px solid #000;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 18px 18px 0 #000;
  transform: rotate(2deg);
}

.case-card::before {
  position: absolute;
  top: -18px;
  left: 26px;
  width: 140px;
  height: 36px;
  content: "";
  border: 2px solid #000;
  background: rgba(255, 207, 37, 0.82);
  transform: rotate(-6deg);
}

.case-card-head {
  justify-content: space-between;
  margin-bottom: 14px;
  color: rgba(11, 12, 10, 0.68);
  font-size: 12px;
  font-weight: 1000;
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 6px;
  background: #111;
}

.case-type {
  margin: 18px 0 8px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 1000;
}

.case-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 800;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  color: #000;
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 5px;
  box-shadow: 5px 5px 0 #000;
}

.note-one {
  top: 58px;
  left: 6px;
  background: var(--cyan);
  transform: rotate(-10deg);
}

.note-two {
  right: 8px;
  bottom: 46px;
  background: var(--pink);
  transform: rotate(9deg);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 2px solid rgba(247, 244, 232, 0.2);
  border-radius: 8px;
  background: rgba(247, 244, 232, 0.16);
}

.intro-item {
  min-height: 260px;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(8, 9, 8, 0.74);
}

.intro-number,
.panel-label {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--acid);
  padding: 5px 9px;
}

.intro-item h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.intro-item p,
.dossier-panel p,
.why-copy p,
.business-copy p,
.scan-card p,
.contact-note,
.site-footer {
  color: rgba(247, 244, 232, 0.72);
}

.section {
  padding: clamp(72px, 10vw, 126px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading h2,
.scan-card h2,
.business-card h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dossier-panel {
  min-height: 280px;
  padding: 26px;
  border: 2px solid rgba(247, 244, 232, 0.18);
  border-radius: 8px;
  background: rgba(247, 244, 232, 0.08);
}

.dossier-panel.wide {
  grid-column: span 2;
}

.dossier-panel h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.dossier-panel:nth-child(2) .panel-label,
.dossier-panel:nth-child(5) .panel-label {
  background: var(--warning);
}

.dossier-panel:nth-child(3) .panel-label {
  background: var(--pink);
}

.dossier-panel:nth-child(4) .panel-label {
  background: var(--cyan);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 34px;
  align-items: start;
}

.why-copy {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 2px solid #000;
  border-radius: 8px;
  background: #161912;
  box-shadow: 10px 10px 0 #000;
}

.why-copy p {
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 22px;
  color: var(--ink);
  border: 2px solid #000;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 6px 6px 0 #000;
}

.why-row span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 50%;
  background: var(--acid);
}

.why-row p {
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 1000;
}

.scan-section {
  padding-top: 0;
}

.scan-card,
.business-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  color: var(--ink);
  border: 3px solid #000;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    var(--warning);
  background-size: 18px 18px;
  box-shadow: 14px 14px 0 #000;
}

.scan-card .eyebrow,
.business-card .eyebrow {
  color: #000;
}

.scan-card p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(11, 12, 10, 0.7);
  font-weight: 900;
}

.business-section {
  padding-top: 0;
}

.business-card {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    #f1efdf;
  background-size: 20px 20px;
}

.business-copy p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(11, 12, 10, 0.68);
  font-size: 18px;
  font-weight: 800;
}

.contact-box {
  display: grid;
  gap: 12px;
}

.contact-line {
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px;
  color: var(--ink);
  border: 2px solid #000;
  border-radius: 8px;
  background: #fffaf0;
}

.contact-line span {
  color: rgba(11, 12, 10, 0.62);
  font-size: 13px;
  font-weight: 1000;
}

.contact-line strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.contact-line button {
  flex: 0 0 auto;
  padding: 8px 11px;
  color: #000;
  font-size: 13px;
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 5px;
  background: var(--mint);
  box-shadow: 3px 3px 0 #000;
}

.contact-note {
  margin: 4px 0 0;
  color: rgba(11, 12, 10, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 72px) 38px;
  font-size: 14px;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 20px;
}

.qr-modal.is-open {
  display: grid;
}

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(10px);
}

.qr-dialog {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  padding: 24px;
  color: var(--ink);
  border: 3px solid #000;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 16px 16px 0 #000;
}

.qr-dialog h2 {
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1.05;
}

.qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #000;
  font-size: 24px;
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 50%;
  background: var(--pink);
}

.qr-code {
  position: relative;
  display: grid;
  place-items: center;
  width: min(310px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid #000;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #000 10%, transparent 10% 20%, #000 20% 30%, transparent 30% 40%, #000 40% 50%, transparent 50% 60%, #000 60% 70%, transparent 70% 80%, #000 80% 90%, transparent 90%),
    linear-gradient(#000 10%, transparent 10% 20%, #000 20% 30%, transparent 30% 40%, #000 40% 50%, transparent 50% 60%, #000 60% 70%, transparent 70% 80%, #000 80% 90%, transparent 90%),
    #fff;
  background-size: 46px 46px, 38px 38px, auto;
  background-blend-mode: difference, normal, normal;
}

.qr-code::after {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  content: "疯";
  color: #000;
  font-size: 44px;
  font-weight: 1000;
  border: 3px solid #000;
  border-radius: 8px;
  background: var(--acid);
}

.qr-code span {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  padding: 6px 9px;
  color: #000;
  font-size: 12px;
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--warning);
  transform: translateX(-50%);
}

.qr-corner {
  position: absolute;
  z-index: 1;
  width: 64px;
  height: 64px;
  border: 10px solid #000;
  background: #fff;
}

.qr-corner.one {
  top: 20px;
  left: 20px;
}

.qr-corner.two {
  top: 20px;
  right: 20px;
}

.qr-corner.three {
  bottom: 20px;
  left: 20px;
}

.qr-pattern {
  display: none;
}

.qr-hint {
  margin-bottom: 0;
  color: rgba(11, 12, 10, 0.64);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  display: none;
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 1000;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 5px 5px 0 #000;
  transform: translateX(-50%);
}

.toast.is-visible {
  display: block;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .hero,
  .why-layout,
  .scan-card,
  .business-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-board {
    min-height: auto;
  }

  .case-card {
    margin: 0;
  }

  .why-copy {
    position: static;
  }

  .intro-band,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .dossier-panel.wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding: 14px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(66px, 22vw, 108px);
    text-shadow: 5px 5px 0 #000, 8px 8px 0 rgba(255, 63, 164, 0.72);
  }

  .hero-lede {
    font-size: 18px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .floating-note {
    display: none;
  }

  .case-card {
    padding: 14px;
    box-shadow: 9px 9px 0 #000;
  }

  .intro-band {
    margin: 0 14px;
  }

  .intro-item,
  .dossier-panel,
  .why-copy,
  .scan-card,
  .business-card {
    padding: 22px;
  }

  .section {
    padding: 62px 14px;
  }

  .section-heading h2,
  .scan-card h2,
  .business-card h2 {
    font-size: 42px;
  }

  .why-row {
    grid-template-columns: 1fr;
  }

  .contact-line {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .contact-line span {
    grid-column: 1 / -1;
  }

  .site-footer {
    display: grid;
  }
}
