/* 公共样式 */

/* 布局容器 */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 头部样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.header .logo {
  float: left;
  height: 80px;
  display: flex;
  align-items: center;
}

/* Logo样式 */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.logo-container:hover .logo-icon {
  transform: rotate(360deg);
  background: linear-gradient(135deg, #1890ff, #87CEEB, #00ff00, #1890ff);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #1890ff 0%, #87CEEB 50%, #00ff00 100%);
  border-radius: 12px;
  position: relative;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  color: #fff;
  font-size: 22px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(24,144,255,0.3);
  transition: all 0.5s ease;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255,255,255,0.1);
  transform: rotate(45deg);
  animation: shimmer 2s linear infinite;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(to right, #1890ff, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

.logo-subtitle {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-left: 2px;
}

.logo-subtitle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #1890ff, #00ff00);
  transition: width 0.3s ease;
}

.logo-container:hover .logo-subtitle::after {
  width: 100%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: rotate(45deg) translate(-100%, -100%);
  }
  100% {
    transform: rotate(45deg) translate(100%, 100%);
  }
}

/* 导航菜单 */
.nav {
  float: right;
}

.nav-list {
  display: flex;
  height: 80px;
  align-items: center;
}

.nav-item {
  margin: 0 20px;
}

.nav-item a {
  font-size: 16px;
  color: #333;
  transition: all 0.3s;
}

.nav-item a:hover,
.nav-item.active a {
  color: #1890ff;
}

/* 页脚样式 */
.footer {
  background: #2f2f2f;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  margin-right: 60px;
}

.footer-section:last-child {
  margin-right: 0;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a:hover {
  color: #1890ff;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* 通用按钮 */
.btn {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #1890ff, #40a9ff);
  color: #fff;
  background-size: 200% 100%;
  border: none;
  box-shadow: 0 2px 6px rgba(24, 144, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #40a9ff, #1890ff);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
}

/* 标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: #666;
}

/* 清除浮动 */
.clearfix::after {
  content: '';
  display: block;
  clear: both;
} 