
:root {
  --bg: #0c0f13;
  --panel: rgba(255,255,255,.075);
  --panel-2: rgba(255,255,255,.105);
  --text: #f2f7fb;
  --muted: #aab5c2;
  --line: rgba(255,255,255,.13);
  --accent: #d8fff2;
  --accent-2: #70c9e8;
  --shadow: rgba(0,0,0,.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(112, 201, 232, .22), transparent 31%),
    radial-gradient(circle at 88% 12%, rgba(216, 255, 242, .13), transparent 25%),
    linear-gradient(145deg, #07090c, #10151b 50%, #080a0d);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(10, 13, 17, .72);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 800;
}

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

.hero {
  padding: 90px 0 56px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 12px;
  margin: 0 0 16px;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 7.2vw, 86px);
  line-height: .94;
  letter-spacing: -.07em;
}

.hero-text {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
  max-width: 660px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.btn.primary {
  background: var(--accent);
  color: #07100f;
  border-color: transparent;
}

.mock {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 30px 90px var(--shadow);
  min-height: 420px;
  overflow: hidden;
}

.fake-page {
  border-radius: 18px;
  background: rgba(0,0,0,.22);
  height: 376px;
  padding: 22px;
  color: rgba(255,255,255,.6);
}

.fake-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  margin-bottom: 14px;
}

.fake-line.short {
  width: 64%;
}

.fake-line.tiny {
  width: 36%;
}

.highlight {
  display: inline-block;
  background: #fff176;
  color: #111;
  border-radius: 4px;
  padding: 0 5px;
  font-weight: 900;
}

.bubble {
  position: absolute;
  right: 34px;
  bottom: 32px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(22,24,28,.95);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 45px rgba(0,0,0,.4);
  font-weight: 900;
  color: var(--accent);
}

.search-panel {
  position: absolute;
  right: 32px;
  top: 48px;
  width: 290px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(24,28,34,.96);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.search-panel input {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.09);
  color: #fff;
  padding: 0 10px;
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.panel-row span {
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 48px 0;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.05em;
  margin: 0 0 16px;
}

.section-lead {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
  max-width: 760px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  padding: 22px;
  min-height: 168px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.page {
  padding: 56px 0 80px;
}

.doc {
  max-width: 860px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 42px);
  line-height: 1.75;
  color: var(--muted);
}

.doc h1,
.doc h2,
.doc h3 {
  color: var(--text);
  letter-spacing: -.04em;
}

.doc h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
}

.doc code {
  background: rgba(255,255,255,.1);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0;
  margin-top: 46px;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
}

[data-lang="en"] .zh,
[data-lang="zh"] .en {
  display: none !important;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}
