/* 基础样式 */
:root {
  --primary-color: #48BC57;
  --primary-dark: #3da54b;
  --primary-light: #6eca79;
  --secondary-color: #2196F3;
  --accent-color: #FF9800;
  --text-color: #333333;
  --light-text: #666666;
  --background-color: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, #2196F3, #1976D2);
  --gradient-accent: linear-gradient(135deg, #FF9800, #F57C00);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

/* 品牌头部样式 */
.brand-header {
  position: relative;
  background: var(--primary-color);
  padding: 40px 20px 60px;
  margin-bottom: 40px;
  overflow: hidden;
}

.brand-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.header-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.header-wave svg {
  width: 100%;
  height: auto;
}

.brand-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.brand-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
}

.brand-slogan {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.launch-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: bold;
  backdrop-filter: blur(4px);
  animation: pulse 2s infinite;
}

/* 功能区样式 */
.section-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--text-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.feature-card {
  text-align: center;
  padding: 25px 15px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

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

/* 商品区样式 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

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

.product-image {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  overflow: hidden;
}

.product-1 { background: var(--gradient-primary); }
.product-2 { background: var(--gradient-secondary); }
.product-3 { background: var(--gradient-accent); }

.product-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  color: var(--text-color);
  font-size: 12px;
  font-weight: bold;
}

.product-card h3 {
  padding: 15px 15px 5px;
  font-size: 16px;
}

.product-desc {
  padding: 0 15px;
  color: var(--light-text);
  font-size: 14px;
  margin-bottom: 10px;
}

.product-price {
  padding: 0 15px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
}

.price-original {
  color: var(--light-text);
  text-decoration: line-through;
  font-size: 14px;
}

/* 品质保证区样式 */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.quality-item {
  text-align: center;
  padding: 25px 15px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.quality-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.quality-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.quality-item h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

/* 新人福利区样式 */
.benefits-section {
  padding: 0 20px;
  margin-bottom: 40px;
}

.benefit-card {
  background: var(--gradient-primary);
  color: white;
  padding: 30px 25px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 10px 20px rgba(72, 188, 87, 0.2);
}

.benefit-card h2 {
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.benefit-card h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border-radius: 1px;
}

.benefit-list {
  list-style: none;
  margin-top: 15px;
}

.benefit-list li {
  margin: 12px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 底部行动区样式 */
.action-footer {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}

.action-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.action-text h3 {
  font-size: 24px;
  margin: 15px 0;
  color: var(--primary-color);
  font-weight: bold;
}

.action-text p {
  color: var(--light-text);
  margin: 8px 0;
}

/* 动画效果 */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 动画类 */
.animate-fade-in {
  animation: fade-in 1s ease-out forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slide-up 1s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.animate-scale-in {
  opacity: 0;
  animation: scale-in 0.6s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.animate-bounce {
  animation: bounce 2s ease infinite;
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .features-grid,
  .products-grid,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .brand-header {
    padding: 30px 20px 50px;
  }
  
  .brand-title {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .features-grid,
  .products-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-logo {
    width: 80px;
    height: 80px;
  }
  
  .brand-title {
    font-size: 20px;
  }
  
  .brand-slogan {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .benefit-card {
    padding: 25px 20px;
  }
  
  .benefit-card h2 {
    font-size: 20px;
  }
  
  .action-text h3 {
    font-size: 20px;
  }
} 