:root {
  --bg-dark: #060814;
  --bg-mid: #0d1330;
  --bg-deep: #171a3e;
  --text-main: #eef2ff;
  --text-soft: #b7bfd7;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-cyan: #4cc9f0;
  --glass-bg: rgba(16, 24, 52, 0.55);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow-strong: 0 22px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 0%, rgba(76, 201, 240, 0.1), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.12), transparent 44%),
    linear-gradient(140deg, var(--bg-dark), var(--bg-mid) 48%, var(--bg-deep));
  min-height: 100vh;
  font-family: "Inter", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  opacity: 0.16;
}

.orb {
  position: fixed;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  z-index: -1;
  filter: blur(26px);
  opacity: 0.26;
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  top: -10vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.8), transparent 70%);
}

.orb-2 {
  top: 10vh;
  right: -8vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.85), transparent 68%);
  animation-duration: 24s;
}

.orb-3 {
  bottom: -12vw;
  left: 35vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.85), transparent 68%);
  animation-duration: 28s;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-strong);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 0;
  border-radius: 20px;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-violet));
  box-shadow: 0 0 16px rgba(76, 201, 240, 0.8);
}

.brand-main {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.nav-links a {
  transition: color 0.25s ease;
}

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

.mail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.45);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.studio-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  text-align: right;
}

.studio-credit-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ab6e8;
}

.studio-credit-main {
  margin-top: 4px;
  font-size: 0.88rem;
  color: #e7eeff;
  letter-spacing: 0.02em;
  font-weight: 600;
  white-space: nowrap;
}

.section {
  padding: 92px 0;
}

.hero {
  padding-top: 86px;
}

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c3cae4;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  margin: 18px auto 0;
  color: var(--text-soft);
  max-width: 670px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text-main);
}

.hero-metrics {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 14px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.metric strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 8px;
}

.metric span {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-panel {
  border-radius: 24px;
  padding: 26px 26px 28px;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.2), transparent 72%);
  pointer-events: none;
}

.panel-tag {
  margin: 0;
  color: #b9bde4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-panel h2 {
  margin: 10px 0 16px;
  font-size: clamp(1.25rem, 2.8vw, 1.78rem);
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.hero-panel li {
  color: var(--text-soft);
  padding-left: 20px;
  position: relative;
}

.hero-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-indigo));
  position: absolute;
  left: 0;
  top: 10px;
}

.signal-line {
  margin: 22px 0 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(76, 201, 240, 0), rgba(76, 201, 240, 0.85), rgba(76, 201, 240, 0));
  animation: pulse 2.8s ease-in-out infinite;
}

.panel-foot {
  margin: 0;
  color: #aab2d3;
  font-size: 0.9rem;
}

.title-row {
  margin-bottom: 24px;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.18;
}

h3 {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.28;
}

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

.info-card,
.feature-card,
.phase-card {
  border-radius: 20px;
  padding: 22px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.info-card p,
.feature-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.info-card:hover,
.feature-card:hover,
.phase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.45);
}

.demo {
  position: relative;
}

.demo-shell {
  border-radius: 26px;
  padding: 24px;
}

.demo-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-tab {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(13, 19, 48, 0.65);
  color: #d8def6;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.demo-tab:hover {
  transform: translateY(-2px);
}

.demo-tab.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.32));
  border-color: rgba(139, 92, 246, 0.88);
}

.demo-stage {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.demo-screen,
.demo-info {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 36, 0.62);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2);
}

.demo-screen {
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.demo-scene {
  position: absolute;
  inset: 0;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.demo-scene.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scene-kicker {
  margin: 0;
  color: #b9c4e9;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.demo-scene h3 {
  margin-top: 8px;
}

.mock-post,
.mock-filter,
.mock-support {
  margin-top: 14px;
  border-radius: 16px;
  padding: 18px;
}

.mock-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.switch-btn {
  border: 0;
  background: transparent;
  color: #cfd7f2;
  padding: 8px 14px;
  cursor: pointer;
}

.switch-btn.active {
  background: rgba(99, 102, 241, 0.36);
  color: #fff;
}

.mock-label {
  margin: 10px 0;
  color: #d4dcf7;
}

#demo-input {
  width: 100%;
  min-height: 124px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 13, 28, 0.66);
  color: #dfe7ff;
  border-radius: 12px;
  padding: 12px;
  resize: none;
  font: inherit;
}

.mock-tags {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mock-tags span {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(95, 192, 255, 0.2);
  border: 1px solid rgba(95, 192, 255, 0.34);
}

.mock-submit {
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  cursor: pointer;
}

.reply-thread {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 14, 36, 0.52);
}

.reply-title {
  margin: 0 0 8px;
  color: #c9d2f2;
  font-size: 0.84rem;
}

.reply-item {
  margin: 0;
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(76, 201, 240, 0.12);
  border: 1px solid rgba(76, 201, 240, 0.22);
  color: #dbe6ff;
  font-size: 0.9rem;
}

.reply-item + .reply-item {
  margin-top: 8px;
}

.reply-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

#empathy-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #60a5fa, #818cf8);
}

.reply-actions span {
  color: #c8d1f0;
  font-size: 0.86rem;
}

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

.chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 20, 48, 0.7);
  color: #cfd7f2;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.chip.active {
  background: rgba(99, 102, 241, 0.36);
  border-color: rgba(139, 92, 246, 0.62);
}

.cards {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  background: rgba(8, 14, 36, 0.54);
  color: #e1e7ff;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.mini-card.hidden {
  opacity: 0.2;
  transform: scale(0.98);
}

.ai-chat {
  display: grid;
  gap: 8px;
}

.bubble {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.bubble.user {
  background: rgba(99, 102, 241, 0.24);
}

.bubble.ai {
  background: rgba(76, 201, 240, 0.16);
}

.ai-quick-list {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-quick {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 20, 48, 0.7);
  color: #cfd7f2;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ai-quick:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.62);
}

.activity-card {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px;
  background: rgba(10, 16, 34, 0.66);
}

.activity-title {
  margin: 0;
  font-weight: 600;
}

.activity-sub {
  margin: 6px 0 0;
  color: #b8c2e4;
  font-size: 0.86rem;
}

.activity-foot {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#join-activity {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #34d399, #10b981);
}

.demo-info {
  padding: 22px;
  align-self: stretch;
}

.demo-info h3 {
  margin-top: 8px;
}

.demo-info p {
  color: #c6d0ef;
}

.demo-info ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #c6d0ef;
}

.demo-info li + li {
  margin-top: 8px;
}

.demo-next {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-next-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.demo-next-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.phase-label {
  margin: 0 0 8px;
  color: #c6d2ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.phase-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.phase-card li + li {
  margin-top: 8px;
}

.footer {
  padding: 34px 0 44px;
}

.footer-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #aab2d2;
  font-size: 0.9rem;
}

.footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 36, 0.6);
  padding: 3px;
}

.music-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(9, 16, 38, 0.86);
  color: #dbe5ff;
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.music-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.42);
}

.music-toggle.playing {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.28);
}

.music-icon {
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.56s ease, transform 0.56s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 1;
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(4vw, -3vw);
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .nav-wrap {
    gap: 16px;
  }

  .studio-credit-main {
    font-size: 0.82rem;
  }

  .demo-stage,
  .overview-grid,
  .feature-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(1240px, calc(100% - 24px));
  }

  .topbar {
    top: 10px;
    margin-top: 10px;
    border-radius: 14px;
    width: min(1240px, calc(100% - 16px));
  }

  .nav-wrap {
    min-height: 60px;
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-dot {
    width: 9px;
    height: 9px;
  }

  .brand-main {
    font-size: 0.94rem;
    letter-spacing: 0.02em;
  }

  .nav-actions {
    gap: 8px;
  }

  .studio-credit {
    display: none;
  }

  .mail-btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .section {
    padding: 74px 0;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .demo-shell {
    padding: 16px;
    border-radius: 18px;
  }

  .demo-screen {
    border-radius: 14px;
    min-height: 340px;
  }

  .demo-scene {
    padding: 16px;
  }

  .activity-foot {
    align-items: flex-start;
  }

  .music-toggle {
    right: 14px;
    bottom: 14px;
    padding: 9px 12px;
  }
}

@media (max-width: 420px) {
  .nav-wrap {
    min-height: 56px;
  }

  .mail-btn {
    padding: 7px 10px;
    font-size: 0.74rem;
  }
}
