/* ===================================================================
   主页专用样式 - 高级感与丰富留白
   =================================================================== */

/*#region 主页布局 */
.home-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 40px; /* 减半，原为80px */
  /* 删除或注释掉这里可能存在的背景定义 */
  /* background: ...; */
}

/* 主要背景效果 - 如果这会覆盖全局背景，也应该删除 */
.home-layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 改为完全透明或删除 */
  background: transparent;
  z-index: -1;
}

/* 内容区域结构 */
.home-info {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

.home-content {
  padding: 3rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
/*#endregion */

/*#region 英雄区域 */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 4rem;
  position: relative;
}

/* 主标题 - 大号且优雅 */
.hero-title {
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--chinese-ink);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  max-width: 800px;
  position: relative;
  z-index: 2;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* 副标题 - 优雅且留白充足 */
.hero-subtitle {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 3rem;
  max-width: 700px;
  opacity: 0.85;
}

/*#region CTA按钮区域 */
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  z-index: 2;
}

/* CTA按钮 */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 主要CTA按钮 */
.cta-btn.primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 8px 20px rgba(192, 44, 56, 0.25);
  animation: pulse 2s infinite;
}

/* 次要CTA按钮 */
.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  color: var(--chinese-red);
  border: 1px solid rgba(192, 44, 56, 0.3);
}

/* 按钮悬停效果 */
.cta-btn:hover {
  transform: translateY(-5px);
  animation-play-state: paused;
}

.cta-btn.primary:hover {
  box-shadow: 0 12px 30px rgba(192, 44, 56, 0.35);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
/*#endregion */

/*#region 特性区域 */
/* 特性网格布局 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* 特性卡片 */
.feature-card {
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  transition: all 0.4s ease;
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 特性卡片悬停效果 */
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--chinese-red);
  border: 1px solid rgba(192, 44, 56, 0.35);
}

/* 特性图标 */
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  color: var(--primary-color);
  font-size: 2rem;
}

/* 特性标题 */
.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--chinese-ink);
}

/* 特性描述 */
.feature-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--light-text);
}
/*#endregion */

/*#region 用户评价 */
/* 评价区域 */
.testimonials {
  text-align: center;
  padding: 4rem 0;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--chinese-ink);
  position: relative;
  display: inline-block;
}

.testimonials h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* 评价滑块 */
.testimonial-slider {
  display: flex;
  gap: 2rem;
  padding: 2rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

/* 评价项目 */
.testimonial-item {
  min-width: 320px;
  flex: 1;
}

/* 评价内容 */
.testimonial-content {
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

/* 引号装饰 */
.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(192, 44, 56, 0.1);
  font-family: serif;
  line-height: 1;
}

/* 评价文本 */
.testimonial-content p {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  position: relative;
  z-index: 1;
}

/* 评价作者 */
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.testimonial-author span {
  font-weight: 600;
  color: var(--chinese-ink);
}
/*#endregion */

/*#region 中国风装饰 */
/* 中国风装饰 */
.chinese-ornaments .ornament {
  position: absolute;
  width: 120px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}

/* 四角装饰 */
.ornament.top-left {
  top: 20px;
  left: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q10,10 50,10 Q90,10 90,50 Q90,90 50,90 Q10,90 10,50 Z" fill="none" stroke="rgba(192, 44, 56, 0.5)" stroke-width="2"/></svg>');
}

.ornament.top-right {
  top: 20px;
  right: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="rgba(59, 121, 96, 0.5)" stroke-width="2"/></svg>');
}

.ornament.bottom-left {
  bottom: 20px;
  left: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="rgba(35, 118, 183, 0.5)" stroke-width="2"/></svg>');
}

.ornament.bottom-right {
  bottom: 20px;
  right: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 Q10,10 50,10 Q90,10 90,50 Q90,90 50,90 Q10,90 10,50 Z" fill="none" stroke="rgba(230, 180, 34, 0.5)" stroke-width="2"/></svg>');
}
/*#endregion */

/*#region 动画效果 */
/* 淡入动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 渐变背景动画 */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 脉冲动画 */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* 应用脉冲动画到主CTA按钮 */
.cta-btn.primary {
  animation: pulse 2s infinite;
}

/* 悬停时暂停动画 */
.cta-btn.primary:hover {
  animation-play-state: paused;
}
/*#endregion */

/* 已移除响应式设计模块 - 将在后期优化时添加 */
