﻿/* ===== Variables & Reset ===== */
:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --primary-soft: #f5f3ff;
  --accent: #8b5cf6;
  --accent-2: #c084fc;
  --accent-3: #c4b5fd;
  --bg: #ffffff;
  --bg-soft: #faf8ff;
  --bg-warm: #f5f3ff;
  --text: #333333;
  --text-light: #777777;
  --text-dark: #1a1a1a;
  --border: #ede9fe;
  --gold: #d4a574;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06);
  --shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  --shadow-lg: 0 8px 40px rgba(124, 58, 237, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 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: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Utility ===== */
.section { padding: 100px 0; }

.text-accent { color: var(--primary); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-nav { padding: 10px 24px; font-size: 0.88rem; }

.arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(124, 58, 237, 0.08);
  padding: 8px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}

.header.scrolled .logo { color: var(--text-dark); }

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

.logo-sub { font-weight: 400; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.header.scrolled .logo-sub { color: var(--text-light); }

.nav-list { display: flex; gap: 2px; }

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.header.scrolled .nav-link { color: var(--text-light); }

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.menu-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}

.menu-toggle span {
  width: 24px; height: 2.5px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .menu-toggle span { background: var(--text-dark); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #ede9fe 0%, #c4b5fd 20%, #8b5cf6 50%, #6d28d9 80%, #4c1d95 100%);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
}

.hero-overlay {
  position: absolute; inset: 0;
  opacity: 0.2;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: 0.5px;
}

.badge-icon { margin-right: 2px; }

.hero-title {
  font-size: 3.5rem; font-weight: 900;
  line-height: 1.25; margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(76, 29, 149, 0.4);
}

.hero-highlight { color: #fff; }
.hero-accent {
  color: #f5d0fe;
  text-shadow: 0 2px 30px rgba(245, 208, 254, 0.5);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8; margin-bottom: 36px; max-width: 500px;
  text-shadow: 0 1px 8px rgba(76, 29, 149, 0.3);
}

.hero-actions {
  display: flex; gap: 16px; margin-bottom: 56px;
}

.hero-stats {
  display: flex; gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-number {
  font-size: 2rem; font-weight: 900; display: block;
  color: #fff;
  text-shadow: 0 2px 12px rgba(76, 29, 149, 0.4);
}

.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.82); margin-top: 4px; }

/* ===== Hero Visual ===== */
.hero-visual {
  display: flex;
  justify-content: center; align-items: center;
}

.hero-lines {
  width: 200px;
  height: 420px;
  display: flex; align-items: center; justify-content: center;
  animation: linesFloat 6s ease-in-out infinite;
}

@keyframes linesFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.lines-svg {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%;
}

.hero-wave svg { display: block; width: 100%; height: auto; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.about-icon-wrap {
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}

.about-svg { width: 36px; height: 36px; }

.about-card h3 {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 10px; color: var(--text-dark);
}

.about-card p {
  font-size: 0.92rem; color: var(--text-light); line-height: 1.7;
}

/* ===== Services ===== */
.services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  z-index: 2;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.card-badge.hot { background: var(--primary); color: #fff; }
.card-badge.new { background: var(--accent-2); color: #fff; }

.service-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
}

.service-svg { width: 100px; height: 100px; }

.service-body { padding: 28px; }

.service-body h3 {
  font-size: 1.25rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 4px;
}

.service-subtitle {
  font-size: 0.88rem; color: var(--primary); font-weight: 600;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem; color: var(--text-light); line-height: 1.7;
  margin-bottom: 18px;
}

.service-points {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.service-points li {
  padding: 6px 14px;
  background: var(--bg-soft);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.service-points li::before {
  content: '✓ ';
  color: var(--primary);
  font-weight: 700;
}

/* ===== Why Us ===== */
.why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.why-visual {
  display: flex; justify-content: center;
}

.why-shape {
  width: 280px; height: 280px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.flower-svg {
  width: 160px; height: 160px;
  animation: flowerSpin 20s linear infinite;
}

@keyframes flowerSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.why-items {
  display: flex; flex-direction: column; gap: 24px;
}

.why-item {
  display: flex; gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.why-item:hover {
  background: var(--bg-soft);
  border-color: var(--border);
}

.why-num {
  font-size: 1.8rem; font-weight: 800;
  color: var(--primary-soft);
  flex-shrink: 0; width: 50px;
}

.why-item h4 {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 6px; color: var(--text-dark);
}

.why-item p {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.6;
}

/* ===== Teachers ===== */
.teachers { background: var(--bg-soft); }

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.teacher-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.teacher-avatar { margin-bottom: 20px; }

.avatar-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary-soft);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary-soft);
  overflow: hidden;
}

.avatar-photo {
  background: none;
}

.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 4px;
}

.teacher-title {
  display: block;
  font-size: 0.82rem; color: var(--primary); font-weight: 600;
  margin-bottom: 12px;
}

.teacher-card p {
  font-size: 0.85rem; color: var(--text-light); line-height: 1.6;
}

/* ===== Results ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.result-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.result-header {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 20px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.result-avatar svg { width: 42px; height: 42px; }

.result-header h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 4px;
}

.result-tag {
  font-size: 0.78rem; color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 10px; border-radius: 100px; font-weight: 600;
}

.result-data {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 16px; padding: 16px 12px;
  background: var(--bg-soft); border-radius: var(--radius);
}

.result-item { text-align: center; }

.result-val {
  font-size: 1.2rem; font-weight: 800; color: var(--primary);
  display: block;
}

.result-lbl {
  font-size: 0.72rem; color: var(--text-light);
  margin-top: 2px; display: block;
}

.result-quote {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.8;
  font-style: italic;
}

/* ===== Environment ===== */
.env-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.env-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.env-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.env-img-area {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.env-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.env-card:hover .env-img-area img {
  transform: scale(1.08);
}

.env-card h4 {
  padding: 20px 16px 4px;
  font-size: 1rem; font-weight: 700; color: var(--text-dark);
}

.env-card p {
  padding: 0 16px 20px;
  font-size: 0.85rem; color: var(--text-light);
}

/* ===== CTA / Contact ===== */
.cta { background: var(--bg-warm); }

/* 主卡片 */
.cta-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border);
}

/* 限时福利 - 突出大标签 */
.cta-badge-big {
  position: absolute;
  top: 28px; left: 28px;
  z-index: 10;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  animation: badgeGlow 2s ease-in-out infinite;
}

.badge-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid rgba(245, 158, 11, 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 6px 35px rgba(239, 68, 68, 0.7); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0; }
}

/* 左侧美背图 */
.cta-left {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f3ff, #ede9fe);
}

.cta-left .beauty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右侧信息区 */
.cta-right-info {
  padding: 48px 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}

.cta-desc b { color: var(--primary); font-weight: 700; }

/* 福利项目 */
.cta-benefits {
  display: flex; gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.benefit-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 600;
  color: var(--text-dark);
}

.benefit-icon {
  width: 28px; height: 28px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

/* 联系方式 - 加大 */
.cta-contact-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cta-contact-item {
  display: flex; align-items: center; gap: 14px;
}

.cta-ci-icon {
  width: 46px; height: 46px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cta-ci-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 3px;
}

.cta-ci-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  word-break: break-all;
}

/* 内嵌二维码 */
.cta-qr-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.qr-code {
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.qr-img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.qr-text {
  display: flex; flex-direction: column; gap: 4px;
}

.qr-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.qr-wxid {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

/* 左栏：课程列表 */
.courses-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
}

.courses-title {
  font-size: 1.3rem; font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
}

.courses-price {
  text-align: center; margin-bottom: 8px;
}

.price-num {
  font-size: 2rem; font-weight: 900;
  color: var(--text-dark);
}

.price-term {
  font-size: 0.9rem; color: var(--text-light);
}

.courses-intro {
  text-align: center;
  font-size: 0.85rem; color: var(--text-light);
  margin-bottom: 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.courses-list {
  display: flex; flex-direction: column; gap: 10px;
}

.courses-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.courses-list li:hover {
  background: var(--bg-soft);
}

.course-num {
  width: 26px; height: 26px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  flex-shrink: 0;
}

/* 中栏：美背图 */
.beauty-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.beauty-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  min-height: 440px;
}

/* 右栏：表单 + 二维码 */
.cta-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.cta-form h3 {
  font-size: 1.2rem; font-weight: 700;
  text-align: center; margin-bottom: 4px;
  color: var(--text-dark);
}

.form-sub {
  text-align: center; font-size: 0.85rem;
  color: var(--text-light); margin-bottom: 20px;
}

.form-sub span { color: var(--primary); font-weight: 600; }

.form-group { margin-bottom: 12px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd6fe;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--bg-soft);
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
  background: #fff;
}

.form-group textarea { resize: vertical; }

.form-note {
  text-align: center; font-size: 0.78rem;
  color: var(--text-light); margin-top: 10px;
}

.form-note a { color: var(--primary); }

/* 二维码 */
.qr-box {
  margin-top: 20px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 24px 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.qr-code {
  width: 100px; height: 100px;
  margin: 0 auto 12px;
  color: var(--primary-dark);
}

.qr-svg {
  width: 100%; height: 100%;
}

.qr-hint {
  font-size: 0.8rem; color: var(--text-light);
  margin-bottom: 2px;
}

.qr-id {
  font-size: 0.9rem; font-weight: 700;
  color: var(--primary);
}

/* 底部福利 + 联系方式 */
.cta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 40px;
}

.cta-gifts {
  display: flex; gap: 32px;
}

.gift-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.95rem; color: var(--text);
  font-weight: 500;
}

.gift-icon { color: var(--primary); font-weight: 700; }

.contact-items {
  display: flex; gap: 32px; flex-wrap: wrap;
}

.contact-item {
  display: flex; align-items: center; gap: 10px;
}

.contact-icon {
  width: 38px; height: 38px;
  background: var(--primary-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.contact-item small {
  display: block; font-size: 0.72rem; color: var(--text-light);
  margin-bottom: 1px;
}

.contact-item strong {
  font-size: 0.9rem; color: var(--text-dark);
}

.form-message {
  text-align: center; padding: 12px; border-radius: var(--radius);
  margin-top: 14px; font-weight: 600; font-size: 0.92rem;
}

.form-message-success {
  background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9;
}

.form-message-error {
  background: #f5f3ff; color: #5b21b6; border: 1px solid #ddd6fe;
}

/* ===== Footer ===== */
.footer {
  background: #2d1b25;
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { color: #fff; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem; line-height: 1.8;
}

.footer-links h4 {
  color: #fff; font-size: 0.95rem; font-weight: 700;
  margin-bottom: 20px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 12px; }

.footer-links a {
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--primary-light); }

.footer-hours li {
  font-size: 0.88rem;
  display: flex; justify-content: space-between; gap: 16px;
}

.footer-hours li span { color: var(--primary-light); }

.footer-bottom {
  text-align: center; padding: 24px 0; font-size: 0.82rem;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wrapper { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .cta-hero-card { grid-template-columns: 1fr; }
  .cta-left { min-height: 350px; }
  .cta-right-info { padding: 36px 28px; }
  .cta-badge-big { top: 360px; left: 28px; }
  .cta-title { font-size: 1.8rem; }
  .cta-ci-val { font-size: 1rem; }
}

@media (max-width: 768px) {
  .section-title { font-size: 1.7rem; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-number { font-size: 1.4rem; }

  .nav {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 24px; flex-direction: column;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-link { font-size: 1.05rem; padding: 14px 16px; color: var(--text); }
  .menu-toggle { display: flex; }
  .btn-nav { display: none; }

  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .env-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .teachers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

