/* ================================================
   青梧教育 - Full-width Hero Banner
   通屏大图Banner - 少儿英语清新高级感
   ================================================ */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: calc(var(--header-height) + 750px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(4, 163, 155, 0.50) 100%
  );
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-height) + 80px) 5% 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-content-inner {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-badge svg {
  flex-shrink: 0;
  transition: fill 0.3s ease;
}

.hero-badge:hover svg {
  fill: var(--primary-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-title span {
  color: var(--primary-light);
  position: relative;
  transition: color 0.3s ease;
}

.hero-title:hover span {
  color: #FFFFFF;
}

.hero-title span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: var(--primary-light);
  opacity: 0.3;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.hero-title:hover span::after {
  background: rgba(255, 255, 255, 0.4);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transition: color 0.3s ease;
}

.hero-content-wrapper:hover .hero-desc {
  color: #FFFFFF;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Override button styles for hero */
.hero-actions .btn-primary {
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-actions .btn-primary:hover {
  background: var(--primary-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(4, 163, 155, 0.4);
}

.hero-actions .btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.hero-actions .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 769px) {
  .hero-banner {
    min-height: calc(var(--header-height) + 500px);
  }
  
  .hero-banner--compact {
    min-height: calc(var(--header-height) + 280px);
  }
  
  .hero-content-wrapper {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    align-items: center;
    text-align: center;
  }

  .hero-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Compact Banner - for inner pages */
.hero-banner--compact {
  min-height: calc(var(--header-height) + 400px);
}

.hero-banner--compact .hero-content-wrapper {
  align-items: center;
  text-align: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
}

.hero-banner--compact .hero-content-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero-banner--compact .hero-badge {
  margin-bottom: 1.5rem;
}

.hero-banner--compact .hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-banner--compact .hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-banner--compact .hero-actions {
  justify-content: center;
}


.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero-float-card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: -20px;
  right: -20px;
  animation-delay: -0.5s;
}

.hero-float-card.card-2 {
  bottom: 30px;
  left: -30px;
  animation-delay: -1.5s;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-float-icon.teal {
  background: var(--primary-bg);
}

.hero-float-icon.blue {
  background: var(--secondary-bg);
}

.hero-float-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.hero-float-sub {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Features Ribbon */
.feature-ribbon {
  padding: 60px 0;
  background: var(--primary-bg);
  position: relative;
  overflow: hidden;
}

.ribbon-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.ribbon-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ribbon-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.ribbon-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.ribbon-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.ribbon-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Courses Preview - Horizontal Layout */
.courses-horizontal {
  background: linear-gradient(180deg, var(--surface-secondary) 0%, #FFFFFF 100%);
  padding: 120px 0 100px;
  overflow: visible;
  position: relative;
}

.courses-horizontal::before {
  content: '';
  position: absolute;
  top: 100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary-bg);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.courses-horizontal-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.courses-horizontal-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.courses-horizontal-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.course-card-h {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  position: relative;
  border: 1px solid var(--border-light);
}

.course-card-h:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 48px rgba(4,163,155,0.2);
}

.course-card-h__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.course-card-h__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card-h:hover .course-card-h__img img {
  transform: scale(1.08);
}

.course-card-h__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4,163,155,0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.course-card-h:hover .course-card-h__glow {
  opacity: 1;
}

.course-card-h__body {
  padding: 1.75rem;
  position: relative;
}

.course-card-h__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.08;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: var(--font-heading);
  line-height: 1;
}

.course-card-h__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
}

.course-card-h__body h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  margin-top: 0.6rem;
}

.course-card-h__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===== FEATURES GRID - Join Us Page 青梧教育的独特优势 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.course-card-h__body ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.course-card-h__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.courses-horizontal-action {
  text-align: center;
}

.courses-horizontal-action .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.courses-horizontal-action .btn-primary svg {
  transition: transform 0.3s ease;
}

.courses-horizontal-action .btn-primary:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .courses-horizontal-track {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-horizontal-track .course-card-h:last-child {
    grid-column: span 2;
    max-width: 400px;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .courses-horizontal {
    padding: 80px 0 60px;
  }
  
  .courses-horizontal-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .courses-horizontal-track .course-card-h:last-child {
    grid-column: span 2;
    max-width: 400px;
    justify-self: center;
  }
  
  .courses-horizontal-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .courses-horizontal {
    padding: 60px 0 50px;
  }
  
  .courses-horizontal-track {
    grid-template-columns: 1fr;
  }
  
  .courses-horizontal-track .course-card-h:last-child {
    grid-column: span 1;
    max-width: none;
  }
  
  .course-card-h__body {
    padding: 1.25rem;
  }
  
  .course-card-h__body h3 {
    font-size: 1.1rem;
  }
  
  .course-card-h__body ul li {
    font-size: 0.85rem;
  }
}


/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-accent-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-accent-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.about-accent-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.about-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

  .about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-action {
  margin-top: 2rem;
}

.about-action .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.about-action .btn-primary svg {
  transition: transform 0.3s ease;
}

.about-action .btn-primary:hover svg {
  transform: translateX(4px);
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

.about-feature-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-content h2 {
    text-align: center;
  }
  
  .about-features {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-action {
    text-align: center;
  }
  
  .about-accent-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
  }
}

/* Testimonials */
.testimonials {
  background: var(--surface-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 1.333rem);
  min-width: 0;
}

@media (max-width: 1024px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  transform: scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-tertiary);
  opacity: 0.3;
  cursor: pointer;
  transition: var(--transition-normal);
}

.carousel-dot.active {
  background: var(--primary);
  opacity: 1;
  width: 30px;
  border-radius: 5px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary-bg);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* CTA Section - Vivid Cartoon Background */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #048a82 50%, var(--primary-dark) 100%);
  color: var(--text-on-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Clouds */
.cta-cloud {
  position: absolute;
  fill: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.12);
}

.cta-cloud--1 {
  top: 10%;
  left: 2%;
  width: 200px;
  animation: float-x 12s ease-in-out infinite;
}

.cta-cloud--2 {
  top: 65%;
  right: 5%;
  width: 160px;
  animation: float-x 15s ease-in-out infinite reverse;
}

.cta-cloud--3 {
  top: 35%;
  right: 15%;
  width: 100px;
  opacity: 0.5;
  animation: float-x 10s ease-in-out infinite 2s;
}

/* Stars */
.cta-star {
  position: absolute;
  width: 30px;
  height: 30px;
  animation: twinkle 2.5s ease-in-out infinite;
}

.cta-star--1 {
  top: 20%;
  right: 20%;
  fill: var(--accent-warm);
  animation-duration: 3s;
}

.cta-star--2 {
  top: 75%;
  left: 15%;
  width: 25px;
  fill: #FFD700;
  animation-duration: 2s;
  animation-delay: 1s;
}

.cta-star--3 {
  bottom: 20%;
  right: 30%;
  width: 18px;
  fill: var(--accent-pink);
  animation-duration: 4s;
  animation-delay: 0.5s;
}

.cta-sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  animation: sparkle 2s ease-in-out infinite;
}

.cta-sparkle--1 {
  top: 30%;
  left: 25%;
}

.cta-sparkle--2 {
  top: 50%;
  right: 10%;
  animation-delay: 1s;
}

/* Objects */
.cta-book {
  position: absolute;
  top: 20%;
  left: 8%;
  width: 60px;
  height: 60px;
  fill: rgba(255, 255, 255, 0.25);
  animation: float-book 6s ease-in-out infinite;
}

.cta-pencil {
  position: absolute;
  bottom: 15%;
  right: 12%;
  width: 55px;
  height: 55px;
  fill: rgba(255, 255, 255, 0.2);
  transform: rotate(-30deg);
  animation: float-pencil 8s ease-in-out infinite;
}

/* Balloons */
.cta-balloon {
  position: absolute;
  width: 60px;
  height: 80px;
  fill: rgba(255, 255, 255, 0.15);
  animation: float-balloon 10s ease-in-out infinite;
}

.cta-balloon--1 {
  bottom: -40px;
  left: 10%;
  fill: var(--accent-warm);
  animation-duration: 12s;
}

.cta-balloon--2 {
  top: -40px;
  right: 8%;
  fill: var(--accent-pink);
  animation: float-balloon-reverse 14s ease-in-out infinite;
}

/* Hearts */
.cta-heart {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  clip-path: path('M15 27.5l-1.8-1.6C5.8 19.4 2 16 2 11.5 2 7.9 4.9 5 8.6 5c2 0 4 1 6.4 3 2.4-2 4.4-3 6.4-3 3.7 0 6.6 2.9 6.6 6.5 0 4.5-3.8 7.9-11.2 14.4L15 27.5z');
  animation: float-heart 7s ease-in-out infinite;
}

.cta-heart--1 {
  top: 40%;
  left: 5%;
}

.cta-heart--2 {
  top: 15%;
  right: 5%;
  animation: float-heart 9s ease-in-out infinite reverse;
}

/* Dots & Confetti */
.cta-dot {
  position: absolute;
  border-radius: 50%;
  animation: float-random 6s ease-in-out infinite;
}

.cta-dot--1 {
  width: 12px; height: 12px;
  top: 25%; left: 40%;
  background: var(--accent-warm);
  opacity: 0.6;
  animation-delay: 0s;
}

.cta-dot--2 {
  width: 16px; height: 16px;
  top: 60%; right: 25%;
  background: var(--secondary-light);
  opacity: 0.5;
  animation-delay: 2s;
}

.cta-dot--3 {
  width: 10px; height: 10px;
  bottom: 30%; left: 35%;
  background: var(--accent-pink);
  opacity: 0.7;
  animation-delay: 4s;
}

.cta-dot--4 {
  width: 14px; height: 14px;
  top: 10%; right: 40%;
  background: #FFD700;
  opacity: 0.5;
  animation-delay: 1s;
}

/* Animations */
@keyframes float-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(25px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.8; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes float-book {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

@keyframes float-pencil {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50% { transform: rotate(-30deg) translateY(-12px); }
}

@keyframes float-balloon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes float-balloon-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes float-heart {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0.9; }
}

@keyframes float-random {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-on-primary);
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background: var(--text-on-primary);
  color: var(--primary);
}

.cta-actions .btn-primary:hover {
  background: var(--surface-secondary);
}

.cta-actions .btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--text-on-primary);
}

.cta-actions .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--text-primary);
  padding: 80px 0 0;
  color: #A0AEC0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-on-primary);
  margin-bottom: 1.2rem;
}

.footer-logo-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #A0AEC0;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: #A0AEC0;
}

.footer-social a:hover svg {
  fill: var(--text-on-primary);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-on-primary);
  margin-bottom: 1.2rem;
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: #A0AEC0;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary-light);
  padding-left: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col a {
    display: inline;
    padding: 0;
    margin-right: 0.75rem;
    white-space: nowrap;
  }
}

/* Courses Page - 2026 New Layout */
.page-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 50px;
  text-align: center;
}

.page-hero-title {
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== SIMPLE DECORATIONS (Minimal) ===== */
.course-overview-decorations,
.solve-problems-decorations,
.audience-decorations,
.class-flow-decorations,
.deco-owl,
.deco-rabbit,
.deco-butterfly,
.deco-flower {
  display: none;
}

/* ===== HERO CONTENT MODIFIER ===== */

.hero-content-wrapper--center {
  align-items: center;
  text-align: center;
}

.hero-content-wrapper--center .hero-content-inner {
  margin: 0 auto;
}

/* ===== DOWNLOAD PAGE ===== */

.download-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.download-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.download-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.download-icon svg {
  width: 32px;
  height: 32px;
}

.download-icon.teal {
  background: var(--primary-bg);
}

.download-icon.teal svg {
  fill: var(--primary);
}

.download-icon.blue {
  background: var(--secondary-bg);
}

.download-icon.blue svg {
  fill: var(--secondary);
}

.download-icon.warm {
  background: var(--accent-warm-light);
}

.download-icon.warm svg {
  fill: var(--accent-warm);
}

.download-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.download-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.download-version {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  background: var(--surface-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

/* ===== FAQ PAGE ===== */

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.faq-category-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-category-btn:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.faq-category-btn.active {
  color: var(--text-on-primary);
  background: var(--primary);
  border-color: var(--primary);
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background: var(--surface);
  transition: var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  gap: 1rem;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--text-tertiary);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
  fill: var(--primary);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-answer-content p {
  margin: 0;
}

/* ===== JOIN US PAGE ===== */

.join-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.join-form-section {
  padding: 2.5rem;
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.join-form-section .section-label {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.join-form-section .heading-md {
  margin-bottom: 0.75rem;
}

.join-form-section > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.join-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.join-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.join-info-section h3 {
  text-align: left;
}

.join-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.join-benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

@media (hover: none) {
  .join-benefit-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}

.join-benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.join-benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.join-benefit-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.join-benefit-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== COURSES PAGE - 2026 New Layout (Disabled - use courses.css instead) ===== */
/* Old styles commented out to avoid conflicts */

/* DISABLED .page-hero { */
/* .page-hero { padding-top: ... } */
/* } */

/* DISABLED .overview-image styles */
/* .overview-image img { width: 100%; ... } */

/* DISABLED .pain-points-cards-grid old styles */
/* .pain-points-cards-grid { display: grid; ... } */

/* DISABLED .pain-point-card old styles */
/* .pain-point-card { background: var(--surface); ... } */

/* DISABLED .pain-point-section old styles */
/* .pain-point-section { flex: 1; ... } */

/* DISABLED .class-flow-steps old styles */
/* .class-flow-steps { display: grid; ... } */

/* DISABLED .flow-step old styles */
/* .flow-step { background: var(--surface); ... } */

/* DISABLED .step-icon old styles */
/* .step-icon { width: 70px; ... } */

/* DISABLED .audience-grid old styles */
/* .audience-grid { display: grid; ... } */

/* DISABLED .audience-card old styles */
/* .audience-card { background: var(--surface); ... } */

/* DISABLED .pricing-table old styles */
/* .pricing-table { width: 100%; ... } */

/* DISABLED .software-cards-grid old styles */
/* .software-cards-grid { display: grid; ... } */

/* DISABLED .software-card old styles */
/* .software-card { background: var(--surface); ... } */

/* DISABLED .bonus-rules-card old styles */
/* .bonus-rules-card { background: var(--surface); ... } */

/* DISABLED .bonus-rules-list old styles */
/* .bonus-rules-list { display: flex; ... } */

/* DISABLED .bonus-rule-item old styles */
/* .bonus-rule-item { display: flex; ... } */

/* DISABLED .bonus-rules-note old styles */
/* .bonus-rules-note { display: flex; ... } */

/* ===== OLD SIMPLE DECORATIONS (Minimal) ===== */
/* Disabled to allow courses.css decorations to work */
/*
.course-overview-decorations,
.solve-problems-decorations,
.audience-decorations,
.class-flow-decorations,
.deco-owl,
.deco-rabbit,
.deco-butterfly,
.deco-flower {
  display: none;
}
*/

/* Animal decorations */
.deco-animal {
  position: absolute;
  opacity: 0.1;
  animation: float-animal 8s ease-in-out infinite;
}

.deco-owl {
  top: 10%;
  right: 8%;
  width: 90px;
  height: 90px;
  fill: var(--primary);
  animation-duration: 10s;
}

.deco-rabbit {
  bottom: 12%;
  left: 5%;
  width: 70px;
  height: 70px;
  fill: #FFB6C1;
  animation-delay: -3s;
  animation-duration: 9s;
}

.deco-elephant {
  top: 15%;
  left: 4%;
  width: 100px;
  height: 100px;
  fill: #81D4FA;
  animation-delay: -2s;
}

.deco-bear {
  bottom: 10%;
  right: 6%;
  width: 85px;
  height: 85px;
  fill: #BCAAA4;
}

.deco-bird {
  top: 12%;
  right: 10%;
  width: 65px;
  height: 65px;
  fill: var(--secondary-light);
  animation-delay: -4s;
  animation-duration: 11s;
}

.deco-cat {
  bottom: 8%;
  left: 8%;
  width: 75px;
  height: 75px;
  fill: #FFCC80;
  animation-delay: -5s;
  animation-duration: 12s;
}

.deco-turtle {
  bottom: 15%;
  right: 12%;
  width: 80px;
  height: 80px;
  animation-delay: -6s;
  animation-duration: 14s;
}

@keyframes float-animal {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(2deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(6px) rotate(-2deg); }
}

/* Butterfly decorations */
.deco-butterfly {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.12;
  animation: float-butterfly 12s ease-in-out infinite;
}

.deco-butterfly--1 {
  top: 30%;
  right: 15%;
  fill: var(--accent-pink);
}

.deco-butterfly--2 {
  bottom: 25%;
  left: 20%;
  fill: var(--accent-warm);
  animation-delay: -6s;
}

@keyframes float-butterfly {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -12px) rotate(8deg); }
  50% { transform: translate(24px, -4px) rotate(-4deg); }
  75% { transform: translate(8px, 8px) rotate(6deg); }
}

/* Flower decorations */
.deco-flower {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.15;
  animation: sway-flower 6s ease-in-out infinite;
}

.deco-flower--1 {
  bottom: 10%;
  left: 12%;
}

.deco-flower--2 {
  top: 20%;
  right: 20%;
  animation-delay: -3s;
}

@keyframes sway-flower {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* Cloud decorations */
.deco-cloud {
  position: absolute;
  fill: rgba(4, 163, 155, 0.06);
}

.deco-cloud--1 {
  top: 8%;
  left: 3%;
  width: 140px;
  animation: float-x 14s ease-in-out infinite;
}

.deco-cloud--2 {
  top: 55%;
  right: 4%;
  width: 120px;
  animation: float-x 16s ease-in-out infinite reverse;
}

/* Star decorations */
.deco-star {
  position: absolute;
  animation: twinkle 3s ease-in-out infinite;
}

.deco-star--1 {
  top: 15%;
  right: 15%;
  width: 24px;
  fill: var(--accent-warm);
  opacity: 0.18;
}

.deco-star--2 {
  bottom: 20%;
  left: 10%;
  width: 20px;
  fill: var(--primary);
  opacity: 0.22;
  animation-delay: 1.5s;
}

.deco-star--3 {
  top: 18%;
  left: 15%;
  width: 22px;
  fill: var(--accent-pink);
  opacity: 0.18;
  animation-delay: 0.8s;
}

.overview-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.overview-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Solve Problems */
.section-solve-problems {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.solve-problems-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.solve-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.solve-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: none !important;
  border: 1px solid var(--border-light);
}

.solve-card:hover {
  transform: none !important;
  box-shadow: var(--shadow-md) !important;
}



.solve-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.solve-icon.warm { background: var(--accent-warm-light); }
.solve-icon.teal { background: var(--primary-bg); }

.solve-icon svg {
  width: 32px;
  height: 32px;
}

.solve-icon.warm svg { fill: var(--accent-warm); }
.solve-icon.teal svg { fill: var(--primary); }

.solve-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.solve-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== 家长痛点板块 - 深色卡通背景 ===== */
.section-pain-points {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1318 50%, #1a1f2e 100%);
  padding: 100px 0;
}

.section-pain-points .section-header {
  position: relative;
  z-index: 2;
}

.section-pain-points .section-title {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.section-pain-points .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* 深色卡通背景层 */
.pain-points-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-deco {
  position: absolute;
  animation: gentleFloat 10s ease-in-out infinite;
}

/* 猫头鹰装饰 */
.bg-cat {
  top: 5%;
  right: 8%;
  width: 180px;
  height: 180px;
  animation-duration: 14s;
}

/* 书本装饰 */
.bg-book {
  bottom: 12%;
  left: 6%;
  width: 120px;
  height: 120px;
  animation-delay: -3s;
}

/* 铅笔装饰 */
.bg-pencil {
  top: 20%;
  left: 10%;
  width: 90px;
  height: 90px;
  animation-delay: -7s;
  opacity: 0.04;
}

/* 星星装饰 */
.bg-star-1,
.bg-star-2,
.bg-star-3,
.bg-star-4 {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkleStar 3s ease-in-out infinite;
}

.bg-star-1 {
  top: 15%;
  left: 25%;
  animation-delay: 0s;
}

.bg-star-2 {
  top: 18%;
  right: 18%;
  width: 12px;
  height: 12px;
  animation-delay: -1s;
}

.bg-star-3 {
  bottom: 22%;
  left: 18%;
  width: 14px;
  height: 14px;
  animation-delay: -2s;
}

.bg-star-4 {
  bottom: 15%;
  right: 22%;
  width: 10px;
  height: 10px;
  animation-delay: -0.5s;
}

/* 动画 */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

@keyframes twinkleStar {
  0%, 100% { opacity: 0.1; transform: scale(0.9); }
  50% { opacity: 0.25; transform: scale(1.2); }
}

/* 卡片样式适配深色背景 */
.pain-point-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.15);
}

.pain-point-card:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* ===== 家长痛点板块结束 ===== */

.pain-points-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pain-point-card {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.pain-point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.pain-point-section {
  flex: 1;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.pain-point-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pain-point-section p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 500;
}

.pain-icon,
.solution-icon,
.result-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pain-icon {
  background: #FEE2E2;
}

.pain-icon svg {
  width: 24px;
  height: 24px;
  fill: #EF4444;
}

.pain-pain {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.pain-pain h4 {
  color: #DC2626;
}

.pain-pain p {
  color: #7F1D1D;
}

.solution-icon {
  background: #D1FAE5;
}

.solution-icon svg {
  width: 24px;
  height: 24px;
  fill: #10B981;
}

.pain-solution {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.pain-solution h4 {
  color: #059669;
}

.pain-solution p {
  color: #064E3B;
}

.result-icon {
  background: #FEF3C7;
}

.result-icon svg {
  width: 24px;
  height: 24px;
  fill: #F59E0B;
}

.pain-result {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}

.pain-result h4 {
  color: #D97706;
}

.pain-result p {
  color: #78350F;
}

.pain-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.pain-arrow svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  opacity: 0.4;
}

@media (max-width: 1024px) {
  .section-pain-points {
    padding: 60px 0;
  }
  
  .bg-cat,
  .bg-book,
  .bg-pencil {
    width: 100px;
    height: 100px;
    opacity: 0.03;
  }
}

@media (max-width: 768px) {
  .pain-points-bg-art {
    opacity: 0.4;
  }
  
  .bg-cat,
  .bg-book,
  .bg-pencil {
    width: 60px;
    height: 60px;
  }
}
.section-audience {
  background: var(--surface-secondary);
  position: relative;
  overflow: hidden;
}

.audience-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.audience-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Class Flow */
.section-class-flow {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.class-flow-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.class-flow-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.class-flow-steps::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-warm-light), var(--primary-bg), var(--secondary-bg), var(--accent-warm-light), var(--primary-bg));
  border-radius: 2px;
  z-index: 0;
}

.flow-step {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition-normal);
  border: 1px solid var(--border-light);
}

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

.step-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 1.2rem;
}

.step-icon.warm { background: var(--accent-warm-light); }
.step-icon.teal { background: var(--primary-bg); }
.step-icon.blue { background: var(--secondary-bg); }
.step-icon.secondary { background: #F3E5F5; }

.step-icon svg {
  width: 36px;
  height: 36px;
}

.step-icon.warm svg { fill: var(--accent-warm); }
.step-icon.teal svg { fill: var(--primary); }
.step-icon.blue svg { fill: var(--secondary); }
.step-icon.secondary svg { fill: var(--accent-purple); }

.flow-step h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pain-point-card {
  flex-direction: column;
  align-items: stretch;
}

.pain-point-section {
  flex: none;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.pain-point-section h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pain-point-section p {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 500;
}

.pain-icon,
.solution-icon,
.result-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.pain-icon {
  background: #FEE2E2;
}

.pain-icon svg {
  width: 24px;
  height: 24px;
  fill: #EF4444;
}

.pain-pain {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.pain-pain h4 {
  color: #DC2626;
}

.pain-pain p {
  color: #7F1D1D;
}

.solution-icon {
  background: #D1FAE5;
}

.solution-icon svg {
  width: 24px;
  height: 24px;
  fill: #10B981;
}

.pain-solution {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.pain-solution h4 {
  color: #059669;
}

.pain-solution p {
  color: #064E3B;
}

.result-icon {
  background: #FEF3C7;
}

.result-icon svg {
  width: 24px;
  height: 24px;
  fill: #F59E0B;
}

.pain-result {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}

.pain-result h4 {
  color: #D97706;
}

.pain-result p {
  color: #78350F;
}

.pain-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.pain-arrow svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  opacity: 0.4;
}

@media (max-width: 1024px) {
  .section-pain-points {
    padding: 60px 0;
  }
  
  .bg-owl,
  .bg-book,
  .bg-pencil {
    width: 100px;
    height: 100px;
    opacity: 0.03;
  }
}

@media (max-width: 768px) {
  .pain-points-bg-art {
    opacity: 0.4;
  }
  
  .bg-owl,
  .bg-book,
  .bg-pencil {
    width: 60px;
    height: 60px;
  }
  
  .pain-point-card {
    padding: 1.5rem;
  }
  
  .pain-point-section {
    padding: 1rem;
  }
  
  .pain-point-section h4 {
    font-size: 0.75rem;
  }
  
  .pain-point-section p {
    font-size: 0.85rem;
  }
  
  .pain-icon,
  .solution-icon,
  .result-icon {
    width: 40px;
    height: 40px;
  }
  
  .pain-icon svg,
  .solution-icon svg,
  .result-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Audience */
.section-audience {
  background: var(--surface-secondary);
  position: relative;
  overflow: hidden;
}

.audience-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.deco-balloon {
  position: absolute;
  width: 50px;
  height: 70px;
  opacity: 0.1;
  animation: float-balloon 11s ease-in-out infinite;
}

.deco-balloon--1 {
  bottom: -20px;
  left: 8%;
  fill: var(--accent-warm);
  animation-duration: 13s;
}

.deco-balloon--2 {
  top: -20px;
  right: 6%;
  fill: var(--accent-pink);
  animation: float-balloon-reverse 15s ease-in-out infinite;
}

.deco-heart {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--primary);
  opacity: 0.08;
  clip-path: path('M15 27.5l-1.8-1.6C5.8 19.4 2 16 2 11.5 2 7.9 4.9 5 8.6 5c2 0 4 1 6.4 3 2.4-2 4.4-3 6.4-3 3.7 0 6.6 2.9 6.6 6.5 0 4.5-3.8 7.9-11.2 14.4L15 27.5z');
  animation: float-heart 8s ease-in-out infinite;
}

.deco-heart--1 {
  top: 35%;
  left: 4%;
}

.audience-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .software-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  
  .teachers-showcase {
    grid-template-columns: 1fr;
  }
  
  .teacher-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .teacher-avatar {
    margin: 0 auto;
  }
  
  .teacher-tags {
    justify-content: center;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .solve-grid {
    grid-template-columns: 1fr;
  }
  
  .pain-points-table th {
    font-size: 0.85rem;
    padding: 1rem;
  }
  
  .pain-points-table td {
    font-size: 0.85rem;
    padding: 1rem;
  }
  
  .class-flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .class-flow-steps::before {
    display: none;
  }
  
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-table {
    font-size: 0.85rem;
  }
  
  .pricing-type {
    flex-direction: column;
    text-align: center;
  }
  
  .software-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bonus-rules-card {
    padding: 2rem;
  }
  
  .bonus-rule-item {
    flex-direction: column;
    text-align: center;
  }
  
  .bonus-rules-note {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .download-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .download-card {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
  
  .join-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .download-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .footer-qrcode {
    width: 80px;
    height: 80px;
    margin-top: 12px;
    border-radius: 6px;
    display: block;
  }

  .footer-social {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    grid-column: auto !important;
  }
  
  .class-flow-steps {
    grid-template-columns: 1fr;
  }
  
  .audience-grid {
    grid-template-columns: 1fr;
  }
  
  .software-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-type {
    gap: 0.5rem;
  }
  
  .pricing-type-icon {
    margin: 0 auto;
  }
}

/* Courses Page - Pain Points Cards Responsive */
@media (max-width: 1200px) {
  .pain-points-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .pain-point-card {
    flex-direction: column;
    align-items: stretch;
  }
  
  .pain-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .pain-point-card {
    padding: 1.5rem;
  }
  
  .pain-point-section {
    padding: 1rem;
  }
  
  .pain-point-section h4 {
    font-size: 0.75rem;
  }
  
  .pain-point-section p {
    font-size: 0.85rem;
  }
  
  .pain-icon,
  .solution-icon,
  .result-icon {
    width: 40px;
    height: 40px;
  }
  
  .pain-icon svg,
  .solution-icon svg,
  .result-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Courses Page - Cartoon Decorations Responsive */
@media (max-width: 1024px) {
  .course-overview-decorations,
  .solve-problems-decorations,
  .audience-decorations,
  .class-flow-decorations {
    opacity: 0.5;
  }
  
  .deco-animal {
    width: 70px !important;
  }
  
  .deco-rainbow {
    width: 150px;
  }
  
  .deco-butterfly {
    width: 45px;
  }
  
  .deco-flower {
    width: 35px;
  }
}

@media (max-width: 768px) {
  .course-overview-decorations,
  .solve-problems-decorations,
  .audience-decorations,
  .class-flow-decorations {
    opacity: 0.3;
  }
  
  .deco-animal {
    width: 50px !important;
  }
  
  .deco-cloud,
  .deco-star,
  .deco-pencil,
  .deco-book,
  .deco-balloon,
  .deco-heart,
  .deco-dot,
  .deco-sparkle {
    width: 50% !important;
    height: auto;
  }
  
  .deco-rainbow {
    width: 120px;
    opacity: 0.3;
  }
  
  .deco-butterfly {
    width: 35px;
  }
  
  .deco-flower {
    width: 30px;
  }
}

@media (max-width: 480px) {
  .course-overview-decorations,
  .solve-problems-decorations,
  .audience-decorations,
  .class-flow-decorations {
    display: none;
  }
}

/* ===== DOWNLOAD PAGE (Responsive) ===== */

@media (max-width: 1024px) {
  .download-card {
    padding: 2rem 1.5rem;
  }
  .download-card h3 {
    font-size: 1.2rem;
  }
  .download-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 769px) {
  .page-hero {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 20px;
  }
  .page-hero-title {
    font-size: 1.6rem;
  }
  .page-hero-desc {
    font-size: 1rem;
  }
  .download-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    padding: 1.25rem;
    text-align: left;
    align-items: start;
  }
  .download-icon {
    grid-row: 1 / -1;
    width: 48px;
    height: 48px;
    margin-bottom: 0;
  }
  .download-card h3 {
    grid-column: 2;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
  }
  .download-card p {
    grid-column: 2;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
  }
  .download-version {
    grid-column: 2;
    display: inline-block;
    width: auto;
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
  }
  .download-card .btn {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.section--download {
  padding-top: 100px;
}

@media (max-width: 769px) {
  .section--download {
    padding-top: 60px;
  }
}

/* ============================================
   Form Toggle Component
   ============================================ */
.form-toggle-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  width: fit-content;
  background: var(--surface-secondary);
  border-radius: var(--radius-full);
  padding: 0.3125rem;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

button.form-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
}

button.form-toggle-btn:hover {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

button.form-toggle-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  font-weight: 600;
  transform: scale(1.02);
}

button.form-toggle-btn.active:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  transform: scale(1.02) translateY(-1px);
}

button.form-toggle-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.form-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .form-toggle-wrapper {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    padding: 0.5rem;
  }

  button.form-toggle-btn {
    flex: 1 !important;
    width: auto !important;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  /* FAQ PAGE - 手机端兼容 */
  .faq-categories {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .faq-category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer-content {
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
  }

  /* JOIN US PAGE - 手机端兼容（PC 端样式不变） */
  .join-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .join-form-section {
    padding: 1.75rem;
  }

  .join-info-section h3 {
    text-align: center;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .join-split {
    gap: 2rem;
  }

  .join-form-section {
    padding: 1.25rem;
  }

  .join-benefit-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .footer-qrcode {
    margin: 12px auto 0;
  }
}

/* ===== 首页移动端修复（不影响桌面端） ===== */

/* Hero Banner 高度优化 */
@media (max-width: 769px) {
  .hero-banner {
    min-height: calc(var(--header-height) + 420px);
  }
}

@media (max-width: 480px) {
  .hero-banner {
    min-height: calc(var(--header-height) + 360px);
  }
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
}

/* Feature Ribbon 窄屏优化：2列网格，图标上文字下 */
@media (max-width: 810px) {
  .ribbon-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem !important;
  }
  .feature-ribbon .ribbon-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }
  .ribbon-icon {
    width: 44px;
    height: 44px;
  }
  .ribbon-icon svg {
    width: 20px;
    height: 20px;
  }
  .ribbon-text h4 {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
  }
  .ribbon-text p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* 课程预览卡片移动端统一 */
@media (max-width: 1024px) {
  .courses-horizontal-track .course-card-h:last-child {
    max-width: none;
  }
}

/* 评价轮播移动端优化 */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-quote {
    font-size: 2rem;
  }
  .testimonial-text {
    font-size: 0.9rem;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  .carousel-controls {
    margin-top: 1.5rem;
  }
  .carousel-dots {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-controls {
    gap: 0.75rem;
  }
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
}

/* 页脚二维码移动端缩小 */
@media (max-width: 768px) {
  .footer-qrcode {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 480px) {
  .footer-qrcode {
    width: 64px;
    height: 64px;
  }
}
