/* ==========================================
   产品页面专用样式
   ========================================== */

/* 基础布局样式 */
.layout_padding {
  padding: 90px 0;
}

.layout_padding2 {
  padding: 75px 0;
}

/* 产品英雄区域 */
.product_hero_section {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #00204a 0%, #001835 50%, #0a1628 100%);
  overflow: hidden;
}

.product_hero_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  animation: floatShape 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(0, 187, 240, 0.15), rgba(0, 187, 240, 0.05));
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 187, 240, 0.1), rgba(255, 255, 255, 0.05));
  bottom: -50px;
  left: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(0, 187, 240, 0.12), rgba(0, 187, 240, 0.03));
  top: 30%;
  left: -50px;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 187, 240, 0.05));
  top: 60%;
  right: 20%;
  animation-delay: -15s;
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(20px) rotate(-5deg);
  }
}

.product_hero_content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.product_hero_title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(0, 187, 240, 0.3);
}

.product_hero_title .title-highlight {
  background: linear-gradient(90deg, #00bbf0, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product_hero_desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.product_stats_row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat_item {
  text-align: center;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(0, 187, 240, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat_item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 187, 240, 0.3);
  transform: translateY(-5px);
}

.stat_number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #00bbf0;
  line-height: 1;
}

.stat_suffix {
  font-size: 1.5rem;
  font-weight: 600;
  color: #00bbf0;
}

.stat_label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

/* 区块标题样式 */
.section_header {
  text-align: center;
  margin-bottom: 50px;
}

.section_tag {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(90deg, rgba(0, 187, 240, 0.1), rgba(0, 187, 240, 0.05));
  color: #00bbf0;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section_title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 15px;
}

.section_subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 明星产品区域 */
.featured_products_section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.featured_products_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured_card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.featured_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 187, 240, 0.15);
}

.featured_card.large {
  grid-column: span 2;
}

.featured_card_inner {
  display: flex;
  height: 100%;
}

.featured_card.large .featured_card_inner {
  flex-direction: row;
}

.featured_card:not(.large) .featured_card_inner {
  flex-direction: column;
}

.featured_img_wrapper {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(135deg, #00204a, #001835);
}

.featured_card.large .featured_img_wrapper {
  width: 45%;
}

.featured_card:not(.large) .featured_img_wrapper {
  height: 200px;
}

.featured_img_wrapper img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 187, 240, 0.3));
  transition: transform 0.4s ease;
}

.featured_card:hover .featured_img_wrapper img {
  transform: scale(1.1);
}

.featured_badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  background: linear-gradient(90deg, #ff6b6b, #ee5a5a);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
}

.featured_badge.badge-new {
  background: linear-gradient(90deg, #00bbf0, #007fa4);
}

.featured_badge.badge-pro {
  background: linear-gradient(90deg, #ffc107, #ff9800);
}

.featured_content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.featured_tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.tag {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-primary {
  background: rgba(0, 187, 240, 0.1);
  color: #00bbf0;
}

.tag-success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.tag-info {
  background: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.tag-warning {
  background: rgba(255, 193, 7, 0.1);
  color: #d39e00;
}

.tag-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.featured_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 15px;
}

.featured_desc {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.featured_features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.featured_features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #00204a;
}

.featured_features i {
  color: #00bbf0;
}

.featured_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #00bbf0, #007fa4);
  color: #ffffff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.featured_btn:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0, 187, 240, 0.3);
  color: #ffffff;
}

.featured_btn i {
  transition: transform 0.3s ease;
}

.featured_btn:hover i {
  transform: translateX(5px);
}

/* 全部产品区域 */
.all_products_section {
  padding: 80px 0;
  background: #ffffff;
}

.product_category_block {
  margin-bottom: 60px;
}

.product_category_block:last-child {
  margin-bottom: 0;
}

.category_header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 187, 240, 0.1);
}

.category_icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00204a, #00bbf0);
  border-radius: 15px;
  color: #ffffff;
  font-size: 1.5rem;
}

.category_info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 5px;
}

.category_info p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.products_row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product_card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 187, 240, 0.1);
  transition: all 0.3s ease;
}

.product_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 187, 240, 0.12);
  border-color: rgba(0, 187, 240, 0.3);
}

.product_card_inner {
  padding: 25px;
}

.product_icon_wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.product_card:hover .product_icon_wrapper {
  background: linear-gradient(135deg, #00204a, #00bbf0);
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 187, 240, 0.3);
}

.product_icon_wrapper img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product_card:hover .product_icon_wrapper img {
  transform: scale(1.15);
}

.product_content {
  text-align: center;
}

.product_name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00204a;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.product_card:hover .product_name {
  color: #00bbf0;
}

.product_desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product_highlights {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.product_highlights span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #888;
}

.product_highlights i {
  color: #00bbf0;
  font-size: 0.85rem;
}

.product_link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00bbf0;
  transition: all 0.3s ease;
}

.product_link:hover {
  color: #007fa4;
}

/* CTA区域 */
.product_cta_section {
  padding: 80px 0;
  background: linear-gradient(135deg, #00204a 0%, #001835 50%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.product_cta_section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(0,187,240,0.1)"/></svg>');
  background-size: 30px 30px;
}

.cta_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta_text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta_text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
}

.cta_actions {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta_btn i {
  font-size: 1.1rem;
}

.cta_btn_primary {
  background: linear-gradient(90deg, #00bbf0, #007fa4);
  color: #ffffff;
}

.cta_btn_primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 187, 240, 0.4);
  color: #ffffff;
}

.cta_btn_outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.cta_btn_outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* 隐藏/显示动画 */
.product_card.hidden,
.featured_card.hidden {
  display: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .products_row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .featured_products_grid {
    grid-template-columns: 1fr;
  }
  
  .featured_card.large {
    grid-column: span 1;
  }
  
  .featured_card.large .featured_card_inner {
    flex-direction: column;
  }
  
  .featured_card.large .featured_img_wrapper {
    width: 100%;
    height: 200px;
  }
  
  .products_row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product_stats_row {
    gap: 30px;
  }
  
  .stat_number {
    font-size: 2.5rem;
  }
  
  .cta_content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .product_hero_section {
    padding: 80px 0 60px;
  }
  
  .product_hero_title {
    font-size: 2.2rem;
  }
  
  .product_hero_desc {
    font-size: 1rem;
  }
  
  .products_row {
    grid-template-columns: 1fr;
  }
  
  .category_header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .section_title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .product_hero_section {
    padding: 60px 0 40px;
  }
  
  .featured_products_section,
  .all_products_section,
  .product_cta_section {
    padding: 50px 0;
  }
  
  .featured_content {
    padding: 20px;
  }
  
  .featured_title {
    font-size: 1.25rem;
  }
  
  .featured_features {
    flex-direction: column;
    gap: 10px;
  }
}