/* 全局基础样式 - 统一规范 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "微软雅黑", Arial, sans-serif;
}

body {
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.7;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

img {
  max-width: 100%;
  border: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 面包屑导航 - SEO友好 */
.breadcrumb {
  padding: 12px 0;
  font-size: 14px;
  color: #666;
  background-color: #fff;
  margin-bottom: 10px;
}

.breadcrumb span {
  margin: 0 5px;
  color: #999;
}

/* 主导航栏 - 清晰易操作 */
.navbar {
  background-color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.navbar-logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 0;
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-menu a {
  color: #fff;
  padding: 18px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

.navbar-menu a:hover {
  background-color: #2d3748;
  color: #fff;
}

/* Hero区域 - 突出核心价值 */
.hero {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  text-align: center;
  padding: 60px 0;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* 轮播图 - 视觉友好 */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-inner {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  width: 100%;
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* 黄金布局：左70% + 右30%（百度SEO最优） */
.main-content {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.content-left {
  width: 70%;
}

.content-right {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 左侧内容板块 - 内容清晰 */
.box {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.box h2 {
  color: #1e293b;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  font-size: 22px;
  font-weight: 600;
}

.box h3 {
  margin: 15px 0 10px;
  font-size: 18px;
  color: #2d3748;
}

.box p {
  margin-bottom: 10px;
  text-align: justify;
}

.advantage-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.advantage-list div {
  background-color: #f0f7ff;
  padding: 10px;
  border-radius: 6px;
  color: #2d3748;
}

.faq-item {
  margin-bottom: 12px;
}

.faq-item h4 {
  font-size: 16px;
  color: #007bff;
  margin-bottom: 5px;
}

/* 右侧边栏 - 填满无空白 */
.side-box {
  background-color: #fff;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.side-box h3 {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}

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

.friend-links li {
  margin-bottom: 8px;
}

.friend-links a {
  display: block;
  padding: 8px 10px;
  background-color: #f5f7fa;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.friend-links a:hover {
  background-color: #e9ecef;
  color: #007bff;
}

.notice {
  background-color: #fff3cd;
  padding: 12px;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  font-size: 14px;
  margin-bottom: 10px;
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}

.news-list li:last-child {
  border-bottom: none;
}

.service {
  padding: 5px 0;
  font-size: 14px;
  color: #495057;
}

.qr-box {
  text-align: center;
}

.qr-box img {
  margin: 10px 0;
  width: 140px;
  height: 140px;
  border-radius: 8px;
}

.qr-box p {
  font-size: 14px;
  color: #666;
}

/* 页脚 - 信息完整 */
.footer {
  background-color: #1e293b;
  color: #fff;
  padding: 30px 0 15px;
  margin-top: auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #374151;
}

.footer-col {
  flex: 1;
  min-width: 180px;
}

.footer-col h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: #ccc;
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #9ca3af;
  font-size: 14px;
}

.copyright {
  margin-top: 5px;
}

/* 响应式适配 - 移动端友好 */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  .content-left, .content-right {
    width: 100%;
  }
  .carousel-item img {
    height: 220px;
  }
  .navbar-menu {
    flex-wrap: wrap;
  }
  .navbar-menu a {
    padding: 12px 15px;
  }
  .hero {
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 28px;
  }
  .advantage-list {
    grid-template-columns: 1fr;
  }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-col {
    min-width: 100%;
  }
  .carousel-prev, .carousel-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}