/* ==================== GEO优化公司 - 全局样式 ==================== */

/* ==================== CSS变量定义 ==================== */
:root {
  /* 主色调 */
  --primary-color: #1a237e;        /* 深蓝色 - 权威、专业 */
  --primary-light: #3949ab;       /* 浅主色 */
  --primary-dark: #0d1642;        /* 深主色 */
  
  /* 辅助色 */
  --secondary-color: #333333;     /* 深灰 */
  --accent-color: #d4af37;        /* 金色 - 荣誉、保障 */
  --tech-blue: #00d4ff;            /* 科技蓝 - 科技感、创新 */
  --tech-blue-light: #33ddff;      /* 浅科技蓝 */
  
  /* 背景色 */
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #1a1a2e;
  
  /* 文字颜色 */
  --text-primary: #000000;
  --text-secondary: #000000;
  --text-light: #666666;
  --text-white: #ffffff;
  
  /* 边框颜色 */
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(26, 35, 126, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 35, 126, 0.12);
  --shadow-lg: 0 8px 32px rgba(26, 35, 126, 0.16);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
  
  /* 字体 */
  --font-primary: 'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
  --font-heading: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  
  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==================== 重置样式 ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ==================== 通用工具类 ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: #000000;
}

.section-title .highlight {
  color: var(--accent-color);
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--tech-blue), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== 按钮样式 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color), #e6c348);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-tech {
  background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-light));
  color: var(--text-white);
  box-shadow: var(--shadow-glow);
}

.btn-tech:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

/* ==================== 头部导航 ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(26, 35, 126, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--tech-blue), var(--accent-color));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
}

.logo-text span {
  color: var(--tech-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu a {
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tech-blue);
  transition: var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #000000;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== 移动端响应式导航 ==================== */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 30px 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .header-cta {
    display: none;
  }
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
  background: var(--bg-light);
  padding: 15px 0;
  margin-top: 80px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #000000;
}

.breadcrumb-list a {
  color: #000000;
}

.breadcrumb-list a:hover {
  color: #333333;
}

.breadcrumb-list span {
  color: #666666;
}

/* ==================== 页面标题区 ==================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 15px;
  position: relative;
}

.page-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

/* ==================== 卡片组件 ==================== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.card-icon.tech {
  background: linear-gradient(135deg, var(--tech-blue), var(--tech-blue-light));
}

.card-icon.accent {
  background: linear-gradient(135deg, var(--accent-color), #e6c348);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==================== 统计数据 ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--tech-blue);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-number span {
  font-size: 32px;
}

.stat-label {
  font-size: 16px;
  color: var(--text-white);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-number {
    font-size: 36px;
  }
}

/* ==================== 服务卡片网格 ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--tech-blue), var(--accent-color));
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.service-card p {
  color: #000000;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag {
  padding: 6px 14px;
  background: var(--bg-light);
  color: #000000;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* ==================== 优势/特点网格 ==================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

.advantage-item {
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(0, 212, 255, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.advantage-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}

.advantage-item p {
  color: #000000;
  font-size: 15px;
  line-height: 1.7;
}

/* ==================== 案例卡片 ==================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.case-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.case-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  transition: var(--transition-slow);
}

.case-card:hover .case-image::after {
  left: 100%;
}

.case-content {
  padding: 25px;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--tech-blue);
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.case-card p {
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.case-stats {
  display: flex;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

.case-stat {
  text-align: center;
}

.case-stat strong {
  display: block;
  font-size: 20px;
  color: var(--accent-color);
}

.case-stat span {
  font-size: 12px;
  color: #666666;
}

/* ==================== 时间线 ==================== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--tech-blue), var(--accent-color));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--tech-blue);
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
}

.timeline-content p {
  color: #000000;
  line-height: 1.7;
}

/* ==================== 团队卡片 ==================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  height: 220px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--text-white);
}

.team-info {
  padding: 25px;
  text-align: center;
}

.team-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 5px;
}

.team-info .position {
  color: #000000;
  font-size: 14px;
  margin-bottom: 15px;
}

.team-info p {
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
}

/* ==================== 新闻列表 ==================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-item {
  display: flex;
  gap: 25px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.news-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.news-thumb {
  width: 200px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-white);
  flex-shrink: 0;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666666;
}

.news-tag {
  padding: 3px 10px;
  background: rgba(0, 212, 255, 0.1);
  color: #000000;
  border-radius: var(--radius-sm);
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.news-item:hover h3 {
  color: #000000;
}

.news-content p {
  color: #000000;
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

.news-views {
  font-size: 13px;
  color: #666666;
}

.news-link {
  color: #000000;
  font-size: 14px;
  font-weight: 500;
}

.news-link:hover {
  color: #333333;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  
  .news-thumb {
    width: 100%;
    height: 180px;
  }
}

/* ==================== Tab切换 ==================== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  background: var(--bg-light);
  color: #000000;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.tab-btn:hover {
  background: rgba(26, 35, 126, 0.1);
  color: #000000;
}

.tab-btn.active {
  background: var(--primary-color);
  color: var(--text-white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== 流程步骤 ==================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

@media (max-width: 992px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.step-number::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(50% + 40px);
  width: calc(100% - 60px);
  height: 2px;
  background: linear-gradient(90deg, var(--tech-blue), var(--accent-color));
  opacity: 0.3;
}

.process-step:last-child .step-number::after {
  display: none;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.process-step p {
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
}

/* ==================== 资质证书网格 ==================== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 992px) {
  .honor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.honor-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.honor-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.honor-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.2));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.honor-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

/* ==================== 评价轮播 ==================== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-content {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-white);
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.author-info p {
  font-size: 14px;
  color: #666666;
}

.testimonial-rating {
  color: var(--accent-color);
  font-size: 18px;
  margin-top: 5px;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ==================== 联系表单 ==================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--text-white);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 16px;
  font-weight: 500;
}

.contact-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e53935;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-white);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
}

.form-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==================== FAQ折叠 ==================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  font-size: 20px;
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 25px 20px;
  color: #000000;
  line-height: 1.8;
}

/* ==================== 分页 ==================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  background: var(--bg-light);
  color: #000000;
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: var(--transition-fast);
}

.pagination a:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.pagination .active {
  background: var(--primary-color);
  color: var(--text-white);
}

/* ==================== 页脚 ==================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--tech-blue);
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--tech-blue);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--tech-blue);
  width: 20px;
}

.footer-bottom {
  padding: 25px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--tech-blue);
}

/* ==================== 动画 ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==================== 辅助类 ==================== */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.py-5 { padding: 80px 0; }
.py-4 { padding: 60px 0; }

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-white); }

.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-tech { color: var(--tech-blue); }
