/**
 * SASMO竞赛网 - 主样式文件
 * 统一的CSS变量、布局、组件样式
 */

/* ==================== CSS变量定义 ==================== */
:root {
  /* 主题色 */
  --primary: #1E3A8A;
  --primary-light: #3B82F6;
  --primary-dark: #1E40AF;
  
  /* 强调色 */
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --accent-dark: #D97706;
  
  /* 功能色 */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  
  /* 背景色 */
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  --bg-white: #FFFFFF;
  
  /* 文字色 */
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  
  /* 边框色 */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  
  /* 间距 */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  
  /* 容器宽度 */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;
  
  /* 导航高度 */
  --navbar-height: 70px;
  
  /* 过渡 */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==================== 基础重置 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-light);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==================== 布局容器 ==================== */
.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0;
}

.container-lg {
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 80px 5%;
}

.section-sm {
  padding: 40px 5%;
}

/* ==================== 导航栏 ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 0 5%;
}

.nav-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-menu a {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(59, 130, 246, 0.12);
}

.nav-menu a.active {
  color: var(--primary);
  background: rgba(59, 130, 246, 0.15);
  font-weight: 700;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ==================== 按钮样式 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

.btn-secondary:hover {
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--primary);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-detail {
  background: white;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-block;
  white-space: nowrap;
}

.btn-detail:hover {
  background: var(--primary);
  color: white;
}

/* ==================== 页头 ==================== */
.page-header {
  margin-top: var(--navbar-height);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  padding: 80px 5%;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
  background: white;
  padding: 15px 0%;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  font-size: 14px;
  color: var(--text-secondary);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 10px;
}

/* ==================== 区块标题 ==================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== 信息提示条 ==================== */
.info-bar {
  background: linear-gradient(90deg, #FEF3C7 0%, #FDE68A 100%);
  border-bottom: 1px solid var(--accent);
  padding: 10px 5%;
}

.info-bar-blue {
  background: linear-gradient(90deg, #DBEAFE 0%, #BFDBFE 100%);
  border-bottom-color: var(--primary-light);
}

.info-bar-orange {
  background: linear-gradient(90deg, #FED7AA 0%, #FDBA74 100%);
  border-bottom-color: #F97316;
}

.info-bar-green {
  background: linear-gradient(90deg, #D1FAE5 0%, #A7F3D0 100%);
  border-bottom-color: var(--success);
}

.info-bar-purple {
  background: linear-gradient(90deg, #E9D5FF 0%, #C4B5FD 100%);
  border-bottom-color: #8B5CF6;
}

.info-bar-teal {
  background: linear-gradient(90deg, #CCFBF1 0%, #99F6E4 100%);
  border-bottom-color: #14B8A6;
}

.info-bar-inner {
  max-width: var(--container-2xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.info-bar-icon {
  font-size: 22px;
}

.info-bar-text {
  font-size: 14px;
  color: #78350F;
  font-weight: 500;
}

.info-bar-text strong {
  color: #B45309;
}

.info-bar-btn {
  background: var(--accent);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.info-bar-btn:hover {
  background: var(--accent-dark);
  transform: translateX(2px);
  color: white;
}

/* ==================== Hero区域 ==================== */
.hero {
  margin-top: var(--navbar-height);
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, #1E40AF 100%);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

/* Hero卡片 */
.hero-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.exam-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item {
  background: var(--bg-light);
  padding: 15px;
  border-radius: var(--radius-lg);
}

.info-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.info-value.highlight {
  color: var(--accent);
}

.countdown {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 20px;
}

.countdown-label {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.countdown-numbers {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Arial', sans-serif;
}

/* ==================== 快捷入口 ==================== */
.quick-entry {
  background: white;
  padding: 60px 5%;
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.quick-container {
  max-width: var(--container-xl);
  margin: 0 auto;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-item {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px 25px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.quick-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.quick-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.quick-icon.blue {
  background: rgba(59, 130, 246, 0.1);
}

.quick-icon.green {
  background: rgba(16, 185, 129, 0.1);
}

.quick-icon.orange {
  background: rgba(245, 158, 11, 0.1);
}

.quick-icon.purple {
  background: rgba(139, 92, 246, 0.1);
}

.quick-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.quick-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 关于区块 ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.about-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-primary);
}

.feature-check {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-2xl);
  padding: 40px;
  color: white;
}

.about-card h4 {
  font-size: 20px;
  margin-bottom: 25px;
}

.grade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grade-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 14px;
}

.grade-item span {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 3px;
}

/* ==================== 课程卡片 ==================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--container-xl);
  margin: 0 auto;
}

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

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.category-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-header p {
  color: var(--text-secondary);
  margin-top: 8px;
}

.category-header.accent h2 {
  color: var(--accent);
}

.category-header.success h2 {
  color: var(--success);
}

.course-card {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.course-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: white;
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-hot {
  background: #EF4444;
  color: white;
}

.badge-new {
  background: var(--success);
  color: white;
}

.badge-vip {
  background: var(--accent);
  color: white;
}

.course-body {
  padding: 25px;
}

.course-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.course-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.course-desc {
  font-size: 14px;
  color: var(--text-secondary);
  /* margin-bottom: 20px; */
  line-height: 1.7;
}

.course-features {
  margin-bottom: 20px;
}

.course-features .feature-item {
  margin-bottom: 10px;
}

.course-features .feature-icon {
  width: 22px;
  height: 22px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 12px;
}

.course-meta {
  display: flex;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-footer {
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
  gap: 10px;
  flex-wrap: nowrap;
}

.course-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.course-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}

.course-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.course-buttons .btn {
  white-space: nowrap;
}

/* ==================== 真题卡片 ==================== */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.paper-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.paper-header {
  background: linear-gradient(135deg, var(--primary) 0%, #4338CA 100%);
  color: white;
  padding: 20px;
  text-align: center;
}

.paper-grade {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
}

.paper-year {
  font-size: 14px;
  opacity: 0.9;
}

.paper-body {
  padding: 20px;
}

.paper-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.paper-info-item {
  text-align: center;
}

.paper-info-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.paper-info-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==================== 新闻列表 ==================== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.news-featured {
  background: white;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.news-featured-img {
  height: 250px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: white;
}

.news-featured-body {
  padding: 25px;
}

.news-category {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.news-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-excerpt {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.news-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  background: white;
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.news-item:hover {
  transform: translateX(5px);
  border-color: var(--primary-light);
}

.news-thumb {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}

.news-content {
  flex: 1;
}

.news-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ==================== 时间轴 ==================== */
.timeline-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  position: relative;
  margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}

.timeline-content {
  background: white;
  padding: 25px 30px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 15px;
  height: 15px;
  background: var(--accent);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -47px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -47px;
}

.timeline-date {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==================== 统计区块 ==================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 5%;
  margin: 60px 0;
  border-radius: var(--radius-2xl);
}

.stats-grid {
  max-width: var(--container-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: white;
}

.stats-grid .stat-value {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
  color: white;
}

.stats-grid .stat-label {
  font-size: 16px;
  opacity: 0.9;
  color: white;
}

/* ==================== 教师团队 ==================== */
.teachers-section {
  margin: 60px 0;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.teacher-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
}

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

.teacher-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

.teacher-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.teacher-title {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 10px;
}

.teacher-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================== CTA区块 ==================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 5%;
  color: white;
}

.cta-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto 20px;
}

.cta-input {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 14px;
  min-width: 160px;
  outline: none;
}

.cta-select {
  background: white;
  color: var(--text-primary);
  cursor: pointer;
}

.cta-submit {
  background: var(--accent);
  color: white;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.cta-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.cta-tips {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== 详情页样式 ==================== */
.content {
  padding: 24px 0cap;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.detail-container {
  max-width: 900px;
  margin: 0 auto;
}

.detail-meta {
  background: white;
  padding: 25px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 30px 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-meta-item .label {
  color: var(--text-secondary);
  font-size: 14px;
}

.detail-meta-item .value {
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.detail-section {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 0;
  /* box-shadow: var(--shadow-md); */
  margin: 30px 0;
}

.detail-section h2 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.detail-section h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 20px 0 10px;
}

.detail-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.detail-section ul,
.detail-section ol {
  padding-left: 24px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 15px;
}

.detail-section li {
  margin-bottom: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.info-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-lg);
  /* text-align: center; */
}

.info-card .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.info-card .lbl {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 5px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--primary-light);
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.tag {
  background: var(--bg-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.qa-block {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 15px 0;
}

.qa-block .q {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.qa-block .a {
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.feature-grid .feature-card {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.feature-grid .feature-card h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-grid .feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.news-content-body {
  line-height: 1.9;
}

.news-content-body h3 {
  color: var(--primary);
  margin: 25px 0 12px;
  font-size: 20px;
}

.news-content-body p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.news-content-body ul,
.news-content-body ol {
  color: var(--text-secondary);
  padding-left: 24px;
  line-height: 1.9;
}

.news-content-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  background: #fef3c7;
  border-radius: 6px;
  color: #92400e;
  margin: 20px 0;
}

.paper-preview {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 40px;
  border-radius: var(--radius-xl);
  margin: 20px 0;
}

.paper-preview h2 {
  color: white;
  margin-bottom: 15px;
}

/* ==================== 规则卡片 ==================== */
.rule-card-link,
.faq-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rule-card-link .rule-card,
.faq-item-link .faq-item {
  transition: all var(--transition-normal);
}

.rule-card-link:hover .rule-card,
.faq-item-link:hover .faq-item {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
  border-color: var(--primary-light);
}

/* ==================== 页脚 ==================== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 5% 30px;
}

.footer-container {
  max-width: var(--container-xl);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 12px;
  transition: all var(--transition-normal);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links-2 a {
  margin-left: 20px;
}

/* ==================== 筛选栏样式 ==================== */
.filter-bar {
  background: white;
  padding: 20px 25px;
  border-radius: var(--radius-xl);
  margin-bottom: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.grade-tab {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--bg-light);
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.grade-tab:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.grade-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-weight: 600;
}

/* ==================== 新闻卡片样式（3列网格） ==================== */
.news-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.news-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  display: block;
  text-decoration: none;
  color: inherit;
}

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

.news-card-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
}

.news-card-body {
  padding: 22px;
}

.news-card-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

.news-card-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== 新闻分类按钮 ==================== */
.news-categories {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-btn {
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: white;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.category-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-color: var(--primary-light);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-color: transparent;
  font-weight: 600;
}

/* ==================== 表单样式 ==================== */
.register-form-container {
  background: white;
  padding: 40px;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.register-form fieldset {
  border: none;
  padding: 0;
  margin-bottom: 30px;
}

.register-form legend {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label.required::after {
  content: '*';
  color: var(--error);
  margin-left: 4px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  background: white;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--primary);
}

.form-checkbox a:hover {
  text-decoration: underline;
}

.register-sidebar .info-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.register-sidebar .info-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.register-sidebar .info-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.register-sidebar .info-card a {
  color: var(--primary);
}

.register-sidebar .info-card a:hover {
  color: var(--accent);
}

/* 报名页面两列布局 */
.register-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

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

.fee-card {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent);
}

.fee-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.fee-card-label {
  font-size: 15px;
  color: #78350F;
}

.fee-card-price {
  font-size: 24px;
  font-weight: 700;
  color: #B45309;
}

.fee-card-desc {
  font-size: 13px;
  color: #92400E;
}

/* ==================== 分页样式 ==================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}

.page-btn {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: white;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.page-btn:hover:not(.disabled):not(.active) {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-color: var(--primary-light);
}

.page-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-color: transparent;
}

.page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== 真题徽章和按钮 ==================== */
.paper-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.paper-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
}

.paper-badge.pdf {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.paper-badge.ans {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.paper-badge.video {
  background: rgba(139, 92, 246, 0.1);
  color: #7C3AED;
}

.paper-actions {
  display: flex;
  gap: 10px;
}

.paper-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.paper-btn.download {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

.paper-btn.download:hover {
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.3);
  color: white;
}

.paper-btn.preview {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

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

/* ==================== 联系我们模块（深色背景） ==================== */
.contact-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  padding: 60px 40px;
  border-radius: var(--radius-2xl);
  color: white;
  text-align: center;
}

.contact-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.contact-section > p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.contact-item a {
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.contact-item a:hover {
  color: var(--accent-light);
}

.contact-item p {
  font-size: 14px;
  /* opacity: 0.8; */
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== 导航下拉菜单 ==================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform var(--transition-normal);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.dropdown-menu a.active {
  color: var(--primary);
  background: rgba(30, 58, 138, 0.05);
}

.dropdown-menu a.highlight {
  color: var(--accent);
  font-weight: 700;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
}

.dropdown-menu a.highlight:hover {
  background: var(--accent);
  color: white;
}

/* ==================== 页面头部 ==================== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.page-header .page-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header .page-subtitle {
  font-size: 18px;
  opacity: 0.9;
}

/* ==================== 详情页布局 ==================== */
.paper-detail-section,
.article-section,
.faq-detail-section {
  padding: 0px 0;
}

.paper-detail-layout,
.article-layout,
.faq-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.paper-main,
.article-main,
.faq-detail-main {
  background: white;
  border-radius: var(--radius-xl);
  padding:24px 0px;
  box-shadow: var(--shadow-md);
}

.paper-sidebar,
.article-sidebar,
.faq-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 真题详情样式 */
.paper-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.paper-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.paper-title {
  font-size: 28px;
  font-weight: 700;
  /* color: var(--text-primary); */
  margin-bottom: 15px;
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.paper-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  /* color: var(--text-secondary); */
  font-size: 14px;
}

.paper-meta .icon {
  width: 18px;
  height: 18px;
}

.paper-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 15px;
}

.paper-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.paper-structure {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 20px 0;
}

.structure-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.structure-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.structure-label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.structure-content p {
  margin: 5px 0;
  font-size: 14px;
}

.paper-preview {
  margin: 20px 0;
}

.preview-image {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.preview-placeholder svg {
  width: 60px;
  height: 60px;
}

.download-list {
  list-style: none;
}

.download-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.download-list .icon {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.paper-download-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-info .download-title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.download-info .download-desc {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.paper-download-box .btn {
  white-space: nowrap;
}

/* ==================== 文章详情样式 ==================== */
.article-header {
  margin-bottom: 30px;
}

.article-category {
  display: inline-block;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.article-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 15px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta .icon {
  width: 16px;
  height: 16px;
}

.article-lead {
  font-size: 18px;
  color: var(--text-primary);
  line-height: 1.8;
  padding: 20px;
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 35px 0 15px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 25px 0 12px;
}

.article-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.article-content ol,
.article-content ul {
  margin: 15px 0;
  padding-left: 25px;
}

.article-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.info-box {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.info-box h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
}

.callout-box {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 20px 0;
}

.callout-box h4 {
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-primary);
}

.data-table td {
  color: var(--text-secondary);
}

.article-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-light);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 13px;
  transition: all var(--transition-normal);
}

.tag:hover {
  background: var(--primary);
  color: white;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.share-btn:hover {
  background: var(--primary);
  color: white;
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

.related-articles {
  margin-top: 50px;
}

.related-articles h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.related-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.related-thumb {
  width: 80px;
  height: 60px;
  background: var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.related-thumb svg {
  width: 30px;
  height: 30px;
  color: var(--text-muted);
}

.related-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 5px;
}

.related-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== 侧边栏通用样式 ==================== */
.sidebar-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.sidebar-card.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.sidebar-card.highlight .sidebar-title {
  color: white;
}

.sidebar-desc {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 15px;
}

.sidebar-link {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.sidebar-card.highlight .sidebar-link {
  color: rgba(255,255,255,0.9);
}

.related-papers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  transition: all var(--transition-normal);
}

.related-item:hover {
  background: var(--primary);
  color: white;
}

.related-item .year {
  font-weight: 600;
}

.course-recommend {
  display: flex;
  /* align-items: center; */
  gap: 15px;
  margin-bottom: 15px;
}

.course-thumb {
  width: 50px;
  height: 25px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  /* align-items: center; */
  justify-content: center;
}

.course-thumb svg {
  width: 28px;
  height: 28px;
}

.course-info .course-name {
  font-weight: 600;
  color: white;
}

.course-info .course-desc {
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

.hot-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hot-rank {
  width: 24px;
  height: 24px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.hot-item:first-child .hot-rank {
  background: var(--primary);
  color: white;
}

.hot-title {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}

.course-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
}

.course-mini .course-name {
  font-weight: 600;
}

.course-mini .course-price {
  color: var(--primary);
  font-weight: 700;
}

/* ==================== FAQ页面样式 ==================== */
.faq-section {
  padding: 24px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.faq-categories {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.category-nav {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.category-nav h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.category-nav ul {
  list-style: none;
}

.category-nav li {
  margin-bottom: 5px;
}

.category-nav a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.category-nav a:hover,
.category-nav a.active {
  background: var(--primary);
  color: white;
}

.faq-contact {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 24px;
  color: white;
  text-align: center;
}

.faq-contact h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.faq-contact p {
  font-size: 14px;
  opacity: 0.9;
}

.contact-phone {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 10px 0;
}

.contact-time {
  font-size: 12px;
  opacity: 0.8;
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-category {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.category-icon {
  font-size: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  display: block;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.q-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-answer-preview {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-left: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-more {
  display: inline-block;
  margin-top: 10px;
  margin-left: 40px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* FAQ详情页 */
.answer-box {
  background: rgba(30, 58, 138, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
}

.answer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.a-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.answer-header span {
  font-weight: 600;
  color: var(--primary);
}

.answer-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}

.faq-category-badge {
  display: inline-block;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.faq-detail-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}

.faq-meta {
  color: var(--text-muted);
  font-size: 14px;
}

.faq-detail-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 15px;
}

.faq-detail-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 12px;
}

.faq-detail-content p,
.faq-detail-content ul,
.faq-detail-content ol {
  color: var(--text-secondary);
  line-height: 1.8;
}

.related-faqs {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.related-faqs h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.related-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-faq-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.related-faq-item:hover {
  background: var(--primary);
  color: white;
}

.sidebar-links {
  list-style: none;
  margin-bottom: 15px;
}

.sidebar-links li {
  margin-bottom: 5px;
}

.sidebar-links a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: var(--bg-light);
  color: var(--primary);
}

.phone-link {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 5px 0;
}

/* ==================== 报名指南页样式 ==================== */
.timeline-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-primary);
}

/* 时间线：横向步骤条 */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 10px;
}

/* 主轴：渐变细线 */
.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  opacity: 0.35;
}

.timeline-item,
.timeline-item:nth-child(even) {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 50px 0 0;
}

.timeline-dot {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border: 4px solid var(--border);
  border-radius: 50%;
  z-index: 1;
  transition: all 0.3s ease;
}

/* 当前阶段：蓝色描边 + 内芯 */
.timeline-item.active .timeline-dot {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(30, 58, 138, 0.15);
}

.timeline-item.active .timeline-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* 关键节点：高亮 */
.timeline-item .timeline-dot.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(30, 58, 138, 0.15), 0 4px 12px rgba(30, 58, 138, 0.35);
}

.timeline-content {
  background: #fff;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin: 0 8px;
  min-height: 118px;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 高亮卡片：品牌渐变 */
.timeline-content.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.25);
}

/* 覆盖旧竖线时间线遗留的卡片圆点 */
.timeline-content::before {
  content: none;
}

.timeline-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(30, 58, 138, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin: 0 auto 8px;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 高亮卡片内文字 */
.timeline-content.highlight .timeline-date {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.timeline-content.highlight .timeline-title {
  color: #fff;
}

.timeline-content.highlight .timeline-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* 报名流程 */
.process-section {
  padding: 60px 0;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.step-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  width: 200px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.step-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
}

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

/* 费用卡片 */
.fee-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.fee-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.fee-card.early {
  border: 2px solid var(--success);
}

.fee-card.normal {
  border: 2px solid var(--primary);
}

.fee-card.late {
  border: 2px solid var(--error);
}

.fee-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.fee-card.early .fee-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.fee-card.normal .fee-badge.gray {
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary);
}

.fee-card.late .fee-badge.red {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

.fee-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.fee-price {
  margin-bottom: 20px;
}

.fee-price .currency {
  font-size: 24px;
  color: var(--text-primary);
  vertical-align: top;
}

.fee-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
}

.fee-price .unit {
  font-size: 16px;
  color: var(--text-secondary);
}

.fee-features {
  list-style: none;
  margin-bottom: 25px;
  text-align: left;
}

.fee-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.fee-features svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.fee-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 30px;
}

/* 考点城市 */
.venue-section {
  padding: 60px 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-top: -30px;
  margin-bottom: 40px;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.venue-region {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.venue-region h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.venue-region ul {
  list-style: none;
}

.venue-region li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border-light);
}

.venue-region li:last-child {
  border-bottom: none;
}

.venue-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 30px;
}

/* 注意事项 */
.notice-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.notice-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.notice-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.notice-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.notice-card ul {
  list-style: none;
}

.notice-card li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.notice-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ==================== 成绩查询页样式 ==================== */
.query-section {
  padding: 15px 0;
}

.query-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.query-form-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-desc {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.query-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.required {
  color: var(--error);
}

.form-input,
.form-select {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 15px;
  transition: all var(--transition-normal);
  background: white;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* 表单验证错误状态 */
.form-group.has-error .form-input,
.form-group.has-error .form-select {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.has-error .form-label {
  color: var(--error);
}

.form-error-msg {
  display: none;
  font-size: 13px;
  color: var(--error);
  line-height: 1.5;
}

.form-group.has-error .form-error-msg {
  display: block;
  animation: errorShake 0.3s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* 查询结果卡片 */
.query-result {
  margin-top: 24px;
}

.result-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-award {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 6px 18px;
  border-radius: 24px;
  letter-spacing: 1px;
}

.result-award.badge-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.result-award.badge-silver {
  background: linear-gradient(135deg, #94A3B8, #64748B);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.result-award.badge-bronze {
  background: linear-gradient(135deg, #D97706, #92400E);
  box-shadow: 0 4px 12px rgba(146, 64, 14, 0.3);
}

.result-award.badge-honor {
  background: linear-gradient(135deg, #6366F1, #4338CA);
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}

.result-award.badge-none {
  background: #CBD5E1;
  box-shadow: none;
}

.result-score {
  font-size: 14px;
  color: var(--text-secondary);
}

.result-score .score-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.result-score .score-unit {
  margin-left: 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

.result-divider {
  height: 1px;
  background: var(--border-light);
  margin: 20px 0 16px;
}

.result-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
}

.result-info-item:last-of-type {
  border-bottom: none;
}

.info-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.result-tip {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  line-height: 1.6;
}

.form-tips {
  margin-top: 30px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
}

.form-tips h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.form-tips ul {
  list-style: none;
}

.form-tips li {
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 15px;
}

.form-tips li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.query-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-mini {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.timeline-mini-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.timeline-mini-item .date {
  font-weight: 600;
  font-size: 14px;
}

.timeline-mini-item .event {
  font-size: 13px;
  color: var(--text-secondary);
}

.certificate-list {
  list-style: none;
  font-size: 14px;
}

.certificate-list li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 15px;
}

.certificate-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.contact-mini {
  margin-top: 10px;
}

.contact-mini p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 5px 0;
}

/* 奖项展示 */
.award-section {
  padding: 60px 0;
  background: var(--bg-light);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.award-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.award-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.award-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.award-card.gold .award-name {
  color: #D4AF37;
}

.award-card.silver .award-name {
  color: #C0C0C0;
}

.award-card.bronze .award-name {
  color: #CD7F32;
}

.award-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* FAQ手风琴 */
.query-faq-section {
  padding: 60px 0;
}

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

.faq-accordion-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 15px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.faq-accordion-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-icon {
  font-size: 24px;
  color: var(--primary);
  transition: transform var(--transition-normal);
}

.faq-accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.faq-accordion-content {
  padding: 0 20px 20px;
  display: none;
}

.faq-accordion-item.active .faq-accordion-content {
  display: block;
}

.faq-accordion-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.faq-accordion-content ul {
  list-style: none;
}

.faq-accordion-content li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 15px;
}

.faq-accordion-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.faq-more {
  text-align: center;
  margin-top: 30px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 38px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-card {
    max-width: 500px;
    margin: 40px auto 0;
  }
  
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .papers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  /* 时间线：移动端改为竖向 */
  .timeline {
    flex-direction: column;
    max-width: 520px;
    margin: 0 auto;
  }

  .timeline::before {
    top: 20px;
    bottom: 20px;
    left: 26px;
    right: auto;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    opacity: 0.3;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex: none;
    text-align: left;
    padding: 0 0 28px 64px;
  }

  .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-dot {
    top: 0;
    left: 12px;
    transform: none;
    width: 28px;
    height: 28px;
  }

  .timeline-item.active .timeline-dot::after {
    width: 10px;
    height: 10px;
  }

  .timeline-content {
    margin: 0;
    min-height: 0;
  }

  .timeline-date {
    margin: 0 0 8px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 32px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .courses-grid,
  .teachers-grid,
  .stats-grid,
  .papers-grid,
  .news-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .news-categories {
    justify-content: flex-start;
  }
  
  .filter-bar {
    justify-content: flex-start;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .register-form-container {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .quick-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 50px 5%;
  }
  
  .nav-actions .btn-outline {
    display: none;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .cta-input {
    min-width: 100%;
  }
  
  .detail-section {
    padding: 25px;
  }
}
