/* 基础布局 */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* Logo 和导航 */
header {
  background: #111;
  padding: 1rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  max-height: 60px;
}

nav a {
  color: #ffc107;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero Banner */
.hero {
  padding: 60px 20px;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
}

/* Section 内容块 */
section {
  padding: 30px 20px;
  max-width: 960px;
  margin: auto;
}

section h2 {
  color: #333;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

/* CTA 按钮 */
.cta, button {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
}

.cta:hover, button:hover {
  background-color: #ffb300;
}

/* 表单 */
form {
  max-width: 400px;
  margin-top: 15px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 图片通用样式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  border-radius: 6px;
}

/* 页脚 */
footer {
  background: #222;
  color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ffc107;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

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

  nav a {
    display: block;
    margin: 8px 0;
  }
}
