/* 全局样式 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Microsoft YaHei', sans-serif;
line-height: 1.6;
color: #333;
}

/* 头部样式 */
header {
background: linear-gradient(to right, #ffffff, rgb(255, 255, 255));
padding: 20px 0;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.logo img {
height: 50px;
}

.nav-links {
list-style: none;
display: flex;
}

.nav-links li {
margin-left: 30px;
}

.nav-links a {
color: rgb(0, 0, 0);
text-decoration: none;
font-size: 16px;
}

main img {
  width: 100%;
}

.hero {
text-align: center;
padding: 100px 20px;
}

.hero h1 {
font-size: 48px;
margin-bottom: 20px;
}

.hero p {
font-size: 24px;
margin-bottom: 40px;
}

.cta-btn {
background: #ff6600;
color: white;
padding: 15px 30px;
border-radius: 5px;
text-decoration: none;
font-size: 18px;
}

/* 特色部分样式 */
.features {
display: flex;
align-items: flex-end;
justify-content: space-around;
max-width: 1200px;
margin: 50px auto;
padding: 0 20px;
}

.feature-card {
text-align: center;
width: 30%;
}

.feature-card img {
width: 320px;
margin-bottom: 80px;
}

.feature-card h3 {
font-size: 24px;
margin-bottom: 10px;
}

/* 页脚样式 */
footer {
background: #1a1a1a;
color: white;
padding: 40px 20px;
text-align: center;
}

.footer-content {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
}

.footer-section {
width: 45%;
}

.footer-section h4 {
margin-bottom: 20px;
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin-bottom: 10px;
}

.footer-section a {
color: white;
text-decoration: none;
}

.footer-bottom {
text-align: center;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #444;
}

/* 弹框样式 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed; /* 固定位置 */
  z-index: 1; /* 置于顶层 */
  left: 0;
  top: 0;
  width: 100%; /* 全屏宽度 */
  height: 100%; /* 全屏高度 */
  overflow: auto; /* 允许滚动 */
  background-color: rgb(0,0,0); /* 黑色背景 */
  background-color: rgba(0,0,0,0.4); /* 透明背景 */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% 上边距，居中 */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* 宽度 */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* 如果需要，也可以明确指定 footer p 的样式 */
footer p {
  text-align: center;
  margin: 0;
}
