:root {
  --bg: #010404;
  --bg-soft: #061113;
  --text: #dff7f3;
  --muted: rgba(208, 231, 228, 0.58);
  --line: rgba(78, 203, 203, 0.18);
  --pill: rgba(255, 255, 255, 0.08);
  --pill-border: rgba(255, 255, 255, 0.08);
  --primary-a: #31f7f4;
  --primary-b: #b7f2bf;
  --shadow-cyan: rgba(49, 247, 244, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #000;
  color: var(--text);
}

body {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -2%, rgba(0, 165, 177, 0.23), transparent 33%),
    radial-gradient(circle at 50% 18%, rgba(13, 113, 117, 0.16), transparent 30%),
    linear-gradient(180deg, #021214 0%, #010707 30%, #000 100%);
}

.bg-glow {
  position: absolute;
  pointer-events: none;
  filter: blur(44px);
  opacity: 0.7;
}

.bg-glow-left {
  top: -110px;
  left: -120px;
  width: 420px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 186, 198, 0.18) 0%, transparent 70%);
}

.bg-glow-center {
  top: -120px;
  left: 50%;
  width: 660px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 208, 225, 0.22) 0%, transparent 68%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(44, 189, 194, 0.03), transparent 16%, transparent 84%, rgba(44, 189, 194, 0.03)),
    linear-gradient(180deg, transparent 0%, rgba(14, 104, 111, 0.05) 45%, transparent 100%);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 14px 0 14px;
}

.brand img {
  display: block;
  width: 52px;
  height: auto;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover,
.button:hover,
.scroll-indicator:hover {
  transform: translateY(-1px);
}

[hidden] {
  display: none !important;
}

.chip-docs {
  height: 38px;
  padding: 0 20px;
  gap: 9px;
  color: rgba(245, 248, 248, 0.92);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.chip-docs img {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.chip-docs span {
  display: inline-block;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  padding: 24px 16px 80px;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-24px);
}

.hero-art {
  width: 300px;
  max-width: 100%;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 18px rgba(29, 222, 225, 0.1));
}

.hero-divider {
  width: min(350px, 62vw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 204, 211, 0.55), transparent);
}

.hero-divider p {
  margin: 0;
  color: rgba(202, 214, 214, 0.48);
  font-size: 12px;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(222, 232, 229, 0.68);
}

.hero-subtitle strong {
  color: #77f2dd;
  font-weight: 600;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-pills li {
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: rgba(227, 235, 235, 0.76);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button-primary {
  color: #082c28;
  background: linear-gradient(90deg, #2df7f1 0%, #9cf3c6 100%);
  box-shadow:
    0 0 0 1px rgba(177, 247, 221, 0.12),
    0 6px 28px rgba(45, 247, 241, 0.24);
}

.button-secondary {
  color: rgba(244, 247, 247, 0.92);
  background: rgba(255, 255, 255, 0.12);
}

.spark {
  font-size: 15px;
  line-height: 1;
}

.arrow {
  font-size: 15px;
  opacity: 0.82;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 19px;
  z-index: 1;
  width: 16px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(102, 204, 208, 0.28);
  border-radius: 999px;
  background: rgba(11, 23, 24, 0.55);
  transform: translateX(-50%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 10px rgba(47, 240, 234, 0.16);
  cursor: pointer;
}

.scroll-indicator span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: #38f4ef;
  box-shadow: 0 0 10px rgba(56, 244, 239, 0.9);
  animation: indicator-move 1.8s ease-in-out infinite;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 154, 175, 0.4));
}

.page-shell::before {
  left: -10px;
  transform: rotate(-10deg);
}

.page-shell::after {
  right: -10px;
  transform: rotate(10deg);
  background: linear-gradient(90deg, rgba(34, 154, 175, 0.4), transparent);
}

body.is-ready .hero-content {
  animation: fade-up 0.9s ease both;
}

@keyframes indicator-move {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(-24px);
  }
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .topbar {
    padding-top: 14px;
  }

  .brand img {
    width: 48px;
  }

  .chip {
    height: 29px;
    padding: 0 11px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    padding: 54px 16px 92px;
  }

  .hero-content {
    transform: none;
  }

  .hero-art {
    width: min(84vw, 620px);
    margin-bottom: 12px;
  }

  .hero-divider {
    width: min(320px, 82vw);
  }

  .hero-subtitle {
    font-size: 14px;
    padding: 0 12px;
  }

  .feature-pills {
    gap: 8px;
  }

  .feature-pills li {
    font-size: 12px;
  }

  .hero-cta {
    flex-direction: column;
    width: min(320px, 90vw);
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .scroll-indicator {
    bottom: 16px;
  }
}
