/* 基础变量 */
:root {
  --whatsapp: #25D366;
  --whatsapp-dark: #20BD5A;
  --text: #1a1a1a;
  --text-muted: #666;
  --bg: #f8f9fa;
  --card-bg: #fff;
  --border: #eee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航 */
.header {
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-whatsapp.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

/* Hero 区域 */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
  padding: 60px 20px 80px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

/* How it works */
.how-it-works {
  padding: 50px 0 60px;
  background: var(--card-bg);
  margin-top: -40px;
  border-radius: 16px 16px 0 0;
  position: relative;
  z-index: 1;
}

.how-it-works h2,
.trust h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: var(--text);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.how-step {
  text-align: center;
  padding: 20px 16px;
}

.how-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.how-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Trust / Why choose us */
.trust {
  padding: 50px 0 60px;
  background: var(--bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.trust-item {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.trust-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp);
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 12px;
}

.trust-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Products */
.products {
  padding: 60px 0 80px;
}

.products h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 36px;
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f0f0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-info .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--whatsapp);
  margin-bottom: 12px;
}

.product-info .price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.btn-inquire {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-inquire:hover {
  background: var(--whatsapp-dark);
}

/* 底部 CTA */
.cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.cta h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--card-bg);
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-desc {
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-legal {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* 悬浮 WhatsApp 按钮 */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 99;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* 移动端 */
@media (max-width: 600px) {
  .header-inner {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    padding: 40px 16px 60px;
  }

  .how-it-works,
  .trust {
    padding: 36px 0 48px;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .products {
    padding: 40px 0 60px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .product-info h3 {
    font-size: 0.95rem;
  }

  .product-info .price {
    font-size: 1.1rem;
  }

  .btn-inquire {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}
