/* 产品页面样式 */

/* 产品英雄区样式 */
.product-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 100%);
  color: #1d2129;
  text-align: center;
}

.product-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInDown 1s ease-out;
}

.product-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.5;
  animation: fadeIn 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeIn 1s ease-out 1s both;
}

/* 产品特色样式 */
.product-highlights {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #333;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.highlight-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.1s, box-shadow 0.1s;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s, transform 0.3s;
}

.highlight-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-card.hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #2563eb;
  border-radius: 50%;
  margin-bottom: 20px;
  color: #fff;
  font-size: 24px;
}

.highlight-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
}

.highlight-card p {
  color: #666;
  line-height: 1.5;
}

/* 模块介绍样式 */

.module-section {
  padding: 50px 0;
  scroll-margin-top: 80px;
}

.module-section:nth-child(even) {
  background-color: #f9f9f9;
}

.module-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.module-section:nth-child(even) .module-container {
  flex-direction: row-reverse;
}

.module-image {
  position: relative;
  flex: 1;
}
.module-info h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.module-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s, box-shadow 0.5s;
}

.module-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tech-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
  justify-content: center;
}

.tech-tag {
  background-color: rgba(22, 93, 255, 0.07);
  border-radius: 4px;
  color: #1d2129;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.1s, background-color 0.1s;
}

.tech-tag:hover {
  transform: translateY(-3px);
  background-color: #1d4ed8;
}

.module-info {
  flex: 1;
}

.module-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.module-desc {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.feature-list {
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.1s, transform 0.1s;
  align-items: flex-start;
  font-size: 14px;
}

.feature-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(58, 123, 213, 0.08);
  border-radius: 50%;
  color: #2563eb;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.1s ease;
  box-shadow: 0 2px 8px rgba(58, 123, 213, 0.08);
  position: relative;
}

.feature-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.1s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  line-height: 1;
}

.feature-icon .fa-building,
.feature-icon .fa-chart-line,
.feature-icon .fa-chart-pie {
  transform: translate(-50%, -48%);
}

.feature-icon .fa-user-clock,
.feature-icon .fa-tasks,
.feature-icon .fa-folder-tree,
.feature-icon .fa-sliders-h,
.feature-icon .fa-exchange-alt,
.feature-icon .fa-random {
  transform: translate(-50%, -50%);
}

.feature-icon .fa-tags,
.feature-icon .fa-layer-group,
.feature-icon .fa-eye,
.feature-icon .fa-bell,
.feature-icon .fa-cash-register,
.feature-icon .fa-cog,
.feature-icon .fa-file-export,
.feature-icon .fa-search-plus {
  transform: translate(-50%, -52%);
}

.feature-item:hover .feature-icon {
  background-color: #2563eb;
  color: white;
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.2);
}

.feature-item:hover .feature-icon i {
  transform: translate(-50%, -50%) scale(1.1);
}

.feature-item:hover .feature-icon .fa-building,
.feature-item:hover .feature-icon .fa-chart-line,
.feature-item:hover .feature-icon .fa-chart-pie {
  transform: translate(-50%, -48%) scale(1.1);
}

.feature-item:hover .feature-icon .fa-user-clock,
.feature-item:hover .feature-icon .fa-tasks,
.feature-item:hover .feature-icon .fa-folder-tree,
.feature-item:hover .feature-icon .fa-sliders-h,
.feature-item:hover .feature-icon .fa-exchange-alt,
.feature-item:hover .feature-icon .fa-random {
  transform: translate(-50%, -50%) scale(1.1);
}

.feature-item:hover .feature-icon .fa-tags,
.feature-item:hover .feature-icon .fa-layer-group,
.feature-item:hover .feature-icon .fa-eye,
.feature-item:hover .feature-icon .fa-bell,
.feature-item:hover .feature-icon .fa-cash-register,
.feature-item:hover .feature-icon .fa-cog,
.feature-item:hover .feature-icon .fa-file-export,
.feature-item:hover .feature-icon .fa-search-plus {
  transform: translate(-50%, -52%) scale(1.1);
}

.feature-text h3 {
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: #333;
}

.feature-text p {
  color: #666;
  line-height: 1.2;
}

/* 技术规格样式 */
.specs-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.specs-table-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s, transform 0.3s;
}

.specs-table-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  width: 20%;
  padding: 20px;
  text-align: left;
  color: #333;
  font-size: 1.2rem;
  background-color: #f1f5f9;
  border-bottom: 1px solid #eee;
}

.specs-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.specs-table tr {
  transition: background-color 0.1s;
}

.specs-table tr.active {
  background-color: #f7faff;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table ul {
  margin: 0;
  padding-left: 20px;
}

.specs-table li {
  margin-bottom: 10px;
  line-height: 1.5;
  color: #666;
}

.specs-table li:last-child {
  margin-bottom: 0;
}

/* CTA区域样式 */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
  border: 2px solid #2563eb;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-white {
  background-color: #fff;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-white:hover {
  background-color: #eaf1fe;
  border-color: #165dff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.cta-section .btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-section .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* 动画关键帧 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式设计 */
@media (max-width: 992px) {
  .module-container {
    flex-direction: column !important;
    gap: 50px;
  }

  .module-image,
  .module-info {
    width: 100%;
  }

  .highlight-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 80px 0 10px;
  }

  .product-hero h1 {
    font-size: 2.5rem;
  }

  .product-highlights {
    padding: 30px 0;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .specs-table th {
    width: 30%;
  }
  .highlight-icon {
    width: 40px;
    height: 40px;
  }
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 300px;
  }

  .module-container.mobile-view {
    padding: 0 15px;
  }

  /* 移动端图标优化 */
  .feature-item {
    align-items: flex-start;
  }

  .feature-icon {
    margin-top: 2px; /* 调整为更小的顶部边距，配合绝对定位 */
  }

  /* 确保移动端下图标对齐 - 重置所有特殊调整，确保移动端下统一对齐 */
  .feature-icon .fa-building,
  .feature-icon .fa-chart-line,
  .feature-icon .fa-chart-pie,
  .feature-icon .fa-user-clock,
  .feature-icon .fa-tasks,
  .feature-icon .fa-folder-tree,
  .feature-icon .fa-sliders-h,
  .feature-icon .fa-exchange-alt,
  .feature-icon .fa-random,
  .feature-icon .fa-tags,
  .feature-icon .fa-layer-group,
  .feature-icon .fa-eye,
  .feature-icon .fa-bell,
  .feature-icon .fa-cash-register,
  .feature-icon .fa-cog,
  .feature-icon .fa-file-export,
  .feature-icon .fa-search-plus {
    transform: translate(-50%, -50%); /* 在移动端统一对齐方式 */
  }

  /* 统一移动端悬停效果 */
  .feature-item:hover .feature-icon .fa-building,
  .feature-item:hover .feature-icon .fa-chart-line,
  .feature-item:hover .feature-icon .fa-chart-pie,
  .feature-item:hover .feature-icon .fa-user-clock,
  .feature-item:hover .feature-icon .fa-tasks,
  .feature-item:hover .feature-icon .fa-folder-tree,
  .feature-item:hover .feature-icon .fa-sliders-h,
  .feature-item:hover .feature-icon .fa-exchange-alt,
  .feature-item:hover .feature-icon .fa-random,
  .feature-item:hover .feature-icon .fa-tags,
  .feature-item:hover .feature-icon .fa-layer-group,
  .feature-item:hover .feature-icon .fa-eye,
  .feature-item:hover .feature-icon .fa-bell,
  .feature-item:hover .feature-icon .fa-cash-register,
  .feature-item:hover .feature-icon .fa-cog,
  .feature-item:hover .feature-icon .fa-file-export,
  .feature-item:hover .feature-icon .fa-search-plus {
    transform: translate(-50%, -50%) scale(1.1); /* 统一悬停效果 */
  }
}

.product-cta {
  background: linear-gradient(135deg, #0056b3, #003366);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/cta-pattern.svg');
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.1;
  z-index: 1;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.cta-content {
  flex: 1;
  padding-right: 40px;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.cta-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.cta-features li i {
  color: #4cd964;
  margin-right: 10px;
  font-size: 1.2rem;
}

.cta-action {
  margin-top: 30px;
}

.cta-action .btn-primary {
  background-color: #ff6b00;
  border-color: #ff6b00;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-action .btn-primary:hover {
  background-color: #ff8124;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.secondary-action {
  margin-top: 15px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
}

.secondary-action span {
  margin-right: 10px;
}

.secondary-action a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}

.secondary-action a:hover {
  border-bottom-color: #fff;
}

.cta-image {
  flex: 0 0 45%;
  position: relative;
}

.cta-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cta-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.cta-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: #ff6b00;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
  z-index: 3;
}

.badge-content {
  text-align: center;
  line-height: 1.1;
}

.badge-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.badge-plus {
  font-size: 1.2rem;
  vertical-align: super;
}

.badge-text {
  font-size: 0.9rem;
  display: block;
}

@media (max-width: 992px) {
  .cta-wrapper {
    flex-direction: column;
  }

  .cta-content {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .cta-features li {
    justify-content: center;
  }

  .cta-image {
    width: 100%;
    max-width: 500px;
  }

  .secondary-action {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .product-cta {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .cta-badge {
    width: 80px;
    height: 80px;
  }

  .badge-number {
    font-size: 1.6rem;
  }

  .badge-text {
    font-size: 0.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 300px;
  }
}
