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

:root {
  --purple-dark: #2D1B4E;
  --purple: #4A2C7A;
  --purple-light: #6B4A9E;
  --gold: #D4AF37;
  --gold-light: #F4D03F;
  --gold-dark: #B8960C;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
}

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

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, var(--purple-dark) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

.subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--purple-dark);
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Nav */
.nav {
  background: var(--purple-dark);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--gold);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
}

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

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--purple);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 15px auto 0;
}

/* About */
.about {
  background: #f9f7fc;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
}

.about-features {
  display: grid;
  gap: 20px;
}

.feature {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 15px rgba(74, 44, 122, 0.1);
}

.feature h3 {
  color: var(--purple);
  margin-bottom: 8px;
}

.feature p {
  color: #666;
}

/* Products */
.products {
  background: linear-gradient(180deg, white 0%, #f9f7fc 100%);
}

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

.product-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(74, 44, 122, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eee;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 44, 122, 0.15);
  border-color: var(--gold);
}

.product-img {
  font-size: 3rem;
  margin-bottom: 20px;
}

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

.price {
  color: var(--gold-dark);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-card p:last-child {
  color: #666;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  background: var(--purple-dark);
  color: var(--text-light);
}

.contact .section-title {
  color: var(--gold);
}

.contact-content {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

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

.contact-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}

.contact-item p {
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--purple);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .contact-content {
    gap: 30px;
  }
}

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

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

  .nav-inner {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    gap: 20px;
  }

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