:root {
  --bg-0: #090909;
  --bg-1: #111111;
  --bg-2: #181818;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: rgba(255, 255, 255, 0.96);
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.42);
  --accent: #ffffff;
  --accent-warm-0: #ffb545;
  --accent-warm-1: #ff6b3d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "MiSans", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 181, 69, 0.08), transparent 22%),
    linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 42%, var(--bg-2) 100%);
  overflow-x: hidden;
}

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

button,
a.btn {
  font: inherit;
}

.page-noise,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-noise {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
}

.page-glow {
  filter: blur(90px);
  opacity: 0.45;
}

.glow-left {
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.09), transparent 24%);
}

.glow-right {
  background: radial-gradient(circle at 82% 24%, rgba(255, 140, 80, 0.12), transparent 20%);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  margin-top: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10, 10, 10, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-shadow);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

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

.brand-copy span {
  font-size: 12px;
  color: var(--text-faint);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.topnav a {
  position: relative;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.48);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.topnav a:hover::after {
  transform: scaleX(1);
}

.topbar-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.topbar-cta {
  min-width: 118px;
  height: 44px;
  padding: 0 18px;
  background: #fff;
  color: #090909;
  font-size: 14px;
  font-weight: 700;
}

.topbar-link-btn {
  min-width: 102px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.18s ease, border-color 0.18s ease;
}

.purchase-entry {
  background: linear-gradient(135deg, var(--accent-warm-0) 0%, var(--accent-warm-1) 100%);
  border-color: rgba(255, 181, 69, 0.42);
  color: #141414;
  box-shadow: 0 12px 28px rgba(255, 107, 61, 0.22);
}

.topbar-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.topbar-link-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.purchase-entry:hover {
  background: linear-gradient(135deg, #ffc76b 0%, #ff845a 100%);
  border-color: rgba(255, 181, 69, 0.5);
  box-shadow: 0 16px 34px rgba(255, 107, 61, 0.28);
}

.topbar-cta-disabled,
.btn-disabled {
  cursor: default;
  opacity: 0.92;
}

.topbar-cta-disabled:hover,
.btn-disabled:hover {
  transform: none;
}

.topbar-cta-disabled::after,
.btn-disabled::after {
  content: "待上架";
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(9, 9, 9, 0.14);
  color: rgba(9, 9, 9, 0.8);
  font-size: 11px;
  font-weight: 700;
}

.hero {
  padding: 88px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: center;
}

.eyebrow,
.section-label,
.benefit-index,
.workflow-step,
.signal-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(42px, 6vw, 76px);
}

.hero-desc,
.section-desc,
.footer-panel p {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
}

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

.hero-note {
  margin: 14px 0 0;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.8;
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e9e9e9 100%);
  color: #090909;
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-purchase {
  background: linear-gradient(135deg, var(--accent-warm-0) 0%, var(--accent-warm-1) 100%);
  color: #141414;
  border-color: rgba(255, 181, 69, 0.42);
  box-shadow: 0 16px 38px rgba(255, 107, 61, 0.24);
}

.btn-purchase:hover {
  background: linear-gradient(135deg, #ffc76b 0%, #ff845a 100%);
  box-shadow: 0 20px 44px rgba(255, 107, 61, 0.32);
}

.hero-metrics {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.benefit-card,
.workflow-card,
.faq-card,
.signal-card,
.footer-panel,
.browser-frame {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.metric-card {
  padding: 18px;
  border-radius: 20px;
}

.metric-card strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
}

.metric-card span {
  display: block;
  margin-top: 8px;
  color: var(--text-faint);
  line-height: 1.6;
  font-size: 13px;
}

.hero-stage {
  position: relative;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 5% auto auto 6%;
  width: 66%;
  height: 66%;
  background: radial-gradient(circle, rgba(255, 181, 69, 0.24), transparent 68%);
  filter: blur(70px);
  z-index: -1;
}

.browser-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(13, 13, 13, 0.84);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.browser-body {
  padding: 22px;
}

.scene-preview {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 16px;
}

.scene-image,
.prompt-panel,
.signal-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scene-image {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.scene-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.image-grid {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.1), transparent 30%),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.3), transparent 18%),
    radial-gradient(circle at 72% 35%, rgba(255,181,69,0.32), transparent 22%),
    linear-gradient(135deg, #141414 0%, #232323 42%, #111111 100%);
  position: relative;
  overflow: hidden;
}

.image-grid::before,
.image-grid::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
}

.image-grid::before {
  width: 160px;
  height: 160px;
  right: -18px;
  bottom: -26px;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 62%);
}

.image-grid::after {
  width: 120px;
  height: 120px;
  left: 12px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(255,107,61,0.34), transparent 64%);
}

.prompt-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.panel-tabs button {
  height: 40px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.panel-tabs button.active {
  background: #ffffff;
  color: #090909;
  font-weight: 700;
}

.panel-editor {
  min-height: 170px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.85;
  font-size: 14px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-actions span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.signal-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.signal-card {
  padding: 16px 18px;
  border-radius: 20px;
}

.signal-kicker,
.section-label,
.workflow-step {
  margin-bottom: 10px;
  color: var(--text-faint);
}

.signal-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 42px 0;
}

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

.section-heading h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.benefit-grid,
.workflow-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.workflow-card,
.faq-card {
  padding: 24px;
  border-radius: 24px;
}

.benefit-index {
  margin-bottom: 16px;
  color: rgba(255, 181, 69, 0.9);
}

.benefit-card h3,
.workflow-card h3,
.faq-card h3 {
  margin: 0;
  font-size: 22px;
}

.benefit-card p,
.workflow-card p,
.faq-card p {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 15px;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-card {
  min-height: 224px;
}

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

.faq-card {
  min-height: 212px;
}

.footer {
  padding: 8px 0 72px;
}

.footer-panel {
  padding: 24px 28px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-panel strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 12px;
}

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

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.reveal-pending,
.reveal.is-visible {
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .benefit-grid,
  .workflow-grid,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-metrics,
  .benefit-grid,
  .workflow-grid,
  .faq-list,
  .signal-row,
  .scene-preview {
    grid-template-columns: 1fr;
  }

  .browser-body {
    padding: 16px;
  }

  .scene-image {
    min-height: 240px;
  }

  .footer-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 20px);
  }

  .topbar {
    top: 10px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .topbar-cta,
  .topbar-link-btn {
    width: 100%;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: 40px;
  }

  .hero-desc,
  .section-desc,
  .footer-panel p {
    font-size: 15px;
  }

  .btn,
  .topbar-cta,
  .topbar-link-btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .benefit-card,
  .workflow-card,
  .faq-card,
  .footer-panel,
  .metric-card {
    border-radius: 22px;
  }

  .browser-frame {
    border-radius: 26px;
  }
}
