/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

/* 容器 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 导航栏 */
.navbar {
  background: #2c3e50;
  padding: 15px 0;
  color: white;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav {
  display: flex;
  list-style: none;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.nav a:hover {
  color: #3498db;
}

/* 首屏Banner */
.banner {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.banner-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.banner-text h2 {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: normal;
}

.banner-text p {
  font-size: 18px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
}

.btn:hover {
  background: #c0392b;
}

/* 律师信息卡片样式（完美对齐） */
.info-card {
  text-align: center;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}
.info-card h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.main-business {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
}
.license {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 12px;
}
.tel {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.intro {
  font-size: 18px;
  line-height: 1.8;
}

/* 通用板块样式 */
.section {
  padding: 60px 0;
}

.section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* 卡片布局 */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.card {
  flex: 1;
  min-width: 250px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #3498db;
}

.card p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* 更多案例链接 */
.more {
  text-align: center;
  margin-top: 30px;
}

.more a {
  color: #3498db;
  text-decoration: none;
  font-size: 16px;
}

.more a:hover {
  text-decoration: underline;
}

/* 律师简介 */
.section p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* 联系板块 */
.contact {
  background: #2c3e50;
  color: white;
}

.contact h2 {
  color: white;
}

.contact p {
  font-size: 18px;
  margin: 15px 0;
}

/* 底部 */
.footer {
  background: #1a252f;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer p {
  font-size: 14px;
}

/* ========== AI 智能法律智库 完美样式 ========== */
.ai-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.ai-list {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.ai-item {
  display: flex;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid #f0f0f0;
}

.ai-item:last-child {
  border-bottom: none;
}

.ai-item:hover {
  background: #f8f9fa;
}

.ai-icon {
  font-size: 24px;
  margin-right: 14px;
}

.ai-item a {
  font-size: 18px;
  color: #2c3e50;
  text-decoration: none;
  flex: 1;
}

.ai-item a:hover {
  color: #3498db;
  text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav li {
    margin: 5px 15px;
  }
  .banner-text h1 {
    font-size: 36px;
  }
  .section h2 {
    font-size: 28px;
  }
}
