/*
  Design philosophy: 新野生东方未来主义。
  Rules: 不使用通用紫色渐变，不使用单一圆角系统，不使用Inter字体。
  Visual language: 墨青、暖杏米、朱砂铜；电影感景深；非对称信息流；视频卡片强调播放欲望。
*/
:root {
  --bg: #f4ede3;
  --paper: #fffaf3;
  --ink: #163c46;
  --ink-soft: #35555d;
  --deep: #0e2227;
  --accent: #b66036;
  --accent-soft: #d58e62;
  --line: rgba(22, 60, 70, 0.12);
  --shadow: 0 22px 60px rgba(14, 34, 39, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans SC', sans-serif;
  background: radial-gradient(circle at top left, rgba(213, 142, 98, 0.18), transparent 28%), linear-gradient(180deg, #fbf5ec 0%, #f2eadf 100%);
  color: var(--ink);
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.noise-tags { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; pointer-events: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(250, 245, 236, 0.88);
  border-bottom: 1px solid rgba(22, 60, 70, 0.08);
}
.header-shell {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-lockup img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: rgba(255,255,255,0.82);
  padding: 6px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.brand-kicker {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-lockup h2 {
  margin: 0;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.2;
}
.main-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.nav-link:hover, .nav-link.active {
  transform: translateY(-2px);
  border-color: rgba(182, 96, 54, 0.28);
  background: rgba(182, 96, 54, 0.12);
}
.search-bar-wrap { border-top: 1px solid rgba(22, 60, 70, 0.06); }
.search-shell { padding: 12px 0 18px; }
.search-label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.search-row input {
  min-height: 52px;
  border: 1px solid rgba(22, 60, 70, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255,255,255,0.72);
  outline: none;
}
.search-row input:focus { border-color: rgba(182, 96, 54, 0.45); }
.search-btn {
  min-width: 116px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #c97545);
  color: #fffaf4;
  padding: 0 22px;
  box-shadow: 0 14px 28px rgba(182, 96, 54, 0.24);
}
.search-tip { margin: 10px 4px 0; color: var(--ink-soft); font-size: 13px; }

.hero, .sub-hero {
  position: relative;
  min-height: 82vh;
  overflow: clip;
  background: #0f2025;
  color: #fefaf3;
}
.sub-hero { min-height: 56vh; }
.hero img, .sub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,26,.84) 0%, rgba(10,22,26,.74) 36%, rgba(10,22,26,.28) 100%), linear-gradient(180deg, rgba(8,18,22,.06), rgba(8,18,22,.55));
}
.hero-grid, .sub-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: end;
  padding: 140px 0 90px;
}
.sub-hero-copy {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}
.hero-kicker, .section-kicker, .eyebrow {
  margin: 0 0 10px;
  color: #f7caa7;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.hero-copy h1, .sub-hero-copy h1 {
  margin: 0 0 20px;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2.2rem, 5vw, 4.9rem);
  line-height: 1.08;
  max-width: 10.5em;
}
.hero-lead, .sub-hero-copy p {
  margin: 0;
  max-width: 42rem;
  color: rgba(255,250,243,.88);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-actions a, .cta-row a, .share-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero-actions a:first-child, .cta-row a:first-child, .share-buttons button {
  background: linear-gradient(135deg, var(--accent), #cb7b46);
  color: #fffaf4;
  box-shadow: 0 16px 34px rgba(182, 96, 54, .25);
}
.hero-actions a:last-child, .cta-row a:last-child {
  border: 1px solid rgba(255,250,243,.28);
  background: rgba(255,255,255,.08);
  color: #fffaf3;
}
.hero-actions a:hover, .cta-row a:hover, .share-buttons button:hover, .search-btn:hover {
  transform: translateY(-3px);
}
.hero-side-card {
  align-self: center;
  background: rgba(244, 237, 227, 0.09);
  border: 1px solid rgba(255, 243, 232, 0.16);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.hero-side-card p:first-child { margin-top: 0; color: #f7caa7; }
.hero-side-card h2 {
  margin: 0 0 14px;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1.18;
}
.hero-side-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255,250,243,.82);
}
.hero-metrics, .hero-tags, .chip-cloud, .tag-row, .metric-row, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-tags { margin-top: 22px; }
.hero-tags span, .chip-cloud span, .tag-row span, .hero-metrics span, .metric-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  color: inherit;
  font-size: 13px;
}
.metric-row span { background: rgba(22, 60, 70, 0.06); border-color: rgba(22, 60, 70, 0.08); color: var(--ink-soft); }

.stats-strip {
  margin-top: -36px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stats-strip article {
  background: rgba(255, 250, 243, 0.94);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 60, 70, 0.08);
  display: grid;
  gap: 6px;
}
.stats-strip strong {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  color: var(--deep);
  line-height: 1;
}
.stats-strip span { color: var(--ink-soft); font-size: 14px; }

main > section:not(.hero):not(.sub-hero):not(.community-band) { padding: 78px 0; }
.editorial-slab, .video-stage, .ai-band, .expert-zone, .coop-zone, .faq-zone, .review-zone, .contact-zone, .share-zone, .json-section, .text-card-grid {
  position: relative;
}
.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}
.split-heading {
  grid-template-columns: .9fr 1.1fr;
  align-items: end;
  gap: 24px;
}
.section-heading h2 {
  margin: 0;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.7rem, 3.1vw, 3.2rem);
  line-height: 1.15;
  color: var(--deep);
}
.section-text { margin: 0; color: var(--ink-soft); }
.left-dark h2, .left-dark .section-text { color: #fffaf4; }

.slab-grid, .product-grid, .howto-grid, .review-grid, .text-card-grid {
  display: grid;
  gap: 18px;
}
.slab-grid { grid-template-columns: 1.1fr .9fr .95fr; }
.slab-grid article, .product-grid article, .howto-grid article, .review-card, .text-card {
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(22, 60, 70, 0.08);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.slab-grid h3, .product-grid h3, .howto-grid h3, .text-card h2 { margin: 0 0 10px; font-family: 'Noto Serif SC', serif; }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.howto-grid { grid-template-columns: repeat(3, 1fr); }
.howto-grid strong {
  font-family: 'Noto Serif SC', serif;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.video-card {
  background: rgba(255, 250, 243, 0.9);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 60, 70, 0.08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(14,34,39,.22); }
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #132a30;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(12,22,26,.08), rgba(12,22,26,.56));
}
.play-pill {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255, 245, 235, .18);
  color: #fffaf3;
  font-size: 28px;
  opacity: 0;
  transform: scale(.88);
  transition: opacity .28s ease, transform .28s ease;
  backdrop-filter: blur(8px);
}
.video-card:hover .play-pill { opacity: 1; transform: scale(1); }
.watch-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 250, 243, .16);
  color: #fffaf3;
  border: 1px solid rgba(255,255,255,.2);
}
.video-copy { padding: 22px; }
.video-meta { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.video-copy h3 { margin: 0 0 10px; font-family: 'Noto Serif SC', serif; font-size: 1.45rem; line-height: 1.25; }
.video-copy p { margin: 0 0 14px; color: var(--ink-soft); }

.community-band {
  background: linear-gradient(180deg, #163942 0%, #0e2429 100%);
  margin: 22px 0;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.community-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 10%, rgba(213, 142, 98, 0.18), transparent 24%), radial-gradient(circle at 88% 74%, rgba(255,255,255,0.08), transparent 30%);
  pointer-events: none;
}
.community-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.community-copy { color: #fffaf4; }
.community-media img {
  border-radius: 28px;
  box-shadow: 0 28px 72px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
}

.expert-grid { display: grid; gap: 18px; }
.expert-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  background: rgba(255, 250, 243, 0.84);
  border: 1px solid rgba(22, 60, 70, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.expert-media img { width: 100%; height: 100%; object-fit: cover; }
.expert-copy { padding: 22px; }
.expert-copy h3 { margin: 0 0 8px; font-family: 'Noto Serif SC', serif; font-size: 1.6rem; }
.expert-copy p { margin: 8px 0; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
.logo-wall span {
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(182, 96, 54, 0.18);
  box-shadow: 0 10px 24px rgba(14,34,39,.08);
  font-weight: 700;
}

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(22, 60, 70, 0.08);
  border-radius: 22px;
  padding: 0 22px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 20px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 20px;
  font-size: 20px;
  color: var(--accent);
}
.faq-item[open] summary::after { content: '—'; }
.faq-item p { margin: 0 0 20px; color: var(--ink-soft); }

.review-grid { grid-template-columns: repeat(5, 1fr); }
.review-user { margin: 0 0 8px; color: var(--accent); font-weight: 700; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.contact-card {
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid rgba(22, 60, 70, 0.08);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.info-card h3, .qr-card h3 { margin-top: 0; font-family: 'Noto Serif SC', serif; }
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.qr-grid figure { margin: 0; }
.qr-grid img {
  width: 100%;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  border: 1px solid rgba(22,60,70,0.08);
}
.qr-grid figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.json-view, .code-box {
  margin: 0;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #132a30 0%, #0d2126 100%);
  color: #ebf6f1;
  overflow: auto;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  background: #10262b;
  color: #edf6f1;
  padding: 48px 0 58px;
  margin-top: 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr .9fr .9fr;
  gap: 22px;
}
.footer-brand { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 70px; height: 70px; object-fit: contain; background: rgba(255,255,255,.92); border-radius: 20px; padding: 6px; }
.footer-brand h3, .site-footer h4 { margin: 0 0 8px; font-family: 'Noto Serif SC', serif; }
.footer-brand p, .footer-contact, .mcp-note, .footer-update, .copyright { margin: 0 0 10px; color: rgba(237,246,241,.76); }
.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .header-shell, .hero-grid, .community-grid, .split-heading, .footer-grid, .contact-grid, .expert-card {
    grid-template-columns: 1fr;
  }
  .main-nav { justify-content: flex-start; }
  .stats-strip, .product-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .slab-grid, .howto-grid, .video-grid, .qr-grid { grid-template-columns: 1fr 1fr; }
  .hero, .sub-hero { min-height: auto; }
  .hero-grid, .sub-hero-copy { padding: 120px 0 80px; }
  .expert-card { overflow: hidden; }
}

@media (max-width: 720px) {
  body { line-height: 1.68; }
  .container { width: min(var(--max), calc(100% - 22px)); }
  .search-row, .stats-strip, .slab-grid, .product-grid, .howto-grid, .review-grid, .video-grid, .qr-grid, .contact-grid, .text-card-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid, .sub-hero-copy { padding: 110px 0 64px; gap: 18px; }
  .hero-side-card { padding: 22px; }
  .stats-strip { margin-top: -22px; }
  .expert-card { grid-template-columns: 1fr; }
  .brand-lockup img { width: 62px; height: 62px; }
  .nav-link { font-size: 13px; padding: 9px 12px; }
  .share-buttons button, .hero-actions a, .cta-row a, .search-btn { width: 100%; }
  .share-buttons { display: grid; grid-template-columns: 1fr; }
}
