/* === 基础变量与设计 Token === */
:root {
  /* 颜色体系 */
  --color-dark: #141838;
  --color-paper: #F7F5F3;
  --color-text: #151723;
  --color-brand: #142CEB;
  --color-accent: #6EAFED;
  
  /* 组件边界 */
  --radius-card: 8px;
  --radius-btn: 6px;
  --card-border: 0;
  --card-shadow: none;
  
  /* 节奏与密度 */
  --section-y: clamp(2.5rem, 5vw, 4rem);
  --gap: clamp(0.75rem, 1.5vw, 1.25rem);
  --line-height: 1.55;
  
  /* 内容宽度 */
  --content-max: 1280px;
  
  /* 标题风格 */
  --title-weight: 800;
  --title-spacing: -0.02em;
  --title-lh: 1.1;
}

/* === 全局重置与排版 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--color-paper);
  color: var(--color-text);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === 布局容器 === */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* === 区块通用 === */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section--dark {
  background-color: var(--color-dark);
  color: var(--color-paper);
}
.section__header {
  margin-bottom: calc(var(--gap) * 2);
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: calc(var(--gap) / 2);
}
.section--paper .section__eyebrow { color: var(--color-brand); }
.section--dark .section__eyebrow { color: var(--color-accent); }

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: var(--title-weight);
  line-height: var(--title-lh);
  letter-spacing: var(--title-spacing);
  margin-bottom: var(--gap);
}
.section--paper .section__title { color: var(--color-text); }
.section--dark .section__title { color: var(--color-paper); }
.section__title .hl {
  color: var(--color-brand);
}
.section--dark .section__title .hl {
  color: var(--color-accent);
}

.section__desc {
  font-size: 1.1rem;
  max-width: 65ch;
  margin-bottom: calc(var(--gap) * 2);
}
.section--paper .section__desc { color: var(--color-text); }
.section--dark .section__desc { color: rgba(247, 245, 243, 0.85); }

/* === 按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 48px;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-dark);
  border: none;
}
.btn--primary:hover {
  background-color: #5a9bd6;
  transform: translateY(-2px);
}
.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}
.section--dark .btn--secondary {
  color: var(--color-paper);
  border-color: var(--color-paper);
}
.btn--secondary:hover {
  background-color: rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.section--dark .btn--secondary:hover {
  background-color: rgba(255,255,255,0.08);
}

/* === 导航 === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-paper);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
}
.section--dark .header {
  background-color: var(--color-dark);
  border-bottom-color: rgba(255,255,255,0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo img { height: 32px; width: auto; }
.nav__list {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav__link:hover, .nav__link[aria-current="page"] {
  opacity: 1;
}
.nav__link[aria-current="page"] {
  color: var(--color-brand);
}
.section--dark .nav__link[aria-current="page"] {
  color: var(--color-accent);
}
/* 深色背景导航链接文字对比度修复 */
.section--dark .nav__link {
  color: #ffffff;
}
@media (max-width: 768px) {
  .nav__list { gap: 16px; }
  .nav__link { font-size: 0.9rem; }
}

/* === Footer === */
.footer {
  padding: 48px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: rgba(21, 23, 35, 0.6);
}
.section--dark .footer {
  border-top-color: rgba(255,255,255,0.08);
  color: rgba(247, 245, 243, 0.5);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__link:hover { text-decoration: underline; }

/* === Hero === */
.hero {
  padding-top: calc(var(--section-y) * 1.5);
  padding-bottom: calc(var(--section-y) * 1.5);
  background-color: var(--color-dark);
  color: var(--color-paper);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gap) * 3);
  align-items: center;
}
.hero__eyebrow {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: var(--title-weight);
  line-height: var(--title-lh);
  letter-spacing: var(--title-spacing);
  margin-bottom: 24px;
}
.hero__desc {
  font-size: 1.15rem;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__facts {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  font-size: 0.9rem;
  opacity: 0.7;
}
.hero__capsules {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero__capsule {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero__visual svg {
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; aspect-ratio: 16/9; }
}

/* === 产品定位 === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
}
.bento-card {
  background: rgba(20, 44, 235, 0.04);
  border-radius: var(--radius-card);
  padding: 24px;
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}
.bento-card--dark {
  background: rgba(255,255,255,0.06);
  color: var(--color-paper);
}
.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: inherit;
}
.bento-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* === 深度专题 (杂志排版) === */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.article-toc {
  position: sticky;
  top: 80px;
  height: fit-content;
}
.article-toc li {
  margin-bottom: 16px;
}
.article-toc a {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.6;
  transition: opacity 0.2s;
  display: block;
}
.article-toc a:hover { opacity: 1; }
.article-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 24px;
  color: var(--color-paper);
}
.article-body p {
  margin-bottom: 24px;
  line-height: 1.8;
  opacity: 0.9;
}
.article-body ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: disc;
}
.article-body li {
  margin-bottom: 8px;
  opacity: 0.9;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { display: none; }
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding-bottom: 16px;
}
.faq-item summary {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* === 核心功能 (紧凑定义列表) === */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.feature-item {
  border-left: 2px solid var(--color-accent);
  padding-left: 24px;
}
.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-paper);
}
.feature-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* === 使用场景 === */
.scenario-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gap) * 2);
  margin-bottom: calc(var(--gap) * 2);
}
.scenario-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}
.scenario-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-brand);
}
.scenario-card ol {
  counter-reset: step;
  list-style: none;
}
.scenario-card li {
  counter-increment: step;
  margin-bottom: 16px;
  padding-left: 36px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}
.scenario-card li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--color-brand);
  color: white;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .scenario-row { grid-template-columns: 1fr; }
}

/* === 快速开始 === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 800;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-paper);
}
.step-card p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* === 表格 === */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 24px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.data-table th {
  font-weight: 700;
  color: var(--color-accent);
}
.data-table tr:last-child td { border-bottom: none; }
@media (max-width: 600px) {
  .data-table th, .data-table td { padding: 12px 8px; font-size: 0.85rem; }
}

/* === 资讯卡片 === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
}
.news-card time {
  font-size: 0.8rem;
  color: var(--color-brand);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* === SVG 动效 Keyframes === */
@keyframes float-bubble {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes pulse-dots {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
@keyframes slide-in {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

/* SVG 动效类 */
.anim-float { animation: float-bubble 4s ease-in-out infinite; }
.anim-pulse { animation: pulse-dots 3s ease-in-out infinite; }
.anim-slide { animation: slide-in 0.8s ease-out forwards; }
.anim-dash { 
  stroke-dasharray: 1; 
  stroke-dashoffset: 0; 
  animation: dash-flow 2s linear infinite; 
}
.anim-twinkle { 
  animation: twinkle 4s ease-in-out infinite; 
  transform-box: fill-box; 
  transform-origin: center; 
}
/* 延迟错开 */
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
