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

:root {
  --red: #e74c3c;
  --red-dark: #c0392b;
  --green: #27ae60;
  --green-dark: #1e8449;
  --green-light: #a8e6cf;
  --cream: #fdf6e3;
  --text: #2c3e50;
}

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

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--green) 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

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

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

.btn {
  display: inline-block;
  background: white;
  color: var(--red);
  padding: 12px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn:hover {
  transform: scale(1.05);
}

/* Features */
.features {
  padding: 60px 20px;
}

.features h2, .products h2, .about h2, .contact h2 {
  text-align: center;
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 40px;
}

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

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 3px solid var(--green-light);
  transition: transform 0.2s;
}

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

.feature-card h3 {
  color: var(--green-dark);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* Products */
.products {
  padding: 60px 20px;
  background: linear-gradient(to bottom, var(--cream), #e8f5e9);
}

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

.product-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.product-img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  margin-bottom: 15px;
}

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

.product-card h3 {
  color: var(--text);
  margin-bottom: 5px;
}

.price {
  color: var(--red);
  font-size: 1.4rem;
  font-weight: bold;
  margin: 10px 0;
}

/* About */
.about {
  padding: 60px 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: #555;
}

/* Contact */
.contact {
  background: var(--green);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 { color: white; }

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 50px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .contact-info { flex-direction: column; gap: 15px; }
}