/* ========================================
   MyAok 中文企业网站 自定义样式
   基于 Bootstrap 5 + Bootswatch Flatly
   ======================================== */

/* 全局字体 */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

/* 导航栏 */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.navbar .nav-link {
  font-size: 1rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

/* Hero 区域 */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2c3e50 0%, #18bc9c 100%);
  color: #fff;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-section p.lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* 统计数字区 */
.stats-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 800;
  color: #18bc9c;
  line-height: 1;
}

.stat-item .label {
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
}

/* 服务卡片 */
.service-card {
  border: none;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  background: #fff;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card .icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

/* 关于我们区域 */
.about-section {
  padding: 80px 0;
}

.about-section img {
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 特色区域 */
.features-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.feature-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-right: 20px;
}

.feature-item h5 {
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  color: #666;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* 团队区域 */
.team-section {
  padding: 80px 0;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.team-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
}

.team-card h5 {
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  color: #18bc9c;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: #666;
}

/* 客户评价 */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #2c3e50 0%, #18bc9c 100%);
  color: #fff;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
}

.testimonial-card .stars {
  color: #f39c12;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-weight: 600;
}

.testimonial-card .company {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 合作伙伴 */
.partners-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 15px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  font-size: 1.1rem;
  font-weight: 600;
  color: #999;
  transition: all 0.3s;
}

.partner-logo:hover {
  color: #18bc9c;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* CTA区域 */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 30px;
}

/* 页脚 */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 60px 0 30px;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #18bc9c;
}

footer .footer-links li {
  margin-bottom: 10px;
}

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* 通用标题 */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* 页面Banner */
.page-banner {
  background: linear-gradient(135deg, #2c3e50 0%, #18bc9c 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.page-banner .breadcrumb {
  justify-content: center;
  margin-top: 12px;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-banner .breadcrumb-item.active {
  color: #fff;
}

/* 联系表单 */
.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.contact-info-card .icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #18bc9c, #2c3e50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #18bc9c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
  box-shadow: 0 3px 15px rgba(24, 188, 156, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #2c3e50;
  transform: translateY(-3px);
}

/* 动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 70px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .stat-item .number {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  footer {
    padding: 40px 0 20px;
  }
}
