/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

.layui-container {
  max-width: 1200px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #222;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-primary {
  background: #0066ff;
  color: white;
  line-height: 1;
}

.btn-primary:hover {
  background: #0052cc;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid #0066ff;
  color: #0066ff;
  line-height: 1;
}

.btn-outline:hover {
  background: #0066ff;
  color: white;
  transform: translateY(-3px);
}


/* 首页横幅 */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(0,102,255,0.1)"/></svg>');
  background-size: 100% 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* 关于我们 */
.about {
  background: #f8f9fa;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.about-text p {
  margin-bottom: 20px;
  color: #666;
}

.stats {
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
  gap: 30px;
}

.stat-item h4 {
  font-size: 2rem;
  color: #0066ff;
  margin-bottom: 5px;
}

.stat-item p {
  color: #999;
  margin: 0;
}

/* 服务项目 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #0066ff, #00ccff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
}

.service-icon i {
  color: white;
  font-size: 30px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* 案例研究 */
.portfolio {
  background: #f8f9fa;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  background: transparent;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0066ff;
  color: white;
  border-color: #0066ff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-img {
  height: 250px;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-weight: 500;
}

.portfolio-img img {
  width: 100%;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  margin-bottom: 10px;
}

/* 团队介绍 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
}

.member-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.member-info p {
  color: #0066ff;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #0066ff;
  color: white;
  transform: translateY(-3px);
}

/* 新闻资讯 */
.news {
  background: #f8f9fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
  height: 200px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-content {
  padding: 25px;
}

.news-date {
  color: #0066ff;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.news-content p {
  color: #666;
  margin-bottom: 20px;
}

/* 联系我们 */
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #0066ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-form .layui-form-item {
  margin-bottom: 25px;
}

.contact-form .layui-input,
.contact-form .layui-textarea {
  border: none;
  border-radius: 5px;
  padding: 15px;
  background: #f8f9fa;
}

/* 底部 */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #0066ff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #0066ff;
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* 响应式 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero-btns .btn {
    padding: 7px 16px;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* 图标字体 */
@font-face {
  font-family: "layui-icon";
  src: url("layui/font/iconfont.eot?v=293");
  src: url("layui/font/iconfont.eot?v=293#iefix") format("embedded-opentype"),
    url("layui/font/iconfont.woff2?v=293") format("woff2"),
    url("layui/font/iconfont.woff?v=293") format("woff"),
    url("layui/font/iconfont.ttf?v=293") format("truetype"),
    url("layui/font/iconfont.svg?v=293#layui-icon") format("svg");
}

.layui-icon {
  font-family: "layui-icon" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 在手机端隐藏导航菜单 */
@media (max-width: 768px) {
  .layui-nav {
    display: none;
  }
}


