/* ============================================
   统一样式 — 公众号落地页
   ============================================ */

:root {
  --primary: #FF6B00;
  --primary-dark: #CC5500;
  --primary-light: #FFF0E6;
  --text: #1A1A1A;
  --text-light: #666666;
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --border: #E8E8E8;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-bottom: 80px;
}

/* === 顶部 Banner === */
.hero {
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
  color: white;
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-brand {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.2em;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1em;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 14px;
  margin-top: 20px;
  backdrop-filter: blur(4px);
}

/* === 通用容器 === */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === 内容卡片 === */
.section {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* === 图文块 === */
.media-block {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

@media (min-width: 700px) {
  .media-block { flex-direction: row; }
  .media-block.reverse { flex-direction: row-reverse; }
}

.media-block img {
  width: 100%;
  max-width: 380px;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
}

.media-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-content h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 14px;
}

.media-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
}

/* === 列表项 === */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow);
}

.feature-item .fi-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 10px;
}

.feature-item h4 {
  font-size: 1.05em;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* === 数据展示 === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* === 导航回退 === */
.nav-back {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  z-index: 100;
  text-decoration: none;
}

.nav-back:hover { background: var(--white); }

/* === 底部 CTA === */
.cta-section {
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
  color: white;
  text-align: center;
  padding: 60px 24px;
  border-radius: var(--radius);
  margin: 0 0 24px;
}

.cta-section h2 {
  font-size: 1.8em;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 15px;
}

/* === 按钮 === */
.btn {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover { background: var(--primary-dark); }

/* === 流程步骤 === */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow);
}

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

.step h4 { font-size: 1.05em; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--text-light); font-size: 14px; }

/* === 学员故事卡片 === */
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.story-quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
  padding: 20px;
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.story-info h5 { font-size: 14px; font-weight: 700; }
.story-info span { font-size: 12px; color: var(--text-light); }

/* === 联系表单 === */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}

.form-submit:hover { background: var(--primary-dark); }

/* === Footer === */
.site-footer {
  text-align: center;
  padding: 28px 24px;
  color: var(--text-light);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: white;
}

/* === 落地页通用头部 === */
.page-header {
  background: linear-gradient(135deg, #FF6B00, #FF8C00);
  color: white;
  padding: 48px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-size: 2em;
  font-weight: 800;
  position: relative;
}

.page-header p {
  font-size: 1.05em;
  opacity: 0.9;
  margin-top: 10px;
  position: relative;
}

/* === 时间线 === */
.timeline { padding-left: 24px; }

.timeline-item {
  position: relative;
  padding-left: 28px;
  padding-bottom: 28px;
  border-left: 2px solid var(--border);
}

.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-item h4 { font-size: 1.05em; font-weight: 700; margin-bottom: 4px; }
.timeline-item p { color: var(--text-light); font-size: 14px; }





/* === 导航栏 === */
.main-nav {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}

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

.nav-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}



.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.nav-menu li a.nav-cta {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.nav-menu li a.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }
  .nav-menu li a {
    padding: 6px 10px;
    font-size: 13px;
  }
}
