:root {
  color-scheme: dark;
  --bg: #0b1014;
  --panel: #111a20;
  --panel-strong: #17242b;
  --text: #f6f7f2;
  --muted: #aeb8b6;
  --soft: #d8dfd7;
  --teal: #49d8c7;
  --coral: #ff6f61;
  --gold: #f4c95d;
  --violet: #8f7cff;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(73, 216, 199, 0.08), transparent 340px),
    radial-gradient(circle at 12% 0, rgba(255, 111, 97, 0.16), transparent 280px),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 760px);
}

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

img {
  display: block;
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 16, 20, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand span,
.footer-brand {
  line-height: 1.15;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 16px;
}

.brand small,
.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.nav a,
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.footer-nav a:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.nav-cta {
  padding: 9px 14px;
  background: var(--teal);
  color: #07100f;
  white-space: nowrap;
}

.hero,
.section,
.entry-section,
.about-section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 124px);
  padding: 44px 0 42px;
}

.eyebrow,
.section-heading span,
.section-copy > span,
.entry-copy > span,
.about-section span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 > span {
  display: block;
  color: var(--soft);
}

.mobile-break {
  display: inline;
}

.hero-subtitle,
.hero-intro,
.section-heading p,
.section-copy p,
.entry-copy p,
.about-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 22px;
  font-size: 18px;
}

.hero-actions,
.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  gap: 10px;
  min-width: 174px;
  padding: 12px 16px;
}

.button span {
  font-size: 15px;
}

.button strong {
  color: inherit;
  font-size: 12px;
}

.button.primary {
  border-color: transparent;
  background: var(--teal);
  color: #07100f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.topic-radar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.topic-radar span,
.mini-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(73, 216, 199, 0.3);
  border-radius: 8px;
  background: rgba(73, 216, 199, 0.08);
  color: var(--soft);
  font-size: 14px;
}

.hero-board {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.visual-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-auto-rows: clamp(124px, 15vw, 174px);
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.mosaic-card {
  position: relative;
  min-height: 124px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.mosaic-main {
  grid-row: span 2;
}

.mosaic-wide {
  grid-column: span 2;
}

.mosaic-card img,
.visual-panel img,
.theme-card img,
.guide-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.mosaic-card figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11, 16, 20, 0.56), rgba(11, 16, 20, 0.86));
  backdrop-filter: blur(12px);
}

.mosaic-card strong {
  color: var(--text);
  font-size: 15px;
}

.mosaic-card span {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.45;
}

.direction-card,
.scene-item,
.visual-topic-card,
.flow-card,
.guide-card,
.theme-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 26, 32, 0.84);
}

.section,
.entry-section,
.about-section {
  padding: 72px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
}

h2 {
  font-size: 34px;
  line-height: 1.2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p,
.section-copy p,
.entry-copy p,
.about-section p {
  margin-top: 14px;
}

.summary-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.summary-strip span {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 201, 93, 0.08);
}

.summary-strip strong {
  color: var(--gold);
}

.summary-strip small {
  color: var(--muted);
  font-size: 13px;
}

.direction-grid,
.scene-map,
.visual-topic-grid,
.flow-list,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.direction-card,
.scene-item,
.visual-topic-card,
.flow-card,
.guide-card {
  min-height: 164px;
  padding: 20px;
}

.direction-card > span,
.flow-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.28;
}

.direction-card p,
.scene-item p,
.visual-topic-card p,
.flow-card p,
.guide-card p,
.theme-card p,
details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.theme-card {
  overflow: hidden;
}

.theme-card img {
  aspect-ratio: 9 / 7;
}

.theme-card div {
  padding: 18px;
}

.theme-card span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold);
  font-size: 13px;
}

.scene-map {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.scene-item {
  min-height: 170px;
  background: linear-gradient(180deg, rgba(73, 216, 199, 0.08), rgba(17, 26, 32, 0.84));
}

.visual-topic-section {
  padding-top: 54px;
}

.visual-topic-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.visual-topic-card {
  min-height: 178px;
  background:
    linear-gradient(135deg, rgba(255, 111, 97, 0.1), rgba(143, 124, 255, 0.08)),
    rgba(17, 26, 32, 0.84);
}

.visual-topic-card h3 {
  color: var(--soft);
}

.discover-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.flow-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-card {
  min-height: 208px;
}

.media-section,
.entry-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.media-section.flip {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
}

.visual-panel {
  aspect-ratio: 4 / 3;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.mini-grid span {
  justify-content: center;
}

.entry-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(73, 216, 199, 0.12), rgba(255, 111, 97, 0.08)), var(--panel);
}

.compare-table {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.compare-table [role="row"] {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.compare-table span,
.compare-table strong {
  min-height: 48px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-size: 14px;
}

.guide-card.feature-step {
  grid-column: span 2;
  min-height: 188px;
  background:
    linear-gradient(135deg, rgba(244, 201, 93, 0.15), rgba(73, 216, 199, 0.1)),
    rgba(17, 26, 32, 0.86);
}

.faq-section {
  padding-top: 48px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
  line-height: 1.5;
}

.about-section {
  padding-top: 44px;
}

.about-section article {
  max-width: 820px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 26, 32, 0.86);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 26px 0 42px;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 480ms ease, transform 480ms ease;
}

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

@media (max-width: 980px) {
  .site-header,
  .hero,
  .section,
  .entry-section,
  .about-section,
  .footer {
    width: min(100% - 24px, 760px);
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .nav,
  .footer-nav {
    justify-content: flex-start;
  }

  .hero,
  .intro-section,
  .discover-section,
  .media-section,
  .media-section.flip,
  .entry-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: 44px;
  }

  .direction-grid,
  .theme-grid,
  .scene-map,
  .visual-topic-grid,
  .flow-list,
  .guide-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-card {
    min-height: 176px;
  }
}

@media (max-width: 620px) {
  .site-header {
    margin-top: 10px;
    padding: 10px;
  }

  .brand strong {
    font-size: 15px;
  }

  .nav a {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero {
    padding: 36px 0 34px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .mobile-break {
    display: block;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-subtitle,
  .section-heading p,
  .section-copy p,
  .entry-copy p,
  .about-section p {
    font-size: 15px;
    line-height: 1.78;
  }

  .button {
    width: 100%;
  }

  .hero-mosaic,
  .direction-grid,
  .theme-grid,
  .scene-map,
  .visual-topic-grid,
  .flow-list,
  .guide-grid,
  .faq-list,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .entry-section,
  .about-section {
    padding: 44px 0;
  }

  .entry-section {
    padding: 22px;
  }

  .mosaic-main,
  .mosaic-wide,
  .guide-card.feature-step {
    grid-row: auto;
    grid-column: auto;
  }

  .compare-table [role="row"] {
    grid-template-columns: 1fr;
  }
}
