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

:root {
  --red: #e74c3c;
  --dark-red: #c0392b;
  --green: #27ae60;
  --light-green: #2ecc71;
  --cream: #fdf6e3;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--cream);
  color: #333;
  line-height: 1.6;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
  color: white;
  padding-bottom: 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='20' font-size='20' fill='rgba(255,255,255,0.1)'%3E🍎%3C/text%3E%3C/svg%3E") repeat;
  opacity: 0.5;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.hero-content {
  text-align: center;
  padding-top: 60px;
  position: relative;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--light-green);
}

/* Products Section */
.products {
  padding: 80px 0;
  background: white;
}

.products h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--dark-red);
  margin-bottom: 50px;
}

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

.product-card {
  background: var(--cream);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.product-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.red-apple {
  background: linear-gradient(135deg, #e74c3c 50%, #c0392b 50%);
}

.green-apple {
  background: linear-gradient(135deg, #27ae60 50%, #1e8449 50%);
}

.mixed-apple {
  background: linear-gradient(135deg, #e74c3c 33%, #27ae60 33%, #27ae60 66%, #e74c3c 66%);
}

.product-card h3 {
  color: var(--dark-red);
  margin-bottom: 10px;
}

.product-card p {
  color: #666;
  margin-bottom: 15px;
}

.price {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-weight: bold;
}

/* About Section */
.about {
  padding: 80px 0;
  background: linear-gradient(to bottom, #fdf6e3, #e8f5e9);
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 50px;
}

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

.feature {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature h3 {
  color: var(--dark-red);
  margin-bottom: 10px;
}

.feature p {
  color: #666;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: var(--red);
  color: white;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.contact p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--dark-red);
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .products h2,
  .about h2,
  .contact h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 50px;
  }

  .hero-content {
    padding-top: 40px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }
}