/* =========================================================
   超级小火箭加速器 — 推广站样式
   深色科技风:黑紫渐变 + 霓虹紫 + 玻璃拟态
   ========================================================= */

:root {
  --bg: #0a0612;
  --bg-2: #120a24;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(168, 85, 247, 0.18);
  --border-strong: rgba(168, 85, 247, 0.42);

  --accent: #a855f7;
  --accent-2: #7c3aed;
  --accent-glow: #c084fc;
  --accent-soft: rgba(168, 85, 247, 0.18);

  --text: #f3e8ff;
  --text-muted: #b8a4d0;
  --text-dim: #8a7aa3;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-glow: 0 0 0 1px rgba(168, 85, 247, 0.25),
                 0 10px 40px -10px rgba(168, 85, 247, 0.55);
  --shadow-card: 0 10px 40px -20px rgba(0, 0, 0, 0.7);

  --container: 1120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }

/* 全局背景:多重径向渐变营造深色科技感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(217, 70, 239, 0.22), transparent 55%),
    radial-gradient(700px 500px at 50% 110%, rgba(99, 102, 241, 0.20), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* 细微噪点 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.012) 0,
      rgba(255,255,255,0.012) 1px,
      transparent 1px, transparent 3px);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

.section {
  padding: 96px 0;
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg,
    rgba(168, 85, 247, 0.04) 0%,
    rgba(168, 85, 247, 0.01) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #fff 0%, var(--accent-glow) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10, 6, 18, 0.65);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand-icon { font-size: 1.35rem; filter: drop-shadow(0 0 8px rgba(168,85,247,0.7)); }
.brand-text {
  background: linear-gradient(90deg, #fff, var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-xl { padding: 18px 38px; font-size: 1.15rem; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 60%, #d946ef 130%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 12px 36px -10px rgba(168, 85, 247, 0.75),
    0 0 60px -20px rgba(217, 70, 239, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 48px -10px rgba(168, 85, 247, 0.85),
    0 0 80px -20px rgba(217, 70, 239, 0.75);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  font-size: 1.1em;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.orb-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  top: -120px; left: -100px;
}
.orb-b {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #d946ef 0%, transparent 70%);
  top: 40px; right: -120px;
  animation-delay: -5s;
}
.orb-c {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: -80px; left: 30%;
  animation-delay: -9s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent-glow);
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #e9d5ff 50%, var(--accent-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub-title {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  margin-top: 12px;
  color: var(--text-muted);
  background: none;
  -webkit-text-fill-color: var(--text-muted);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 40px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168,85,247,0.4), transparent 40%, rgba(217,70,239,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--surface-strong);
  border-color: var(--border-strong);
}
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
}
.card-icon-large {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.card-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* Feature card variants */
.card-feature {
  padding: 40px 36px;
}
.card-feature .bullet-list {
  margin-top: 20px;
  list-style: none;
}
.card-feature .bullet-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.card-feature .bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent-glow);
  font-weight: 700;
}

.card-highlight {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(168,85,247,0.10), rgba(217,70,239,0.04));
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-bottom: 20px;
}
.card-tag-accent {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--accent-glow);
}

.nodes-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 1rem;
}
.nodes-note strong {
  color: var(--accent-glow);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] {
  background: var(--surface-strong);
  border-color: var(--border-strong);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-glow);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 28px 24px;
  color: var(--text-muted);
}
.faq-body p { margin: 0; }

/* ---------- Download section ---------- */
.section-download {
  padding: 80px 0 120px;
}
.download-card {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(160deg, rgba(168,85,247,0.16), rgba(217,70,239,0.06));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.download-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px circle at 50% -20%, rgba(168,85,247,0.3), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.download-card > * { position: relative; z-index: 1; }

.download-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, var(--accent-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.download-desc {
  color: var(--text-muted);
  margin: 0 0 36px;
  font-size: 1.05rem;
}
.download-meta {
  margin: 24px 0 40px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.install-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.install-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent-glow);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 50px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}
.footer-promise {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-glow); }
.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 8px 0 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .download-card { padding: 44px 24px; }
  .install-steps { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .card { padding: 26px 22px; }
  .card-feature { padding: 30px 24px; }
  .faq-item summary { padding: 18px 22px; font-size: 1rem; }
  .faq-body { padding: 0 22px 20px; }
  .nav-cta { padding: 6px 14px; font-size: 0.85rem; }
}
