/* ============================================
   SunnyBridge 少儿英语 - 静态网站样式
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --sb-blue: #62A8E5;
  --sb-accent: #F5A623;
  --sb-orange: #E26B31;
  --sb-text: #0b3a53;
  --sb-muted: #6b7f8f;
  --sb-dark: #1C244B;
  --sb-deep: #0F1535;
  --sb-light-blue: #C7EAF0;
  --sb-bg-light: #F7FAFC;
  --sb-bg-white: #FFFFFF;
  --sb-radius: 12px;
  --sb-radius-lg: 20px;
  --sb-radius-full: 100px;
  --sb-shadow: 0 4px 20px rgba(28, 36, 75, 0.08);
  --sb-shadow-lg: 0 8px 40px rgba(28, 36, 75, 0.12);
  --sb-transition: 0.3s ease;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Noto Serif SC', serif;
  --font-en: 'Inter', sans-serif;
  --container-max: 1140px;
  --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  color: var(--sb-text);
  line-height: 1.7;
  background: var(--sb-bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.highlight {
  color: var(--sb-accent);
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--sb-radius-full);
  padding: 12px 28px;
  transition: all var(--sb-transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-orange));
  color: #fff;
  box-shadow: 0 4px 15px rgba(226, 107, 49, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(226, 107, 49, 0.4);
}

.btn--accent {
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-orange));
  color: #fff;
  box-shadow: 0 4px 15px rgba(226, 107, 49, 0.3);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(226, 107, 49, 0.4);
}

.btn--outline {
  border: 2px solid var(--sb-blue);
  color: var(--sb-blue);
  background: transparent;
}
.btn--outline:hover {
  background: var(--sb-blue);
  color: #fff;
}

.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,36,75,0.06);
  transition: all var(--sb-transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(28,36,75,0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  height: 52px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sb-text);
  border-radius: var(--sb-radius-full);
  transition: all var(--sb-transition);
  letter-spacing: 0.2px;
}
.nav-link:hover {
  color: var(--sb-blue);
  background: rgba(98,168,229,0.06);
}
.nav-link.active {
  color: var(--sb-blue);
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-orange));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--sb-radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 3px 12px rgba(226,107,49,0.25);
  transition: all var(--sb-transition);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(226,107,49,0.35);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sb-text);
  border-radius: 2px;
  transition: all var(--sb-transition);
}
.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: url('assets/hero-bg.png') center center / cover no-repeat;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.4) 0%,
    rgba(255,255,255,0.2) 40%,
    rgba(255,255,255,0.0) 100%
  );
  z-index: 1;
}

.hero__bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}
.hero__shape--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--sb-light-blue), transparent 70%);
  top: -100px; right: -80px;
}
.hero__shape--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.15), transparent 70%);
  bottom: -50px; left: -60px;
}
.hero__shape--3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(98,168,229,0.2), transparent 70%);
  top: 40%; left: 50%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__tagline {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sb-blue);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sb-dark);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--sb-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__badge {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--sb-radius-full);
  font-size: 13px;
  color: var(--sb-text);
  border: 1px solid rgba(28,36,75,0.06);
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section--white { 
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
}
.section--light { 
  background: linear-gradient(180deg, #EEF4FB 0%, #F8F6F0 100%);
}
.section--dark {
  background: linear-gradient(180deg, var(--sb-deep), var(--sb-dark));
  color: #fff;
}

/* Section decorative blobs */
.section--white::before,
.section--light::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.section--white::before {
  width: 400px; height: 400px;
  background: var(--sb-light-blue);
  top: -150px; right: -100px;
}
.section--light::before {
  width: 350px; height: 350px;
  background: var(--sb-accent);
  bottom: -100px; left: -80px;
}

/* Content z-index above blobs */
.section .container {
  position: relative;
  z-index: 1;
}

/* Alternate section backgrounds for variety */
.section:nth-of-type(even).section--white {
  background: linear-gradient(180deg, #FFF9F3 0%, #FFFFFF 100%);
}
.section:nth-of-type(odd).section--light {
  background: linear-gradient(180deg, #F0F5FF 0%, #F8FAFE 100%);
}

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

.section-header__label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sb-blue);
  display: block;
  margin-bottom: 12px;
}

.section-header__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--sb-dark);
  line-height: 1.3;
}

.section--dark .section-header__title { color: #fff; }
.section--dark .section-header__label { color: var(--sb-accent); }

.section-footer {
  text-align: center;
  margin-top: 48px;
}

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

.feature-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFE 100%);
  border-radius: var(--sb-radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--sb-shadow);
  transition: all var(--sb-transition);
  border: 1px solid rgba(98,168,229,0.08);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--sb-light-blue);
  opacity: 0.1;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sb-shadow-lg);
  border-color: rgba(98,168,229,0.25);
}

.feature-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 15px;
  color: var(--sb-muted);
  line-height: 1.7;
}

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

.course-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
  border-radius: var(--sb-radius-lg);
  padding: 32px 24px;
  box-shadow: var(--sb-shadow);
  transition: all var(--sb-transition);
  border: 1px solid rgba(28,36,75,0.04);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sb-blue), var(--sb-accent));
  opacity: 0;
  transition: opacity var(--sb-transition);
}
.course-card:hover::before {
  opacity: 1;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sb-shadow-lg);
}

.course-card__level {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--sb-radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.course-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 6px;
}

.course-card__tip {
  margin-top: 16px;
  padding: 10px 14px;
  background: var(--sb-bg-light);
  border-radius: var(--sb-radius);
  font-size: 13px;
  color: var(--sb-muted);
  border-left: 3px solid var(--sb-accent);
}

.course-stage {
  margin-bottom: 60px;
}

.course-stage:last-child {
  margin-bottom: 0;
}

.course-stage__header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.course-stage__badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: var(--sb-radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--sb-blue), #3E8DD1);
  margin-bottom: 12px;
}

.course-stage__badge--accent {
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-orange));
}

.course-stage__badge--bridge {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
}

.course-stage__badge--custom {
  background: linear-gradient(135deg, #2E8B4A, #10B981);
}

.course-stage__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 8px;
}

.course-stage__subtitle {
  font-size: 15px;
  color: var(--sb-muted);
}

/* EU Levels timeline */
.eu-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.eu-level {
  background: var(--sb-bg-white);
  border-radius: var(--sb-radius-lg);
  padding: 28px 20px;
  box-shadow: var(--sb-shadow);
  border: 1px solid rgba(28,36,75,0.04);
  transition: all var(--sb-transition);
  text-align: center;
}

.eu-level:hover {
  transform: translateY(-4px);
  box-shadow: var(--sb-shadow-lg);
}

.eu-level__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-orange));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.eu-level__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 6px;
}

.eu-level__cefr {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--sb-radius-full);
  background: var(--sb-bg-light);
  font-size: 12px;
  font-weight: 600;
  color: var(--sb-blue);
  margin-bottom: 10px;
}

.eu-level__desc {
  font-size: 13px;
  color: var(--sb-muted);
  line-height: 1.6;
}

/* Course grids */
.courses-grid--dual {
  grid-template-columns: repeat(2, 1fr);
}

.courses-grid--single {
  grid-template-columns: minmax(0, 600px);
  justify-content: center;
}

.course-card--bridge {
  border-top: 4px solid var(--sb-accent);
}

/* Section header desc */
.section-header__desc {
  font-size: 16px;
  color: var(--sb-muted);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.course-card__age {
  font-size: 13px;
  color: var(--sb-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.course-card__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--sb-orange);
  margin-bottom: 8px;
}

.course-card__desc {
  font-size: 14px;
  color: var(--sb-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.course-pricing {
  text-align: center;
  margin: 40px 0;
}

.pricing-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: linear-gradient(135deg, var(--sb-accent), var(--sb-orange));
  color: #fff;
  padding: 16px 40px;
  border-radius: var(--sb-radius-full);
  box-shadow: 0 4px 15px rgba(226,107,49,0.3);
}

.pricing-badge__price {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
}

.pricing-badge__unit {
  font-size: 18px;
  font-weight: 600;
}

.pricing-badge__duration {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
  margin-left: 4px;
}

/* Responsive for courses */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid--bridge { grid-template-columns: 1fr; }
  .eu-levels { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .courses-grid, .courses-grid--dual { grid-template-columns: 1fr; }
  .courses-grid--single { grid-template-columns: 1fr; }
  .eu-levels { grid-template-columns: 1fr; }
  .course-card { padding: 24px 20px; }
  .course-stage { margin-bottom: 40px; }
}

.course-card__tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--sb-text);
}

/* ---------- Teachers ---------- */
.teachers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.teacher-card {
  background: var(--sb-bg-white);
  border-radius: var(--sb-radius-lg);
  padding: 36px 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  box-shadow: var(--sb-shadow);
  transition: all var(--sb-transition);
  border: 1px solid rgba(28,36,75,0.04);
}
.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sb-shadow-lg);
}

.teacher-card__avatar {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sb-light-blue);
  background: var(--sb-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card__info {
  flex: 1;
  min-width: 0;
}

.teacher-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 8px;
}

.teacher-card__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.teacher-card__badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--sb-radius-full);
  font-size: 11px;
  font-weight: 600;
  background: var(--sb-bg-light);
  color: var(--sb-blue);
}

.teacher-card__cert {
  font-size: 13px;
  color: var(--sb-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.teacher-card__desc {
  font-size: 14px;
  color: var(--sb-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.teacher-card__stats {
  display: flex;
  gap: 24px;
}

.teacher-card__stat {
  text-align: center;
}
.teacher-card__stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--sb-accent);
  line-height: 1.2;
}
.teacher-card__stat span {
  font-size: 12px;
  color: var(--sb-muted);
}

/* Why Filipino teachers */
.teachers-why {
  margin-top: 56px;
  text-align: center;
}

.teachers-why__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 28px;
}

.teachers-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.teachers-why__item {
  background: var(--sb-bg-white);
  padding: 18px 22px;
  border-radius: var(--sb-radius);
  font-size: 14px;
  color: var(--sb-text);
  line-height: 1.6;
  border: 1px solid rgba(28,36,75,0.05);
}

.teachers-why__item strong {
  color: var(--sb-dark);
}

/* Responsive teachers */
@media (max-width: 768px) {
  .teacher-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
  }
  .teacher-card__stats {
    justify-content: center;
  }
  .teachers-why__grid {
    grid-template-columns: 1fr;
  }
  .teachers-grid { gap: 20px; }
}

/* ---------- Testimonials ---------- */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

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

.testimonial-card {
  min-width: 100%;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F3 100%);
  border-radius: var(--sb-radius-lg);
}

.testimonial-card__stars {
  font-size: 18px;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--sb-dark);
  line-height: 1.5;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-card__author {
  font-size: 16px;
  font-weight: 700;
  color: var(--sb-text);
  margin-bottom: 4px;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--sb-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sb-bg-white);
  box-shadow: var(--sb-shadow);
  font-size: 20px;
  font-weight: 600;
  color: var(--sb-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sb-transition);
}
.slider-btn:hover {
  background: var(--sb-blue);
  color: #fff;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(28,36,75,0.15);
  cursor: pointer;
  transition: all var(--sb-transition);
}
.slider-dot.active {
  background: var(--sb-blue);
  width: 28px;
  border-radius: 5px;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.step-card__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sb-blue), #4EB5FF);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(98,168,229,0.3);
}

.step-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 10px;
}

.step-card__desc {
  font-size: 14px;
  color: var(--sb-muted);
  line-height: 1.6;
}

.step-card__connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--sb-blue), var(--sb-accent));
  margin-top: 60px;
  flex-shrink: 0;
  border-radius: 2px;
  opacity: 0.4;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  background: var(--sb-bg-white);
  border-radius: var(--sb-radius);
  margin-bottom: 12px;
  box-shadow: var(--sb-shadow);
  border: 1px solid rgba(28,36,75,0.04);
  overflow: hidden;
}

.faq-item__q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sb-dark);
  cursor: pointer;
  transition: all var(--sb-transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--sb-blue);
  transition: all var(--sb-transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] .faq-item__q::after {
  content: "−";
}
.faq-item[open] .faq-item__q {
  background: rgba(98,168,229,0.04);
  color: var(--sb-blue);
}

.faq-item__a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--sb-muted);
  line-height: 1.7;
}

/* ---------- Stats ---------- */
.stats-header {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  margin-bottom: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

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

.stat-card__number {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--sb-accent);
  line-height: 1;
}

.stat-card__suffix {
  font-family: var(--font-en);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--sb-accent);
}

.stat-card__label--icon {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--sb-blue);
  line-height: 1;
  display: block;
}

.stat-card__label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

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

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
  gap: 0;
  align-items: start;
}

.contact-form {
  background: var(--sb-bg-white);
  border-radius: var(--sb-radius-lg);
  padding: 40px;
  box-shadow: var(--sb-shadow);
  border: 1px solid rgba(28,36,75,0.04);
}

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

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

.required { color: #e74c3c; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--sb-radius);
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--sb-text);
  transition: all var(--sb-transition);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sb-blue);
  box-shadow: 0 0 0 3px rgba(98,168,229,0.15);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.contact-info__card {
  background: linear-gradient(135deg, var(--sb-light-blue), #F0F7FF);
  border-radius: var(--sb-radius-lg);
  padding: 40px;
  text-align: center;
}

.contact-info__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 24px;
}

.contact-info__qr {
  margin-bottom: 20px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: var(--sb-radius);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: var(--sb-shadow);
}

.contact-info__wechat {
  font-size: 14px;
  color: var(--sb-muted);
}
.contact-info__wechat strong {
  color: var(--sb-blue);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--sb-deep), var(--sb-dark));
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(10);
}

.footer__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer__links a,
.footer__links p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  padding: 4px 0;
  transition: color var(--sb-transition);
}
.footer__links a:hover {
  color: var(--sb-blue);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ---------- 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);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 24px 40px;
    gap: 4px;
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
    transition: right var(--sb-transition);
    z-index: 999;
  }
  .header__nav.open { right: 0; }

  .nav-link {
    padding: 12px 16px;
    width: 100%;
    font-size: 16px;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    width: 100%;
    display: block;
  }

  .header__hamburger { display: flex; }

  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .steps-grid { flex-wrap: wrap; justify-content: center; }
  .step-card__connector { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 72px; }
  .hero__title { font-size: 32px; }

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

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

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 24px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .testimonial-card { padding: 32px 20px; }
  .testimonial-card__text { font-size: 18px; }

  .step-card__connector { display: none; }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-card { padding: 24px 16px; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }

  .apply-layout { grid-template-columns: 1fr; }
  .apply-sidebar { order: -1; }
}

/* ============================================
   Page-specific styles (About, Apply)
   ============================================ */

/* -- About Page -- */
.hero--page {
  padding: 140px 0 60px;
}

.about-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--sb-muted);
}
.about-content p {
  margin-bottom: 20px;
}

.about-team-intro {
  text-align: center;
  font-size: 16px;
  color: var(--sb-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* -- Apply Page -- */
.hero--apply {
  background: linear-gradient(160deg, #FFF9F0 0%, #E8F6FB 50%, #F0F7FF 100%);
}

.apply-container {
  max-width: 960px;
}

.apply-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.apply-form {
  background: var(--sb-bg-white);
  border-radius: var(--sb-radius-lg);
  padding: 40px;
  box-shadow: var(--sb-shadow);
  border: 1px solid rgba(28,36,75,0.04);
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f4f8;
}
.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.form-section__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.apply-submit {
  width: 100%;
}

.apply-note {
  text-align: center;
  font-size: 13px;
  color: var(--sb-muted);
  margin-top: 16px;
}

/* Apply Sidebar */
.apply-benefit-card {
  background: linear-gradient(135deg, var(--sb-light-blue), #F0F7FF);
  border-radius: var(--sb-radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.apply-benefit-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 16px;
}

.apply-benefit-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--sb-text);
}

.apply-contact-card {
  background: var(--sb-bg-white);
  border-radius: var(--sb-radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--sb-shadow);
}

.apply-contact-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sb-dark);
  margin-bottom: 16px;
}

.apply-contact-card__qr {
  margin-bottom: 12px;
}

.apply-contact-card__info {
  font-size: 13px;
  color: var(--sb-muted);
  margin-bottom: 8px;
}

.apply-contact-card__wechat {
  font-size: 14px;
  color: var(--sb-text);
  margin-bottom: 8px;
}
.apply-contact-card__wechat strong {
  color: var(--sb-blue);
}

.apply-contact-card__hours {
  font-size: 12px;
  color: var(--sb-muted);
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .apply-form {
    padding: 24px;
  }
}
