/* Zeha 官网样式 */
:root {
  --bg: #050507;
  --bg-elevated: #141417;
  --bg-soft: #1d1d22;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --subtle: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #6728fd;
  --accent-soft: rgba(103, 40, 253, 0.18);
  --gold: #f5bf63;
  --mint: #72e0bf;
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(103, 40, 253, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(245, 191, 99, 0.08), transparent 38%),
    #050507;
}

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

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

button {
  font: inherit;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
  background: rgba(5, 5, 7, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  min-height: 84svh;
  padding: 124px 24px 72px;
  overflow: hidden;
  place-items: center;
}

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

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(5, 5, 7, 0.18), rgba(5, 5, 7, 0.86) 66%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.08), #050507 96%);
}

.hero-cover {
  position: absolute;
  width: 220px;
  height: 276px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
  opacity: 0.72;
}

.hero-cover-a {
  top: 96px;
  left: 8%;
  transform: rotate(-10deg);
}

.hero-cover-b {
  top: 110px;
  right: 12%;
  transform: rotate(8deg);
}

.hero-cover-c {
  bottom: 28px;
  left: 18%;
  transform: rotate(6deg);
}

.hero-cover-d {
  right: 20%;
  bottom: 52px;
  transform: rotate(-7deg);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 7, 0.22);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(720px, 100%);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.95;
  font-weight: 950;
}

.hero-copy {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.primary-action {
  padding: 0 24px;
  background: #ffffff;
  color: #070708;
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.16);
}

.secondary-action {
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
}

.section-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.story-section,
.experience-section,
.create-section,
.download-section,
.contact-section {
  padding: 84px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.section-heading h2,
.experience-copy h2,
.download-panel h2,
.contact-panel h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
}

.section-heading p,
.experience-copy > p,
.download-panel p,
.contact-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.story-card {
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-card-body {
  padding: 18px;
}

.story-card span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.story-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.2;
}

.story-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.experience-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.phone-preview {
  width: min(390px, 100%);
  min-height: 720px;
  padding: 14px;
  background: #101013;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
}

.phone-top {
  display: flex;
  justify-content: center;
  height: 34px;
}

.phone-top span {
  width: 74px;
  height: 22px;
  background: #050507;
  border-radius: 999px;
}

.chat-scene {
  min-height: 650px;
  padding: 22px 16px 18px;
  background:
    linear-gradient(180deg, rgba(103, 40, 253, 0.20), rgba(20, 20, 23, 0.18)),
    url("https://img.zeha-ai.io/MTc4NDgxNTQxMTQzNyM1NTUjcG5n.png") center / cover;
  border-radius: 24px;
  overflow: hidden;
}

.scene-title {
  margin: 0 0 260px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.message {
  max-width: 84%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.npc-message {
  background: rgba(14, 14, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.user-message {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.92);
  color: #111113;
}

.option-row {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.option-row button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.experience-copy {
  max-width: 580px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.feature-list div,
.creator-steps article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.feature-list h3,
.creator-steps h3 {
  margin: 0;
  font-size: 18px;
}

.feature-list p,
.creator-steps p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.creator-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: #08080a;
  background: var(--gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.download-panel {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(103, 40, 253, 0.22), rgba(114, 224, 191, 0.10)),
    var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.download-panel img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
}

.contact-section {
  padding-top: 0;
}

.contact-panel {
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-panel a,
.legal-section a {
  color: var(--mint);
  font-weight: 800;
}

.site-footer {
  padding: 34px 24px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--subtle);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--text);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.legal-page {
  padding-top: 68px;
}

.legal-hero {
  padding: 84px 24px 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(103, 40, 253, 0.22), rgba(114, 224, 191, 0.08)),
    rgba(255, 255, 255, 0.02);
}

.legal-hero-inner,
.legal-content {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 950;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  padding: 46px 0 78px;
  align-items: start;
}

.legal-card {
  grid-column: 1 / -1;
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.legal-summary-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.legal-summary-card {
  min-height: 168px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(103, 40, 253, 0.18), rgba(255, 255, 255, 0.04)),
    var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.legal-summary-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #08080a;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.legal-summary-card h2 {
  margin: 18px 0 0;
  font-size: 22px;
  line-height: 1.15;
}

.legal-summary-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.legal-toc {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 90px;
  grid-row: 3 / span 20;
  margin: 0;
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.legal-toc a {
  display: block;
  padding: 10px 12px;
  color: var(--mint);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
}

.legal-toc a:hover {
  color: var(--text);
  border-color: rgba(114, 224, 191, 0.28);
}

.legal-section {
  grid-column: 2;
  padding: 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
}

.legal-section h2 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  font-size: 26px;
  line-height: 1.2;
}

.legal-section h2::before {
  position: absolute;
  top: 2px;
  bottom: 3px;
  left: 0;
  width: 4px;
  content: "";
  background: var(--gold);
  border-radius: 999px;
}

.legal-section h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.legal-section li::before {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--gold);
  content: "•";
  font-size: 18px;
  line-height: 1;
}

.legal-section strong {
  color: var(--text);
}

.share-page {
  min-height: calc(100vh - 136px);
  padding-top: 68px;
}

.share-hero {
  display: grid;
  min-height: calc(100svh - 68px);
  padding: 56px 24px 72px;
  place-items: center;
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(280px, 540px) minmax(0, 480px);
  gap: 64px;
  align-items: center;
  width: min(var(--max-width), 100%);
}

.share-preview {
  width: 100%;
}

.share-image-frame {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(103, 40, 253, 0.18), rgba(114, 224, 191, 0.08)),
    var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  place-items: center;
}

.share-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.share-preview[data-state="ready"] .share-image {
  display: block;
}

.share-preview[data-state="ready"] .share-placeholder {
  display: none;
}

.share-placeholder {
  display: grid;
  width: calc(100% - 48px);
  min-height: 220px;
  padding: 24px;
  color: var(--muted);
  background: rgba(5, 5, 7, 0.42);
  border: 1px dashed rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  place-items: center;
}

.share-copy h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 950;
}

.share-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-cover {
    width: 170px;
    height: 214px;
  }

  .story-grid,
  .creator-steps,
  .experience-layout,
  .download-panel,
  .legal-content,
  .legal-summary-grid,
  .share-layout {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    justify-self: center;
  }

  .share-layout {
    gap: 36px;
  }

  .share-copy {
    order: -1;
  }

  .download-panel {
    justify-items: start;
  }

  .legal-toc {
    position: static;
    grid-row: auto;
  }

  .legal-section {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-nav {
    height: 62px;
    padding: 0 16px;
  }

  .legal-page {
    padding-top: 62px;
  }

  .share-page {
    padding-top: 62px;
  }

  .hero {
    min-height: 82svh;
    padding: 108px 18px 52px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-cover {
    width: 138px;
    height: 174px;
  }

  .hero-cover-a {
    top: 88px;
    left: -26px;
  }

  .hero-cover-b {
    top: 118px;
    right: -34px;
  }

  .hero-cover-c {
    bottom: 18px;
    left: -18px;
  }

  .hero-cover-d {
    right: -12px;
    bottom: 40px;
  }

  .section-inner {
    width: calc(100% - 32px);
  }

  .story-section,
  .experience-section,
  .create-section,
  .download-section,
  .contact-section {
    padding: 58px 0;
  }

  .section-heading h2,
  .experience-copy h2,
  .download-panel h2,
  .contact-panel h2,
  .legal-hero h1,
  .share-copy h1 {
    font-size: 31px;
  }

  .section-heading p,
  .experience-copy > p,
  .download-panel p,
  .contact-panel p,
  .legal-section p,
  .legal-section li,
  .share-copy p {
    font-size: 16px;
  }

  .share-hero {
    min-height: calc(100svh - 62px);
    padding: 38px 16px 56px;
  }

  .share-placeholder {
    width: calc(100% - 32px);
    min-height: 180px;
  }

  .legal-hero {
    padding: 58px 16px 34px;
  }

  .legal-hero-inner,
  .legal-content {
    width: calc(100% - 32px);
  }

  .legal-content {
    padding: 34px 0 58px;
  }

  .legal-card,
  .legal-toc,
  .legal-section,
  .legal-summary-card {
    padding: 18px;
  }

  .phone-preview {
    min-height: 650px;
    border-radius: 28px;
  }

  .chat-scene {
    min-height: 584px;
  }

  .scene-title {
    margin-bottom: 220px;
  }
}
