:root {
  --brand: #28a7e1;
  --brand-hover: #1e8bc3;
  --brand-soft: rgba(40,167,225,0.1);
  --brand-glow: rgba(40,167,225,0.4);
  --brand-dark: #1a7bb0;
  --surface: #f5f5f7;
  --surface-raised: #ffffff;
  --border: #d2d2d7;
  --text: #1d1d1f;
  --text-muted: #86868b;
  --text-light: #a1a1a6;
  --danger: #ff3b30;
  --success: #34c759;
  --warning: #ff9500;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== 导航栏 - Apple风格玻璃拟态 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.navbar.scrolled { background: rgba(255,255,255,0.92); }

.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 52px; }

.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.1rem; color: var(--text); transition: var(--transition); }
.logo:hover { opacity: 0.8; }

/* Logo 图片防拉伸：固定高度、宽度自适应、等比缩放不裁切 */
.logo img { height: 40px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.footer-logo img { height: 40px; width: auto; object-fit: contain; display: block; }
.auth-box .logo img { height: 48px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 6px 14px; font-size: 0.78rem; font-weight: 400;
  color: var(--text); border-radius: 100px; transition: var(--transition);
  letter-spacing: -0.01em; white-space: nowrap;
}
.nav-links a:hover { background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--brand); font-weight: 500; }

/* 下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 2px; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06); padding: 8px;
  min-width: 160px; opacity: 0; visibility: hidden;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  list-style: none; z-index: 10000;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block; padding: 8px 14px; border-radius: 8px; font-size: 0.8rem;
  color: var(--text); transition: var(--transition); white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--brand-soft); color: var(--brand); }

.nav-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; flex-wrap: nowrap; }

/* ===== 导航用户状态组件（头像+名字胶囊 + 下拉菜单） ===== */
.nav-user-chip-wrap { position: relative; }
.nav-user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px 4px 4px; border-radius: 100px; border: none;
  background: rgba(0,0,0,0.04); cursor: pointer; transition: var(--transition);
}
.nav-user-chip:hover { background: rgba(0,0,0,0.08); }
.nav-user-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.nav-user-name { font-size: 0.85rem; color: var(--text); white-space: nowrap; }
.nav-user-caret { font-size: 0.65rem; color: var(--text-muted); transition: transform 0.2s ease; }
.nav-user-chip-wrap.open .nav-user-caret { transform: rotate(180deg); }
.nav-user-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14); padding: 6px;
  display: none; z-index: 10001;
}
.nav-user-chip-wrap.open .nav-user-menu { display: block; }
.nav-user-menu-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 12px; font-size: 0.85rem; color: var(--text);
  background: none; border: none; border-radius: 8px;
  cursor: pointer; text-align: left; text-decoration: none; white-space: nowrap;
  transition: var(--transition);
}
.nav-user-menu-item:hover { background: var(--brand-soft); color: var(--brand); }
.nav-user-menu-item.danger { color: var(--danger); }
.nav-user-menu-item.danger:hover { background: rgba(220,38,38,0.08); color: var(--danger); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; font-size: 0.88rem; font-weight: 500; border-radius: 100px;
  border: none; cursor: pointer; transition: var(--transition-bounce); white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 20px rgba(40,167,225,0.35);
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 30px rgba(40,167,225,0.45); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.btn-light { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.btn-light:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }

/* ===== 协议页面 ===== */
.legal-page { min-height: 100vh; background: var(--surface); padding: 84px 20px 48px; }
.legal-shell { width: min(860px, 100%); margin: 0 auto; }
.legal-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.legal-topbar .logo img { height: 44px; }
.legal-back { color: var(--brand); font-size: 0.9rem; }
.legal-document { background: var(--surface-raised); border: 1px solid rgba(0,0,0,.06); border-radius: var(--radius); padding: 40px 48px; box-shadow: var(--shadow); }
.legal-document h1 { font-size: 1.7rem; margin-bottom: 8px; }
.legal-document h2 { font-size: 1.08rem; margin: 28px 0 10px; }
.legal-document p, .legal-document li { color: #4d4d50; font-size: 0.94rem; line-height: 1.85; }
.legal-document p + p { margin-top: 10px; }
.legal-document ul { margin: 8px 0 0; padding-left: 22px; }
.legal-meta { margin-bottom: 24px; color: var(--text-muted) !important; font-size: 0.82rem !important; }
.legal-notice { margin: 20px 0; padding: 14px 16px; border-left: 3px solid var(--warning); border-radius: 6px; background: #fff9ed; color: #755000 !important; font-size: 0.86rem !important; }
.legal-footer { margin-top: 18px; text-align: center; color: var(--text-muted); font-size: 0.78rem; }
@media (max-width: 640px) { .legal-page { padding: 72px 14px 32px; } .legal-document { padding: 28px 22px; border-radius: 12px; } .legal-document h1 { font-size: 1.45rem; } }

.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.2rem; color: var(--text); cursor: pointer; padding: 8px; border-radius: 8px; }
.mobile-menu-btn:hover { background: rgba(0,0,0,0.04); }

/* ===== 首页 Hero - 真实摄影背景 + 蒙版 ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/images/hero-photo.png') 70% center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.92) 35%, rgba(10,22,40,0.55) 50%, rgba(10,22,40,0.10) 58%, rgba(10,22,40,0.02) 65%, transparent 100%);
  z-index: 1;
}

/* 动态粒子背景 */
.hero-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  z-index: 2;
}
.hero-particles::before,
.hero-particles::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15; animation: floatParticle 20s ease-in-out infinite;
}
.hero-particles::before {
  width: 600px; height: 600px; background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  top: -10%; right: -10%; animation-delay: 0s;
}
.hero-particles::after {
  width: 500px; height: 500px; background: radial-gradient(circle, #00b4d8 0%, transparent 70%);
  bottom: -10%; left: -5%; animation-delay: -10s;
}
@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* 网格线装饰 */
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(40,167,225,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,167,225,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 700; line-height: 1.05;
  color: #fff; margin-bottom: 24px; letter-spacing: -0.03em;
}

.hero-text h1 .gradient-text {
  background: linear-gradient(135deg, #48cae4, #90e0ef, #caf0f8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-text .subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255,255,255,0.65);
  margin-bottom: 40px; line-height: 1.5; font-weight: 400;
  max-width: 640px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 56px;
}
.stat-item { text-align: left; }
.stat-item .number {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: #fff;
  letter-spacing: -0.03em; line-height: 1;
}
.stat-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 6px; font-weight: 400; }

/* ===== 图片效果系统 ===== */
.img-container { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-container img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-bounce); }
.img-container:hover img { transform: scale(1.08); }

.img-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}
.img-overlay-light {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(40,167,225,0.1) 0%, transparent 50%);
}

.img-glow { box-shadow: 0 0 60px rgba(40,167,225,0.15), 0 20px 40px rgba(0,0,0,0.1); }

.img-zoom-hover { overflow: hidden; }
.img-zoom-hover img { transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.img-zoom-hover:hover img { transform: scale(1.12); }

.img-clip-reveal {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s ease;
}
.img-clip-reveal:hover {
  clip-path: inset(2% 2% 2% 2%);
}

/* 图片加载骨架 */
.img-skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, #e2e8f0 50%, var(--surface) 75%);
  background-size: 200% 100%; animation: skeleton 1.5s infinite;
}

/* 图片遮罩文字 */
.img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff; z-index: 2;
}
.img-caption h4 { font-size: 1.1rem; font-weight: 600; }
.img-caption p { font-size: 0.85rem; opacity: 0.8; }

/* 圆形图片 */
.img-circle { border-radius: 50%; overflow: hidden; }
.img-circle img { width: 100%; height: 100%; object-fit: cover; }

/* 图片边框发光 */
.img-border-glow {
  border: 2px solid transparent;
  transition: var(--transition);
}
.img-border-glow:hover {
  border-color: var(--brand);
  box-shadow: 0 0 30px var(--brand-glow);
}

/* ===== 滚动指示器 ===== */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.75rem; animation: bounceDown 2s ease-in-out infinite;
  z-index: 3;
}
.scroll-indicator i { font-size: 1.2rem; }
.home-banner-controls {
  position: absolute; right: 32px; bottom: 32px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(10,22,40,0.28); backdrop-filter: blur(10px);
}
.home-banner-controls[hidden] { display: none; }
.home-banner-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.48); cursor: pointer; transition: var(--transition);
}
.home-banner-dot:hover { background: rgba(255,255,255,0.82); }
.home-banner-dot.active { width: 24px; border-radius: 999px; background: #fff; }
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 通用板块 ===== */
.section { padding: 120px 0; }
.section-dark { background: var(--text); color: #fff; }
.section-light { background: var(--surface); }
.section-white { background: var(--surface-raised); }

.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; margin-bottom: 16px;
  letter-spacing: -0.03em; line-height: 1.1;
}
.section-header p { color: var(--text-muted); font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 400; max-width: 600px; margin: 0 auto; line-height: 1.5; }

.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* 小标题标签 */
.section-tag {
  display: inline-block; padding: 6px 16px; background: var(--brand-soft);
  color: var(--brand); border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px; letter-spacing: 0.02em;
}
.section-dark .section-tag { background: rgba(40,167,225,0.15); }

/* ===== 课程卡片 - Apple风格 ===== */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.content-empty { grid-column: 1 / -1; padding: 56px 24px; color: var(--text-muted); text-align: center; background: var(--surface-raised); border: 1px dashed var(--border); border-radius: var(--radius); }

.course-card {
  background: var(--surface-raised); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition-bounce); border: 1px solid var(--border);
  position: relative;
}

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

.course-card .image {
  height: 220px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.course-card .image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  transition: var(--transition); z-index: 1;
}

.course-card .image.has-img::before { background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%); }

.course-card-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: inline-flex; align-items: center; gap: 2px;
  min-height: 16px; padding: 2px 5px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  background: #ff7a45; color: #fff;
  font-size: .55rem; font-weight: 700; line-height: 1;
  box-shadow: 0 2px 6px rgba(255,77,79,.16);
  pointer-events: none;
}
.course-card .image .course-card-badge i {
  position: static; z-index: auto; font-size: .48rem; line-height: 1; opacity: 1;
}

.course-card .image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.course-card:hover .image img { transform: scale(1.12); }

.course-card .image i { position: relative; z-index: 2; color: #fff; font-size: 3rem; opacity: 0.9; transition: var(--transition); }

.course-card:hover .image i { transform: scale(1.1); }

.course-card .content { padding: 28px; display: flex; flex-direction: column; }

.course-card .tag {
  display: inline-block; padding: 4px 12px; background: var(--brand-soft);
  color: var(--brand); border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 14px; letter-spacing: 0.02em;
}

.course-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.course-card-intro { min-height: 154px; }
.course-card-intro-label { display: block; margin-bottom: 6px; color: var(--brand); font-size: 0.76rem; font-weight: 600; }
.course-card .desc { min-height: 44px; color: var(--text-muted); font-size: 0.92rem; margin-bottom: 12px; line-height: 1.5; }

.course-card .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--border); }

.course-card .price { font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.course-card .price .original { font-size: 0.9rem; color: var(--text-light); text-decoration: line-through; margin-left: 8px; font-weight: 400; }

.course-card-points { display: flex; flex-wrap: wrap; gap: 6px; }
.course-card .course-point { font-size: 0.78rem; padding: 4px 10px; background: var(--surface); border-radius: 100px; color: var(--text-muted); line-height: 1.4; }
.course-card-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; min-height: 24px; margin-bottom: 2px; color: var(--text-muted); font-size: 0.82rem; }
.course-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.course-card-meta i { color: var(--brand); }
.course-card .meta { margin-top: auto; gap: 12px; }
.course-card-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Legacy class kept for cards rendered by older cached markup. */
.course-card .features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.course-card .feature { font-size: 0.78rem; padding: 4px 10px; background: var(--surface); border-radius: 100px; color: var(--text-muted); }

/* ===== 师资卡片 ===== */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  padding-bottom: 40px;
}

.teacher-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 30px 26px 24px;
  overflow: hidden;
  border: 1px solid #e4e8ee;
  border-radius: var(--radius);
  background: var(--surface-raised);
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.teacher-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #8dd8ef);
  opacity: 0;
  transition: opacity .25s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
  border-color: #cfe3ee;
  box-shadow: 0 14px 30px rgba(17, 64, 91, .11);
}
.teacher-card:hover::before { opacity: 1; }

.teacher-card-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 122, 69, .2);
  border-radius: 999px;
  background: #fff3e8;
  color: #e96832;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(255, 122, 69, .12);
}

.teacher-card .avatar {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff; font-weight: 700;
  border: 3px solid var(--surface); box-shadow: var(--shadow); transition: var(--transition);
  overflow: hidden; position: relative;
}
.teacher-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.teacher-card:hover .avatar img { transform: scale(1.1); }
.teacher-card .avatar .avatar-initial {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.teacher-card .avatar.has-img .avatar-initial { display: none; }

.teacher-card:hover .avatar { border-color: var(--brand); transform: scale(1.04); box-shadow: 0 0 24px var(--brand-glow); }

.teacher-card-identity { text-align: center; }
.teacher-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 3px; letter-spacing: -0.02em; }
.teacher-card .en-name { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; }
.teacher-card h3, .teacher-card .title, .teacher-card .experience { color: var(--text); }
.teacher-card .teacher-card-role { min-height: 24px; margin: 0; color: var(--brand-dark); font-size: .86rem; font-weight: 600; line-height: 1.5; }
.teacher-card-body { display: flex; flex: 1; flex-direction: column; margin-top: 22px; }
.teacher-card .bio { margin: 0 0 18px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.teacher-card .subjects { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; margin-top: auto; }
.teacher-card .subject { padding: 5px 12px; border: 1px solid #d6e9f8; border-radius: 12px; background: #f0f7ff; color: #1890ff; font-size: 0.75rem; font-weight: 600; line-height: 1.35; }
.teacher-video-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 14px; border: 1px solid var(--brand); border-radius: 6px; background: #fff; color: var(--brand); font: inherit; font-size: .82rem; cursor: pointer; transition: var(--transition); }
.teacher-video-btn:hover { background: var(--brand); color: #fff; }
.teacher-card-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.teacher-card-actions .teacher-video-btn { margin-top: 0; }
.teacher-more-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; color: var(--brand); font-size: .84rem; font-weight: 700; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.teacher-more-btn svg { width: 17px; height: 17px; transition: transform .2s ease; }
.teacher-more-btn:hover { color: var(--brand-hover); }
.teacher-more-btn:hover svg { transform: translateX(3px); }
.teacher-video-modal { display: none; position: fixed; inset: 0; z-index: 1200; padding: 24px; align-items: center; justify-content: center; background: rgba(15, 23, 42, .78); }
.teacher-video-modal.show { display: flex; }
.teacher-video-box { width: min(880px, 100%); overflow: hidden; border-radius: var(--radius-sm); background: #0f172a; box-shadow: var(--shadow-xl); }
.teacher-video-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; color: #fff; }
.teacher-video-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teacher-video-close { border: 0; background: transparent; color: #cbd5e1; font-size: 1.25rem; cursor: pointer; }
.teacher-video-close:hover { color: #fff; }
.teacher-video-box video { display: block; width: 100%; max-height: 72vh; background: #000; }

/* ===== 老师详情页 ===== */
.teacher-detail-page { padding: 64px 0 80px; background: #f5f8fc; min-height: 70vh; }
.teacher-detail-slogan { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 176px; margin-bottom: 30px; padding: 34px 42px; overflow: hidden; border: 1px solid #d7eaf3; border-radius: var(--radius); background: #eaf7fc; box-shadow: 0 14px 30px rgba(20,143,193,.08); }
.teacher-detail-slogan::after { content: ''; position: absolute; right: -30px; bottom: -66px; width: 260px; height: 150px; border-top: 2px solid rgba(40,167,225,.22); border-bottom: 2px solid rgba(40,167,225,.16); transform: rotate(-16deg); }
.teacher-detail-slogan-copy { position: relative; z-index: 1; }
.teacher-detail-slogan-kicker, .teacher-profile-kicker { display: inline-block; color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.teacher-detail-slogan h1 { margin: 10px 0 8px; color: #123554; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; }
.teacher-detail-slogan p { margin: 0; color: #5c7890; font-size: 1rem; }
.teacher-detail-slogan-mark { position: relative; z-index: 1; display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 12px; color: #147da8; }
.teacher-detail-slogan-mark strong { grid-row: span 2; font-size: 4.3rem; line-height: .8; font-weight: 800; letter-spacing: 0; }
.teacher-detail-slogan-mark span { align-self: end; font-size: .86rem; font-weight: 700; letter-spacing: .08em; }
.teacher-detail-slogan-mark i { display: block; width: 42px; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--brand); }
.teacher-detail-breadcrumb { margin-bottom: 20px; color: var(--text-muted); font-size: .88rem; }
.teacher-detail-breadcrumb a { color: var(--brand); text-decoration: none; }
.teacher-profile-hero { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: center; padding: 42px; overflow: hidden; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.teacher-profile-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--brand), #8dd8ef 58%, transparent); }
.teacher-profile-hero::after { content: ''; position: absolute; right: -42px; top: -58px; width: 180px; height: 180px; border: 1px solid rgba(40,167,225,.2); transform: rotate(45deg); }
.teacher-profile-photo { width: 220px; height: 220px; overflow: hidden; border-radius: 50%; margin: 0 auto; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); border: 6px solid #fff; box-shadow: 0 10px 30px rgba(40,167,225,.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 4rem; font-weight: 700; }
.teacher-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-profile-main { position: relative; z-index: 1; }
.teacher-profile-kicker { margin-bottom: 9px; }
.teacher-profile-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.teacher-profile-main h1 { margin: 0; font-size: 2rem; }
.teacher-profile-badge { display: inline-flex; align-items: center; min-height: 26px; margin: 0; padding: 4px 11px; border: 1px solid rgba(255, 122, 69, .2); border-radius: 999px; background: #fff3e8; color: #e96832; font-size: .75rem; font-weight: 700; line-height: 1; box-shadow: 0 4px 10px rgba(255, 122, 69, .12); }
.teacher-profile-main .en-name { margin: 0 0 10px; color: var(--text-light); }
.teacher-profile-title { margin: 0 0 18px; color: var(--brand); font-size: 1.05rem; font-weight: 600; }
.teacher-profile-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.teacher-profile-stat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #d6e9f8; border-radius: 12px; background: #f0f7ff; color: #1890ff; font-size: .82rem; font-weight: 600; line-height: 1.35; }
.teacher-profile-subjects { display: flex; flex-wrap: wrap; gap: 7px; }
.teacher-profile-subjects span { padding: 5px 12px; border: 1px solid #d6e9f8; border-radius: 12px; background: #f0f7ff; color: #1890ff; font-size: .75rem; font-weight: 600; line-height: 1.35; }
.teacher-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.teacher-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 24px; align-items: start; }
.teacher-detail-section { position: relative; padding: 30px 34px 30px 38px; margin-bottom: 24px; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.teacher-detail-section::before { content: ''; position: absolute; top: 30px; left: 0; width: 3px; height: 30px; border-radius: 3px; background: var(--brand); }
.teacher-detail-section h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 1.25rem; line-height: 1.3; }
.teacher-section-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: .85rem; }
.teacher-detail-section p { margin: 0 0 12px; color: var(--text-muted); line-height: 1.9; white-space: pre-wrap; }
.teacher-detail-video-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sm); background: #0f172a; box-shadow: 0 12px 30px rgba(15,23,42,.12); isolation: isolate; }
.teacher-detail-video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0f172a; }
.teacher-detail-video-cover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #102f4f, #148fc1); }
.teacher-detail-video-cover > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.teacher-detail-video-cover::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(8,28,48,.32); }
.teacher-detail-video-fallback { position: absolute; top: 38%; left: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-align: center; white-space: nowrap; transform: translate(-50%, -50%); }
.teacher-detail-video-fallback i { font-size: 3rem; }
.teacher-detail-video-fallback strong { font-size: 1.3rem; }
.teacher-detail-video-fallback span { font-size: .9rem; opacity: .85; }
.teacher-detail-video-play { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border: 0; border-radius: 100px; background: #f2bd3f; color: #102f4f; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.teacher-detail-video-play:hover { background: #e3a51e; transform: translateY(-1px); }
.teacher-detail-video-stage.is-playing .teacher-detail-video-cover { display: none; }
.teacher-detail-video-login-note { margin: 10px 0 0 !important; color: var(--text-light) !important; font-size: .85rem; }
.teacher-detail-aside { position: sticky; top: 92px; padding: 28px 24px 26px; overflow: hidden; text-align: center; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 12px 28px rgba(20, 53, 84, .07); }
.teacher-detail-aside::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--brand), #8dd8ef); }
.teacher-detail-consult-avatar { position: relative; width: 92px; height: 92px; margin: 0 auto 14px; overflow: hidden; border: 4px solid #fff; border-radius: 50%; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); box-shadow: 0 8px 22px rgba(40, 167, 225, .18); }
.teacher-detail-consult-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.teacher-detail-aside-kicker { display: inline-flex; align-items: center; margin-bottom: 8px; padding: 5px 10px; border: 1px solid #d6e9f8; border-radius: 12px; background: #f0f7ff; color: #1890ff; font-size: .76rem; font-weight: 700; pointer-events: none; }
.teacher-detail-aside h3 { margin: 0 0 10px; font-size: 1.35rem; }
.teacher-detail-aside p { margin: 0 0 18px; color: var(--text-muted); font-size: .9rem; line-height: 1.8; }
.teacher-detail-aside .btn { width: 100%; }
.teacher-detail-aside .teacher-trial-book { box-shadow: 0 10px 22px rgba(40, 167, 225, .2); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.teacher-detail-aside .teacher-trial-book:hover { background: linear-gradient(135deg, var(--brand), #168bc0); box-shadow: 0 14px 28px rgba(40, 167, 225, .3); transform: translateY(-2px); }
.teacher-detail-loading, .teacher-detail-error { padding: 80px 24px; text-align: center; color: var(--text-muted); }
@media (max-width: 760px) {
  .teacher-detail-page { padding-top: 36px; }
  .teacher-detail-slogan { align-items: flex-start; min-height: 0; margin-bottom: 24px; padding: 26px 24px; }
  .teacher-detail-slogan h1 { font-size: 2rem; }
  .teacher-detail-slogan p { max-width: 260px; line-height: 1.7; }
  .teacher-detail-slogan-mark { display: none; }
  .teacher-profile-hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; text-align: center; }
  .teacher-profile-stats, .teacher-profile-subjects, .teacher-detail-actions { justify-content: center; }
  .teacher-detail-layout { grid-template-columns: 1fr; }
  .teacher-detail-aside { position: static; }
  .teacher-profile-kicker { margin-bottom: 6px; }
  .teacher-detail-section { padding: 24px 24px 24px 28px; }
  .teacher-detail-section::before { top: 24px; }
}

/* ===== 案例卡片 ===== */
.case-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }

.case-card {
  background: var(--surface-raised); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: var(--transition-bounce); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}

.case-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--success), var(--brand)); transform: scaleX(0); transition: var(--transition);
}

.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.case-card:hover::after { transform: scaleX(1); }

.case-card .header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.case-card .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-hover)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; overflow: hidden; }
.case-card .avatar img { width: 100%; height: 100%; object-fit: cover; }

.case-card .case-img {
  width: 100%; height: 160px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 18px; position: relative;
}
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-img img { transform: scale(1.08); }
.case-card .info h4 { font-weight: 600; margin-bottom: 2px; font-size: 1.05rem; }
.case-card .info .course { font-size: 0.82rem; color: var(--text-muted); }

.case-card .scores { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 14px; background: var(--surface); border-radius: var(--radius-sm); }
.case-card .score-item { text-align: center; flex: 1; }
.case-card .score-item .from { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
.case-card .score-item .to { font-size: 1.5rem; font-weight: 700; color: var(--success); }
.case-card .score-item .arrow { font-size: 1.1rem; color: var(--brand); }
.case-card .score-item .label { font-size: 0.72rem; color: var(--text-light); }
.case-card .score-breakdown {
  display: grid; gap: 5px; margin: -8px 0 18px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: .75rem;
}
.case-card .score-breakdown-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; align-items: center; }
.case-card .score-breakdown-row span:not(:first-child) { text-align: center; }
.case-card .score-breakdown-head { color: var(--text-light); font-size: .68rem; }
.case-card .score-breakdown-row strong { color: var(--text); font-weight: 600; }

.case-card .testimonial { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; font-style: italic; }

/* ===== 好评卡片 ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.testimonial-card {
  background: var(--surface-raised); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border); position: relative;
  transition: var(--transition-bounce);
}

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

.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-size: 5rem; color: var(--brand-soft); font-family: Georgia, serif; line-height: 1; opacity: 0.6;
}

.testimonial-card .testimonial-img {
  width: 100%; height: 180px; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; position: relative;
}
.testimonial-card .testimonial-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.testimonial-card:hover .testimonial-img img { transform: scale(1.08); }
.testimonial-card .stars { color: var(--warning); margin-bottom: 14px; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card .content { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.testimonial-card .author { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }

/* ===== APP下载 ===== */
.download-section { background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%); position: relative; overflow: hidden; }
.download-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(40,167,225,0.08) 0%, transparent 70%);
}

.download-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }

.download-phone {
  position: relative; width: 280px; margin: 0 auto;
  background: var(--surface-raised); border-radius: 44px; padding: 14px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--border);
}
.download-phone::before {
  content: ''; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 28px; background: var(--surface-raised); border-radius: 0 0 20px 20px; z-index: 2;
  border: 1px solid var(--border); border-top: none;
}

.download-phone .screen { background: url('../assets/images/phone-bg.svg') center/cover no-repeat, linear-gradient(180deg, #0a1628, #1a3a5c); border-radius: 32px; padding: 40px 20px 30px; min-height: 520px; overflow: hidden; position: relative; }

.download-phone .screen::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 200px;
  background: radial-gradient(ellipse at top, rgba(40,167,225,0.2) 0%, transparent 70%);
}

.download-phone .screen h3 { font-size: 1.1rem; margin-bottom: 24px; color: #fff; text-align: center; position: relative; }

.mock-card {
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px);
  border-radius: 14px; padding: 14px; margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.08); position: relative;
  transition: var(--transition);
}
.mock-card:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }

.download-buttons { display: flex; flex-direction: column; gap: 14px; }
.download-btn {
  display: flex; align-items: center; gap: 18px; padding: 20px 28px;
  background: var(--surface-raised); border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: var(--transition-bounce); cursor: pointer; text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
}
.download-btn::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); transform: scaleY(0); transition: var(--transition);
}
.download-btn:hover { border-color: var(--brand); transform: translateX(6px); box-shadow: var(--shadow-lg); }
.download-btn:hover::before { transform: scaleY(1); }

.download-btn .icon { font-size: 1.8rem; color: var(--brand); transition: var(--transition); }
.download-btn:hover .icon { transform: scale(1.1); }
.download-btn .info h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 3px; }
.download-btn .info p { font-size: 0.82rem; color: var(--text-muted); }

.qr-section { display: flex; gap: 32px; margin-top: 36px; }
.qr-item { text-align: center; }
.qr-item .qr {
  width: 140px; height: 140px; background: var(--surface-raised); border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 0.8rem; margin-bottom: 10px; box-shadow: var(--shadow);
}

/* ===== 快捷入口 ===== */
.quick-entry { background: var(--surface-raised); padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.entry-card {
  text-align: center; padding: 36px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: var(--transition-bounce);
  cursor: pointer; text-decoration: none; color: inherit;
}
.entry-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-lg); }
.entry-card .icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  color: var(--brand); margin: 0 auto 16px; transition: var(--transition);
}
.entry-card:hover .icon { background: var(--brand); color: #fff; transform: scale(1.1); box-shadow: 0 8px 24px var(--brand-glow); }
.entry-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.entry-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== 页脚 ===== */
.footer { background: var(--surface); color: var(--text-muted); padding: 60px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { color: var(--text); margin-bottom: 16px; gap: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; color: var(--text-muted); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; align-items: center; }
.footer-social .social-item {
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 1.1rem; transition: var(--transition-bounce);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 1.5px solid var(--border);
}
.footer-social .social-item:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.15); border-color: var(--brand); color: var(--brand); }
.footer-social .social-item .xhs-logo { width: 22px; height: 22px; max-width: 22px; max-height: 22px; object-fit: contain; display: block; border-radius: 5px; }
.footer h4 { color: var(--text); font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.01em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: var(--text-muted); font-size: 0.82rem; transition: var(--transition); }
.footer a:hover { color: var(--brand); }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; margin-bottom: 10px; color: var(--text-muted); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: 0.78rem; color: var(--text-light); }

/* ===== 登录/注册 ===== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #000814 0%, #001d3d 50%, #003566 100%); padding: 40px 24px; position: relative; overflow: hidden;
}
.auth-page::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(40,167,225,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(0,180,216,0.1) 0%, transparent 50%);
}

.auth-box {
  width: 100%; max-width: 420px; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(40px) saturate(180%); border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); padding: 44px; border: 1px solid rgba(255,255,255,0.2);
  position: relative; z-index: 1; padding-bottom: 52px;
}

.auth-box .logo { justify-content: center; margin-bottom: 28px; }
.auth-box h2 { text-align: center; margin-bottom: 6px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.auth-box .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 0.92rem; }
.wechat-login-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(19, 46, 77, .48); }
.wechat-login-modal[hidden] { display: none; }
.wechat-login-dialog { position: relative; width: min(100%, 390px); padding: 30px 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-raised); box-shadow: 0 20px 60px rgba(19, 46, 77, .22); text-align: center; }
.wechat-login-dialog h3 { margin: 0 0 8px; color: var(--text); font-size: 1.25rem; }
.wechat-login-dialog p { margin: 0; color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.wechat-login-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; font-size: 1.35rem; }
.wechat-login-qr { display: block; width: 240px; height: 240px; margin: 20px auto 12px; border: 8px solid #fff; border-radius: 8px; box-shadow: 0 5px 20px rgba(19, 46, 77, .12); }
.wechat-login-qr[hidden] { display: none; }
.wechat-login-placeholder { display: flex; min-height: 180px; margin: 20px auto 12px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 1px dashed var(--border); border-radius: 12px; background: var(--surface); color: var(--text-muted); }
.wechat-login-placeholder[hidden] { display: none; }
.wechat-login-placeholder strong { color: var(--text); font-size: .95rem; }
.wechat-login-placeholder span { font-size: .88rem; }
.wechat-login-placeholder small { color: var(--text-muted); font-size: .78rem; }
.wechat-login-status { min-height: 24px; margin-bottom: 16px !important; color: var(--brand) !important; }
.wechat-login-bind { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); text-align: left; }
.wechat-login-bind[hidden] { display: none; }
.wechat-login-bind-title { display: block; margin-bottom: 10px; color: var(--text); font-size: .9rem; font-weight: 700; }
.wechat-login-bind input { width: 100%; margin-bottom: 10px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 0.95rem; transition: var(--transition); background: var(--surface-raised); font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.form-group .error { color: var(--danger); font-size: 0.8rem; margin-top: 6px; display: none; }
.form-group.has-error input { border-color: var(--danger); }
.form-group.has-error .error { display: block; }

.captcha-row { display: flex; align-items: stretch; gap: 10px; }
.captcha-row > input { min-width: 0; flex: 1; }
.captcha-image-button { width: 132px; height: 46px; padding: 0; overflow: hidden; flex: 0 0 132px; border: 1.5px solid var(--border); border-radius: 12px; background: #f3f9fc; cursor: pointer; transition: var(--transition); }
.captcha-image-button:hover { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.captcha-image-button:disabled { opacity: .6; cursor: wait; }
.captcha-image-button img { width: 100%; height: 100%; object-fit: cover; }
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 46px; }
.password-toggle { position: absolute; top: 50%; right: 8px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--text-light); cursor: pointer; transform: translateY(-50%); }
.password-toggle:hover { color: var(--brand); background: var(--brand-soft); }
.optional-register-field { margin: 0 0 18px; border: 1px solid rgba(40,167,225,.2); border-radius: 12px; background: rgba(40,167,225,.04); }
.optional-register-field summary { padding: 11px 14px; color: var(--brand-dark); cursor: pointer; font-size: .84rem; font-weight: 600; list-style: none; }
.optional-register-field summary::-webkit-details-marker { display: none; }
.optional-register-field summary i { width: 15px; margin-right: 5px; transition: transform .2s ease; }
.optional-register-field[open] summary i { transform: rotate(45deg); }
.optional-register-content { padding: 0 14px 14px; }
.optional-register-content label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: .78rem; }
.optional-register-content input {
  display: block; width: 100%; min-height: 46px; box-sizing: border-box; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface-raised);
  color: var(--text); font: inherit; font-size: .95rem; transition: var(--transition);
}
.optional-register-content input:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.agreement-group { margin: 0 0 22px; }
.agreement-label { display: flex !important; align-items: flex-start; gap: 8px; margin: 0 !important; color: var(--text-muted); cursor: pointer; font-size: .82rem !important; font-weight: 400 !important; line-height: 1.6; }
.agreement-label input { width: 16px !important; height: 16px; flex: 0 0 16px; margin: 2px 0 0 !important; accent-color: var(--brand); }
.agreement-group.has-error .agreement-label { color: var(--danger); }
.agreement-group.has-error .agreement-label input { outline: 2px solid rgba(255,59,48,.35); outline-offset: 2px; }

.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 0.82rem; }
.form-options a { color: var(--brand); font-weight: 500; }
.form-options a:hover { text-decoration: underline; }

.auth-footer { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--brand); font-weight: 600; }

.btn-full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== 个人中心 ===== */
.profile-page { padding: 100px 0 60px; }
.profile-header {
  background: linear-gradient(135deg, var(--brand), var(--brand-hover)); border-radius: var(--radius); padding: 40px;
  color: #fff; margin-bottom: 32px; display: flex; align-items: center; gap: 24px;
  box-shadow: 0 12px 40px rgba(40,167,225,0.3);
}
.profile-header .avatar { width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; border: 3px solid rgba(255,255,255,0.3); box-shadow: 0 0 30px rgba(255,255,255,0.2); }
.profile-header .info h2 { font-size: 1.4rem; margin-bottom: 4px; font-weight: 600; }
.profile-header .info p { opacity: 0.85; font-size: 0.9rem; }

.profile-grid { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.profile-sidebar { background: var(--surface-raised); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); height: fit-content; }
.profile-sidebar .menu { list-style: none; }
.profile-sidebar .menu li { margin-bottom: 4px; }
.profile-sidebar .menu a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; color: var(--text); transition: var(--transition); font-weight: 500; }
.profile-sidebar .menu a:hover, .profile-sidebar .menu a.active { background: var(--brand-soft); color: var(--brand); }

.profile-content { background: var(--surface-raised); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.profile-content h3 { font-size: 1.15rem; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-weight: 600; }

/* ===== 模考入口 ===== */
.mock-entry {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius: var(--radius); padding: 40px;
  color: #fff; text-align: center; margin-bottom: 40px; position: relative; overflow: hidden;
}
.mock-entry::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.15) 0%, transparent 60%);
}
.mock-entry h2 { font-size: 1.6rem; margin-bottom: 10px; position: relative; font-weight: 700; }
.mock-entry p { opacity: 0.85; margin-bottom: 24px; position: relative; font-size: 0.95rem; }
.mock-entry .btn { background: #fff; color: var(--brand); position: relative; }
.mock-entry .btn:hover { background: rgba(255,255,255,0.95); }

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0; transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 打字机动画 ===== */
.typewriter {
  overflow: hidden; border-right: 3px solid var(--brand); white-space: nowrap;
  animation: typing 2s steps(20, end), blink 0.75s step-end infinite;
}
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }

/* ===== 渐变文字 ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--brand), #00b4d8, #90e0ef);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== 光晕效果 ===== */
.glow {
  box-shadow: 0 0 40px var(--brand-glow), 0 0 80px rgba(40,167,225,0.1);
}

/* ===== 加载动画 ===== */
.loading { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 70px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 20px; border-radius: 12px; color: #fff; font-size: 0.9rem;
  box-shadow: var(--shadow-lg); transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); min-width: 280px;
  display: flex; align-items: center; gap: 10px; backdrop-filter: blur(20px);
}
.toast.show { transform: translateX(0); }
.toast.success { background: rgba(16,185,129,0.9); }
.toast.error { background: rgba(239,68,68,0.9); }
.toast.info { background: rgba(40,167,225,0.9); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; max-width: 100%; }
  .hero-text .subtitle { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .home-banner-controls { right: 20px; bottom: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-content { grid-template-columns: 1fr; gap: 50px; }
  .profile-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 52px; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); flex-direction: column; padding: 16px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); gap: 0; }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; border-radius: 10px; font-size: 0.9rem; }
  .mobile-menu-btn { display: block; }
  .hero-text h1 { font-size: 2.2rem; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 50px; }
  .section-header h2 { font-size: 1.8rem; }
  .course-grid { grid-template-columns: 1fr; }
  .teacher-grid { grid-template-columns: 1fr; padding-bottom: 24px; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr 1fr; }
  .auth-box { padding: 28px; border-radius: 20px; }
}

@media (max-width: 480px) {
  .entry-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; text-align: center; }
  .qr-section { flex-direction: column; align-items: center; }
  .auth-page { padding: 24px 14px; }
  .auth-box { padding: 32px 22px 44px; }
  .captcha-image-button { width: 116px; flex-basis: 116px; }
}

/* ===== 骨架屏 ===== */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, #e2e8f0 50%, var(--surface) 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: 8px; }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== 表格 ===== */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.data-table th { background: var(--surface); font-weight: 600; color: var(--text-muted); font-size: 0.78rem; }
.data-table tr:hover { background: var(--surface); }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button { padding: 8px 14px; border: 1px solid var(--border); background: var(--surface-raised); border-radius: 8px; cursor: pointer; font-size: 0.88rem; transition: var(--transition); }
.pagination button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pagination button.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== 标签 ===== */
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 500; }

/* ===== 模态框 ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; display: none; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
.modal-overlay.show { display: flex; }
.modal { background: var(--surface-raised); border-radius: 20px; padding: 28px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); }

/* ===== 首页课程咨询弹窗 ===== */
.site-consult-modal { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 20, 30, .62); backdrop-filter: blur(4px); }
.site-consult-modal.show { display: flex; }
.site-consult-box { position: relative; width: min(420px, 100%); max-height: min(720px, 92vh); overflow: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-xl); }
.site-consult-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 12px; }
.site-consult-head h3 { margin: 0; font-size: 1.2rem; }
.site-consult-close { border: 0; background: transparent; color: var(--text-muted); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.site-consult-close:hover { background: #f2f5f8; color: var(--text); }
.site-consult-content { padding: 4px 28px 28px; text-align: center; }
.site-consult-qr { display: block; width: min(100%, 220px); max-height: 58vh; aspect-ratio: 1080 / 1489; object-fit: contain; margin: 0 auto 16px; border-radius: 12px; background: #f5f7fa; }
.site-consult-content p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.site-consult-content .site-consult-title { margin-bottom: 4px; color: var(--text); font-weight: 600; }

/* ===== 霓虹边框 ===== */
.neon-border {
  position: relative;
}
.neon-border::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, var(--brand), transparent, var(--brand-hover));
  z-index: -1; opacity: 0; transition: var(--transition);
}
.neon-border:hover::before { opacity: 1; }

/* ===== AI 智能学习系统（1+4 布局） ===== */
.ai-systems { background: var(--surface-raised); }

.ai-system-grid {
  display: grid; grid-template-columns: 2fr 3fr; gap: 24px; align-items: stretch;
}

/* 王牌大卡 */
.ai-hero-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 36px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: var(--transition-bounce); position: relative; overflow: hidden;
}
.ai-hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-hover));
}
.ai-hero-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.ai-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }

.ai-badge {
  display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
}
.ai-badge-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-hover)); color: #fff;
  box-shadow: 0 4px 14px rgba(40,167,225,0.35);
}
.ai-badge-new {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,149,0,0.12); color: #d97b06;
}

.ai-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--success); font-weight: 500;
}
.ai-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  animation: aiStatusPulse 2s ease-in-out infinite;
}
@keyframes aiStatusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(52,199,89,0); }
}

.ai-hero-card h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.ai-hero-subtitle { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 20px; line-height: 1.5; }

.ai-points { list-style: none; margin-bottom: 24px; }
.ai-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text); margin-bottom: 10px; line-height: 1.5; }
.ai-points li i { color: var(--success); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }

.ai-screenshot {
  width: 100%; height: 200px; border-radius: var(--radius-sm); overflow: hidden;
  margin-top: auto; position: relative;
}
.ai-screenshot img { width: 100%; height: 100%; object-fit: cover; }
.ai-screenshot-placeholder {
  background: var(--surface-raised); border: 1.5px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-light); font-size: 0.82rem;
}
.ai-screenshot-placeholder i { font-size: 2rem; color: var(--brand); opacity: 0.5; }

.ai-card-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ai-hero-cta { margin-top: 0; align-self: flex-start; }
.ai-card-detail { padding: 10px 16px; font-size: .8rem; }
.ai-mini-cta { margin-top: 0; }
.ai-mini-try { display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .74rem; transition: var(--transition); }
.ai-mini-try:hover { background: var(--brand-hover); transform: translateY(-1px); }

/* 右侧 2×2 小卡 */
.ai-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.ai-mini-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: var(--transition-bounce);
}
.ai-mini-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-lg); }

.ai-mini-icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  color: var(--brand); margin-bottom: 16px; transition: var(--transition);
}
.ai-mini-card:hover .ai-mini-icon { background: var(--brand); color: #fff; transform: scale(1.08); box-shadow: 0 8px 24px var(--brand-glow); }

.ai-mini-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.ai-mini-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }

.ai-mini-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 500; color: var(--brand); transition: var(--transition);
}
.ai-mini-card:hover .ai-mini-cta { gap: 10px; color: var(--brand-hover); }

/* 快捷入口卡 - 了解更多链接 */
.entry-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 0.8rem; font-weight: 500; color: var(--brand);
  opacity: 0.75; transition: var(--transition);
}
.entry-card:hover .entry-more { opacity: 1; gap: 10px; color: var(--brand-hover); }

/* AI 学习系统 - 响应式 */
@media (max-width: 1024px) {
  .ai-system-grid { grid-template-columns: 1fr; }
  .ai-mini-grid { grid-template-columns: 1fr 1fr; }
  .ai-screenshot { margin-top: 0; }
}

@media (max-width: 640px) {
  .ai-mini-grid { grid-template-columns: 1fr; }
  .ai-hero-card { padding: 28px 24px; }
  .ai-hero-card h3 { font-size: 1.3rem; }
}
/* 注册页折叠邀请码使用完整输入宽度，避免手机号较长时输入框过窄。 */
.optional-register-content input { width: 100%; }
