/* 
 * Templaze - 企业主题模板源码网站
 * 主样式文件
 * 
 * 包含网站所有页面的样式定义
 * 采用响应式设计，确保在不同设备上都能良好显示
 */

/* 全局样式 - 科技风格主题 */
:root {
  /* 主色调 - 更鲜明的蓝色调 */
  --primary-color: #0070f3;
  --secondary-color: #0050d0;
  --accent-color: #00c2ff;
  
  /* 文本颜色 */
  --text-color: #111827;
  --light-text-color: #6b7280;
  
  /* 背景颜色 */
  --background-color: #ffffff;
  --light-background: #f0f5ff;
  --dark-background: #0a1128;
  
  /* 边框和装饰 */
  --border-color: #e0e7ff;
  --success-color: #00d68f;
  --warning-color: #ffb800;
  --error-color: #ff3860;
  
  /* 圆角和阴影 */
  --border-radius: 10px;
  --small-radius: 6px;
  --box-shadow: 0 10px 30px -10px rgba(0, 112, 243, 0.1), 0 5px 15px -5px rgba(0, 112, 243, 0.05);
  --hover-shadow: 0 14px 40px -8px rgba(0, 112, 243, 0.2), 0 8px 20px -6px rgba(0, 112, 243, 0.1);
  
  /* 动画和过渡 */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* 科技风格装饰元素 */
  --grid-size: 20px;
  --glow-color: rgba(0, 194, 255, 0.6);
}

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

body {
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  padding-top: 80px; /* 确保内容不被导航栏遮挡 */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* 容器样式 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 按钮样式 - 科技风格 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.2), rgba(255,255,255,0) 70%);
  transform: translateX(-100%);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn:hover:before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.6);
  background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color));
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 112, 243, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.1);
}

.btn-outline:hover {
  background-color: rgba(0, 112, 243, 0.05);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.15);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 112, 243, 0.1);
}

.btn i {
  margin-right: 0.5rem;
  font-size: 0.9em;
}

/* 导航栏样式 - 科技风格 */
.navbar {
  background-color: var(--dark-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 112, 243, 0.2);
  transition: var(--transition);
  transform: translateY(0);
}

/* 滚动效果类 */
.navbar-scrolled {
  padding: 0.7rem 0;
  background-color: rgba(10, 17, 40, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  padding: 0.25rem 0.5rem;
  letter-spacing: -0.5px;
  transition: var(--transition);
  text-decoration: none;
  background: linear-gradient(90deg, #ffffff, var(--accent-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
  display: inline-block;
  position: relative;
  z-index: 2;
}

.navbar-logo::before {
  content: none;
}

.navbar-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: translateY(-50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(0.8);
  }
}

.navbar-logo:hover {
  background-position: right center;
  text-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

.navbar-logo:hover::before {
  transform: scaleX(1);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.navbar-item {
  position: relative;
}

.navbar-link {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--small-radius);
  transition: var(--transition);
  display: inline-block;
}

.navbar-link:hover, .navbar-link.active {
  color: var(--accent-color);
  background-color: rgba(0, 194, 255, 0.1);
  transform: translateY(-1px);
}

.navbar-link.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.language-selector {
  position: relative;
  margin-left: 1.5rem;
}

.language-selector select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: var(--small-radius);
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230070f3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1em;
  transition: var(--transition);
}

.language-selector select:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.1);
}

/* 移动端导航菜单 */
.navbar-toggle {
  display: none;
  cursor: pointer;
}

/* 页脚样式 - 科技风格 */
.footer {
  background: linear-gradient(180deg, var(--dark-background), #051630);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 194, 255, 0.2);
}

.footer:before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to right top, var(--dark-background) 49%, transparent 50%);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-section {
  flex: 1;
  min-width: 220px;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.footer-links {
  list-style: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition: var(--transition);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-link a:before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
  color: var(--primary-color);
}

.footer-link a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-link a:hover:before {
  opacity: 1;
  left: -15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.subscribe-form {
  display: flex;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.1);
}

.subscribe-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 112, 243, 0.1);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  outline: none;
  transition: var(--transition);
}

.subscribe-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.1);
}

.subscribe-form button {
  padding: 0.8rem 1.2rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.subscribe-form button:hover {
  background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color));
}

/* 首页样式 - 科技风格 */
.hero {
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-background), var(--secondary-color));
  color: white;
  text-align: center;
  margin-top: -80px; /* 抵消body的padding-top */
  padding-top: calc(6rem + 80px); /* 增加顶部内边距，补偿导航栏高度 */
}

.hero:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(0, 194, 255, 0.1) 0%, transparent 10%),
    radial-gradient(circle at 70% 60%, rgba(0, 112, 243, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 10%, rgba(0, 194, 255, 0.05) 0%, transparent 15%),
    radial-gradient(circle at 10% 80%, rgba(0, 112, 243, 0.05) 0%, transparent 15%);
  animation: rotate 60s linear infinite;
  z-index: 0;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,197.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  background: linear-gradient(to right, #ffffff, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeIn 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

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

.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background-color: rgba(240, 245, 255, 0.5);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 112, 243, 0.1);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 194, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 112, 243, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.feature-card:after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, transparent, rgba(0, 112, 243, 0.2), transparent);
  border-radius: var(--border-radius);
  z-index: -2;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(0, 112, 243, 0.2);
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 112, 243, 0.1);
  position: relative;
  transition: var(--transition);
}

.feature-icon:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 112, 243, 0.3);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: rgba(0, 112, 243, 0.15);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.popular-themes {
  padding: 4rem 0;
  background-color: var(--light-background);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.theme-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 112, 243, 0.05), transparent);
  pointer-events: none;
  z-index: 1;
}

.theme-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.theme-image {
  position: relative;
  overflow: hidden;
  padding-top: 66%; /* 保持图片比例一致 */
}

.theme-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theme-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.theme-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-color);
}

.theme-description {
  color: var(--light-text-color);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
  flex: 1;
  min-height: 48px; /* 确保描述区域有最小高度 */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制最多显示2行 */
  -webkit-box-orient: vertical;
}

.theme-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; /* 将meta部分推到底部 */
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(0, 112, 243, 0.1);
}

.theme-meta span {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--light-background);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== 客户评价区域 ===== */
.testimonials {
  padding: 4rem 0rem;
  background-color: var(--bg-light);
  overflow: hidden;
}

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-wrapper {
  overflow: hidden;
  width: 100%;
  padding-top: 50px; /* 为头像预留空间 */
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  gap: 20px;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px; /* 确保卡片有足够的高度 */
  display: flex;
  flex-direction: column;
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(100% - 20px);
    min-height: 300px;
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  position: absolute;
  top: -30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 20px;
  flex: 1;
  overflow-y: auto;
  max-height: 200px; /* 允许更多空间显示文本 */
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-company {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.testimonial-rating {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonial-quote-icon {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
}

/* 导航箭头 */
.testimonial-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.testimonial-nav-prev,
.testimonial-nav-next {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-nav-prev:hover,
.testimonial-nav-next:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.testimonial-nav-prev {
  margin-left: 0;
}

.testimonial-nav-next {
  margin-right: 0;
}

/* 指示器 */
.testimonial-controls {
  margin-top: 30px;
}

.testimonial-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px;
}

.testimonial-indicator {
  width: 10px;
  height: 10px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* 主题模板列表页样式 */

.themes-header {
  background-color: var(--light-background);
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 0rem;
}

.themes-list{
  margin: 3rem 0rem;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-item {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  background-color: var(--light-background);
  cursor: pointer;
  transition: var(--transition);
}

.filter-item:hover, .filter-item.active {
  background-color: var(--primary-color);
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  margin: 0 0.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-item:hover, .pagination-item.active {
  background-color: var(--primary-color);
  color: white;
}

/* 主题模板详情页样式 */
.theme-detail {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.theme-detail:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 194, 255, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(0, 112, 243, 0.03) 0%, transparent 30%);
  z-index: 0;
}

.theme-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.theme-gallery {
  position: relative;
}

.theme-main-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.theme-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.theme-thumbnail {
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
}

.theme-thumbnail.active {
  border: 2px solid var(--primary-color);
}

.theme-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.theme-info-description {
  margin-bottom: 2rem;
}

.theme-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.theme-info-item {
  display: flex;
  align-items: center;
}

.theme-info-label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.theme-features {
  margin-bottom: 2rem;
}

.theme-features-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.theme-features-list {
  list-style: none;
}

.theme-feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.theme-feature-item:before {
  content: '✓';
  color: var(--success-color);
  margin-right: 0.5rem;
  font-weight: bold;
}

.theme-download {
  margin-top: 2rem;
}

.comments-section {
  margin-top: 4rem;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.comment-form {
  margin-bottom: 2rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.comment-list {
  list-style: none;
}

.comment-item {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: var(--light-background);
  margin-bottom: 1.5rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.comment-author {
  font-weight: 600;
}

.comment-date {
  color: var(--light-text-color);
  font-size: 0.9rem;
}

/* 定制服务页面样式 */
.services {
  padding: 3rem 0;
}

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

.service-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-header {
  padding: 2rem;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-price {
  font-size: 2.5rem;
  font-weight: 700;
}

.service-period {
  font-size: 0.9rem;
  opacity: 0.8;
}

.service-features {
  padding: 2rem;
  background-color: white;
  flex: 1;
}

.service-features-list {
  list-style: none;
}

.service-feature-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

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

.service-feature-item:before {
  content: '✓';
  color: var(--success-color);
  margin-right: 0.75rem;
  font-weight: bold;
}

.service-footer {
  padding: 1.5rem;
  text-align: center;
  background-color: var(--light-background);
  border-top: none;
}

.service-footer .btn {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* 使用教程页面样式 */
.guides {
  padding: 3rem 0;
}

.guide-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.guide-tab {
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.guide-tab:hover, .guide-tab.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.guide-content {
  margin-bottom: 3rem;
}

.guide-video {
  margin-bottom: 2rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 比例 */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.guide-steps {
  counter-reset: step;
}

.guide-step {
  display: flex;
  margin-bottom: 2rem;
}

.guide-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
}

.guide-step-content {
  flex-grow: 1;
}

.guide-step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* 关于我们页面样式 */
.about {
  padding: 3rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 0rem;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-description {
  margin-bottom: 1.5rem;
}

.team {
  padding: 3rem 0;
  background-color: var(--light-background);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member-image {
  height: 250px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-info {
  padding: 1.5rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member-position {
  color: var(--light-text-color);
  margin-bottom: 1rem;
}

.team-member-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.contact {
  padding: 3rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
}

.contact-text {
  flex-grow: 1;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .theme-detail-container {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-item {
    margin: 0;
    padding: 0.75rem 1.5rem;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .themes-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .filter-container {
    flex-direction: column;
  }
  
  .filter-item {
    width: 100%;
    text-align: center;
  }
  
  .themes-grid {
    grid-template-columns: 1fr;
  }
}


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

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* 科技风格动画和过渡效果 */
.pre-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--bounce), transform 0.6s var(--bounce);
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 页面过渡动画 */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition.active {
  transform: translateY(0);
}

/* 粒子背景 */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* Toast提示信息 */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background-color: var(--success-color);
}

.toast.warning {
  background-color: var(--warning-color);
}

.toast.error {
  background-color: var(--error-color);
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3);
  z-index: 9999;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.5);
}

.back-to-top i {
  font-size: 1.5rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* 辅助类 */
.text-center {
  text-align: center;
  display: flex;
  justify-content: center;
}

/* 友情链接 */
.friend-links {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 1rem;
  text-align: center;
}

.friend-links-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.friend-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.friend-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-title.logo-style {
  font-size: 1.6rem;
  font-weight: 800;
  position: relative;
  padding: 0.25rem 0.5rem;
  letter-spacing: -0.5px;
  transition: var(--transition);
  text-decoration: none;
  background: linear-gradient(90deg, #ffffff, var(--accent-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-bottom: 1.2rem;
}

.footer-title.logo-style::before {
  content: none;
}

.footer-title.logo-style::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite;
  z-index: -1;
}

.footer-title.logo-style:hover {
  background-position: right center;
  text-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

.footer-title-logo {
  margin-bottom: 0.9rem;
}

/* 定制流程 - 科技风格紧凑版 */
.process {
  padding: 3rem 0;
  background: linear-gradient(to bottom, var(--background-color), var(--light-background));
  position: relative;
  overflow: hidden;
}

.process:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 112, 243, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(0, 194, 255, 0.05) 0%, transparent 30%);
  z-index: 0;
}

.process-timeline {
  position: relative;
  margin-top: 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  z-index: 2;
}

.process-step {
  background: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(0, 112, 243, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(0, 112, 243, 0.3);
}

.process-step-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.3);
  z-index: 3;
}

.process-step:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  z-index: 3;
}

.process-step:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle at center, rgba(0, 194, 255, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.process-step-icon {
  margin-bottom: 1.2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 112, 243, 0.1), rgba(0, 194, 255, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
  margin-right: 1.5rem;
  position: relative;
  z-index: 2;
}

.process-step:hover .process-step-icon {
  transform: rotate(10deg) scale(1.1);
}

.process-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
  padding-right: 2.5rem;
}

.process-step-description {
  color: var(--light-text-color);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.process-step-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.process-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.connection-line {
  position: absolute;
  background-color: rgba(0, 112, 243, 0.1);
  z-index: 1;
}

.connection-line-1 {
  top: 20%;
  left: 25%;
  width: 50%;
  height: 2px;
  transform: rotate(-45deg);
}

.connection-line-2 {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
}

.connection-line-3 {
  top: 80%;
  left: 25%;
  width: 50%;
  height: 2px;
  transform: rotate(45deg);
}

.process-background {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
}

.process-bg-1 {
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(0, 112, 243, 0.1);
  border-radius: 50%;
}

.process-bg-2 {
  bottom: 15%;
  right: 5%;
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(0, 194, 255, 0.1);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* 移动设备响应式设计 */
@media (max-width: 768px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
}