@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/outfit@5.2.5/latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #090b0e;
  --bg-subtle: #111418;
  --card-bg: #15191e;
  --card-hover: #1b2027;
  --card-border: #232a32;
  --ink: #f0f3f6;
  --ink-secondary: #9aa4af;
  --muted: #626c77;
  --accent: #f0f3f6;
  --accent-ink: #090b0e;
  --primary-btn-bg: #f0f3f6;
  --primary-btn-ink: #090b0e;
  --primary-btn-hover: #ffffff;
  --border: #21262d;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.container {
  width: min(64rem, calc(100% - 3rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(9, 11, 14, 0.8);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  color-scheme: dark;
  transition: all 0.15s ease;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--ink-secondary);
}

.lang-select option {
  background-color: #15191e;
  color: #f0f3f6;
  padding: 0.5rem;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 4rem);
  min-height: calc(100svh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  box-sizing: border-box;
}

.hero > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-secondary);
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.hero-sub .emerge-unit {
  display: inline-block;
  opacity: 0;
  transform: scale(0.3);
  filter: blur(5px);
  will-change: transform, opacity, filter;
  animation: inkdropSpread 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes inkdropSpread {
  0% {
    opacity: 0;
    transform: scale(0.3);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary-btn-bg);
  color: var(--primary-btn-ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--primary-btn-hover);
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--card-bg);
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}

.btn-outline:hover {
  background: var(--card-hover);
  border-color: var(--ink-secondary);
  transform: translateY(-1px);
}

.btn-outline svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.hero-platform-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* Base Section */
.section {
  padding: 6.5rem 0;
}

.ecosystem-section {
  padding: 7.5rem 0 6.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-showcase {
  margin: 0 auto;
  max-width: 62rem;
  text-align: center;
}

.hub-dock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: rgba(22, 26, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.5rem;
  transition: transform 0.2s ease;
  user-select: none;
}

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

.dock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.dock-icon svg,
.dock-icon img {
  display: block;
  flex-shrink: 0;
}

.dock-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}

.dock-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.hub-editorial {
  max-width: 48rem;
  margin: 0 auto 3.75rem;
}

.hub-headline {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.18;
  margin: 0 0 1.25rem 0;
}

.hub-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-secondary);
  margin: 0 auto;
  max-width: 42rem;
}

/* Pure Editorial Spec Rail */
.spec-rail {
  margin-top: 0;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.spec-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spec-label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.spec-value {
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
}

@media (max-width: 860px) {
  .hub-dock {
    border-radius: 20px;
    gap: 1rem 1.5rem;
    padding: 1.25rem 1.5rem;
  }

  .dock-divider {
    display: none;
  }

  .spec-rail {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hub-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem;
  }

  .spec-rail {
    grid-template-columns: 1fr 1fr;
  }
}

/* Download Center */
.download-section {
  padding: 7rem 0 8rem;
  background: var(--bg-subtle);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.download-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.download-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.download-info p {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.download-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--ink);
}

/* Language Switching Animation */
.lang-transition-out {
  opacity: 0 !important;
  transform: translateY(-4px) scale(0.995);
  filter: blur(3px);
  transition: opacity 0.14s cubic-bezier(0.4, 0, 1, 1),
              transform 0.14s cubic-bezier(0.4, 0, 1, 1),
              filter 0.14s cubic-bezier(0.4, 0, 1, 1);
}

.lang-transition-in {
  animation: langFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes langFadeIn {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.995);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

