/* ========== CSS Variables & Reset ========== */
:root {
  --primary: #F15A29;
  --primary-dark: #D64A1E;
  --primary-light: #FFF1EA;
  --secondary: #E8963E;
  --accent: #E8963E;
  --accent-warm: #F59E0B;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-gray: #F1F5F9;
  --border: #E2E8F0;
  --success: #10B981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== Layout ========== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
}

.text-center { text-align: center; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* ========== CTA Banner (reusable after each section) ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-banner-content { flex: 1; color: #fff; z-index: 1; }
.cta-banner-content h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.cta-banner-content p { opacity: 0.9; font-size: 0.95rem; }
.cta-banner-action { z-index: 1; flex-shrink: 0; }

/* ========== Inline CTA (compact) ========== */
.inline-cta {
  text-align: center;
  padding: 40px 24px;
  margin-top: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(79,70,229,0.3);
}

.inline-cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 30%, rgba(124,58,237,0.25), transparent),
    radial-gradient(ellipse 500px 350px at 20% 70%, rgba(79,70,229,0.2), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.95);
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero-title-highlight {
  background: linear-gradient(90deg, #F15A29, #E8963E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  letter-spacing: 3px;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
  color: rgba(255,255,255,0.9);
}

.hero-qr-box {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  overflow: hidden;
}

.hero-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-note {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.hero-card-guarantee {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========== Stats Bar ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #F15A29, #E8963E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ========== Pain Points ========== */
.pain-section { background: var(--bg-light); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.pain-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
}

.pain-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========== Features ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ========== Course Structure ========== */
.structure-section { background: var(--bg-light); }

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.phase-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.phase-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.phase-card[data-phase="1"]::before { background: #F15A29; }
.phase-card[data-phase="2"]::before { background: #E8963E; }
.phase-card[data-phase="3"]::before { background: #E8963E; }

.phase-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.phase-duration {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.phase-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.phase-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ========== Levels ========== */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.level-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.level-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.level-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.level-grade {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.level-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ========== Testimonials / Achievements Section ========== */
.testimonials-section { background: var(--bg-light); }

/* --- Achievement Posters (战绩海报) --- */
.achievement-posters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.poster-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.poster-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.poster-label {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary-light), #FCE6D9);
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.poster-img-wrap {
  padding: 16px;
}

.poster-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: block;
}

/* --- Feedback Section (口碑反馈) --- */
.feedback-section {
  margin-bottom: 8px;
}

.feedback-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.feedback-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feedback-img-wrap {
  width: calc(33.333% - 14px);
  max-width: 400px;
}

.feedback-img-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.feedback-img-wrap:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feedback-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Legacy testimonials (kept for compatibility) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #FBDCC9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-grade {
  font-size: 0.82rem;
  color: var(--text-light);
}

.testimonial-result {
  display: inline-block;
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  color: #92400E;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.highlighted {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.pricing-unit {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== FAQ ========== */
.faq-section { background: var(--bg-light); }

.faq-list {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-question:hover { color: var(--primary); }

.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-light);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== Final CTA ========== */
.final-cta {
  background: linear-gradient(160deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 60%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
}

.final-cta-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  overflow: hidden;
}

.final-cta-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

.final-cta-guarantee {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== Floating CTA (Mobile) ========== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 1000;
  display: none;
  border-top: 1px solid var(--border);
}

.floating-cta .btn {
  width: 100%;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand { color: var(--text-primary); }

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.navbar-cta .btn-primary {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.navbar.scrolled .navbar-cta .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}

/* ========== Scroll Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Course Highlight (开设班型 - Math Explorer) ========== */
.course-highlight {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.course-highlight-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  align-items: stretch;
}

.course-highlight-info {
  flex: 1;
}

.course-highlight-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.course-highlight-slogan {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
}

.course-highlight-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.highlight-point {
  padding: 16px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
}

.highlight-point-icon {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.highlight-point h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

.highlight-point p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.course-highlight-extra {
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 12px 16px;
  background: #FFF9ED;
  border-radius: var(--radius-sm);
  border-left: 3px solid #D4A843;
}

.course-highlight-img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.course-highlight-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

/* ========== Prep Guide (备考指南) ========== */
.prep-section {
  background: var(--bg-gray);
}

.prep-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prep-topic-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.prep-topic-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.prep-topic-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.prep-topic-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

.prep-topic-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.prep-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.difficulty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.difficulty-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 4px solid transparent;
}

.diff-easy { border-top-color: #22C55E; }
.diff-medium { border-top-color: #F59E0B; }
.diff-hard { border-top-color: #EF4444; }

.difficulty-range {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.difficulty-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 14px;
}

.difficulty-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.prep-prea {
  background: #FFF9ED;
  border: 1px solid #F5DEB3;
  border-radius: var(--radius-md);
  padding: 20px 28px;
}

.prep-prea-badge {
  font-size: 1rem;
  font-weight: 700;
  color: #B8860B;
  margin-bottom: 8px;
}

.prep-prea p {
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.prep-workbook {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.prep-workbook-inner {
  display: flex;
  gap: 40px;
  padding: 40px;
  align-items: center;
}

.prep-workbook-info {
  flex: 1;
}

.prep-workbook-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.prep-workbook-desc {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.prep-workbook-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workbook-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.workbook-feature-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.prep-workbook-img {
  flex-shrink: 0;
  width: 280px;
}

.prep-workbook-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: contain;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 400px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .phases-grid { grid-template-columns: repeat(2, 1fr); }
  .levels-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card.highlighted { transform: scale(1); }
  .achievement-posters { grid-template-columns: repeat(2, 1fr); }
  .feedback-grid { gap: 16px; }
  .feedback-img-wrap { width: calc(50% - 10px); }
  .prep-topics { grid-template-columns: repeat(2, 1fr); }
  .difficulty-cards { grid-template-columns: 1fr; }
  .prep-workbook-inner { flex-direction: column; }
  .prep-workbook-img { width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.7rem; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 0.95rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-value { font-size: 1.4rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .achievement-posters { grid-template-columns: 1fr; }
  .feedback-grid { gap: 12px; }
  .feedback-img-wrap { width: 100%; max-width: 400px; }
  .course-highlight-points { grid-template-columns: 1fr; }
  .course-highlight-inner { padding: 24px; }
  .prep-topics { grid-template-columns: 1fr; }
  .prep-workbook-inner { padding: 24px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .cta-banner { flex-direction: column; text-align: center; padding: 28px; }
  .floating-cta { display: block; }
  .final-cta h2 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.45rem; }
  .levels-grid { grid-template-columns: 1fr; }
  .hero-qr-box { width: 150px; height: 150px; }
}

@media (max-width: 375px) {
  .container { padding: 0 12px; }
  .navbar { padding: 10px 0; }
  .navbar-inner { gap: 8px; min-width: 0; }
  .navbar-brand { font-size: 0.85rem; }
  .navbar-cta .btn { padding: 8px 12px; font-size: 0.78rem; }
  .hero { padding: 80px 0 40px; }
  .hero-title { font-size: 1.4rem; }
  .hero-subtitle { font-size: 0.88rem; letter-spacing: 1px; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 24px; }
  .hero-card { padding: 24px 16px; }
  .hero-qr-box { width: 120px; height: 120px; }
  .hero-buttons .btn { white-space: normal; }
  .section { padding: 40px 0; }
  .section-title { font-size: 1.15rem; }
  .section-subtitle { font-size: 0.88rem; margin-bottom: 32px; }
  .btn-lg { padding: 14px 20px; font-size: 0.95rem; }
  .cta-banner { padding: 20px 16px; margin-top: 32px; gap: 16px; }
  .cta-banner-content h3 { font-size: 1.05rem; }
  .cta-banner-content p { font-size: 0.85rem; }
  .inline-cta { padding: 24px 16px; margin-top: 32px; }
  .inline-cta p { font-size: 0.9rem; }
  .stats-bar { grid-template-columns: 1fr; gap: 8px; }
  .stat-value { font-size: 1.2rem; }
  .stat-label { font-size: 0.75rem; }
  .final-cta { padding: 48px 0; }
  .final-cta h2 { font-size: 1.3rem; }
  .final-cta p { font-size: 0.88rem; }
  .pricing-card { padding: 24px 16px; }
  .faq-question { font-size: 0.9rem; padding: 14px 16px; }
  .faq-answer-inner { padding: 0 16px 16px; font-size: 0.88rem; }
  .testimonial-card { padding: 20px 16px; }
  .course-highlight-inner { padding: 16px; }
  .prep-workbook-inner { padding: 16px; }
  .floating-cta { padding: 10px 12px; }
  .conversion-qr img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
}

/* ========== Floating Consult Panel (右侧悬浮咨询) ========== */
.float-consult {
  position: fixed;
  right: 12px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 4px;
  overflow: hidden;
}

.float-consult-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  min-height: 56px;
  padding: 8px 4px;
  background: #E8963E;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  border-radius: 4px;
  transition: opacity 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
}

.float-consult-btn:hover {
  opacity: 0.85;
  background: #D07A28;
}

.float-consult-btn .fc-icon {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

.float-consult-btn .fc-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 100%;
}

.float-consult-btn .fc-line {
  display: block;
  font-size: 0.62rem;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
}

.float-consult-btn.back-top {
  background: #f0f0f0;
  color: #555;
}

.float-consult-btn.back-top:hover {
  opacity: 0.85;
  background: #e0e0e0;
  color: #333;
}

/* QR code image styles for all pages */
.final-cta-qr img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
}

.conversion-qr img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .float-consult {
    right: 8px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 3px;
    gap: 3px;
  }
  .float-consult-btn {
    width: 40px;
    min-height: 52px;
    padding: 7px 3px;
  }
  .float-consult-btn .fc-icon {
    font-size: 0.88rem;
  }
  .float-consult-btn .fc-line {
    font-size: 0.58rem;
  }
  .final-cta-qr img {
    width: 140px;
    height: 140px;
  }
  .conversion-qr img {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 375px) {
  .float-consult {
    right: 6px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    gap: 2px;
  }
  .float-consult-btn {
    width: 38px;
    min-height: 50px;
    padding: 6px 3px;
  }
  .float-consult-btn .fc-icon {
    font-size: 0.82rem;
  }
  .float-consult-btn .fc-line {
    font-size: 0.55rem;
  }
  .conversion-qr img {
    width: 100px;
    height: 100px;
  }
  .final-cta-qr img {
    width: 110px;
    height: 110px;
  }
}
