/**
 * 战码少年编程学院 - 公共样式 (v3 完整版)
 * 完全匹配 qucodeUI 设计
 */

/* ===== Reset & Typography ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%; max-width: 100%; overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--text-primary); }
h1 { font-size: 3.5rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 2.5rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: 1.75rem; line-height: 1.25; font-weight: 600; }
h4 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
h5 { font-size: 1.125rem; line-height: 1.5; font-weight: 600; }
p { font-size: 1rem; line-height: 1.5; color: var(--text-secondary); }
a { color: var(--primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 80px; }

/* ===== Container & Section ===== */
.container, .section-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
@media (min-width: 1440px) { .container, .section-container { padding: 0 32px; } }
@media (max-width: 640px) { .section-container { padding: 0 16px; } }
.section { padding: 96px 0; }
.section-surface { background: var(--bg-surface); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header > * + * { margin-top: 16px; }
.section-desc { max-width: 560px; margin: 0 auto; font-size: 1.125rem; }
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  h1 { font-size: 2.25rem; } h2 { font-size: 1.75rem; } h3 { font-size: 1.375rem; }
}

/* ===== Tag ===== */
.tag {
  display: inline-block; padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 0.8125rem; font-weight: 600; color: var(--primary);
  background: var(--primary-light); letter-spacing: 0.03em;
}
.tag-accent { background: var(--accent-light); color: var(--accent); }

/* ===== Buttons System ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s ease; position: relative;
}
.btn:active { transform: scale(0.96) !important; transition-duration: 0.08s; }
.btn-primary {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: white; box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: white; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}
.btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7);
  color: white; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover {
  background: var(--accent-dark); color: white; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(249,115,22,0.3);
}
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--bg-surface); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.btn-glow { box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
.btn-glass {
  background: rgba(255,255,255,0.07); color: white;
  border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4);
  color: white; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ===== Cards & Grids ===== */
.card { background: white; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); transition: all 0.25s ease; }
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); border-color: #D1D5DB; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-5 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-2 { gap: 40px; } .grid-4 { grid-template-columns: repeat(4,1fr); } .grid-5 { grid-template-columns: repeat(5,1fr); } .grid-3 { grid-template-columns: repeat(3,1fr); } }

.hover-lift { transition: all 0.3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(15,15,15,0.12); border-color: #B0C4DE; }

/* ===== Navigation ===== */
.nav-container {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 64px; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all 0.25s ease;
}
.nav-container.scrolled { border-bottom-color: #E5E7EB; background: rgba(255,255,255,0.98); }
.nav-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; height: 40px; flex-shrink: 0; }
.nav-logo img { height: 100%; width: auto; object-fit: contain; }
.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-item {
  position: relative; padding: 8px 16px; font-family: var(--font-body);
  font-size: 15px; font-weight: 500; color: #4B5563;
  border-radius: 8px; transition: all 0.15s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.nav-item:hover { color: #2563EB; background: #EFF6FF; }
.nav-item.active { color: #2563EB; font-weight: 600; }
.nav-external-icon { opacity: 0.5; flex-shrink: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown-icon { transition: transform 0.2s ease; }
.nav-dropdown-icon.open { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 280px;
  background: white; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border: 1px solid #E5E7EB; padding: 6px; z-index: 100;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s ease;
}
.nav-dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; font-size: 14px; color: #374151;
  text-decoration: none; border-radius: 8px; transition: all 0.15s ease;
}
.nav-dropdown-item:hover { background: #EFF6FF; color: #2563EB; }
.nav-dropdown-item-icon { opacity: 0.4; flex-shrink: 0; }
.nav-mobile-btn { display: none; padding: 6px; background: none; border: none; cursor: pointer; color: #374151; border-radius: 8px; margin-left: auto; align-items: center; gap: 4px; }
.nav-mobile-btn-text { display: none; font-size: 0.875rem; font-weight: 500; }
.nav-mobile-btn:hover { background: #F3F4F6; }
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-mobile-btn { display: inline-flex; }
  .nav-mobile-btn-text { display: inline; }
}
.nav-mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 40; transform: translateX(100%);
  transition: transform 0.3s ease; overflow-y: auto; padding: 16px;
}
.nav-mobile-menu.open { transform: translateX(0); }
.nav-mobile-items { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 14px 16px; font-size: 16px; font-weight: 500; color: #374151;
  background: none; border: none; cursor: pointer; text-align: left;
  border-radius: 10px; transition: all 0.15s ease; text-decoration: none;
}
.nav-mobile-item:hover { background: #F3F4F6; }
.nav-mobile-item.active { background: #EFF6FF; color: #2563EB; font-weight: 600; }
.nav-mobile-item-sub { padding-left: 24px; font-size: 15px; color: #6B7280; }
.nav-mobile-divider { height: 1px; background: #E5E7EB; margin: 12px 16px; }
.nav-mobile-subtitle { padding: 8px 16px 4px; font-size: 0.75rem; font-weight: 600; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Footer ===== */
.footer { background: #111827; color: white; padding: 60px 0 28px; position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, #2563EB, #3B82F6, #F97316);
}
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: inline-flex; align-items: center; transition: transform 0.2s ease; }
.footer-logo:hover { transform: scale(1.02); }
.footer-logo img { height: 44px; width: auto; }
.footer-tagline { font-size: 14px; color: #9CA3AF; line-height: 1.6; max-width: 220px; }
.footer-column { display: flex; flex-direction: column; gap: 16px; }
.footer-column-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: #FFFFFF; padding-bottom: 10px; position: relative;
}
.footer-column-title::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 3px;
  background: linear-gradient(90deg, #2563EB, #3B82F6); border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-size: 15px; color: #9CA3AF; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0;
  transition: all 0.2s ease;
}
.footer-link:hover { color: #60A5FA; transform: translateX(4px); }
.footer-link svg { width: 14px; height: 14px; opacity: 0.5; flex-shrink: 0; }
.footer-link:hover svg { opacity: 1; color: #60A5FA; }
.footer-contact-item {
  font-size: 15px; color: #9CA3AF; display: flex; align-items: center; gap: 10px;
  padding: 8px 0; transition: all 0.2s ease; text-decoration: none;
}
.footer-contact-item svg { width: 18px; height: 18px; color: #60A5FA; flex-shrink: 0; }
.footer-contact-item:hover { color: #60A5FA; transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-copyright { font-size: 14px; color: #9CA3AF; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-link { font-size: 14px; color: #9CA3AF; text-decoration: none; transition: color 0.2s ease; }
.footer-bottom-link:hover { color: #60A5FA; }
@media (max-width: 768px) {
  .footer { padding: 40px 0 24px; }
  .footer-container { padding: 0 16px; }
  .footer-grid { gap: 32px; }
  .footer-logo img { height: 40px; }
  .footer-column-title { font-size: 15px; }
  .footer-link, .footer-contact-item, .footer-copyright, .footer-bottom-link { font-size: 14px; }
  .footer-bottom-links { gap: 20px; flex-wrap: wrap; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1E33 0%, #1E3A5F 35%, #1E40AF 65%, #1D4ED8 100%);
  padding: 60px 24px;
}
@media (max-width: 640px) { .hero { padding: 40px 20px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.hero-glow-1 { top: 5%; left: 10%; width: 500px; height: 500px; max-width: 150vw; max-height: 150vw; background: rgba(59,130,246,0.3); animation: float-hero 14s ease-in-out infinite; }
.hero-glow-2 { bottom: 5%; right: 10%; width: 450px; height: 450px; max-width: 150vw; max-height: 150vw; background: rgba(249,115,22,0.15); animation: float-hero 18s ease-in-out infinite reverse; }
@keyframes float-hero { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-40px) scale(1.08); } }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; }
.hero-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); }
.hero-orb-1 { top: 15%; right: 8%; width: 180px; height: 180px; background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%); animation: orb-float 20s ease-in-out infinite; }
.hero-orb-2 { bottom: 20%; left: 5%; width: 140px; height: 140px; background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%); animation: orb-float 25s ease-in-out infinite reverse; }
.hero-orb-3 { top: 40%; left: 30%; width: 100px; height: 100px; background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 70%); animation: orb-float 16s ease-in-out infinite; }
@keyframes orb-float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-30px) scale(1.1); } 66% { transform: translate(-10px,20px) scale(0.95); } }
.hero-body { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 9999px; font-size: 0.875rem; font-weight: 600;
  color: white; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); margin-bottom: 16px;
}
.hero-title {
  font-size: 3.5rem; font-weight: 800; color: white;
  letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px;
  font-family: var(--font-display);
}
.hero-title-accent {
  display: block;
  background: linear-gradient(135deg, #60A5FA, #A78BFA, #F472B6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.7); font-weight: 500; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; gap: 16px; } .hero-title { font-size: 4.25rem; } .hero-title-accent { display: inline; } }
@media (max-width: 640px) { .hero-title { font-size: 2.25rem; } .hero-subtitle { font-size: 1rem; } }

.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(255,255,255,0.5); }
.hero-scroll-text { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-scroll-mouse { width: 24px; height: 38px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.25); display: flex; justify-content: center; padding-top: 8px; }
.hero-scroll-dot { width: 4px; height: 10px; border-radius: 2px; background: rgba(255,255,255,0.6); animation: scroll-dot 2s ease-in-out infinite; }
@keyframes scroll-dot { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.3; } }

/* ===== Stats Band ===== */
.stats-band { background: linear-gradient(135deg, #1E3A5F, #1E40AF); padding: 40px 24px; position: relative; }
.stats-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); }
.stats-band-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.stats-band-item { text-align: center; padding: 8px 0; }
.stats-band-num { display: block; font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: white; line-height: 1.1; margin-bottom: 4px; }
.stats-band-label { font-size: 0.875rem; color: rgba(255,255,255,0.65); font-weight: 500; }
@media (min-width: 640px) { .stats-band-inner { grid-template-columns: repeat(4,1fr); } .stats-band { padding: 48px 24px; } .stats-band-num { font-size: 2.75rem; } }

/* ===== About Grid ===== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.about-content { max-width: 560px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .about-content { margin-left: 0; margin-right: 0; } .about-grid { grid-template-columns: 1fr 1fr; } }
.about-title { font-size: 2rem; margin-top: 16px; margin-bottom: 20px; }
.about-desc { font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 32px; }
.about-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (min-width: 640px) { .about-metrics { display: flex; gap: 32px; flex-wrap: wrap; } }
.about-metric-num { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.about-metric-label { font-size: 0.875rem; color: var(--text-tertiary); font-weight: 500; }
.about-visual { display: flex; justify-content: center; }
.about-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 400px; }
.about-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 28px 20px; border-radius: var(--radius-xl);
  border: 1px solid var(--border); background: white; text-align: center;
  font-weight: 600; font-size: 0.9375rem; color: var(--text-primary);
  transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -12px rgba(37,99,235,0.2); border-color: #B0C4DE; }
.about-card-1 { border-top: 3px solid #F97316; color: #F97316; }
.about-card-2 { border-top: 3px solid #2563EB; color: #2563EB; }
.about-card-3 { border-top: 3px solid #10B981; color: #10B981; }
.about-card-4 { border-top: 3px solid #8B5CF6; color: #8B5CF6; }

/* ===== Business Cards ===== */
.business-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.business-card {
  position: relative; background: white; border-radius: var(--radius-xl);
  padding: 36px 32px; border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden; transition: all 0.35s ease;
}
.business-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px -12px rgba(0,0,0,0.1); }
.business-card-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.business-card-student .business-card-accent { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.business-card-teacher .business-card-accent { background: linear-gradient(90deg, #F97316, #FB923C); }
.business-card-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.business-card-student .business-card-icon { background: #DBEAFE; color: #2563EB; }
.business-card-teacher .business-card-icon { background: #FED7AA; color: #F97316; }
.business-card h3 { margin-bottom: 12px; font-size: 1.375rem; }
.business-card > p { margin-bottom: 20px; font-size: 0.9375rem; line-height: 1.6; }
.business-features { list-style: none; padding: 0; margin-bottom: 24px; }
.business-features li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.9375rem; color: var(--text-secondary); }
.business-features li svg { color: #10B981; flex-shrink: 0; }
.business-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  font-size: 0.9375rem; color: var(--primary); text-decoration: none; padding: 6px 0;
  position: relative; transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.business-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: currentColor; border-radius: 1px; transition: width 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.business-link:hover { gap: 14px; color: #1D4ED8; }
.business-link:hover::after { width: 100%; }
.business-card-teacher .business-link { color: #F97316; }
.business-card-teacher .business-link:hover { color: #EA580C; }
@media (min-width: 768px) { .business-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Course Path ===== */
.course-path { position: relative; display: flex; flex-direction: column; gap: 24px; max-width: 800px; margin: 0 auto; }
.course-path-line { position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #FCA5A5, #93C5FD, #6EE7B7, #FCD34D, #C4B5FD); border-radius: 1px; }
.course-card { position: relative; display: flex; align-items: flex-start; gap: 20px; padding: 24px; background: white; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: all 0.3s ease; margin-left: 52px; }
.course-card:hover { transform: translateX(6px); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.08); border-color: #B0C4DE; }
.course-card-index { position: absolute; left: -52px; top: 24px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: white; z-index: 1; box-shadow: 0 0 0 4px white; }
.course-card-rose .course-card-index { background: #DC2626; }
.course-card-blue .course-card-index { background: #2563EB; }
.course-card-teal .course-card-index { background: #059669; }
.course-card-amber .course-card-index { background: #D97706; }
.course-card-violet .course-card-index { background: #7C3AED; }
.course-icon-circle { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.course-icon-circle-rose { background: #FEE2E2; color: #DC2626; }
.course-icon-circle-blue { background: #DBEAFE; color: #2563EB; }
.course-icon-circle-teal { background: #D1FAE5; color: #059669; }
.course-icon-circle-amber { background: #FEF3C7; color: #D97706; }
.course-icon-circle-violet { background: #EDE9FE; color: #7C3AED; }
.course-card-body { flex: 1; min-width: 0; }
.course-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.course-card-name { font-size: 1.125rem; font-weight: 700; margin: 0; }
.course-age { display: inline-block; padding: 3px 10px; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.course-age-rose { background: #FEE2E2; color: #DC2626; }
.course-age-blue { background: #DBEAFE; color: #2563EB; }
.course-age-teal { background: #D1FAE5; color: #059669; }
.course-age-amber { background: #FEF3C7; color: #D97706; }
.course-age-violet { background: #EDE9FE; color: #7C3AED; }
.course-card-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }
.course-features { display: flex; flex-wrap: wrap; gap: 8px; }
.course-feature { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; }
.course-feature-rose { background: #FFF1F1; color: #DC2626; }
.course-feature-blue { background: #EFF6FF; color: #2563EB; }
.course-feature-teal { background: #ECFDF5; color: #059669; }
.course-feature-amber { background: #FFFBEB; color: #D97706; }
.course-feature-violet { background: #F5F3FF; color: #7C3AED; }
@media (max-width: 640px) { .course-card { margin-left: 40px; padding: 20px; flex-direction: column; } .course-card-index { left: -40px; width: 30px; height: 30px; font-size: 0.8125rem; } .course-path-line { left: 27px; } }

/* ===== Teachers ===== */
.teacher-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.teacher-card { background: white; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: all 0.35s ease; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.1); }
.teacher-card-header { position: relative; padding: 32px 28px 20px; text-align: center; }
.teacher-bg-pattern { position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(circle at 25% 25%, currentColor 1px, transparent 1px), radial-gradient(circle at 75% 75%, currentColor 1px, transparent 1px); background-size: 20px 20px; }
.teacher-card-blue .teacher-bg-pattern { color: #2563EB; }
.teacher-card-teal .teacher-bg-pattern { color: #059669; }
.teacher-card-violet .teacher-bg-pattern { color: #7C3AED; }
.teacher-card-rose .teacher-bg-pattern { color: #DC2626; }
.teacher-card-blue .teacher-card-header { background: linear-gradient(180deg, #EFF6FF, white); }
.teacher-card-teal .teacher-card-header { background: linear-gradient(180deg, #ECFDF5, white); }
.teacher-card-violet .teacher-card-header { background: linear-gradient(180deg, #F5F3FF, white); }
.teacher-card-rose .teacher-card-header { background: linear-gradient(180deg, #FFF1F1, white); }
.teacher-avatar { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; color: white; margin: 0 auto 16px; position: relative; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.teacher-avatar-blue { background: linear-gradient(135deg, #2563EB, #60A5FA); }
.teacher-avatar-teal { background: linear-gradient(135deg, #059669, #34D399); }
.teacher-avatar-violet { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.teacher-avatar-rose { background: linear-gradient(135deg, #DC2626, #FB7185); }
.teacher-name { font-size: 1.125rem; font-weight: 700; text-align: center; margin-bottom: 4px; }
.teacher-badge { display: inline-block; padding: 4px 14px; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.teacher-badge-blue { background: #DBEAFE; color: #2563EB; }
.teacher-badge-teal { background: #D1FAE5; color: #059669; }
.teacher-badge-violet { background: #EDE9FE; color: #7C3AED; }
.teacher-badge-rose { background: #FEE2E2; color: #DC2626; }
.teacher-card-body { padding: 0 28px 28px; }
.teacher-cred { font-size: 0.8125rem; color: var(--text-tertiary); margin-bottom: 8px; line-height: 1.5; text-align: center; font-weight: 500; }
.teacher-detail { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; text-align: center; }
@media (min-width: 640px) { .teacher-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .teacher-grid { grid-template-columns: repeat(4,1fr); } }

/* ===== News Preview ===== */
.section-news { background: var(--bg-surface); }
.news-preview-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.news-preview-card {
  background: white; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s ease;
  display: flex; flex-direction: column;
}
.news-preview-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.1); }
.news-preview-accent { height: 4px; }
.news-preview-accent-blue { background: #2563EB; }
.news-preview-accent-rose { background: #DC2626; }
.news-preview-accent-teal { background: #059669; }
.news-preview-accent-amber { background: #D97706; }
.news-preview-accent-violet { background: #7C3AED; }
.news-preview-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-preview-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.news-preview-category { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 9999px; font-size: 0.6875rem; font-weight: 600; }
.news-preview-category-blue { background: #DBEAFE; color: #2563EB; }
.news-preview-category-rose { background: #FEE2E2; color: #DC2626; }
.news-preview-category-teal { background: #D1FAE5; color: #059669; }
.news-preview-category-amber { background: #FEF3C7; color: #D97706; }
.news-preview-category-violet { background: #EDE9FE; color: #7C3AED; }
.news-preview-date { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--text-tertiary); }
.news-preview-body h3 { font-size: 1.0625rem; margin-bottom: 8px; line-height: 1.4; }
.news-preview-body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.news-preview-footer { padding: 0 24px 20px; }
.news-preview-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
.news-preview-link:hover { gap: 10px; color: #1D4ED8; }
.news-preview-more { text-align: center; margin-top: 40px; }
@media (min-width: 640px) { .news-preview-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .news-preview-grid { grid-template-columns: repeat(4,1fr); } }

/* ===== Hot News Ranking ===== */
.hot-news-module {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.hot-news-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid #F1F5F9;
}
.hot-news-fire { font-size: 18px; line-height: 1; }
.hot-news-label { font-size: 14px; font-weight: 700; color: #1E293B; }
.hot-news-badge {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 10px;
  border-radius: 999px;
}
.hot-news-list { padding: 8px 0; }
.hot-news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.hot-news-item:hover { background: #F8FAFC; }
.hot-news-rank {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  flex-shrink: 0;
  color: #94A3B8;
  background: #F1F5F9;
}
.hot-news-rank-1 { color: #D97706; background: #FEF3C7; }
.hot-news-rank-2 { color: #64748B; background: #F1F5F9; }
.hot-news-rank-3 { color: #B45309; background: #FEF9C3; }
.hot-news-title {
  flex: 1; min-width: 0;
  font-size: 13px; font-weight: 600;
  color: #334155;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.4;
}
.hot-news-item:hover .hot-news-title { color: #2563EB; }
.hot-news-views {
  font-size: 11px; color: #94A3B8;
  white-space: nowrap; flex-shrink: 0;
}
.hot-news-views::after { content: ' 次阅读'; }

/* ===== Platform & Partners ===== */
.platform-merged { display: grid; gap: 40px; }
.platform-oj { text-align: center; padding: 40px 32px; background: #1E293B; border-radius: var(--radius-xl); }
.platform-oj h3 { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 1.5rem; margin-bottom: 16px; }
.platform-oj h3 svg { color: #60A5FA; }
.platform-oj p { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 500px; margin: 0 auto 24px; line-height: 1.6; }
.platform-partners { text-align: center; }
.platform-partners h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }
.platform-partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.platform-partner-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; background: white; border: 1px solid var(--border);
  border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  color: var(--text-secondary); transition: all 0.25s ease;
}
.platform-partner-chip:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 4px 12px rgba(37,99,235,0.1); transform: translateY(-2px); }
.platform-partner-chip svg { color: var(--primary); flex-shrink: 0; }
@media (min-width: 768px) { .platform-merged { grid-template-columns: 3fr 2fr; align-items: center; } .platform-oj { text-align: left; } .platform-oj p { margin: 0 0 24px; } }

/* ===== CTA Banner ===== */
.cta-banner { background: linear-gradient(135deg, #1E3A5F, #1E40AF); padding: 80px 0; text-align: center; }
.cta-banner-body { max-width: 640px; margin: 0 auto; }
.cta-banner-title { color: white; font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; }
.cta-banner-desc { color: rgba(255,255,255,0.7); font-size: 1.125rem; margin-bottom: 32px; }
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-banner-title { font-size: 1.75rem; } .cta-banner { padding: 60px 0; } .cta-banner-actions { flex-direction: column; align-items: center; } }

/* ===== Stats Row (reuse) ===== */
.stats-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.stat-card { text-align: center; padding: 32px 20px; background: white; border-radius: var(--radius-lg); border: 1px solid #D1D9E6; }
.stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; background: linear-gradient(135deg, #2563EB, #3B82F6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 4px; }
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(3,1fr); } }

/* ===== Page Banner (shared across pages) ===== */
.page-banner { position: relative; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 80px 24px 40px; }
@media (max-width: 640px) { .page-banner { min-height: 260px; padding: 64px 20px 32px; } }
.page-banner-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0B1E33, #1E3A5F, #1E40AF); }
.page-banner-glow-rings { position: absolute; inset: 0; pointer-events: none; }
.page-banner-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.05); animation: ring-pulse 6s ease-in-out infinite; }
.page-banner-ring-2 { width: 400px; height: 400px; animation-delay: -3s; }
@keyframes ring-pulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%,-50%) scale(1.1); opacity: 1; } }
.page-banner-body { position: relative; z-index: 1; text-align: center; max-width: 700px; }
.page-banner-title { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: white; line-height: 1.1; margin-bottom: 16px; }
.banner-title-main { display: block; }
.page-banner-about { background: linear-gradient(135deg, #0B1E33, #1E3A5F, #1E40AF); }
.page-banner-about .page-banner-desc { max-width: 640px; }
@media (max-width: 640px) {
  .page-banner-about .page-banner-desc { max-width: 92%; word-break: break-word; }
}
.banner-title-about-highlight { background: linear-gradient(135deg, #60A5FA, #A78BFA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-banner-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .page-banner-title { font-size: 2rem; }
  .page-banner-desc {
    font-size: 1rem;
    max-width: 90%;
    padding: 0 8px;
    word-break: break-word;
  }
  .page-banner-ring { width: 300px; height: 300px; }
  .page-banner-ring-2 { width: 200px; height: 200px; }
}
.banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== Booking Modal ===== */
.booking-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 20px; backdrop-filter: blur(4px); animation: bookingFadeIn 0.2s ease; }
@keyframes bookingFadeIn { from { opacity: 0; } to { opacity: 1; } }
.booking-modal { background: white; border-radius: 16px; padding: 36px 32px 32px; max-width: 440px; width: 100%; box-shadow: 0 16px 48px rgba(0,0,0,0.2); animation: bookingSlideUp 0.25s ease; position: relative; max-height: 90vh; overflow-y: auto; }
@keyframes bookingSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.booking-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-surface); border: none; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-tertiary); transition: all 0.2s ease; }
.booking-close:hover { background: var(--border); color: var(--text-primary); }
.booking-title { font-size: 1.375rem; font-weight: 800; margin-bottom: 6px; text-align: center; }
.booking-desc { font-size: 0.875rem; color: var(--text-secondary); text-align: center; margin-bottom: 24px; }
.booking-form { display: flex; flex-direction: column; gap: 16px; }
.booking-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.booking-field input, .booking-field select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.875rem; font-family: var(--font-body); color: var(--text-primary); background: white; transition: border-color 0.2s ease; box-sizing: border-box; }
.booking-field input:focus, .booking-field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.booking-field input::placeholder { color: var(--text-tertiary); }
.booking-submit { width: 100%; padding: 12px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-size: 1rem; font-weight: 700; border: none; cursor: pointer; transition: all 0.2s ease; margin-top: 4px; }
.booking-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
.booking-success { text-align: center; padding: 20px 0; }
.booking-success-icon { width: 64px; height: 64px; border-radius: 50%; background: #D1FAE5; color: #059669; font-size: 1.75rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 700; }
.booking-success h3 { font-size: 1.25rem; margin-bottom: 8px; color: var(--text-primary); }
.booking-success p { font-size: 0.875rem; color: var(--text-secondary); max-width: 300px; margin: 0 auto; line-height: 1.6; }

/* ===== About Page Styles ===== */

/* Intro Grid */
.about-intro-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.about-intro-content { max-width: 600px; }
.about-intro-content h2 { margin-top: 12px; margin-bottom: 20px; }
.about-intro-content > p { margin-bottom: 16px; line-height: 1.7; }
.about-intro-lead { font-size: 1.0625rem; color: var(--text-primary); font-weight: 500; }
.about-intro-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.about-intro-stat { text-align: center; padding: 16px 20px; background: var(--bg-surface); border-radius: var(--radius-lg); flex: 1; min-width: 100px; }
.about-intro-stat-num { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.about-intro-stat-label { font-size: 0.8125rem; color: var(--text-tertiary); font-weight: 500; margin-top: 4px; display: block; }
.about-intro-visual { display: grid; grid-template-columns: 1fr; gap: 20px; }
.about-intro-card { background: white; border-radius: var(--radius-xl); padding: 32px; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.about-intro-card h3 { margin-bottom: 12px; }
.about-intro-card p { font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 1024px) { .about-intro-grid { grid-template-columns: 1fr 1fr; } .about-intro-visual { grid-template-columns: 1fr 1fr; } }

/* Business Blocks */
.section-about-biz { background: var(--bg-surface); }
.about-biz-header { text-align: center; margin-bottom: 48px; }
.about-biz-header svg { display: inline; vertical-align: middle; margin-right: 8px; }
.about-biz-header span { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); display: inline; vertical-align: middle; }
.about-biz-header p { margin-top: 8px; font-size: 0.9375rem; }
.about-biz-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-biz-card { background: white; border-radius: var(--radius-xl); padding: 36px 28px; text-align: center; border: 1px solid var(--border); transition: all 0.3s ease; }
.about-biz-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.about-biz-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.about-biz-icon-blue { background: #DBEAFE; color: #2563EB; }
.about-biz-icon-violet { background: #EDE9FE; color: #7C3AED; }
.about-biz-icon-teal { background: #D1FAE5; color: #059669; }
.about-biz-card-blue { border-top: 4px solid #2563EB; }
.about-biz-card-violet { border-top: 4px solid #7C3AED; }
.about-biz-card-teal { border-top: 4px solid #059669; }
.about-biz-name { font-size: 1.25rem; margin-bottom: 12px; }
.about-biz-desc { font-size: 0.9375rem; line-height: 1.7; color: var(--text-secondary); }
@media (min-width: 768px) { .about-biz-grid { grid-template-columns: repeat(3,1fr); } }

/* Honors */
.section-about-honors { background: linear-gradient(135deg, #0B1E33, #1E3A5F, #1E40AF); color: white; position: relative; overflow: hidden; }
.section-about-honors-bg { position: absolute; inset: 0; opacity: 0.04; background-image: radial-gradient(circle at 25% 25%, white 1px, transparent 1px), radial-gradient(circle at 75% 75%, white 1px, transparent 1px); background-size: 30px 30px; }
.section-about-honors .section-header h2 { color: white; }
.section-about-honors .section-desc { color: rgba(255,255,255,0.7); }
.about-honors-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; position: relative; }
.about-honor-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(6px); text-align: center; transition: all 0.3s ease; }
.about-honor-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.about-honor-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.about-honor-icon-rose { background: rgba(244,63,94,0.2); color: #FB7185; }
.about-honor-icon-blue { background: rgba(59,130,246,0.2); color: #93C5FD; }
.about-honor-icon-teal { background: rgba(16,185,129,0.2); color: #6EE7B7; }
.about-honor-icon-violet { background: rgba(139,92,246,0.2); color: #C4B5FD; }
.about-honor-icon-cyan { background: rgba(6,182,212,0.2); color: #67E8F9; }
.about-honor-icon-amber { background: rgba(245,158,11,0.2); color: #FCD34D; }
.about-honor-label { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.9); }
@media (min-width: 640px) { .about-honors-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .about-honors-grid { grid-template-columns: repeat(6,1fr); } }

/* Milestones / Timeline Carousel */
.section-about-milestones { background: white; }
.about-carousel { display: flex; align-items: center; gap: 16px; max-width: 960px; margin: 0 auto; }
.about-carousel-viewport { overflow: hidden; flex: 1; border-radius: var(--radius-xl); min-width: 0; }
.about-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.about-carousel-slide { min-width: 100%; padding: 8px 0; box-sizing: border-box; }
.about-carousel-arrow-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.about-carousel-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: white; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.2s ease; }
.about-carousel-arrow:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.about-carousel-arrow-label { font-size: 0.6875rem; color: var(--text-tertiary); font-weight: 500; }
.about-phase-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.about-phase-dot-btn { width: 10px; height: 10px; border-radius: 50%; border: none; background: #D1D5DB; cursor: pointer; transition: all 0.2s ease; padding: 0; }
.about-phase-dot-btn.active { width: 28px; border-radius: 5px; background: var(--primary); }
.about-phase { border-radius: var(--radius-xl); overflow: hidden; }
.about-phase-header { padding: 28px 24px; display: flex; align-items: center; gap: 16px; color: white; }
.about-phase-header-cyan { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.about-phase-header-violet { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.about-phase-header-amber { background: linear-gradient(135deg, #F59E0B, #D97706); }
.about-phase-header-emerald { background: linear-gradient(135deg, #10B981, #059669); }
.about-phase-header-icon { font-size: 2rem; flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); border-radius: 12px; }
.about-phase-header-body { flex: 1; }
.about-phase-header-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.about-phase-title { font-size: 1.25rem; font-weight: 700; margin: 0; color: white; }
.about-phase-range { font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 9999px; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.about-phase-subtitle { font-size: 0.8125rem; color: rgba(255,255,255,0.8); margin-top: 4px; }
.about-phase-count { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: rgba(255,255,255,0.5); white-space: nowrap; }
.about-phase-items { padding: 24px; display: flex; flex-direction: column; gap: 0; background: var(--bg-surface); }
.about-phase-item { display: flex; gap: 16px; padding: 16px 0; position: relative; }
.about-phase-item:not(:last-child)::after { content: ''; position: absolute; left: 7px; top: 32px; bottom: 0; width: 2px; background: #E5E7EB; }
.about-phase-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; border: 3px solid white; }
.about-phase-dot-cyan { background: #06B6D4; box-shadow: 0 0 0 3px rgba(6,182,212,0.2); }
.about-phase-dot-violet { background: #8B5CF6; box-shadow: 0 0 0 3px rgba(139,92,246,0.2); }
.about-phase-dot-amber { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }
.about-phase-dot-emerald { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.about-phase-card { flex: 1; background: white; border-radius: var(--radius-lg); padding: 16px 20px; border: 1px solid var(--border); }
.about-phase-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.about-phase-date { font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 6px; }
.about-phase-date-cyan { background: #CFFAFE; color: #0891B2; }
.about-phase-date-violet { background: #EDE9FE; color: #7C3AED; }
.about-phase-date-amber { background: #FEF3C7; color: #D97706; }
.about-phase-date-emerald { background: #D1FAE5; color: #059669; }
.about-phase-card-title { font-size: 0.9375rem; font-weight: 600; margin: 0; }
.about-phase-card-desc { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.5; }
.about-phase-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.about-phase-tag { font-size: 0.6875rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.about-phase-tag-cyan { background: #CFFAFE; color: #0891B2; }
.about-phase-tag-violet { background: #EDE9FE; color: #7C3AED; }
.about-phase-tag-amber { background: #FEF3C7; color: #D97706; }
.about-phase-tag-emerald { background: #D1FAE5; color: #059669; }
@media (max-width: 640px) {
  .about-carousel { gap: 8px; }
  .about-carousel-arrow-wrap .about-carousel-arrow-label { display: none; }
  .about-carousel-arrow { width: 36px; height: 36px; }
  .about-carousel-arrow-wrap { gap: 4px; }
  .about-phase-header { flex-direction: column; text-align: center; padding: 24px 16px; }
  .about-phase-count { display: none; }
  .about-phase-header-icon { width: 40px; height: 40px; font-size: 1.5rem; }
  .about-phase-items { padding: 16px; }
  .about-phase-card { padding: 12px 16px; }
}

/* Campuses */
.section-about-campuses { background: var(--bg-surface); }
.about-campuses-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-campus-card { background: white; border-radius: var(--radius-xl); padding: 32px 24px; text-align: center; border: 1px solid var(--border); transition: all 0.3s ease; }
.about-campus-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.about-campus-card-blue { border-top: 4px solid #2563EB; }
.about-campus-card-teal { border-top: 4px solid #059669; }
.about-campus-card-cyan { border-top: 4px solid #06B6D4; }
.about-campus-card-mint { border-top: 4px solid #10B981; }
.about-campus-card-lavender { border-top: 4px solid #8B5CF6; }
.about-campus-card-peach { border-top: 4px solid #F97316; }
.about-campus-card-rose { border-top: 4px solid #F43F5E; }
.about-campus-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.about-campus-icon-blue { background: #DBEAFE; color: #2563EB; }
.about-campus-icon-teal { background: #D1FAE5; color: #059669; }
.about-campus-icon-cyan { background: #CFFAFE; color: #06B6D4; }
.about-campus-icon-mint { background: #D1FAE5; color: #10B981; }
.about-campus-icon-lavender { background: #EDE9FE; color: #8B5CF6; }
.about-campus-icon-peach { background: #FED7AA; color: #F97316; }
.about-campus-icon-rose { background: #FFE4E6; color: #F43F5E; }
.about-campus-name { font-size: 1.125rem; margin-bottom: 16px; }
.about-campus-info { display: flex; flex-direction: column; gap: 10px; }
.about-campus-info span { display: flex; align-items: flex-start; gap: 4px; font-size: 0.875rem; color: var(--text-secondary); justify-content: flex-start; text-align: left; word-break: break-all; text-wrap: pretty; }
.about-campus-info span svg { flex-shrink: 0; color: var(--primary); opacity: 0.7; margin-top: 3px; }
@media (min-width: 640px) { .about-campuses-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .about-campuses-grid { grid-template-columns: repeat(3,1fr); } }

/* Contact CTA */
.section-about-cta { background: linear-gradient(135deg, #0B1E33, #1E3A5F); }
.about-contact { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.about-contact-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #60A5FA; }
.about-contact-content h3 { color: white; font-size: 1.375rem; margin-bottom: 8px; }
.about-contact-content p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
@media (min-width: 640px) { .about-contact { flex-direction: row; text-align: left; } .about-contact-content { flex: 1; } }

/* ===== Courses Page ===== */
.page-banner-courses { background: linear-gradient(135deg, #070D1A, #0A1628, #0B1E33, #1D4ED8); min-height: 400px; }
.page-banner-courses .page-banner-desc { max-width: 680px; }
@media (max-width: 640px) {
  .page-banner-courses .page-banner-desc { max-width: 92%; word-break: break-word; }
}
.banner-title-highlight { display: inline-block; background: linear-gradient(135deg, #93C5FD, #C4B5FD, #FDA4AF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.courses-banner-actions { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.courses-banner-actions .btn { padding: 16px 36px; font-size: 1.0625rem; font-weight: 700; border-radius: 10px; }
.banner-stat-badge { position: absolute; right: 6%; top: 44px; display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-radius: var(--radius-full); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(12px); }
.banner-stat-num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: #93C5FD; line-height: 1; }
.banner-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.55); font-weight: 500; }
@media (max-width: 768px) { .banner-stat-badge { display: none; } }

/* Fused Path Section */
.fused-path-section { background: #F8FAFC; padding: 96px 0; }
.path-groups { display: flex; flex-direction: column; gap: 40px; max-width: 1040px; margin: 0 auto; }
.path-group { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; transition: box-shadow 0.3s ease; }
.path-group:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.04); }
.path-group-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.path-group-icon-wrap { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-light), #E0E7FF); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.path-group:nth-child(2) .path-group-icon-wrap { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.path-group:nth-child(3) .path-group-icon-wrap { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.path-group-icon { color: var(--primary); }
.path-group:nth-child(2) .path-group-icon { color: #D97706; }
.path-group:nth-child(3) .path-group-icon { color: #7C3AED; }
.path-group-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 2px; }
.path-group-subtitle { font-size: 0.875rem; color: var(--text-tertiary); margin: 0; line-height: 1.4; }
.path-group-courses { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.path-group:last-child .path-group-courses { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
@media (max-width: 640px) { .path-group-courses { grid-template-columns: 1fr; } }

/* Fused Cards */
.fused-card { border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; cursor: pointer; position: relative; overflow: hidden; transition: all 0.35s ease; }
.fused-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.fused-card:hover { transform: translateY(-4px); }
.fused-card-rose { border-color: #FECDD3; box-shadow: 0 12px 40px rgba(225,29,72,0.08); }
.fused-card-blue { border-color: #BFDBFE; box-shadow: 0 12px 40px rgba(37,99,235,0.08); }
.fused-card-teal { border-color: #99F6E4; box-shadow: 0 12px 40px rgba(13,148,136,0.08); }
.fused-card-amber { border-color: #FDE68A; box-shadow: 0 12px 40px rgba(217,119,6,0.08); }
.fused-card-violet { border-color: #DDD6FE; box-shadow: 0 12px 40px rgba(124,58,237,0.08); }
.fused-card-rose::before { background: linear-gradient(90deg, #E11D48, #F43F5E); }
.fused-card-blue::before { background: linear-gradient(90deg, #2563EB, #3B82F6); }
.fused-card-teal::before { background: linear-gradient(90deg, #0D9488, #14B8A6); }
.fused-card-amber::before { background: linear-gradient(90deg, #D97706, #F59E0B); }
.fused-card-violet::before { background: linear-gradient(90deg, #7C3AED, #8B5CF6); }
.fused-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.fused-card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 28px; }
.fused-card-icon-rose { background: #FFE4E6; color: #E11D48; }
.fused-card-icon-blue { background: #DBEAFE; color: #2563EB; }
.fused-card-icon-teal { background: #CCFBF1; color: #0D9488; }
.fused-card-icon-amber { background: #FEF3C7; color: #D97706; }
.fused-card-icon-violet { background: #EDE9FE; color: #7C3AED; }
.fused-card-meta { flex: 1; min-width: 0; }
.fused-card-name { font-size: 1.125rem; font-weight: 700; margin: 0; }
.fused-card-age { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 9999px; margin-top: 4px; }
.fused-card-age-rose { background: #FFE4E6; color: #E11D48; }
.fused-card-age-blue { background: #DBEAFE; color: #2563EB; }
.fused-card-age-teal { background: #CCFBF1; color: #0D9488; }
.fused-card-age-amber { background: #FEF3C7; color: #D97706; }
.fused-card-age-violet { background: #EDE9FE; color: #7C3AED; }
.fused-card-arrow { color: var(--text-tertiary); opacity: 0.4; transition: all 0.3s ease; flex-shrink: 0; }
.fused-card:hover .fused-card-arrow { opacity: 1; transform: translateX(4px); color: var(--primary); }
.fused-card-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 14px; }
.fused-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fused-card-tag { font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 6px; }
.fused-card-tag-rose { background: #FFF1F1; color: #E11D48; }
.fused-card-tag-blue { background: #EFF6FF; color: #2563EB; }
.fused-card-tag-teal { background: #ECFDF5; color: #0D9488; }
.fused-card-tag-amber { background: #FFFBEB; color: #D97706; }
.fused-card-tag-violet { background: #F5F3FF; color: #7C3AED; }

/* Courses CTA */
.courses-cta { position: relative; border-radius: var(--radius-xl); padding: 64px 56px; color: white; overflow: hidden; background: linear-gradient(135deg, #0B1E33, #1E3A5F, #1D4ED8); }
.courses-cta-bg { position: absolute; inset: 0; pointer-events: none; }
.courses-cta-glow { position: absolute; top: -30%; right: -10%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 70%); }
.courses-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; }
.courses-cta-body { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.courses-cta-tag { display: inline-block; padding: 4px 14px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); margin-bottom: 12px; letter-spacing: 0.05em; }
.courses-cta-content h2 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 10px; }
.courses-cta-content p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.courses-cta-actions { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.courses-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 36px; border-radius: var(--radius-md); font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer; border: none; transition: all 0.25s ease; white-space: nowrap; }
.courses-cta-btn-primary { background: linear-gradient(135deg, #F97316, #EA580C); color: white; box-shadow: 0 4px 24px rgba(249,115,22,0.35); }
.courses-cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249,115,22,0.45); color: white; }
.courses-cta-btn-secondary { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.2); }
.courses-cta-btn-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); color: white; }
@media (max-width: 768px) { .courses-cta { padding: 40px 24px; } .courses-cta-body { flex-direction: column; text-align: center; }
  .page-banner-courses .page-banner-title { font-size: 2.25rem; }
}

/* ===== Teachers Page ===== */
.page-banner-teachers { background: linear-gradient(135deg, #0F172A, #1E3A5F, #7C3AED); min-height: 400px; }
.page-banner-teachers .page-banner-desc { max-width: 680px; }
@media (max-width: 640px) {
  .page-banner-teachers .page-banner-desc { max-width: 92%; word-break: break-word; }
}
.page-banner-news { background: linear-gradient(135deg, #0B1E33, #1E3A5F, #059669); }
.page-banner-news .page-banner-desc { max-width: 640px; }
@media (max-width: 640px) {
  .page-banner-news .page-banner-desc { max-width: 92%; word-break: break-word; }
}
.banner-title-news-highlight { display: inline-block; background: linear-gradient(135deg, #6EE7B7, #34D399, #059669); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.banner-title-teachers-highlight { display: inline-block; background: linear-gradient(135deg, #C4B5FD, #A78BFA, #7C3AED); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: inherit; }
.teachers-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .teachers-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .teachers-grid { grid-template-columns: repeat(3,1fr); } }

.teachers-card { background: white; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); transition: all 0.3s ease; position: relative; }
.teachers-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1; }
.teachers-card-rose::before { background: #E11D48; }
.teachers-card-blue::before { background: #2563EB; }
.teachers-card-teal::before { background: #0D9488; }
.teachers-card-amber::before { background: #D97706; }
.teachers-card-violet::before { background: #7C3AED; }
.teachers-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-4px); }

.teachers-card-avatar-wrap { padding: 36px 24px 20px; text-align: center; position: relative; overflow: hidden; }
.teachers-card-avatar-wrap::before { content: ''; position: absolute; inset: 0; bottom: 50%; opacity: 0.06; pointer-events: none; }
.teachers-card-avatar-wrap::after { content: ''; position: absolute; top: 50%; left: 50%; width: 140px; height: 140px; border-radius: 50%; transform: translate(-50%,-60%); opacity: 0.18; filter: blur(28px); pointer-events: none; }
.teachers-card-avatar-wrap-rose::after { background: radial-gradient(circle,#E11D48,transparent); }
.teachers-card-avatar-wrap-blue::after { background: radial-gradient(circle,#2563EB,transparent); }
.teachers-card-avatar-wrap-teal::after { background: radial-gradient(circle,#0D9488,transparent); }
.teachers-card-avatar-wrap-amber::after { background: radial-gradient(circle,#D97706,transparent); }
.teachers-card-avatar-wrap-violet::after { background: radial-gradient(circle,#7C3AED,transparent); }

.teachers-card-avatar { width: 100px; height: 100px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: white; font-family: var(--font-display); margin-bottom: 12px; position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(0,0,0,0.10); transition: all 0.3s ease; }
.teachers-card:hover .teachers-card-avatar { transform: scale(1.06); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.teachers-card-avatar-rose { background: linear-gradient(135deg, #E11D48, #F43F5E); }
.teachers-card-avatar-blue { background: linear-gradient(135deg, #2563EB, #3B82F6); }
.teachers-card-avatar-teal { background: linear-gradient(135deg, #0D9488, #14B8A6); }
.teachers-card-avatar-amber { background: linear-gradient(135deg, #D97706, #F59E0B); }
.teachers-card-avatar-violet { background: linear-gradient(135deg, #7C3AED, #8B5CF6); }

.teachers-card-body { padding: 0 24px 28px; text-align: center; }
.teachers-card-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.teachers-card-title { display: inline-block; padding: 4px 14px; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px; }
.teachers-card-title-rose { background: #FFE4E6; color: #E11D48; }
.teachers-card-title-blue { background: #DBEAFE; color: #2563EB; }
.teachers-card-title-teal { background: #CCFBF1; color: #0D9488; }
.teachers-card-title-amber { background: #FEF3C7; color: #D97706; }
.teachers-card-title-violet { background: #EDE9FE; color: #7C3AED; }
.teachers-card-cred { font-size: 0.8125rem; color: var(--text-tertiary); margin-bottom: 8px; line-height: 1.5; font-weight: 500; }
.teachers-card-detail { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
