/* 学成职教高考 - 主样式文件 */
/* === 设计系统变量 === */
:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-lighter: #dbeafe;
  --primary-bg: #eff6ff;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --gradient-primary: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --container-max: 1200px;
  --header-h: 68px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 全局重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* === 容器 === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* === 头部导航 === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000; transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.logo-img {
  width: 42px; height: 42px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 4px 12px rgba(26,86,219,0.2);
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 800;
  box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { font-size: 0.65rem; color: var(--gray-500); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 0.9rem;
  font-weight: 500; color: var(--gray-700); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-bg); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* === 按钮 === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--radius-sm); font-size: 0.9rem;
  font-weight: 600; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 14px rgba(26,86,219,0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,0.35); color: white; }
.btn-outline { border: 2px solid var(--gray-300); color: var(--gray-700); background: white; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--gradient-accent); color: white; box-shadow: 0 4px 14px rgba(245,158,11,0.25); }
.btn-accent:hover { transform: translateY(-1px); color: white; }
.btn-ghost { color: var(--gray-600); padding: 8px 14px; }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === 移动端菜单按钮 === */
.menu-toggle { display: none; background: none; font-size: 1.5rem; color: var(--gray-700); padding: 6px; }

/* === Hero区域 === */
.hero {
  position: relative; min-height: 600px; padding: 120px 0 80px;
  background: var(--gradient-hero); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(59,130,246,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(245,158,11,0.08) 0%, transparent 50%);
}
.hero-bg-pattern {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M30 0v60M0 30h60'/%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; text-align: center; color: white; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px; font-size: 0.82rem; color: rgba(255,255,255,0.9); margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em; }
.hero h1 .highlight { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2.2rem; font-weight: 800; color: white; }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* === 通用区块 === */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block; padding: 4px 14px; background: var(--primary-bg);
  color: var(--primary); border-radius: 20px; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); margin-top: 12px; max-width: 580px; margin-left: auto; margin-right: auto; }
.bg-gray { background: var(--gray-50); }
.bg-primary { background: var(--primary-bg); }

/* === 卡片网格 === */
.card-grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === 卡片 === */
.card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.card-icon.blue { background: var(--primary-lighter); color: var(--primary); }
.card-icon.amber { background: #fef3c7; color: var(--accent-dark); }
.card-icon.green { background: #d1fae5; color: var(--success); }
.card-icon.purple { background: #ede9fe; color: #7c3aed; }
.card-icon.red { background: #fee2e2; color: var(--danger); }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card p { color: var(--gray-500); font-size: 0.92rem; line-height: 1.65; }

/* === 考试信息表 === */
.exam-table {
  width: 100%; border-collapse: collapse; background: white;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.exam-table th {
  background: var(--primary); color: white; padding: 14px 18px;
  text-align: left; font-size: 0.85rem; font-weight: 600;
}
.exam-table td { padding: 14px 18px; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.exam-table tr:last-child td { border-bottom: none; }
.exam-table tr:hover td { background: var(--gray-50); }
.score-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
}
.score-badge.blue { background: var(--primary-lighter); color: var(--primary); }
.score-badge.amber { background: #fef3c7; color: var(--accent-dark); }
.score-badge.green { background: #d1fae5; color: var(--success); }

/* === 专业大类卡片 === */
.category-card {
  background: white; border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--gradient-primary); opacity: 0; transition: var(--transition);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.category-card:hover::before { opacity: 1; }
.category-card .cat-number {
  position: absolute; top: 16px; right: 20px; font-size: 2.5rem;
  font-weight: 800; color: var(--gray-100); line-height: 1;
}
.category-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; position: relative; z-index: 1; }
.category-card .cat-desc { color: var(--gray-500); font-size: 0.86rem; line-height: 1.6; margin-bottom: 14px; }
.category-card .cat-meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* === 政策列表 === */
.policy-item {
  background: white; border-radius: var(--radius); padding: 24px 28px;
  margin-bottom: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100);
  transition: var(--transition); cursor: pointer;
}
.policy-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-lighter); }
.policy-item .policy-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 10px;
}
.policy-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.policy-item .policy-summary { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 10px; }
.policy-item .policy-date { font-size: 0.8rem; color: var(--gray-400); }

/* === VIP横幅 === */
.vip-banner {
  background: var(--gradient-hero); border-radius: var(--radius-xl);
  padding: 48px; color: white; position: relative; overflow: hidden;
}
.vip-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.vip-banner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.vip-banner p { color: rgba(255,255,255,0.8); margin-bottom: 24px; position: relative; z-index: 1; max-width: 600px; }
.vip-banner .btn { position: relative; z-index: 1; }

/* === 表单 === */
.form-wrap { max-width: 440px; margin: 0 auto; }
.form-card { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 0.95rem; transition: var(--transition);
  background: var(--gray-50);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-group .hint { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }
.form-title { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.form-subtitle { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 28px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.88rem; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-info { background: var(--primary-lighter); color: var(--primary-dark); }

/* === 下载列表 === */
.download-item {
  display: flex; align-items: center; gap: 16px; background: white;
  border-radius: var(--radius); padding: 18px 24px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: var(--transition);
}
.download-item:hover { box-shadow: var(--shadow); border-color: var(--gray-200); }
.download-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.download-icon.pdf { background: #fee2e2; color: #dc2626; }
.download-icon.ppt { background: #fef3c7; color: #d97706; }
.download-icon.doc { background: #dbeafe; color: #2563eb; }
.download-icon.zip { background: #d1fae5; color: #059669; }
.download-info { flex: 1; min-width: 0; }
.download-info h4 { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.download-info .meta { font-size: 0.8rem; color: var(--gray-400); display: flex; gap: 12px; }
.vip-lock { color: var(--accent-dark); font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* === 页脚 === */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.6); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: white; font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); font-size: 0.86rem; padding: 4px 0; transition: var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; text-align: center; font-size: 0.82rem; }

/* === 面包屑 === */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 24px; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--gray-300); }

/* === 页面标题区 === */
.page-header {
  background: var(--gradient-hero); padding: 100px 0 60px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(59,130,246,0.15) 0%, transparent 50%);
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; position: relative; z-index: 1; }

/* === 标签 === */
.tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.tag-blue { background: var(--primary-lighter); color: var(--primary); }
.tag-amber { background: #fef3c7; color: var(--accent-dark); }
.tag-green { background: #d1fae5; color: var(--success); }
.tag-gray { background: var(--gray-100); color: var(--gray-500); }

/* === 信息框 === */
.info-box { background: var(--primary-bg); border-left: 4px solid var(--primary); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
.info-box h4 { color: var(--primary-dark); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.info-box p { color: var(--gray-600); font-size: 0.9rem; }

/* === 时间线 === */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 3px solid white; box-shadow: 0 0 0 2px var(--primary); }
.timeline-item h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.timeline-item p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }

/* === 管理后台 === */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--dark); padding: 24px 0; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; }
.admin-sidebar .logo { color: white; padding: 0 24px; margin-bottom: 30px; }
.admin-sidebar a { display: block; padding: 10px 24px; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.08); color: white; }
.admin-main { flex: 1; margin-left: 240px; padding: 30px; background: var(--gray-50); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-table { width: 100%; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--gray-50); padding: 12px 16px; text-align: left; font-size: 0.82rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: 0.88rem; }

/* === 响应式 === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .brand-intro { grid-template-columns: 1fr; gap: 32px; }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .teaching-system { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: white; flex-direction: column; padding: 20px; gap: 4px;
    transform: translateX(100%); transition: transform 0.3s ease; z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 12px 16px; font-size: 1rem; }
  .nav-actions .btn-outline { display: none; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat .num { font-size: 1.6rem; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-header { padding: 80px 0 40px; }
  .page-header h1 { font-size: 1.8rem; }
  .vip-banner { padding: 32px 24px; }
  .vip-banner h2 { font-size: 1.4rem; }
  .form-card { padding: 28px 24px; }
  .admin-sidebar { width: 60px; }
  .admin-sidebar .logo { font-size: 0; padding: 0; }
  .admin-sidebar a { padding: 10px; text-align: center; font-size: 0; }
  .admin-main { margin-left: 60px; padding: 20px; }
  .download-item { flex-wrap: wrap; }
  .exam-table { font-size: 0.8rem; }
  .exam-table th, .exam-table td { padding: 10px 12px; }
  .container { padding: 0 16px; }
  .brand-visual { min-height: auto; padding: 28px 24px; }
  .achievements-grid { grid-template-columns: 1fr; }
  .teaching-system { grid-template-columns: 1fr; }
  .download-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .download-action { width: 100%; }
  .download-action .btn { width: 100%; }
  .pay-method-options { flex-direction: column; }
  .file-detail-stats { flex-direction: column; }
  .order-detail-row { font-size: 0.82rem; }
  .dl-view-toggle { width: 100%; }
  .dl-view-toggle a { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .section-header h2 { font-size: 1.4rem; }
  .card { padding: 18px; }
  .category-card { padding: 18px; }
}

/* === 动画 === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 0.4s ease forwards; }

/* === 品牌介绍 === */
.brand-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.brand-text h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.02em; }
.brand-text .brand-subtitle { font-size: 1rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.brand-text p { color: var(--gray-600); font-size: 0.94rem; line-height: 1.85; margin-bottom: 14px; }
.brand-text .highlight-text { color: var(--primary-dark); font-weight: 600; }
.brand-features { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.brand-feature { display: flex; gap: 12px; align-items: flex-start; }
.brand-feature .icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.brand-feature .icon.blue { background: var(--primary-lighter); }
.brand-feature .icon.amber { background: #fef3c7; }
.brand-feature .icon.green { background: #d1fae5; }
.brand-feature .icon.purple { background: #ede9fe; }
.brand-feature h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.brand-feature p { font-size: 0.85rem; color: var(--gray-500); margin: 0; line-height: 1.5; }

.brand-visual {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--gradient-hero); padding: 40px; color: white;
  min-height: 420px; display: flex; flex-direction: column; justify-content: center;
}
.brand-visual::before {
  content: ''; position: absolute; top: -30%; right: -20%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%); border-radius: 50%;
}
.brand-visual::after {
  content: ''; position: absolute; bottom: -20%; left: -10%; width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%); border-radius: 50%;
}
.brand-visual-content { position: relative; z-index: 1; }
.brand-visual h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }
.brand-visual .stat-row { display: flex; gap: 28px; margin-bottom: 24px; flex-wrap: wrap; }
.brand-visual .stat-item .num { font-size: 2rem; font-weight: 800; color: white; }
.brand-visual .stat-item .label { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.brand-visual .partner-list { display: flex; flex-direction: column; gap: 8px; }
.brand-visual .partner-item {
  padding: 10px 16px; background: rgba(255,255,255,0.08); border-radius: var(--radius-sm);
  font-size: 0.85rem; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.1);
}

/* === 战绩展示 === */
.achievements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.achievement-card {
  background: white; border-radius: var(--radius-lg); padding: 28px 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: var(--transition);
  position: relative; overflow: hidden;
}
.achievement-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-accent);
}
.achievement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.achievement-card .ach-icon { font-size: 2rem; margin-bottom: 12px; }
.achievement-card .ach-title { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.achievement-card .ach-desc { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }
.achievement-card .ach-rank { font-size: 1.6rem; font-weight: 800; color: var(--accent-dark); margin: 8px 0 4px; }

/* === 专业覆盖 === */
.major-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.major-tag {
  padding: 10px 22px; border-radius: 30px; font-size: 0.9rem; font-weight: 600;
  background: white; border: 2px solid var(--gray-200); color: var(--gray-700); transition: var(--transition);
}
.major-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }

/* === 教学体系 === */
.teaching-system { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teaching-card {
  background: white; border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: var(--transition);
}
.teaching-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.teaching-card .ts-num { font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; letter-spacing: 0.05em; }
.teaching-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.teaching-card p { color: var(--gray-500); font-size: 0.88rem; line-height: 1.7; }
.teaching-card .ts-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* === VIP 升级流程（精简版） === */
.vip-status-card { border-left: 4px solid var(--gray-200); transition: var(--transition); }
.vip-status-card.vip-active { border-left-color: var(--success); background: linear-gradient(135deg, #f0fdf4 0%, #fff 50%); }
.vip-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.vip-avatar.active { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.vip-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; font-size: 0.75rem; font-weight: 700;
  background: var(--gradient-accent); color: white; border-radius: 12px;
}
.vip-plan-card { transition: var(--transition); }
.vip-plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: white; padding: 4px 16px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600; white-space: nowrap;
}
.vip-success-toast {
  display: flex; align-items: center; gap: 16px; padding: 18px 24px; font-size: 1rem;
  animation: slideDown 0.3s;
}
@keyframes slideDown { from { transform: translateY(-10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* VIP激活码表单 */
.vip-redeem-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.vip-redeem-label { font-size: 0.95rem; font-weight: 700; color: var(--gray-700); text-align: center; }
.vip-redeem-input-wrap { position: relative; }
.vip-redeem-input-wrap::before {
  content: '🔑'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; pointer-events: none; z-index: 1;
}
.vip-redeem-input {
  width: 100%; padding: 16px 16px 16px 44px; font-size: 1.3rem; font-weight: 800;
  letter-spacing: 3px; text-align: center; text-transform: uppercase;
  border: 3px solid var(--primary); border-radius: var(--radius);
  transition: var(--transition); font-family: monospace; color: var(--primary-dark);
  background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
  animation: inputGlow 2.5s ease-in-out infinite alternate;
}
@keyframes inputGlow {
  from { box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15); }
  to { box-shadow: 0 4px 24px rgba(245, 158, 11, 0.35); }
}
.vip-redeem-input:focus {
  outline: none; border-color: var(--accent); background: white;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2), 0 4px 20px rgba(245, 158, 11, 0.3);
  animation: none;
}
.vip-redeem-input::placeholder { font-size: 0.9rem; letter-spacing: 1px; font-weight: 400; color: var(--gray-300); text-transform: none; }
.vip-redeem-form .btn-primary {
  font-size: 1.1rem; padding: 16px; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35); transition: all 0.2s;
}
.vip-redeem-form .btn-primary:hover {
  transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45);
}
.vip-active-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; background: #d1fae5; border-radius: var(--radius-sm);
  color: #065f46; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px;
}
.vip-redeem-tip {
  padding: 16px; background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border-radius: var(--radius-sm);
  font-size: 0.84rem; color: var(--gray-600); line-height: 1.8; border: 1px solid #bae6fd;
}
.vip-redeem-tip strong { color: var(--primary-dark); }

/* 内联支付选择 */
.vip-direct-form { display: flex; flex-direction: column; gap: 12px; }
.vip-pay-pick { display: flex; gap: 8px; }
.vip-pay-chip { flex: 1; cursor: pointer; position: relative; }
.vip-pay-chip input { position: absolute; opacity: 0; }
.vip-pay-chip span {
  display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.88rem;
  font-weight: 600; color: var(--gray-500); transition: var(--transition);
}
.vip-pay-chip input:checked + span {
  border-color: var(--primary); background: var(--primary-lighter); color: var(--primary-dark);
}

/* 单档VIP卡片 */
.vip-single-card {
  max-width: 500px; margin: 0 auto; padding: 44px 36px; background: white;
  border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.08);
  border: 3px solid transparent; position: relative; overflow: hidden;
  background-clip: padding-box;
}
.vip-single-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: shimmerBar 3s linear infinite;
}
@keyframes shimmerBar { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.vip-single-card::after {
  content: ''; position: absolute; top: -50%; right: -30%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.vip-single-header { text-align: center; margin-bottom: 28px; position: relative; z-index: 1; }
.vip-single-crown {
  font-size: 3.5rem; margin-bottom: 8px; display: inline-block;
  animation: crownFloat 3s ease-in-out infinite;
}
@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.vip-single-header h2 { font-size: 1.7rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.vip-single-header p { font-size: 0.9rem; color: var(--gray-500); }
.vip-single-price {
  text-align: center; margin-bottom: 28px; display: flex; align-items: baseline;
  justify-content: center; gap: 2px; flex-wrap: wrap;
}
.vip-price-symbol { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.vip-price-num { font-size: 3.2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.vip-price-unit { font-size: 1rem; color: var(--gray-400); margin-left: 4px; }
.vip-price-day {
  width: 100%; font-size: 0.82rem; color: var(--gray-400); margin-top: 4px;
}
.vip-single-features { margin-bottom: 24px; position: relative; z-index: 1; }
.vip-single-features li {
  padding: 10px 0; font-size: 0.94rem; color: var(--gray-600);
  display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--gray-50);
}
.vip-single-features li:last-child { border-bottom: none; }
.vip-check {
  width: 22px; height: 22px; border-radius: 50%; background: var(--success);
  color: white; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; flex-shrink: 0;
}
.vip-single-expiry {
  text-align: center; padding: 12px; background: var(--gray-50); border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--gray-500); margin-bottom: 20px;
}
.vip-single-expiry strong { color: var(--primary); }
.vip-redeem-section {
  position: relative; z-index: 1; padding: 20px; margin: 0 -8px 20px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fff 100%);
  border-radius: var(--radius); border: 2px dashed var(--accent);
}
.vip-redeem-section .vip-redeem-label {
  font-size: 1rem; font-weight: 800; color: var(--accent-dark);
  text-align: center; margin-bottom: 4px;
}

/* === 报考统计页面 === */
.stat-overview-card { text-align: center; padding: 28px 20px; }
.stat-overview-icon { font-size: 2rem; margin-bottom: 10px; }
.stat-overview-num { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1.2; }
.stat-overview-label { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.stat-overview-trend { font-size: 0.78rem; margin-top: 8px; color: var(--gray-400); }
.stat-overview-trend.up { color: var(--success); font-weight: 600; }
.stat-overview-trend.down { color: var(--danger); font-weight: 600; }

.stats-trend-tip {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: #eff6ff; border-radius: var(--radius-sm); margin-bottom: 24px;
  font-size: 0.88rem; color: var(--gray-600); line-height: 1.6;
}

.stats-chart-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.stats-chart-header h3 { font-size: 1.15rem; }
.stats-chart-legend { display: flex; gap: 16px; font-size: 0.82rem; color: var(--gray-500); }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.legend-dot.blue { background: var(--primary); }
.legend-dot.green { background: var(--success); }

.stats-chart-body { display: flex; flex-direction: column; gap: 6px; }
.stats-bar-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stats-bar-label { width: 100px; font-size: 0.8rem; color: var(--gray-600); text-align: right; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-bar-pct { width: 48px; font-size: 0.75rem; font-weight: 700; color: var(--primary); text-align: right; flex-shrink: 0; }
.stats-bar-track { flex: 1; position: relative; height: 28px; background: var(--gray-50); border-radius: 4px; overflow: hidden; }
.stats-bar-fill {
  height: 100%; background: var(--gradient-primary); border-radius: 4px;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 8px;
  transition: width 0.6s ease; min-width: 40px;
}
.stats-bar-val { font-size: 0.75rem; color: white; font-weight: 700; white-space: nowrap; }
.stats-bar-quota { position: absolute; bottom: 0; left: 0; height: 6px; background: var(--success); border-radius: 0 4px 4px 0; opacity: 0.6; }
.stats-bar-rate { width: 55px; text-align: center; flex-shrink: 0; }

.rate-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.rate-badge.high { background: #d1fae5; color: #065f46; }
.rate-badge.mid { background: #fef3c7; color: #92400e; }
.rate-badge.low { background: #fee2e2; color: #991b1b; }

.heat-tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.72rem; font-weight: 600; }
.heat-tag.hot { background: #fee2e2; color: #991b1b; }
.heat-tag.mid { background: #fef3c7; color: #92400e; }
.heat-tag.stable { background: #d1fae5; color: #065f46; }

.stats-table .num { text-align: right; }
.stats-table tfoot td { border-top: 2px solid var(--gray-100); background: var(--gray-50); font-size: 0.9rem; }

.stats-year-card { text-align: center; padding: 24px; }
.stats-year-head { font-size: 0.88rem; color: var(--gray-400); margin-bottom: 6px; }
.stats-year-num { font-size: 2rem; font-weight: 800; color: var(--dark); }
.stats-year-label { font-size: 0.82rem; color: var(--gray-500); margin-top: 2px; }
.stats-year-growth { font-size: 0.82rem; margin-top: 8px; }
.stats-year-growth.up { color: var(--success); font-weight: 600; }
.stats-year-growth.down { color: var(--danger); font-weight: 600; }
.stats-year-card.highlight { border: 2px solid var(--primary); background: var(--primary-lighter); }
.stats-year-card.highlight .stats-year-num { color: var(--primary); }

.rank-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-50); }
.rank-row:last-child { border-bottom: none; }
.rank-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gray-100); color: var(--gray-500);
  display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; flex-shrink: 0;
}
.rank-num.top { background: var(--gradient-accent); color: white; }
.rank-name { flex: 1; font-size: 0.9rem; color: var(--gray-700); }
.rank-val { font-size: 0.88rem; font-weight: 700; color: var(--primary); }

.stats-disclaimer {
  padding: 16px 20px; background: var(--gray-50); border-radius: var(--radius-sm);
  font-size: 0.82rem; color: var(--gray-500); line-height: 1.7;
}

@media (max-width: 768px) {
  .stats-bar-label { width: 70px; font-size: 0.72rem; }
  .stats-bar-pct { width: 38px; font-size: 0.68rem; }
  .stats-chart-legend { width: 100%; }
  .stats-table { font-size: 0.78rem; }
  .stats-table th, .stats-table td { padding: 8px 6px; }
}

/* 状态标签 */
.status-tag {
  display: inline-block; padding: 3px 10px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 600;
}
.status-tag.paid { background: #d1fae5; color: #065f46; }
.status-tag.pending { background: #fef3c7; color: #92400e; }
.status-tag.cancelled { background: var(--gray-100); color: var(--gray-500); }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  background: var(--gray-50); padding: 12px 16px; text-align: left;
  font-weight: 700; color: var(--gray-600); border-bottom: 2px solid var(--gray-100);
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.data-table tr:hover td { background: var(--gray-50); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: white; }

/* === 下载页面 === */
.download-status-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 14px 20px; background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm); margin-bottom: 20px;
}
.download-status-bar.vip { background: linear-gradient(135deg, #fef3c7, #fff); border-color: #fde68a; }
.dl-status-left { display: flex; align-items: center; gap: 12px; }
.dl-status-icon { font-size: 1.4rem; }
.dl-counter { margin-left: 8px; font-size: 0.88rem; color: var(--gray-500); }
.dl-counter strong { font-size: 1.1rem; }
.dl-status-right { display: flex; align-items: center; gap: 12px; }

.dl-search-input {
  padding: 9px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 0.9rem; background: var(--gray-50); transition: var(--transition);
}
.dl-search-input:focus { border-color: var(--primary); background: white; outline: none; }
.dl-select {
  padding: 9px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 0.9rem; background: var(--gray-50);
}
.dl-view-toggle { display: flex; gap: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gray-200); }
.dl-view-toggle a {
  padding: 8px 16px; font-size: 0.85rem; color: var(--gray-600); text-decoration: none;
  background: white; transition: var(--transition); border: none;
}
.dl-view-toggle a.active { background: var(--primary); color: white; font-weight: 600; }
.dl-view-toggle a:hover:not(.active) { background: var(--gray-50); }

.download-list { display: flex; flex-direction: column; gap: 12px; }
.download-item {
  display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: white;
  border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: var(--transition); cursor: pointer;
}
.download-item:hover { box-shadow: var(--shadow); border-color: var(--primary-light); transform: translateX(2px); }
.download-item.locked { opacity: 0.92; }
.download-item.locked:hover { border-color: var(--accent); }
.download-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.download-icon.pdf { background: #fee2e2; }
.download-icon.ppt { background: #dbeafe; }
.download-icon.doc { background: #dbeafe; }
.download-icon.zip { background: #fef3c7; }
.download-info { flex: 1; min-width: 0; }
.download-info h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.download-info .meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.8rem; color: var(--gray-400); align-items: center; }
.lock-icon { font-size: 0.85rem; }
.download-action { flex-shrink: 0; }
.free-tag {
  display: inline-block; padding: 2px 8px; background: #d1fae5; color: #065f46;
  border-radius: 10px; font-size: 0.72rem; font-weight: 600;
}
.vip-lock {
  display: inline-block; padding: 2px 8px; background: var(--gradient-accent); color: white;
  border-radius: 10px; font-size: 0.72rem; font-weight: 600;
}

/* 弹窗 */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.modal-overlay.show { display: flex; animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  background: white; border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: slideUp 0.3s;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.modal-header h3 { font-size: 1.15rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border: none; background: var(--gray-100); border-radius: 50%;
  cursor: pointer; font-size: 1rem; color: var(--gray-500); transition: var(--transition);
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 24px; }

.file-detail-header { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.file-detail-icon {
  width: 56px; height: 56px; border-radius: var(--radius); background: var(--primary-lighter);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0;
}
.file-detail-header h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.file-detail-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.file-detail-desc {
  padding: 14px 16px; background: var(--gray-50); border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 20px;
}
.file-detail-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.fd-stat {
  flex: 1; text-align: center; padding: 12px 8px; background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.fd-stat .fd-num { display: block; font-size: 1rem; font-weight: 800; color: var(--dark); }
.fd-stat .fd-label { display: block; font-size: 0.72rem; color: var(--gray-400); margin-top: 2px; }
.file-detail-action { margin-top: 8px; }
.file-locked-notice {
  text-align: center; padding: 24px 16px; background: #fef3c7; border-radius: var(--radius-sm);
  margin-bottom: 16px; color: #92400e; font-size: 0.92rem;
}

/* === 响应式增强修复 === */

/* VIP导航按钮增强样式 */
.nav-vip {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white !important;
  padding: 6px 16px !important;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-vip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
  color: white !important;
  background: linear-gradient(135deg, #f97316, #ea580c);
}

/* 表格移动端溢出修复 */
.exam-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow); background: white; }

/* 触摸目标增大 */
@media (max-width: 768px) {
  .btn { padding: 12px 20px; font-size: 0.92rem; min-height: 44px; }
  .btn-sm { padding: 10px 16px; font-size: 0.85rem; min-height: 40px; }
  .btn-ghost { padding: 10px 16px; min-height: 40px; }
  .modal-close { width: 40px; height: 40px; font-size: 1.1rem; }
  .menu-toggle { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .rank-num { width: 36px; height: 36px; font-size: 0.9rem; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-vip { display: inline-flex; align-items: center; min-height: 36px; }
}

/* 响应式字体平滑过渡 */
.hero h1 { font-size: clamp(1.6rem, 5vw, 3rem); }
.section-header h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); }
.page-header h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.vip-banner h2 { font-size: clamp(1.2rem, 3.5vw, 2rem); }
.stats-year-num { font-size: clamp(1.5rem, 4vw, 2rem); }

/* 大屏适配 */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

/* 管理后台移动端增强 */
@media (max-width: 768px) {
  .admin-table { min-width: 600px; }
  .exam-table { min-width: 500px; }
  .data-table { min-width: 500px; }
  .stats-table { min-width: 400px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-main { padding: 16px 12px; }
}

@media (max-width: 480px) {
  .admin-sidebar { width: 0; }
  .admin-main { margin-left: 0; padding: 12px 10px; }
  .hero { padding: 80px 0 40px; }
  .section { padding: 40px 0; }
  .form-card { padding: 20px 16px; }
  .vip-banner { padding: 24px 16px; }
  .card { padding: 16px; }
}

/* 移动端优化: 禁止文字选择高亮 */
@media (max-width: 768px) {
  * { -webkit-tap-highlight-color: transparent; }
  .menu-toggle { -webkit-touch-callout: none; }
  body { overflow-x: hidden; }
  .container { padding: 0 14px; }
}

/* 个人中心页面样式 */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; margin-top: 24px; }
.profile-sidebar { display: flex; flex-direction: column; gap: 16px; }
.profile-card { background: white; border-radius: var(--radius); padding: 28px; text-align: center; border: 1px solid var(--gray-100); box-shadow: var(--shadow); }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; margin: 0 auto 16px; }
.profile-name { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.profile-email { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.profile-badge { display: inline-block; margin-top: 12px; padding: 4px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.profile-badge.vip { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.profile-badge.normal { background: var(--gray-100); color: var(--gray-500); }
.profile-menu { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); box-shadow: var(--shadow); }
.profile-menu a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; color: var(--gray-700); font-size: 0.9rem; transition: var(--transition); border-bottom: 1px solid var(--gray-50); }
.profile-menu a:last-child { border-bottom: none; }
.profile-menu a:hover, .profile-menu a.active { background: var(--primary-bg); color: var(--primary); }
.profile-menu a .icon { font-size: 1.1rem; }
.profile-main { background: white; border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-100); box-shadow: var(--shadow); }
.profile-main h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--gray-50); }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 0.85rem; color: var(--gray-500); }
.info-value { font-size: 0.9rem; font-weight: 600; color: var(--dark); }

@media (max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { padding: 20px; }
  .profile-main { padding: 20px; }
}

/* === 工具类 === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.hidden { display: none; }
.w-full { width: 100%; }
