/* ===== 点点落地页样式（index.html） ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* 仅隐藏滚动条外观，保留滚轮、触控、键盘与锚点滚动能力 */
html {
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* 旧版 Edge/IE */
}
html::-webkit-scrollbar {
  display: none;              /* Chromium / WebKit */
  width: 0;
  height: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #060a14;
  color: #e2e8f0;
  overflow-x: hidden;
  line-height: 1.6;
}
a:focus-visible, summary:focus-visible { outline: 2px solid #2dd4bf; outline-offset: 3px; }

/* ===== 星空背景：fixed 铺满全页，内容浮于其上 ===== */
#galaxy-canvas {
  position: fixed;
  /* 不用 inset 简写：老版 Safari 不支持 */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* 显式 CSS 尺寸：后备存储按 dpr 缩放时，显示尺寸始终贴住视口，
     否则画布按属性尺寸显示，缩放/dpr 变化会造成光标效果错位 */
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* ===== 导航 ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
    padding: 18px 40px;
    background: linear-gradient(to bottom, rgba(6,10,20,0.85), transparent);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.35);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover { color: #2dd4bf; }
.btn-primary {
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(45,212,191,0.5); }

/* ===== 通用 section ===== */
section {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: #2dd4bf;
  text-transform: uppercase;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #94a3b8;
  max-width: 640px;
  margin-top: 24px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #2dd4bf, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-ghost {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.3);
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: #2dd4bf; color: #2dd4bf; }
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #475569;
  font-size: 12px;
  letter-spacing: 2px;
  animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== 能力卡片 ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(45,212,191,0.4);
  background: rgba(45,212,191,0.05);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(45,212,191,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #2dd4bf;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
}

/* ===== 快捷键区 ===== */
.keys-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.key-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.key {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #334155, #1e293b);
  border: 1px solid #475569;
  box-shadow: 0 2px 0 #0f172a, inset 0 1px 0 rgba(255,255,255,0.1);
  color: #fff;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}
.key-item .desc {
  font-size: 14px;
  color: #94a3b8;
}

/* ===== 性能区 ===== */
.perf-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.perf-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid #2dd4bf;
  border-radius: 0 12px 12px 0;
}
.perf-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 10px #2dd4bf;
}
.perf-item p {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 140px 40px;
}
.cta-section h2 {
  font-size: clamp(32px, 5vw, 56px);
  background: linear-gradient(135deg, #2dd4bf, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-section .lead { margin: 20px auto 0; }
.cta-section .hero-cta { justify-content: center; }

/* ===== FAQ（GEO/SEO 内容，样式集中在此便于统一调整） ===== */
.faq-section {
  max-width: 820px;
  margin: 0 auto;
}
.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  outline: none;
  /* 隐藏原生展开三角（原生三角会与块级 h3 断成两行） */
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* 自绘展开三角：与文字同行水平对齐，展开时旋转 90° 指示状态 */
.faq-item summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 10px;
  font-size: 12px;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::before {
  transform: rotate(90deg);
}
/* 问题用 h3 承载标题语义（利于 AI 抽取问答），外观与纯文本 summary 保持一致 */
.faq-item h3 {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.faq-item p {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Footer ===== */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
  color: #475569;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== 滚动显现 ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .keys-row { grid-template-columns: repeat(2, 1fr); }
  .perf-list { grid-template-columns: 1fr; }
  nav { padding: 14px 20px; }
  .nav-links a:not(.btn-primary) { display: none; }
  section { padding: 80px 20px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .keys-row { grid-template-columns: 1fr; }
}

/* 减少动态效果偏好：星系静态成形，内容直接呈现 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
}
