:root {
  --primary-color: #ff6b35;
  --secondary-color: #2c3e50;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c69 100%);
  color: var(--white);
  padding: 20px 0;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  color: var(--white);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffe4d4;
}

.banner {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=modern%20technology%20company%20banner%20with%20digital%20elements&image_size=landscape_16_9');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}

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

.banner p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e55a2b;
}

.content-section {
  padding: 60px 0;
  background: var(--white);
}

.content-section.gray {
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.card p {
  color: #666;
}

footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

footer ul li a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 20px;
  color: #666;
}

.services-list {
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.service-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 30px;
}

.service-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-item {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.product-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.product-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.product-item .price {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  background: var(--white);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.news-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.news-item p {
  color: #666;
  margin-bottom: 10px;
}

.news-item .date {
  color: #999;
  font-size: 14px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #e55a2b;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #666;
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 15px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  .banner h1 {
    font-size: 32px;
  }
  
  .service-item {
    flex-direction: column;
    text-align: center;
  }
  
  .service-item img {
    margin-right: 0;
    margin-bottom: 20px;
  }
}