/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: #e0e7ff;
  background-color: #0a0a12;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(25, 55, 95, 0.15) 0%, rgba(10, 10, 18, 0.15) 100%),
    linear-gradient(135deg, rgba(15, 25, 55, 0.9) 0%, rgba(10, 10, 18, 0.9) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
}

/* 背景动画效果 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(80, 120, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(120, 80, 255, 0.1) 0%, transparent 20%);
  animation: backgroundShift 30s ease infinite;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 80, 180, 0.05) 0%, transparent 15%),
    radial-gradient(circle at 80% 30%, rgba(80, 255, 200, 0.05) 0%, transparent 15%);
  animation: backgroundShift 40s ease infinite reverse;
  z-index: -1;
}

@keyframes backgroundShift {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, 10px) rotate(0.5deg); }
  50% { transform: translate(10px, 20px) rotate(-0.5deg); }
  75% { transform: translate(-10px, 10px) rotate(0.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* 布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 文字排版优化 */
main {
  padding: 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #e0e7ff;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #c7d2fe;
}

a {
  color: #a0c4ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #4a9eff;
  text-decoration: underline;
}

/* 动画关键帧 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(106, 108, 255, 0.4);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 15px rgba(106, 108, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(106, 108, 255, 0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(106, 108, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(106, 108, 255, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(106, 108, 255, 0.5);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 头部导航 */
header {
  background: rgba(15, 15, 21, 0.95);
  backdrop-filter: blur(15px);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(100, 150, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 导航容器 */
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 桌面端导航 */
.desktop-nav {
  display: block;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.desktop-nav li {
  margin: 0 5px;
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.desktop-nav li:nth-child(1) { animation-delay: 0.1s; }
.desktop-nav li:nth-child(2) { animation-delay: 0.2s; }
.desktop-nav li:nth-child(3) { animation-delay: 0.3s; }
.desktop-nav li:nth-child(4) { animation-delay: 0.4s; }
.desktop-nav li:nth-child(5) { animation-delay: 0.5s; }
.desktop-nav li:nth-child(6) { animation-delay: 0.6s; }
.desktop-nav li:nth-child(7) { animation-delay: 0.7s; }
.desktop-nav li:nth-child(8) { animation-delay: 0.8s; }
.desktop-nav li:nth-child(9) { animation-delay: 0.9s; }
.desktop-nav li:nth-child(10) { animation-delay: 1.0s; }

.desktop-nav a {
  text-decoration: none;
  color: #a0c4ff;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  background: rgba(30, 40, 80, 0.3);
  border: 1px solid rgba(100, 150, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(74, 158, 255, 0.2), rgba(106, 108, 255, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.desktop-nav a:hover {
  color: #fff;
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  box-shadow: 0 0 20px rgba(106, 108, 255, 0.6);
  transform: translateY(-3px);
  border-color: rgba(106, 108, 255, 0.5);
}

.desktop-nav a:hover::after {
  opacity: 1;
}

.desktop-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s ease;
}

.desktop-nav a:hover::before {
  left: 100%;
}

.desktop-nav a.active {
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  color: white;
  box-shadow: 0 0 15px rgba(106, 108, 255, 0.5);
  border-color: rgba(106, 108, 255, 0.7);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none; /* 默认隐藏 */
  background: none;
  border: none;
  color: #a0c4ff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 101;
  background: rgba(30, 40, 80, 0.3);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: #fff;
  background: rgba(74, 158, 255, 0.3);
}

/* 移动端导航菜单 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background: rgba(15, 15, 21, 0.98);
  backdrop-filter: blur(10px);
  z-index: 100;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 6rem 2rem 2rem 2rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  width: 80%;
  max-width: 300px;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  margin: 0.8rem 0;
  width: 100%;
  text-align: center;
}

.mobile-nav a {
  display: block;
  text-decoration: none;
  color: #a0c4ff;
  font-weight: 500;
  padding: 18px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  background: rgba(30, 40, 80, 0.3);
  border: 1px solid rgba(100, 150, 255, 0.2);
  font-size: 1.1rem;
}

.mobile-nav a:hover {
  color: #fff;
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  box-shadow: 0 0 15px rgba(106, 108, 255, 0.5);
  border-color: rgba(106, 108, 255, 0.7);
}

/* 卡片组件 */
.card {
  border: 1px solid rgba(100, 150, 255, 0.25);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  background: rgba(25, 35, 60, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(74, 158, 255, 0.1), rgba(106, 108, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 50px rgba(106, 108, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(106, 108, 255, 0.5);
}

.card:hover::after {
  opacity: 1;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h2, .card h3 {
  margin-bottom: 20px;
  color: #e0e7ff;
  position: relative;
  font-weight: 600;
}

.card h2::after, .card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  border-radius: 3px;
}

.card h2 a, .card h3 a {
  color: #e0e7ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card h2 a:hover, .card h3 a:hover {
  color: #a0c4ff;
  text-shadow: 0 0 10px rgba(160, 196, 255, 0.5);
}

.card p {
  margin-bottom: 25px;
  color: #c7d2fe;
  line-height: 1.8;
}

.card a {
  display: inline-block;
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(106, 108, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s ease;
}

.card a:hover {
  background: linear-gradient(45deg, #3a8eff, #5a5cff);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 108, 255, 0.6);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.card a:hover::before {
  left: 100%;
}

.card ul, .card ol {
  margin-bottom: 25px;
  padding-left: 1.5rem;
}

.card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* FAQ 项目 */
.faq-item {
  border-bottom: 1px solid rgba(100, 150, 255, 0.25);
  padding: 30px 0;
  animation: fadeIn 0.8s ease-out;
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: rgba(40, 50, 90, 0.3);
  border-radius: 12px;
  padding: 30px 20px;
}

.faq-item h2, .faq-item h3 {
  margin-bottom: 20px;
  color: #e0e7ff;
  transition: all 0.3s ease;
}

.faq-item:hover h2, .faq-item:hover h3 {
  color: #a0c4ff;
  text-shadow: 0 0 10px rgba(160, 196, 255, 0.5);
}

.faq-item p {
  color: #c7d2fe;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.faq-item ul, .faq-item ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-item li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* 表格 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(25, 35, 60, 0.5);
  border-radius: 12px;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
}

table caption {
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
  color: #e0e7ff;
  font-size: 1.2rem;
}

th, td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid rgba(100, 150, 255, 0.15);
}

th {
  background: rgba(40, 60, 120, 0.7);
  font-weight: 600;
  color: #a0c4ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover {
  background: rgba(60, 80, 160, 0.4);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

/* 代码块 */
pre {
  background: rgba(15, 25, 45, 0.8);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid rgba(100, 150, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #a0c4ff;
  background: rgba(15, 25, 45, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
}

pre code {
  background: none;
  padding: 0;
}

/* 页脚 */
footer {
  background: rgba(15, 15, 21, 0.95);
  padding: 2.5rem 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(100, 150, 255, 0.3);
  text-align: center;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
}

footer p {
  color: #a0c4ff;
  margin: 0;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 英雄区 */
.hero {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(25, 55, 95, 0.3), rgba(15, 15, 21, 0.3));
  margin-bottom: 3rem;
  border-radius: 0 0 20px 20px;
  animation: fadeIn 1s ease-out;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(106, 108, 255, 0.1) 0%, transparent 70%);
  animation: gradientShift 10s ease infinite;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 80, 180, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 80% 30%, rgba(80, 255, 200, 0.1) 0%, transparent 15%);
  animation: float 8s ease-in-out infinite;
  z-index: -1;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #e0e7ff;
  text-shadow: 0 0 20px rgba(106, 108, 255, 0.5);
  animation: pulse 2s ease-in-out infinite;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #c7d2fe;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(106, 108, 255, 0.4);
  animation: pulse 2s ease-in-out infinite;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s ease;
}

.cta-button:hover {
  background: linear-gradient(45deg, #3a8eff, #5a5cff);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(106, 108, 255, 0.6);
}

.cta-button:hover::before {
  left: 100%;
}

/* 痛点与解决方案 */
.pain-points {
  animation: fadeIn 0.8s ease-out;
  padding: 2rem 0;
}

.pain-points h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #e0e7ff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.pain-points h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  border-radius: 2px;
}

.problem-solution {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.problem, .solution {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  border-radius: 16px;
  background: rgba(25, 35, 60, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.problem::before, .solution::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffa500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.solution::before {
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
}

.problem:hover::before, .solution:hover::before {
  transform: scaleX(1);
}

.problem h3, .solution h3 {
  margin-bottom: 1.5rem;
  color: #e0e7ff;
  text-align: center;
  font-weight: 600;
}

.problem h3::after, .solution h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #ffa500);
  margin: 10px auto;
  border-radius: 2px;
}

.solution h3::after {
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
}

.problem ul, .solution ul {
  list-style-type: none;
  padding-left: 0;
}

.problem li, .solution li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(100, 150, 255, 0.1);
  color: #c7d2fe;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.problem li:last-child, .solution li:last-child {
  border-bottom: none;
}

.problem li::before, .solution li::before {
  content: '▶';
  margin-right: 10px;
  color: #ff6b6b;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.solution li::before {
  color: #4a9eff;
}

.problem li:hover, .solution li:hover {
  transform: translateX(5px);
}

.problem li:hover::before, .solution li:hover::before {
  transform: scale(1.2);
}
/* 精选文章 */
.featured-posts {
  animation: fadeIn 1s ease-out;
  padding: 2rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #e0e7ff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.featured-posts h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  border-radius: 2px;
}

.featured-posts .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* 常见问题预览 */
.faq-preview {
  animation: fadeIn 1.2s ease-out;
  padding: 2rem 0;
}

.faq-preview h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #e0e7ff;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.faq-preview h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  border-radius: 2px;
}

.faq-list {
  margin-top: 2rem;
}

/* 联系表单 */
.contact-form {
  max-width: 600px;
  margin: 2.5rem auto;
  padding: 30px;
  border-radius: 16px;
  background: rgba(25, 35, 60, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-form:hover::before {
  transform: scaleX(1);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: #e0e7ff;
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(100, 150, 255, 0.3);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(15, 25, 45, 0.6);
  color: #e0e7ff;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.3);
  background: rgba(15, 25, 45, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0c4ff;
  opacity: 0.7;
}

.submit-button {
  display: inline-block;
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(106, 108, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100%;
  font-size: 1.1rem;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s ease;
}

.submit-button:hover {
  background: linear-gradient(45deg, #3a8eff, #5a5cff);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 108, 255, 0.6);
}

.submit-button:hover::before {
  left: 100%;
}

/* 文章元信息 */
.meta {
  color: #a0c4ff;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-style: italic;
  padding: 10px 0;
  border-bottom: 1px solid rgba(100, 150, 255, 0.2);
  border-top: 1px solid rgba(100, 150, 255, 0.2);
}

/* 列表样式优化 */
ul, ol {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

ul li::marker {
  color: #4a9eff;
}

ol li::marker {
  color: #6a6cff;
}

li strong {
  color: #e0e7ff;
  font-weight: 600;
}

/* 目录 */
.toc {
  background: rgba(25, 35, 60, 0.7);
  padding: 25px;
  border-radius: 16px;
  margin: 25px 0;
  backdrop-filter: blur(12px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInLeft 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.toc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.toc:hover::before {
  transform: scaleX(1);
}

.toc h2 {
  color: #e0e7ff;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.5rem;
}

.toc ul {
  list-style-type: none;
  padding-left: 0;
}

.toc li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.toc a {
  color: #a0c4ff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
}

.toc a:hover {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.1);
  transform: translateX(5px);
}

/* 解决方案卡片 */
.solution-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.solution-cards .card {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.solution-cards .card:nth-child(1) { animation-delay: 0.1s; }
.solution-cards .card:nth-child(2) { animation-delay: 0.2s; }
.solution-cards .card:nth-child(3) { animation-delay: 0.3s; }

/* 特色动画元素 */
.animated-element {
  position: relative;
  display: inline-block;
}

.animated-element::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.animated-element:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 15, 21, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #4a9eff, #6a6cff);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #3a8eff, #5a5cff);
}

/* 选择文本样式 */
::selection {
  background: rgba(106, 108, 255, 0.3);
  color: #fff;
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(106, 108, 255, 0.3);
  border-radius: 50%;
  border-top-color: #4a9eff;
  animation: rotate 1s linear infinite;
}

/* AIO检测页面特定样式 */
.checker-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 30px;
  border-radius: 16px;
  background: rgba(25, 35, 60, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.checker-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.checker-form:hover::before {
  transform: scaleX(1);
}

.score-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.score-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(25, 35, 60, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 3px solid #4a9eff;
  box-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.score-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    #4a9eff 0deg,
    #6a6cff 120deg,
    #ff6b6b 240deg,
    #4a9eff 360deg
  );
  animation: rotate 3s linear infinite;
  z-index: -1;
}

.score {
  font-size: 3rem;
  font-weight: 700;
  color: #e0e7ff;
  z-index: 1;
}

.score-label {
  font-size: 1rem;
  color: #a0c4ff;
  z-index: 1;
}

.score-details {
  margin-top: 2rem;
}

.score-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 10px;
  background: rgba(15, 25, 45, 0.6);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.score-item:hover {
  background: rgba(40, 50, 90, 0.6);
  transform: translateX(5px);
}

.score-item span:first-child {
  flex: 1;
  color: #e0e7ff;
  font-weight: 500;
}

.score-bar {
  flex: 2;
  height: 10px;
  background: rgba(100, 150, 255, 0.2);
  border-radius: 5px;
  margin: 0 15px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #4a9eff, #6a6cff);
  border-radius: 5px;
  width: 0%;
  transition: width 2s ease-out;
}

.score-value {
  width: 50px;
  text-align: right;
  color: #a0c4ff;
  font-weight: 600;
}

.recommendations {
  margin-top: 2rem;
}

.recommendations ul {
  list-style-type: none;
  padding-left: 0;
}

.recommendations li {
  padding: 15px;
  margin-bottom: 10px;
  background: rgba(15, 25, 45, 0.6);
  border-radius: 8px;
  border-left: 4px solid #4a9eff;
  transition: all 0.3s ease;
}

.recommendations li:hover {
  background: rgba(40, 50, 90, 0.6);
  transform: translateX(5px);
}

.recommendations li::before {
  content: '✓';
  margin-right: 10px;
  color: #4a9eff;
  font-weight: bold;
}

.consultation {
  margin-top: 2rem;
  padding: 20px;
  background: rgba(25, 35, 60, 0.7);
  border-radius: 16px;
  text-align: center;
}

.consultation p {
  margin-bottom: 1.5rem;
  color: #c7d2fe;
}

/* 分割线 */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.3), transparent);
  margin: 2rem 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  /* 在小屏幕设备上隐藏桌面导航 */
  .desktop-nav {
    display: none;
  }
  
  /* 在小屏幕设备上显示移动端菜单按钮 */
  .mobile-menu-toggle {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: 5px 0;
    width: 80%;
    text-align: center;
  }
  
  nav a {
    width: 100%;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .problem-solution {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .problem, .solution {
    padding: 20px;
  }
  
  .cta-button {
    padding: 12px 25px;
    font-size: 1.1rem;
  }
  
  .pain-points h2, .featured-posts h2, .faq-preview h2 {
    font-size: 1.5rem;
  }
}

/* 平板设备 */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .card {
    padding: 25px;
  }
  
  .problem, .solution {
    padding: 25px;
  }
}

/* 小屏幕设备上的汉堡菜单 */
@media (max-width: 768px) {
  header .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* 暗色主题 */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0a0a12;
  }
  
  .card, .problem, .solution {
    background: rgba(20, 25, 50, 0.8);
  }
  
  footer {
    background: rgba(10, 10, 20, 0.95);
  }
}