* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  background: #0a0a12;
  color: #e7e7f0;
  line-height: 1.75;
  background-image: radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.12), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.1), transparent 40%);
  background-attachment: fixed;
}
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* 顶部导航：吸顶深色玻璃拟态 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c084fc;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: #7dd3fc;
  margin-left: 6px;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #7c3aed transparent;
  padding-bottom: 4px;
}
.main-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover {
  color: #fff;
  background: rgba(168, 85, 247, 0.16);
}

/* 锚点区块：避免被固定导航遮挡 */
section {
  scroll-margin-top: 76px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0 64px;
}
.hero-kicker {
  display: inline-block;
  color: #7dd3fc;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  border: 1px solid rgba(34, 211, 238, 0.4);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.2;
  background: linear-gradient(120deg, #c084fc, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #a5b4fc;
  margin-bottom: 18px;
}
.hero-summary {
  color: #cbd5e1;
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(120deg, #8b5cf6, #22d3ee);
  color: #0a0a12;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.btn-ghost {
  border: 1px solid rgba(165, 180, 252, 0.5);
  color: #a5b4fc;
}
.hero-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 通用面板 */
.panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}
.panel-reverse .panel-media {
  order: -1;
}
.panel-text h2 {
  font-size: 1.9rem;
  margin-bottom: 14px;
  color: #e9d5ff;
  padding-left: 14px;
  border-left: 4px solid #8b5cf6;
}
.panel-text h3 {
  color: #7dd3fc;
  font-size: 1.1rem;
  margin: 22px 0 10px;
}
.panel-text .lead {
  color: #a5b4fc;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.panel-text p {
  color: #cbd5e1;
  margin-bottom: 10px;
}
.panel-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* 列表 */
.check-list {
  list-style: none;
  margin: 8px 0 16px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  color: #d4d4e0;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: #7dd3fc;
  font-weight: 700;
}
.step-list {
  counter-reset: step;
  list-style: none;
  margin: 8px 0 16px;
}
.step-list li {
  position: relative;
  counter-increment: step;
  padding-left: 38px;
  margin-bottom: 10px;
  color: #d4d4e0;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: linear-gradient(120deg, #8b5cf6, #22d3ee);
  border-radius: 50%;
  color: #0a0a12;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  line-height: 24px;
}
.note {
  background: rgba(34, 211, 238, 0.08);
  border-left: 3px solid #22d3ee;
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  color: #a5f3fc !important;
}

/* 作品档案 */
.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.spec-list dt {
  color: #7dd3fc;
  font-weight: 700;
}
.spec-list dd {
  color: #cbd5e1;
  margin-bottom: 6px;
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  margin: 14px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
th, td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
th {
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.12);
}
td {
  color: #cbd5e1;
}

/* FAQ */
.faq-wrap {
  max-width: 860px;
}
details {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: #e9d5ff;
  list-style: none;
  position: relative;
}
summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 1.3rem;
  color: #7dd3fc;
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 4px 18px 16px;
  color: #cbd5e1;
}

/* 长尾词卡片 */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.tag-card {
  display: block;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.tag-card:hover {
  background: rgba(139, 92, 246, 0.16);
  transform: translateY(-2px);
}
.tag-card strong {
  display: block;
  color: #7dd3fc;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.tag-card span {
  color: #b6b6c6;
  font-size: 0.9rem;
}

/* 联系与页脚 */
.fine-print {
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 12px;
  margin-top: 18px;
}
.site-footer {
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  text-align: center;
  color: #94a3b8;
  padding: 28px 20px 40px;
}
.site-footer a {
  color: #7dd3fc;
  text-decoration: none;
}
.foot-keywords {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #64748b;
}

/* 响应式 */
@media (max-width: 860px) {
  .hero,
  .panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 44px 0;
  }
  .panel-reverse .panel-media {
    order: 0;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .tag-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }
}
