/* 银河录像局介绍页 — 独立设计，银河紫主题 */
:root {
  --bg: #fbfaff;
  --bg-alt: #f1edfb;
  --card: #ffffff;
  --ink: #231d33;
  --muted: #6b6280;
  --accent: #6d3fd4;
  --accent-deep: #4f2ba3;
  --accent-soft: #e9e0fa;
  --line: #ded4f0;
  --code-bg: #231d33;
  --code-ink: #ece2ff;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(79, 43, 163, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-deep);
  text-decoration: none;
  font-family: "Courier New", monospace;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-deep); }

/* ===== Notice bar ===== */
.notice-bar {
  max-width: 1080px;
  margin: 18px auto 0;
  padding: 10px 18px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--accent-deep);
}
.notice-bar s { opacity: 0.7; }

/* ===== Hero ===== */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--accent-deep);
  font-family: "Courier New", monospace;
}
.hero-sub {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 4px;
  margin-top: 6px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.hero-tagline {
  margin-top: 18px;
  font-size: 1.25rem;
  font-weight: 600;
}
.hero-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-desc strong { color: var(--accent-deep); }
.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(109, 63, 212, 0.35);
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost {
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); }

/* ===== Features ===== */
.features {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Sections ===== */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 20px;
}
.section.alt {
  max-width: none;
  background: var(--bg-alt);
}
.section.alt > * {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.section h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--accent-deep);
}
.section h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.section-lead { color: var(--muted); margin-bottom: 20px; }

/* ===== Tables ===== */
.table-wrap { overflow-x: auto; margin: 14px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
th, td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
th { background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; }
tr:last-child td { border-bottom: none; }
td code {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.88rem;
}
.table-note { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }

/* ===== Billing grid ===== */
.billing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.billing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.billing-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--accent); }
.billing-card p { font-size: 0.93rem; color: var(--muted); }
.billing-card strong { color: var(--accent-deep); }

/* ===== Steps & code ===== */
.steps {
  margin: 10px 0 10px 22px;
  color: var(--ink);
}
.steps li { margin-bottom: 8px; }
pre {
  background: var(--code-bg);
  color: var(--code-ink);
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 12px 0;
}
pre code { font-family: "Consolas", "Courier New", monospace; }
p > code, li > code {
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.88rem;
}

/* ===== Quotes ===== */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.quote-card blockquote {
  font-size: 0.95rem;
  color: var(--ink);
}
.quote-card blockquote::before { content: "“"; color: var(--accent); font-size: 1.4rem; }
.quote-card figcaption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.quote-card b { display: block; }
.quote-card small { color: var(--muted); }

/* ===== FAQ ===== */
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 20px;
}
.faq-list summary {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--accent);
  font-size: 1.2rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== CTA ===== */
.cta-final {
  text-align: center;
  padding: 64px 20px;
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-alt));
}
.cta-final h2 { font-size: 1.9rem; color: var(--accent-deep); }
.cta-final p { color: var(--muted); margin: 10px 0 24px; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 40px;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 0.83rem;
  color: var(--muted);
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .nav { justify-content: center; }
  .nav-links { justify-content: center; gap: 12px; }
  .hero { padding: 40px 16px 32px; }
  .section { padding: 40px 16px; }
  th, td { white-space: normal; }
}
