:root {
  --bg: #050507;
  --bg-2: #0b0d12;
  --surface: #11141b;
  --surface-2: #171b24;
  --ink: #f8f7f2;
  --muted: #aeb4c2;
  --dim: #737b8d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --gold: #f2c86b;
  --green: #b8ff2f;
  --cyan: #75e4ff;
  --purple: #9a7cff;
  --red: #ff4f45;
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.52);
  --max: 1240px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(117, 228, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 6%, rgba(184, 255, 47, 0.16), transparent 32%),
    radial-gradient(circle at 50% 30%, rgba(154, 124, 255, 0.12), transparent 38%),
    linear-gradient(180deg, #06070a 0%, #0b0d12 42%, #050507 100%);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(184, 255, 47, 0.48);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(184, 255, 47, 0.28), rgba(117, 228, 255, 0.08)),
    #0e1215;
  color: var(--green);
  font-family: Consolas, monospace;
  font-size: 0.9rem;
  box-shadow: 0 0 34px rgba(184, 255, 47, 0.16);
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

nav a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

nav a:hover,
nav a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero,
.market-board,
.project-section,
.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(42px, 6vw, 78px) 0 34px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--green);
  font: 800 0.78rem/1.2 Consolas, "Microsoft YaHei", monospace;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 0.96;
  font-weight: 950;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  max-width: 900px;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
  line-height: 0.98;
  font-weight: 930;
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.15;
  font-weight: 900;
}

.hero-lead,
.section-heading p,
.drop-copy p,
.copy-cards p,
.market-stats p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 900;
}

.primary-link {
  color: #050507;
  background: var(--green);
  box-shadow: 0 18px 60px rgba(184, 255, 47, 0.24);
}

.ghost-link {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(17, 20, 27, 0.78);
  box-shadow: var(--shadow);
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(184, 255, 47, 0.58), transparent 28%, rgba(117, 228, 255, 0.34) 74%, transparent);
  opacity: 0.64;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.feature-media {
  position: relative;
  min-height: 470px;
  background: #070806;
}

.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: top center;
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 5, 7, 0.86));
}

.feature-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 7px;
}

.feature-overlay span {
  color: var(--green);
  font: 800 0.75rem/1 Consolas, monospace;
  letter-spacing: 0.16em;
}

.feature-overlay strong {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.9;
}

.feature-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.feature-meta div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.feature-meta div:last-child {
  border-right: 0;
}

.feature-meta span,
.market-stats span {
  display: block;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-meta strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.market-board {
  padding: 34px 0 clamp(74px, 9vw, 118px);
}

.board-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.market-stats article,
.copy-cards article,
.drop-copy,
.browser-card,
.ai-console {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(17, 20, 27, 0.78);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.market-stats article {
  min-height: 210px;
  padding: 22px;
}

.market-stats strong {
  display: block;
  margin-top: 18px;
  color: var(--green);
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 0.95;
}

.market-stats p {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.ranking-table {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 10, 14, 0.74);
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1.7fr;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.table-head {
  min-height: 46px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.055);
}

.project-section {
  padding: clamp(76px, 10vw, 130px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading p {
  max-width: 820px;
  margin: 0;
}

.section-heading.compact {
  max-width: 840px;
}

.azuki-showcase {
  display: grid;
  gap: 16px;
}

.reference-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.reference-strip article {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #11141b;
}

.reference-strip img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.reference-strip span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.64);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.azuki-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(120px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.azuki-grid img,
.guochao-cards img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: cover;
  background: #11141b;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.34);
  transition: transform 240ms ease, border-color 240ms ease;
}

.azuki-grid img:hover,
.guochao-cards img:hover {
  border-color: rgba(184, 255, 47, 0.74);
  transform: translateY(-6px);
}

.copy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.copy-cards article {
  padding: 22px;
}

.copy-cards span {
  color: var(--cyan);
  font-weight: 900;
}

.copy-cards p {
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.kuangchao-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 255, 47, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(11, 16, 9, 0.65), rgba(5, 5, 7, 0.96));
}

.guanchuang-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 200, 107, 0.18), transparent 30%),
    radial-gradient(circle at 16% 26%, rgba(117, 228, 255, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(22, 17, 11, 0.78), rgba(5, 5, 7, 0.96));
}

.guanchuang-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(340px, 0.76fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: stretch;
}

.kailetu-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(242, 200, 107, 0.28);
  border-radius: 24px;
  background: #f2efe7;
  box-shadow: var(--shadow);
}

.kailetu-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.kailetu-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 5, 7, 0.86));
}

.kailetu-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.kailetu-copy span,
.zhengu-main span {
  color: var(--gold);
  font: 900 0.78rem/1.2 Consolas, monospace;
  letter-spacing: 0.14em;
}

.kailetu-copy strong {
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 5.7rem);
  line-height: 0.9;
  font-weight: 950;
}

.kailetu-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.relic-copy {
  border-color: rgba(242, 200, 107, 0.22);
  background:
    linear-gradient(180deg, rgba(242, 200, 107, 0.11), rgba(255, 255, 255, 0.026)),
    rgba(17, 20, 27, 0.8);
}

.relic-copy .stat-big {
  color: var(--gold) !important;
}

.zhengu-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 14px;
  margin-top: 14px;
}

.zhengu-main {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(260px, 0.84fr);
  overflow: hidden;
  border: 1px solid rgba(242, 200, 107, 0.24);
  border-radius: var(--radius);
  background: rgba(17, 20, 27, 0.78);
  box-shadow: var(--shadow);
}

.zhengu-main img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.zhengu-main div {
  display: grid;
  align-content: end;
  gap: 14px;
  padding: clamp(22px, 4vw, 36px);
}

.zhengu-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.zhengu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.zhengu-grid img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 1px solid rgba(242, 200, 107, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease;
}

.zhengu-grid img:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.drop-layout,
.guochao-layout,
.site-showcase,
.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
}

.poster-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.poster-wall img {
  width: 100%;
  height: 100%;
  max-height: 760px;
  border: 1px solid rgba(184, 255, 47, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow);
}

.poster-wall img:nth-child(3) {
  grid-column: 1 / -1;
  max-height: 560px;
}

.drop-copy {
  padding: clamp(22px, 4vw, 38px);
}

.drop-copy.tight {
  margin-bottom: 14px;
}

.stat-big {
  margin: 0 0 18px !important;
  color: var(--green) !important;
  font-size: clamp(3rem, 6.8vw, 6.6rem) !important;
  line-height: 0.85 !important;
  font-weight: 950;
}

.proof-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: grid;
  gap: 7px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--ink);
  line-height: 1.65;
}

.proof-list span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.fangjianlong-section {
  background:
    radial-gradient(circle at 15% 30%, rgba(242, 200, 107, 0.16), transparent 28%),
    transparent;
}

.site-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
}

.browser-card {
  position: relative;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(242, 200, 107, 0.18), rgba(117, 228, 255, 0.08)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 18px),
    #12141a;
}

.browser-card::after {
  content: "FANGJIANLONG";
  position: absolute;
  right: -18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 950;
}

.browser-bar {
  display: flex;
  gap: 8px;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.browser-card p {
  margin: 78px 0 12px;
  color: var(--green);
  font: 800 0.86rem/1 Consolas, monospace;
  letter-spacing: 0.08em;
}

.browser-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 640px;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  font-weight: 950;
}

.browser-card small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

.guochao-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 78% 12%, rgba(242, 200, 107, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(9, 14, 20, 0.75), rgba(5, 5, 7, 0.96));
}

.guochao-layout {
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1.58fr);
}

.long-scroll {
  max-height: 820px;
  overflow: hidden;
  border: 1px solid rgba(242, 200, 107, 0.25);
  border-radius: var(--radius);
  background: #11141b;
  box-shadow: var(--shadow);
}

.long-scroll img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.guochao-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.banner-pair {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.banner-pair img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ai-layout {
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
}

.ai-console {
  min-height: 420px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(117, 228, 255, 0.16), transparent 40%),
    #0a0f16;
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 42px;
}

.console-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
}

.ai-console p {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: Consolas, monospace;
}

.ai-console strong {
  display: block;
  margin-top: 68px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  line-height: 0.92;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 40px 0 54px;
  color: var(--dim);
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.is-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.is-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.image-dialog {
  width: min(1040px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.image-dialog img {
  width: 100%;
  max-height: calc(100vh - 60px);
  object-fit: contain;
}

.image-dialog button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(5, 5, 7, 0.75);
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .guanchuang-hero,
  .zhengu-gallery,
  .zhengu-main,
  .drop-layout,
  .guochao-layout,
  .site-showcase,
  .ai-layout {
    grid-template-columns: 1fr;
  }

  .market-stats,
  .copy-cards,
  .zhengu-grid,
  .guochao-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .table-head {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero,
  .market-board,
  .project-section,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 2.85rem;
  }

  .feature-media,
  .feature-media img {
    min-height: 410px;
  }

  .feature-meta,
  .market-stats,
  .reference-strip,
  .copy-cards,
  .zhengu-grid,
  .poster-wall,
  .guochao-cards {
    grid-template-columns: 1fr;
  }

  .kailetu-panel,
  .kailetu-panel img {
    min-height: 420px;
  }

  .zhengu-main img,
  .zhengu-grid img {
    min-height: auto;
  }

  .azuki-grid {
    grid-template-columns: repeat(9, 132px);
  }

  .poster-wall img,
  .poster-wall img:nth-child(3) {
    max-height: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
