@charset "utf-8";
/* 现代化主题样式 - 重新设计版 */

/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f7f9fc;
}

a {
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: none;
}

ul, ol, li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

:root {
  --primary-color: #3f51b5;
  --primary-light: #757de8;
  --primary-dark: #002984;
  --secondary-color: #ff4081;
  --text-primary: #212121;
  --text-secondary: #757575;
  --border-color: #e0e0e0;
  --background-light: #fff;
  --background-gray: #f7f9fc;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

/* 头部样式 */
.header {
  background-color: var(--background-light);
  box-shadow: var(--box-shadow);
  position: relative;
  z-index: 100;
}

.header-top {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  max-width: 250px;
}

.logo img {
  display: block;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.header-info {
  display: flex;
  align-items: center;
}

.search-form {
  position: relative;
  margin-right: 20px;
}

.search-form input {
  width: 250px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--background-light);
  transition: var(--transition);
  font-size: 14px;
}

.search-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
  outline: none;
}

.search-form button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.search-form button:hover {
  color: var(--primary-color);
}

.header-links a {
  display: inline-flex;
  align-items: center;
  margin-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}

.header-links a i {
  margin-right: 5px;
  font-size: 16px;
}

.header-links a:hover {
  color: var(--primary-color);
}

/* 导航样式 */
.nav {
  background-color: var(--primary-color);
  position: relative;
}

.nav-list {
  display: flex;
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  padding: 18px 25px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
}

.nav-item > a i {
  margin-left: 5px;
  font-size: 14px;
}

.nav-item > a:hover,
.nav-item.active > a {
  background-color: var(--primary-dark);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--background-light);
  box-shadow: var(--box-shadow);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 101;
  overflow: hidden;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  border-bottom: 1px solid var(--border-color);
}

.nav-dropdown li:last-child {
  border-bottom: none;
}

.nav-dropdown li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.nav-dropdown li a:hover {
  background-color: rgba(63, 81, 181, 0.05);
  color: var(--primary-color);
  padding-left: 25px;
}

/* 轮播图样式 */
.slider {
  margin: 30px 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.slider img {
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.slider:hover img {
  transform: scale(1.02);
}

/* 内容区域样式 */
.main {
  padding: 40px 0;
}

.section {
  margin-bottom: 40px;
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.section:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.section-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.section-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.more-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.more-link:hover {
  color: var(--primary-color);
}

.more-link:hover i {
  transform: translateX(3px);
}

.section-body {
  padding: 25px;
}

/* 产品列表样式 */
.product-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.product-item {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.product-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-img {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #f5f5f5;
}

.product-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(63, 81, 181, 0);
  transition: var(--transition);
  z-index: 1;
}

.product-card:hover .product-img::before {
  background: rgba(63, 81, 181, 0.1);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: var(--transition);
}

.product-title a:hover {
  color: var(--primary-color);
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.product-date {
  font-size: 12px;
  color: var(--text-secondary);
}

.product-more {
  font-size: 13px;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.product-more i {
  margin-left: 5px;
  font-size: 12px;
  transition: var(--transition);
}

.product-more:hover i {
  transform: translateX(3px);
}

/* 新闻列表样式 */
.news-list li {
  padding: 15px 0;
  border-bottom: 1px dashed var(--border-color);
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list li a {
  display: block;
  padding-left: 15px;
  position: relative;
  font-size: 15px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: var(--transition);
}

.news-list li a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.8;
  transition: var(--transition);
}

.news-list li a:hover {
  color: var(--primary-color);
  padding-left: 20px;
}

.news-list li a:hover:before {
  opacity: 1;
  background-color: var(--primary-color);
}

.news-list li span {
  float: right;
  color: var(--text-secondary);
  font-size: 13px;
}

/* 关于我们样式 */
.about-content {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 15px;
}

.about-content p {
  margin-bottom: 15px;
}

/* 联系方式样式 */
.contact-list {
  line-height: 2;
}

.contact-list p {
  margin-bottom: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
}

.contact-list p:last-child {
  margin-bottom: 0;
}

.contact-list strong {
  display: inline-block;
  width: 80px;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-list i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* 页脚样式 */
.footer {
  background-color: #2c3e50;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-column {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 20px;
}

.footer-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links li a i {
  margin-right: 8px;
  font-size: 12px;
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 10px;
  margin-top: 4px;
}

.footer-about {
  line-height: 1.8;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  margin: 5px 15px;
  font-size: 14px;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.8;
}

.footer-copy a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-copy a:hover {
  color: #fff;
}

/* 响应式样式 */
@media (max-width: 1200px) {
  .container {
    width: 100%;
  }
  
  .product-item {
    width: 33.333%;
  }
  
  .footer-column {
    width: 50%;
  }
}

@media (max-width: 992px) {
  .product-item {
    width: 50%;
  }
  
  .nav-item > a {
    padding: 15px 15px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }

  .header-top {
    flex-direction: column;
    padding: 15px 0;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .search-form {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .search-form input {
    width: 100%;
  }
  
  .header-info {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .nav-item > a {
    padding: 15px 12px;
    font-size: 14px;
  }
  
  .product-item {
    width: 50%;
  }
  
  .footer-column {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .product-item {
    width: 100%;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .more-link {
    margin-top: 10px;
  }
  
  .news-list li a {
    width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
  }
  
  .news-list li span {
    width: 30%;
    text-align: right;
  }
  
  .news-list li {
    overflow: hidden;
  }
}

/* 固定导航栏 */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  opacity: 1;
  background-color: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* 移动端导航 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  padding: 15px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-list {
    display: none;
  }
  
  .nav-list.mobile-nav-active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  .nav-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-item > a {
    color: var(--text-primary);
    text-align: left;
    padding: 15px;
    justify-content: space-between;
  }
  
  .nav-item > a:hover,
  .nav-item.active > a {
    background-color: rgba(63, 81, 181, 0.05);
    color: var(--primary-color);
  }
  
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    width: 100%;
    padding-left: 20px;
    display: none;
    background-color: #f7f9fc;
    border-radius: 0;
  }
  
  .nav-item.has-dropdown > a:after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 5px;
  }
  
  .nav-item.open > .nav-dropdown {
    display: block;
  }
}

/* 动画和过渡效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animated {
  animation: fadeIn 0.6s ease-out forwards;
}

.section.animated {
  animation: zoomIn 0.6s ease-out forwards;
}

.product-card.animated {
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.news-list li.animated {
  animation-delay: calc(var(--animation-order, 0) * 0.05s);
}

.product-img img {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-img img.loaded {
  opacity: 1;
}

/* 加载状态样式 */
.loading {
  position: relative;
}

.loading:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  margin-left: -15px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* 服务特点区域 */
.features {
  padding: 40px 0 20px;
  background-color: var(--background-light);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
}

.features-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.feature-item {
  width: 25%;
  padding: 0 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(63, 81, 181, 0.2);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.feature-content {
  flex-grow: 1;
}

.feature-content h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* 合作伙伴区域 */
.partners-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -10px;
}

.partner-item {
  flex: 0 0 18%;
  margin: 10px;
  text-align: center;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partner-logo i {
  font-size: 36px;
  color: #1e5799;
  margin-bottom: 10px;
}

.partner-logo span {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

@media (max-width: 768px) {
  .partner-item {
    flex: 0 0 45%;
  }
}

@media (max-width: 480px) {
  .partner-item {
    flex: 0 0 100%;
  }
}

/* 工具类 */
.mt-3 {
  margin-top: 15px;
}

.btn-sm {
  padding: 5px 15px;
  font-size: 12px;
}

.d-none {
  display: none;
}

@media (min-width: 768px) {
  .d-md-inline-flex {
    display: inline-flex;
  }
}

@media (max-width: 992px) {
  .feature-item {
    width: 50%;
  }
  
  .partner-item {
    width: 33.333%;
  }
}

@media (max-width: 576px) {
  .feature-item {
    width: 100%;
  }
  
  .partner-item {
    width: 50%;
  }
} 
} 