/* 基础reset与全局 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
}

/* 布局容器通用 */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部和主要内容区域的橙色渐变背景 */
.header-section {
  background: linear-gradient(90deg, #dc3717 0%, #FF5A23 100%); /* 橙色渐变背景 */
  color: white;
  padding: 20px 0 0 0;
}

/* 导航栏样式 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 63px;
}

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

.nav-menu li {
  margin: 0 45px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.sign-in-btn {
  background-color: #FF4B2B;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* 主要内容区域 */
.hero-section {
  display: flex;
  max-width: 1500px;
  margin: 0 auto;
  padding: 60px 20px 0px;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 58px;
  margin-bottom: 50px;
  line-height: 1.2;
  font-weight: bold;
}

.hero-content p {
  font-size: 28px;
  margin-bottom: 50px;
  opacity: 0.9;
}

.email-form {
  display: flex;
  margin-top: 20px;
}

.email-form input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.email-form button {
  background-color: #FF4B2B;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  max-width: 731px;
  height: auto;
}

/* 合作伙伴区域 */
.partners-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 20px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.partner-logos img {
  height: 68px;
  opacity: 0.8;
}

/* 内容页面主体样式 */
main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 40px 20px;
}

main h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #dc3717;
}

main p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #555;
}

/* 卡片样式 */
.card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 图标样式 */
.icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  padding: 12px 25px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #FF4B2B;
  color: white;
}

.btn-primary:hover {
  background-color: #dc3717;
}

.btn-secondary {
  background-color: #f8f8f8;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #eee;
}

/* Products 页面 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-item {
  text-align: center;
}

.feature-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #dc3717;
}

.feature-item p {
  font-size: 16px;
  color: #666;
}

/* Solutions 页面 */
.solutions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.solution {
  text-align: center;
}

.solution h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #dc3717;
}

.solution p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.solution ul {
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
}

.solution ul li {
  margin-bottom: 10px;
  color: #555;
}

/* Developers 页面 */
.dev-features {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.dev-features li {
  margin-bottom: 15px;
  font-size: 18px;
  color: #555;
}

.dev-features strong {
  color: #dc3717;
  font-weight: bold;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.code-snippet {
  background-color: #2d2d2d;
  color: #f8f8f8;
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.5;
}

/* Pricing 页面 */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.plan {
  text-align: center;
}

.plan h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #dc3717;
}

.price {
  font-size: 36px;
  font-weight: bold;
  margin: 20px 0;
  color: #333;
}

.price span {
  font-size: 16px;
  color: #888;
}

.plan ul {
  text-align: left;
  margin: 25px 0;
  padding-left: 20px;
}

.plan ul li {
  margin-bottom: 10px;
  color: #555;
}

/* 页脚样式 */
footer {
  background-color: #f8f8f8;
  padding: 30px 0;
  font-size: 14px;
  color: #666;
}

.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-content p {
  margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container, .navbar, .hero-section {
    max-width: 960px;
  }
  
  .hero-content h1 {
    font-size: 48px;
  }
  
  .hero-content p {
    font-size: 24px;
  }
  
  .hero-image img {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .container, .navbar, .hero-section {
    max-width: 720px;
  }
  
  .hero-section {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 42px;
    margin-bottom: 30px;
  }
  
  .hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
  }
  
  .partner-logos {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .partner-logos img {
    height: 50px;
  }
  
  .feature-grid, .solution-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container, .navbar, .hero-section {
    max-width: 540px;
  }
  
  .navbar {
    flex-direction: column;
    padding: 20px;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .nav-menu {
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .sign-in-btn {
    align-self: center;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 20px;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .email-form input {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .email-form button {
    width: 100%;
    border-radius: 4px;
  }
  
  .feature-grid, .solution-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-table {
    flex-direction: column;
  }
  
  .pricing-plan {
    width: 100%;
    margin-bottom: 20px;
  }
  
  /* 登录和注册页面响应式 */
  .login-container, .register-container {
    flex-direction: column;
  }
  
  .login-image, .register-image {
    display: none;
  }
  
  .login-form-container, .register-form-container {
    max-width: 100%;
    padding: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 576px) {
  .container, .navbar, .hero-section {
    padding: 0 15px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .partner-logos {
    justify-content: center;
  }
  
  .partner-logos img {
    height: 40px;
    margin: 10px;
  }
  
  .footer-content {
    text-align: center;
    font-size: 14px;
  }
  
  .footer-content p {
    margin-bottom: 10px;
  }
}

/* 按钮样式 */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  padding: 12px 25px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
