:root {
  --bg: #0f1115;
  --panel: rgba(27, 31, 38, 0.88);
  --panel-strong: #1d2128;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #95a2b4;
  --accent: #5aa7ff;
  --accent-2: #22c55e;
  --warm: #ff7a2f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(90, 167, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1), transparent 25%),
    linear-gradient(180deg, #101318 0%, #0c0e12 100%);
  color: var(--text);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  backdrop-filter: blur(18px);
  background: rgba(13, 15, 19, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 20px;
}

nav a,
.doc-link,
.button {
  text-decoration: none;
}

nav a {
  color: var(--muted);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  min-height: 86vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8ab7ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.02;
  max-width: 10ch;
}

.hero-text,
.section-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 60ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 600;
}

.button.primary {
  color: #091018;
  background: linear-gradient(135deg, #71b5ff 0%, #4d8dff 100%);
  box-shadow: var(--shadow);
}

.button.secondary {
  color: var(--text);
  background: #20252d;
  border: 1px solid var(--border);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}

.hero-panel,
.card,
.code-card,
.download-panel,
.doc-link {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 26px;
  padding: 20px;
}

.launcher-mock {
  border-radius: 20px;
  overflow: hidden;
  background: #191d22;
  border: 1px solid rgba(255,255,255,0.06);
}

.search-row,
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

.search-row {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.search-icon {
  margin-right: 14px;
  color: #8fa0b2;
}

.search-text {
  color: #e9eef5;
  font-size: 1.2rem;
  flex: 1;
}

.list {
  padding: 12px;
}

.item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
}

.item.active {
  background: #353a42;
}

.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #0e1218;
  font-weight: 700;
}

.icon.google { background: #5aa7ff; }
.icon.green { background: #39d98a; }
.icon.blue { background: #8aa1ff; }

.meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta span,
.side,
.status-row {
  color: var(--muted);
}

.section {
  padding: 84px 0 0;
}

.section-head {
  margin-bottom: 26px;
}

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

.card {
  padding: 22px;
  border-radius: 22px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.code-card {
  margin-top: 24px;
  padding: 20px;
  border-radius: 20px;
  overflow-x: auto;
}

pre {
  margin: 0;
  font-family: "Cascadia Code", "Consolas", monospace;
  color: #d5deea;
  line-height: 1.6;
}

.doc-links {
  display: grid;
  gap: 14px;
}

.doc-link {
  display: block;
  padding: 20px;
  border-radius: 18px;
  color: var(--text);
}

.doc-link strong {
  display: block;
  margin-bottom: 8px;
}

.doc-link span {
  color: var(--muted);
  line-height: 1.7;
}

.download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
  margin-top: 24px;
  border-radius: 22px;
}

.download-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

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