/* 自定义CSS，用于增强网站外观 */

:root {
  --primary-color: #106eea;
  --secondary-color: #3d5a80;
  --accent-color: #e76f51;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --tech-gradient: linear-gradient(135deg, #0062ff, #00a2ff);
  --tech-glow: 0 0 15px rgba(0, 138, 255, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --hero-gradient: linear-gradient(to right, rgba(0, 28, 58, 0.92), rgba(0, 66, 128, 0.92));
}

/* 一般样式增强 */
body {
  font-family: var(--font-primary);
  color: #444444;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
}

a {
  transition: all 0.3s ease;
}

/* 增强的页眉和导航 */
#header {
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  transition: all 0.5s;
  padding: 15px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  z-index: 997;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#header.header-scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo img {
  max-height: 50px;
  margin-right: 12px;
  transition: all 0.3s;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo span {
  color: var(--dark-color);
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-secondary);
  letter-spacing: 0.5px;
  position: relative;
}

.logo span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.logo:hover span::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 导航菜单 */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 10px;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: block;
  position: relative;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-color);
  white-space: nowrap;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--primary-color);
  background: rgba(16, 110, 234, 0.1);
}

/* 增强的导航链接动画 */
.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.navbar a:hover::after,
.navbar .active::after {
  width: 40%;
}

/* 登录按钮增强 */
.login-btn {
  background: var(--primary-color);
  color: #fff !important;
  padding: 10px 25px !important;
  margin-left: 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(16, 110, 234, 0.2);
}

.login-btn:hover {
  color: #106eea !important;
  box-shadow: 0 8px 25px rgba(16, 110, 234, 0.3);
}

.login-btn:hover::before {
  left: 100%;
}

/* 移动端导航增强 */
.mobile-nav-toggle {
  color: var(--dark-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  padding: 5px;
  border-radius: 4px;
  background: rgba(16, 110, 234, 0.1);
}

.mobile-nav-toggle:hover {
  color: var(--primary-color);
  background: rgba(16, 110, 234, 0.2);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
  
  .navbar a::after {
    display: none;
  }
  
  .login-btn {
    margin: 5px 10px;
    display: inline-block;
    text-align: center;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  transition: 0.3s;
  z-index: 999;
  padding-top: 70px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 80px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 15px 20px;
  font-size: 16px;
  display: block;
  border-radius: 4px;
  margin-bottom: 5px;
  background: rgba(16, 110, 234, 0.05);
  transition: all 0.3s ease;
}

.navbar-mobile a:hover,
.navbar-mobile .active {
  background: rgba(16, 110, 234, 0.1);
  color: var(--primary-color);
}

/* 部分样式 */
.section-title {
  text-align: center;
  padding-bottom: 40px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  line-height: 1;
  margin: 0 0 5px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
}

.section-title h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-title h3:after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: calc(50% - 30px);
}

.section-title p {
  margin: 15px auto 0 auto;
  max-width: 700px;
}

/* 公司简介样式 */
#company-intro {
  padding: 80px 0;
}

#company-intro .content p {
  margin-bottom: 20px;
}

#company-intro img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 服务部分 */
.services .icon-box {
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  background: #fff;
  height: 100%;
}

.services .icon-box:hover {
  transform: translateY(-10px);
}

.services .icon {
  margin-bottom: 15px;
}

.services .icon i {
  font-size: 42px;
  color: var(--primary-color);
}

.services .icon-box h4 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .icon-box h4 a {
  color: var(--dark-color);
  transition: ease 0.3s;
  text-decoration: none;
}

.services .icon-box h4 a:hover {
  color: var(--primary-color);
}

.services .icon-box p {
  line-height: 24px;
  font-size: 15px;
  margin-bottom: 0;
}

/* 成就部分 */
.counts {
  background-color: #f6f9fe;
  padding: 80px 0 60px 0;
}

.counts .count-box {
  padding: 30px;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.counts .count-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.counts .count-box i {
  display: block;
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 10px;
  margin-bottom: 10px;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
}

/* 关于我们部分 */
.about {
  padding: 80px 0;
}

.about-content {
  padding: 20px 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
  font-size: 32px;
  color: var(--primary-color);
  background: rgba(16, 110, 234, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.feature-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--light-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.about-description {
  margin-bottom: 30px;
}

.about-description p {
  margin-bottom: 15px;
  color: #666;
  line-height: 1.8;
}

.about-cta {
  text-align: center;
}

.btn-learn-more {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(16, 110, 234, 0.2);
}

.btn-learn-more:hover {
  background: #1a8cff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 110, 234, 0.3);
}

.showcase {
  background-color: #f6f9fe;
}

/* 页脚样式 */
#footer {
  color: #444444;
  font-size: 14px;
  background: #f8f9fa;
  box-shadow: 0px 0px 25px 0 rgba(0, 0, 0, 0.08);
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: var(--primary-color);
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: var(--dark-color);
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 5px;
  color: var(--primary-color);
  font-size: 16px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  border-bottom: 1px solid #e4e4e4;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #444444;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* 响应式调整 */
@media (max-width: 992px) {
  #header {
    padding: 15px;
  }
  
  .logo span {
    font-size: 20px;
  }
  
  .logo img {
    max-height: 40px;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 80vh;
    padding: 120px 0 60px 0;
  }
  
  #hero h1 {
    font-size: 36px;
  }
  
  #hero h2 {
    font-size: 18px;
  }
  
  #hero .row {
    margin-top: 0;
  }
}

/* 附加动画 */
.fade-in {
  animation: fadeIn ease 1s;
}

@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* 现代科技头部样式 */
#topbar {
  background: var(--tech-gradient);
  padding: 10px 0;
  transition: all 0.3s ease;
}

#topbar .contact-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

#topbar .contact-info a:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: var(--tech-glow);
}

#topbar .contact-info i {
  color: #fff;
  padding-right: 6px;
}

#topbar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin-left: 10px;
  transition: 0.3s;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#topbar .social-links a:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--tech-glow);
  background: rgba(255, 255, 255, 0.2);
}

#topbar .social-links a.twitter:hover {
  background: rgba(29, 161, 242, 0.3);
}

#topbar .social-links a.facebook:hover {
  background: rgba(59, 89, 152, 0.3);
}

#topbar .social-links a.linkedin:hover {
  background: rgba(0, 119, 181, 0.3);
}

#topbar .social-links a.wechat:hover {
  background: rgba(9, 184, 62, 0.3);
}

/* Particles.js 背景 */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

/* 首页视觉元素 */
.hero-visual-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* 浮动图形 */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  animation-name: float-animation;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  opacity: 0.4;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.shape-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-duration: 8s;
}

.shape-2 {
  width: 80px;
  height: 80px;
  top: 25%;
  right: 15%;
  animation-duration: 6s;
}

.shape-3 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  left: 18%;
  animation-duration: 9s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 10%;
  animation-duration: 7s;
}

/* 科技圆圈 */
.tech-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 138, 255, 0.3);
  animation: pulse 3s infinite;
  box-shadow: 0 0 20px rgba(0, 138, 255, 0.2);
}

.tech-circle-inner {
  position: absolute;
  border-radius: 50%;
  background: var(--tech-gradient);
  box-shadow: var(--tech-glow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tech-circle-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  right: 5%;
}

.tech-circle-1 .tech-circle-inner {
  width: 10px;
  height: 10px;
}

.tech-circle-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 12%;
}

.tech-circle-2 .tech-circle-inner {
  width: 8px;
  height: 8px;
}

/* 科技线条 */
.tech-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 138, 255, 0.5), transparent);
  animation: line-animation 5s infinite;
  box-shadow: 0 0 10px rgba(0, 138, 255, 0.3);
}

.tech-line-1 {
  width: 30%;
  top: 30%;
  left: 15%;
  transform: rotate(20deg);
}

.tech-line-2 {
  width: 20%;
  bottom: 25%;
  right: 20%;
  transform: rotate(-15deg);
}

/* 动画效果 */
@keyframes float-animation {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(20px) rotate(10deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

@keyframes line-animation {
  0% {
    opacity: 0.3;
    transform: translateX(-5%) rotate(20deg);
  }
  50% {
    opacity: 0.7;
    transform: translateX(0) rotate(20deg);
  }
  100% {
    opacity: 0.3;
    transform: translateX(5%) rotate(20deg);
  }
}

/* 响应式样式 */
@media (max-width: 991px) {
  #hero h1 {
    font-size: 48px;
  }
  
  #hero h2 {
    font-size: 24px;
  }
  
  #hero .hero-text {
    font-size: 18px;
  }
  
  .tech-circle-1 {
    width: 150px;
    height: 150px;
  }
  
  .tech-circle-2 {
    width: 100px;
    height: 100px;
  }
  
  .shape-1 {
    width: 80px;
    height: 80px;
  }
  
  .shape-4 {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 36px;
  }
  
  #hero h2 {
    font-size: 20px;
  }
  
  #hero .hero-text {
    font-size: 16px;
  }
  
  #hero .btn-get-started {
    padding: 12px 30px;
    font-size: 14px;
  }
  
  .tech-circle-1, .tech-circle-2 {
    display: none;
  }
  
  .tech-line {
    width: 15%;
  }
  
  .shape-3, .shape-4 {
    display: none;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 30px;
  }
  
  #hero h2 {
    font-size: 18px;
  }
  
  #hero .btn-get-started {
    padding: 10px 24px;
    font-size: 14px;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
  
  .tech-line {
    display: none;
  }
}

/* 关于部分的响应式样式 */
@media (max-width: 991px) {
  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
  }
  
  .stat-item {
    flex: 1 1 calc(50% - 10px);
  }
  
  .feature-item {
    padding: 15px;
  }
  
  .feature-item i {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .about-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    flex: 1 1 100%;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-item i {
    margin: 0 auto 15px;
  }
} 