/* ========== 基础变量 ========== */
:root {
  --primary: #E8893A;
  --primary-dark: #D87528;
  --primary-light: #F0997B;
  --bg-warm: #FAF5EE;
  --bg-white: #FFFFFF;
  --text-dark: #2C2C2A;
  --text-gray: #9B978F;
  --text-light: #C4B8A8;
  --border-light: #EAE0D0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ========== 全局 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-warm);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========== 按钮 ========== */
.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 137, 58, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(232, 137, 58, 0.1);
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 48px;
  font-size: 18px;
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 245, 238, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

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

.nav-links li a {
  font-size: 14px;
  color: var(--text-gray);
  transition: color 0.3s;
  padding: 4px 0;
}

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

.nav-cta {
  padding: 8px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  cursor: pointer;
  position: relative;
}

.nav-mobile-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-mobile-btn span:nth-child(1) { top: 0; }
.nav-mobile-btn span:nth-child(2) { top: 8px; }
.nav-mobile-btn span:nth-child(3) { top: 16px; }

.nav-mobile-btn.active span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.nav-mobile-btn.active span:nth-child(2) { opacity: 0; }
.nav-mobile-btn.active span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px;
}

.nav-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile-menu ul li a {
  font-size: 15px;
  color: var(--text-gray);
  padding: 8px 0;
  display: block;
}

.nav-mobile-menu ul li a:hover {
  color: var(--primary);
}

.nav-mobile-menu .nav-cta {
  display: inline-block;
  margin-top: 8px;
}

/* ========== 通用区块 ========== */
.section {
  padding: 80px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Hero 首屏 ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #FFF7EE 0%, #FAF5EE 50%, #FFE8CC 100%);
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero-circle-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}

.hero-circle-2 {
  width: 250px;
  height: 250px;
  background: var(--primary-light);
  bottom: -80px;
  left: -60px;
}

.hero-circle-3 {
  width: 150px;
  height: 150px;
  background: #FFD56B;
  top: 30%;
  left: 15%;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 8px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.hero-stat-unit {
  font-size: 14px;
  color: var(--text-gray);
  display: block;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* ========== 产品介绍 ========== */
.product {
  background: var(--bg-white);
}

.product-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  width: 160px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.flow-icon {
  margin-bottom: 12px;
}

.flow-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.flow-desc {
  font-size: 13px;
  color: var(--text-gray);
}

.flow-arrow {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
}

.product-highlight {
  text-align: center;
  padding: 24px 32px;
  background: linear-gradient(135deg, #FFFBF5, #FFF7EE);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 137, 58, 0.2);
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
}

.product-highlight strong {
  color: var(--primary);
}

/* ========== 核心功能 ========== */
.features {
  background: var(--bg-warm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 137, 58, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-tagline {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== 产品优势 ========== */
.advantages {
  background: var(--bg-white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 137, 58, 0.3);
  background: #FFFBF5;
}

.advantage-icon {
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== 使用流程 ========== */
.guide {
  background: linear-gradient(135deg, #FFF7EE, #FAF5EE);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.guide-step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(232, 137, 58, 0.3);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.guide-cta {
  text-align: center;
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ========== Footer ========== */
.footer {
  background: var(--text-dark);
  color: #fff;
  padding: 48px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.footer-cta {
  flex-shrink: 0;
}

.footer-cta .btn-primary {
  padding: 10px 28px;
}

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

.footer-wechat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-wechat-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-wechat-qr img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  background: #fff;
  display: block;
}

.footer-email {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ========== 滚动动画 ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 基础动画 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 响应式 ========== */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-container .nav-cta {
    display: none;
  }

  .nav-mobile-btn {
    display: block;
  }

  .nav-mobile-menu.active {
    display: block;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat-value {
    font-size: 28px;
  }

  .hero-stat-divider {
    height: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .product-flow {
    flex-direction: column;
    gap: 12px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    width: 100%;
    max-width: 280px;
  }

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

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

  .guide-step {
    padding: 20px;
    gap: 16px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
