@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  --bg: #f5f2ea;
  --bg-soft: #ede6da;
  --panel: rgba(255, 253, 248, 0.9);
  --panel-strong: rgba(255, 251, 245, 0.98);
  --line: rgba(88, 63, 35, 0.11);
  --line-strong: rgba(88, 63, 35, 0.2);
  --text: #1f1912;
  --text-soft: #5f5347;
  --text-dim: #857665;
  --accent: #c9691a;
  --accent-strong: #8f4612;
  --accent-soft: #f3d8c0;
  --mint: #d9ece2;
  --shadow: 0 20px 46px rgba(68, 44, 18, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 105, 26, 0.1), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(105, 157, 128, 0.08), transparent 20%),
    linear-gradient(180deg, #faf7f2 0%, #f4efe4 40%, #f1e9dc 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

.showcase-home,
.showcase-page {
  color: #f8f1e5;
  background:
    radial-gradient(circle at 20% 8%, rgba(253, 123, 45, 0.28), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(85, 211, 169, 0.22), transparent 26%),
    radial-gradient(circle at 52% 78%, rgba(255, 199, 102, 0.16), transparent 34%),
    linear-gradient(145deg, #120f0a 0%, #21150d 42%, #071512 100%);
}

.showcase-home .page-shell,
.showcase-page .page-shell {
  overflow: hidden;
}

.showcase-home .ambient,
.showcase-page .ambient {
  opacity: 0.62;
  mix-blend-mode: screen;
}

.showcase-home .topbar,
.showcase-page .topbar {
  top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 239, 210, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(18, 15, 10, 0.48);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.showcase-home .brand-mark,
.showcase-page .brand-mark {
  background: rgba(255, 248, 230, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.showcase-home .brand-text small,
.showcase-page .brand-text small,
.showcase-home .nav a,
.showcase-page .nav a,
.showcase-home .hero-summary,
.showcase-page .hero-summary,
.showcase-home .section-heading p,
.showcase-page .section-heading p,
.showcase-home .story-panel p,
.showcase-home .case-card p,
.showcase-home .release-card p,
.showcase-page .story-copy p,
.showcase-page .story-list li,
.showcase-page .timeline-item p,
.showcase-page .link-card p,
.showcase-page .doc-card p,
.showcase-page .compare-card p,
.showcase-page .proof-copy p,
.showcase-page .proof-metrics span,
.showcase-page .screenshot-copy p {
  color: rgba(248, 241, 229, 0.68);
}

.showcase-home .nav a:hover,
.showcase-page .nav a:hover {
  color: #fff6df;
  background: rgba(255, 255, 255, 0.1);
}

.showcase-page .page-hero {
  padding-top: 72px;
}

.showcase-page .page-title,
.showcase-page .section-heading h2,
.showcase-page .story-copy h3,
.showcase-page .proof-copy h2,
.showcase-page .cta-card h2,
.showcase-page .link-card h3,
.showcase-page .doc-card h3,
.showcase-page .compare-card h3,
.showcase-page .timeline-item h3,
.showcase-page .screenshot-copy h3 {
  color: #fff7e6;
}

.showcase-page .glass-card,
.showcase-page .timeline-item,
.showcase-page .code-card,
.showcase-page .cta-card {
  border-color: rgba(255, 239, 210, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 141, 50, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.showcase-page .story-visual,
.showcase-page .phone-shot-panel {
  border-color: rgba(255, 239, 210, 0.12);
  background:
    radial-gradient(circle at top, rgba(124, 241, 191, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.06);
}

.showcase-page .inline-code {
  color: #7cf1bf;
  background: rgba(124, 241, 191, 0.1);
}

.showcase-page .code-card pre {
  color: rgba(248, 241, 229, 0.76);
}

.showcase-page .text-link,
.showcase-page .timeline-time,
.showcase-page .story-tag,
.showcase-page .eyebrow,
.showcase-page .pain-index {
  color: #7cf1bf;
}

.showcase-page .pain-index {
  background: rgba(124, 241, 191, 0.1);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

/* 背景保持层次，但收敛为更像产品站的暖色纸面质感。 */
.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  filter: blur(92px);
  opacity: 0.38;
  z-index: -1;
  pointer-events: none;
}

.ambient-left {
  top: -10rem;
  left: -8rem;
  background: rgba(201, 105, 26, 0.16);
  animation: floatGlow 20s ease-in-out infinite;
}

.ambient-right {
  top: 18rem;
  right: -9rem;
  background: rgba(117, 166, 139, 0.14);
  animation: floatGlow 22s ease-in-out infinite reverse;
}

.topbar,
.hero,
.page-hero,
.section {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 18px;
  background: rgba(246, 241, 232, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(88, 63, 35, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(88, 63, 35, 0.08);
  box-shadow: 0 12px 26px rgba(88, 63, 35, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small,
.eyebrow,
.nav a,
.story-tag,
.timeline-time,
.stat-label {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
}

.brand-text small,
.nav a,
.section-heading p,
.hero-summary,
.hero-detail,
.visual-note p,
.pain-card p,
.story-copy p,
.story-list li,
.timeline-item p,
.audience-card li,
.proof-copy p,
.proof-metrics span,
.cta-card p,
.hero-panel-copy,
.hero-point-list span,
.mini-card p,
.version-list span {
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--text-soft);
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 30px;
  padding: 56px 0 24px;
  align-items: start;
}

.showcase-hero {
  position: relative;
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 72px;
}

.hero-orbit {
  position: absolute;
  inset: 7% 42% auto auto;
  width: min(54vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.58;
}

.hero-orbit span {
  position: absolute;
  inset: calc(var(--i, 0) * 9%);
  border: 1px solid rgba(255, 217, 158, 0.14);
  border-radius: inherit;
  transform: rotate(calc(var(--i, 0) * 18deg));
}

.hero-orbit span:nth-child(1) {
  --i: 0;
}

.hero-orbit span:nth-child(2) {
  --i: 1;
  border-color: rgba(101, 218, 171, 0.16);
}

.hero-orbit span:nth-child(3) {
  --i: 2;
  border-style: dashed;
}

.showcase-copy {
  position: relative;
  z-index: 2;
}

.showcase-copy h1 {
  margin: 0;
  max-width: 10.5ch;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(4.4rem, 8.6vw, 8.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.showcase-copy h1 span {
  display: block;
  color: #ff8d32;
  text-shadow: 0 0 34px rgba(255, 141, 50, 0.26);
}

.showcase-copy .eyebrow,
.showcase-home .eyebrow,
.showcase-home .story-tag {
  color: #7cf1bf;
}

.showcase-copy .hero-summary {
  max-width: 640px;
  margin-top: 30px;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.signal-strip span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 238, 210, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 241, 229, 0.78);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
}

.showcase-stage {
  position: relative;
  min-height: 680px;
  border: 1px solid rgba(255, 238, 210, 0.14);
  border-radius: 44px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 141, 50, 0.24), transparent 24%),
    radial-gradient(circle at 76% 74%, rgba(124, 241, 191, 0.2), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 248, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 230, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 72%);
}

.stage-node {
  position: absolute;
  z-index: 4;
  width: 206px;
  padding: 18px;
  border: 1px solid rgba(255, 238, 210, 0.16);
  border-radius: 24px;
  background: rgba(18, 15, 10, 0.72);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.stage-node span,
.terminal-card code,
.story-number {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
}

.stage-node span {
  display: block;
  margin-bottom: 8px;
  color: #7cf1bf;
  font-size: 0.72rem;
}

.stage-node strong {
  display: block;
  font-size: 1.05rem;
}

.stage-node small {
  display: block;
  margin-top: 7px;
  color: rgba(248, 241, 229, 0.6);
  line-height: 1.55;
}

.node-host {
  top: 58px;
  left: 54px;
}

.node-gateway {
  top: 248px;
  right: 52px;
}

.node-mobile {
  left: 66px;
  bottom: 64px;
}

.flow-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #7cf1bf, #ff8d32, transparent);
  box-shadow: 0 0 22px rgba(124, 241, 191, 0.5);
  transform-origin: left center;
}

.flow-line-a {
  width: 360px;
  top: 176px;
  left: 238px;
  transform: rotate(22deg);
}

.flow-line-b {
  width: 420px;
  right: 148px;
  bottom: 210px;
  transform: rotate(154deg);
}

.phone-stack {
  position: absolute;
  z-index: 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 238, 210, 0.18);
  border-radius: 34px;
  background: #0d0d0b;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.phone-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-stack-front {
  width: min(34vw, 330px);
  aspect-ratio: 9 / 19;
  right: 34%;
  bottom: 42px;
  transform: rotate(-7deg);
}

.phone-stack-back {
  width: min(28vw, 260px);
  aspect-ratio: 9 / 19;
  right: 7%;
  bottom: 68px;
  opacity: 0.74;
  transform: rotate(9deg);
}

.terminal-card {
  position: absolute;
  z-index: 6;
  left: 48%;
  top: 72px;
  width: 260px;
  padding: 16px;
  border: 1px solid rgba(124, 241, 191, 0.24);
  border-radius: 20px;
  background: rgba(4, 12, 10, 0.78);
  box-shadow: 0 0 50px rgba(124, 241, 191, 0.14);
}

.terminal-card code {
  display: block;
  margin-top: 10px;
  color: rgba(216, 255, 235, 0.82);
  font-size: 0.78rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cf1bf;
}

.terminal-dots span:nth-child(2) {
  background: #ffcf70;
}

.terminal-dots span:nth-child(3) {
  background: #ff8d32;
}

.showcase-marquee {
  width: 100vw;
  margin: 8px 0 0 calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(255, 238, 210, 0.12);
  border-bottom: 1px solid rgba(255, 238, 210, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track span {
  color: rgba(248, 241, 229, 0.82);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.story-panel-section,
.showcase-cases,
.release-cta {
  position: relative;
  z-index: 2;
}

.scroll-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.story-panel {
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(255, 238, 210, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.story-panel.active,
.story-panel:hover {
  border-color: rgba(124, 241, 191, 0.4);
  background:
    radial-gradient(circle at top right, rgba(124, 241, 191, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.08);
}

.story-number {
  color: #ff8d32;
  font-size: 0.82rem;
}

.story-panel h3,
.case-card h3 {
  margin: 42px 0 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.08;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  margin-top: 34px;
}

.case-card {
  position: relative;
  min-height: 292px;
  padding: 28px;
  border: 1px solid rgba(255, 238, 210, 0.14);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 141, 50, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.07);
}

.case-large {
  grid-row: span 2;
}

.case-wide {
  grid-column: span 2;
}

.case-card img {
  position: absolute;
  right: 24px;
  bottom: -90px;
  width: min(46%, 280px);
  border-radius: 28px;
  transform: rotate(7deg);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.34);
}

.showcase-home .text-link {
  color: #7cf1bf;
}

.release-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 238, 210, 0.14);
  border-radius: 38px;
  background:
    radial-gradient(circle at 8% 10%, rgba(124, 241, 191, 0.16), transparent 28%),
    radial-gradient(circle at 92% 20%, rgba(255, 141, 50, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.075);
}

.release-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.release-card p {
  max-width: 760px;
  line-height: 1.78;
}

.release-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.release-download {
  display: grid;
  gap: 14px;
  min-width: min(52vw, 520px);
}

.release-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
}

.release-platform {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(255, 238, 210, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.release-platform span {
  display: block;
  color: rgba(248, 241, 229, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-platform strong {
  display: block;
  margin-top: 4px;
  color: #fff7e6;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1.35rem;
}

.download-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 238, 210, 0.12);
  border-radius: 18px;
  background: rgba(18, 15, 10, 0.18);
}

.download-qr img {
  width: 128px;
  height: 128px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
}

.download-qr figcaption {
  color: rgba(248, 241, 229, 0.7);
  font-size: 0.86rem;
}

.hero-copy h1,
.page-title,
.section-heading h2,
.story-copy h3,
.proof-copy h2,
.cta-card h2 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
}

.hero-copy h1 {
  max-width: 12.5ch;
  line-height: 1.02;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  text-wrap: balance;
}

.page-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  color: var(--accent-strong);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--accent-strong);
}

.hero-summary,
.hero-detail,
.section-heading p,
.story-copy p,
.cta-card p {
  line-height: 1.85;
}

.hero-summary {
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.hero-detail {
  margin: 16px 0 0;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffaf5;
  background: linear-gradient(135deg, var(--accent) 0%, #de8a48 100%);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.58);
}

.home-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(88, 63, 35, 0.12);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.glass-card,
.stat-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.visual-frame,
.visual-note,
.pain-card,
.story-card,
.audience-card,
.proof-board,
.cta-card,
.link-card,
.doc-card,
.compare-card,
.hero-panel,
.mini-card,
.practical-card,
.step-card {
  border-radius: var(--radius-xl);
}

.hero-panel {
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(251, 245, 236, 0.95)),
    var(--panel-strong);
}

.hero-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hero-panel-title {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.hero-panel-copy {
  margin: 0;
  line-height: 1.75;
}

.hero-panel-version {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(201, 105, 26, 0.12);
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.hero-point-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.hero-point-list div {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(88, 63, 35, 0.08);
}

.hero-point-list strong,
.mini-card strong,
.proof-metrics strong,
.version-list strong {
  font-size: 1rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  padding: 22px;
}

.mini-card p {
  margin: 10px 0 0;
  line-height: 1.75;
}

.section {
  padding: 92px 0 0;
}

.site-main {
  padding-bottom: 64px;
}

.page-hero {
  padding: 48px 0 0;
}

.section-heading {
  max-width: 840px;
}

.section-heading.wide {
  max-width: 920px;
}

.section-heading h2,
.proof-copy h2,
.cta-card h2 {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.08;
}

.pain-grid,
.story-grid,
.timeline,
.audience-grid,
.proof-metrics,
.link-grid,
.doc-grid,
.comparison-grid,
.practical-grid,
.steps-grid,
.version-list {
  margin-top: 32px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pain-card,
.audience-card,
.link-card,
.doc-card,
.compare-card,
.practical-card,
.step-card {
  padding: 24px;
}

.pain-index {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 105, 26, 0.12);
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
}

.pain-card h3,
.story-copy h3,
.timeline-item h3,
.audience-card h3,
.practical-card h3,
.step-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.pain-card p,
.timeline-item p,
.proof-copy p,
.practical-card p,
.step-card p {
  margin: 0;
}

.story-grid {
  display: grid;
  gap: 22px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.practical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-card h3,
.doc-card h3,
.compare-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.link-card p,
.doc-card p,
.compare-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--text-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
}

.inline-link {
  margin-top: 0;
  margin-left: 4px;
  margin-right: 4px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 22px;
  align-items: center;
}

.story-card.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.story-card.reverse .story-visual {
  order: 2;
}

.story-card.reverse .story-copy {
  order: 1;
}

.story-visual {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(88, 63, 35, 0.08);
  background: rgba(255, 255, 255, 0.46);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-shot-panel {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(120, 162, 139, 0.16), transparent 40%),
    rgba(255, 255, 255, 0.34);
}

.phone-shot {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(68, 44, 18, 0.12);
}

.story-tag {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--accent-strong);
}

.story-copy p {
  margin: 0;
}

.story-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  line-height: 1.78;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 16px 40px rgba(68, 44, 18, 0.05);
}

.timeline-time {
  color: var(--accent-strong);
  font-size: 0.82rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inline-code,
.code-card code {
  font-family: "Space Grotesk", Consolas, monospace;
}

.inline-code {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(88, 63, 35, 0.06);
  color: var(--accent-strong);
}

.code-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  overflow: auto;
}

.code-card pre {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.7;
  color: var(--text-soft);
}

.ordered-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.ordered-list p {
  margin: 0;
  line-height: 1.75;
}

.audience-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 14px;
  line-height: 1.78;
}

.proof-board,
.version-board {
  padding: 30px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.proof-metrics {
  display: grid;
  gap: 18px;
}

.screenshot-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screenshot-card {
  padding: 18px;
  display: grid;
  gap: 18px;
}

.screenshot-copy h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.screenshot-copy p {
  margin: 0;
  line-height: 1.8;
  color: var(--text-soft);
}

.proof-metrics article,
.version-list article {
  padding: 18px 0;
  border-bottom: 1px solid rgba(88, 63, 35, 0.08);
}

.proof-metrics article:last-child,
.version-list article:last-child {
  border-bottom: none;
}

.proof-metrics strong,
.version-list strong {
  display: block;
  margin-bottom: 8px;
}

.proof-metrics span,
.version-list span {
  display: block;
  line-height: 1.78;
  word-break: break-all;
}

.cta {
  padding-bottom: 100px;
}

.cta-card {
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(201, 105, 26, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(245, 236, 225, 0.96));
  border: 1px solid rgba(88, 63, 35, 0.1);
}

.version-meta p {
  margin-top: 16px;
}

/* 默认直接可见，避免脚本异常时整页空白。 */
.reveal {
  opacity: 1;
  transform: none;
}

/* 有 JS 时再启用渐显，只把动画当增强效果。 */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

/* 首屏区域优先保证切页时立即可见，避免等待 JS/字体期间出现空白闪烁。 */
.js .home-hero,
.js .page-hero {
  opacity: 1;
  transform: none;
}

.js.gsap .reveal {
  transition: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(16px, 22px, 0) scale(1.06);
  }
}

@media (max-width: 1100px) {
  .hero,
  .showcase-hero,
  .link-grid,
  .doc-grid,
  .comparison-grid,
  .proof-board,
  .story-card,
  .story-card.reverse,
  .practical-grid,
  .steps-grid,
  .version-board {
    grid-template-columns: 1fr;
  }

  .showcase-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .showcase-stage {
    min-height: 620px;
  }

  .scroll-story,
  .case-grid,
  .release-card {
    grid-template-columns: 1fr;
  }

  .case-large,
  .case-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .story-card.reverse .story-visual,
  .story-card.reverse .story-copy {
    order: initial;
  }
}

@media (max-width: 780px) {
  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav {
    gap: 8px 10px;
  }

  .nav a {
    padding: 8px 12px;
  }

  .hero {
    padding-top: 34px;
  }

  .showcase-copy h1 {
    max-width: 8.5ch;
    font-size: clamp(3.5rem, 16vw, 5.8rem);
    line-height: 0.96;
  }

  .showcase-stage {
    min-height: 740px;
    border-radius: 30px;
  }

  .stage-node {
    width: min(78vw, 260px);
  }

  .node-host {
    top: 28px;
    left: 22px;
  }

  .node-gateway {
    top: 182px;
    right: 22px;
  }

  .node-mobile {
    left: 22px;
    bottom: 32px;
  }

  .phone-stack-front {
    width: min(52vw, 230px);
    right: 34px;
    bottom: 178px;
  }

  .phone-stack-back {
    width: min(42vw, 190px);
    right: 14px;
    bottom: 212px;
  }

  .terminal-card {
    left: 22px;
    top: 330px;
    width: min(78vw, 260px);
  }

  .flow-line {
    display: none;
  }

  .marquee-track span {
    font-size: 1.55rem;
  }

  .story-panel,
  .case-card {
    min-height: auto;
    padding: 24px;
  }

  .case-card img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(70%, 220px);
    margin: 18px auto -28px;
  }

  .release-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .release-download {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .release-platforms {
    grid-template-columns: 1fr;
  }

  .download-qr {
    justify-self: start;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .hero-panel-header {
    flex-direction: column;
  }

  .hero-proof,
  .pain-grid,
  .audience-grid,
  .link-grid,
  .doc-grid,
  .comparison-grid,
  .screenshot-grid,
  .practical-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .visual-frame,
  .visual-note,
  .story-card,
  .proof-board,
  .cta-card,
  .version-board {
    padding: 22px;
  }
}
