/* ===== CSS 变量 ===== */
:root {
  --primary: #0F3460;
  --primary-dark: #0A2540;
  --primary-light: #1A4A7A;
  --accent: #4A90D9;
  --accent-hover: #3A7BC8;
  --bg-light: #F5F7FA;
  --bg-white: #FFFFFF;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --border-color: #E8ECF1;
  --shadow-sm: 0 2px 8px rgba(15, 52, 96, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 52, 96, 0.12);
  --shadow-lg: 0 8px 40px rgba(15, 52, 96, 0.15);
  --radius: 4px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

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

/* ===== 导航栏 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-right: 10px;
  font-size: 18px;
  font-weight: 700;
}

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

.nav a {
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
  border-radius: 1px;
}

/* ===== 页面标题区 ===== */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-sm {
  padding: 100px 0 40px;
}

.page-hero-sm h1 {
  font-size: 28px;
}

/* ===== 通用区块 ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* ===== 卡片通用 ===== */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ===== 首页首屏 ===== */
.hero-banner {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 640px;
}

.hero-content .badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-content .subtitle {
  font-size: 18px;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-content .meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-content .meta-tags span {
  padding: 4px 12px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 13px;
  opacity: 0.9;
}

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

.hero-actions .btn {
  min-width: 150px;
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #fff;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image .avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border: 3px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,0.6);
  overflow: hidden;
}

/* ===== 核心优势 ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-card {
  text-align: center;
  padding: 40px 28px;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== 资历速览 ===== */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.credential-item {
  text-align: center;
  padding: 32px 16px;
}

.credential-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.credential-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.credential-item p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ===== 精选内容 ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.featured-articles .article-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.featured-articles .article-item:last-child {
  border-bottom: none;
}

.article-item .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.article-item .article-tag {
  display: inline-block;
  padding: 2px 10px;
  background-color: var(--bg-light);
  color: var(--accent);
  font-size: 12px;
  border-radius: 2px;
  font-weight: 500;
}

.article-item .article-date {
  font-size: 13px;
  color: var(--text-light);
}

.article-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.article-item h4 a {
  color: var(--text-dark);
}

.article-item h4 a:hover {
  color: var(--primary);
}

.article-item p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.tools-sidebar .tool-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.tools-sidebar .tool-item:last-child {
  border-bottom: none;
}

.tool-item .tool-icon-sm {
  width: 48px;
  height: 48px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tool-item .tool-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.tool-item .tool-info p {
  font-size: 13px;
  color: var(--text-gray);
}

/* ===== 页脚 ===== */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

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

.footer-about h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ===== 关于我页面 ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

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

.about-image {
  text-align: center;
}

.about-image .avatar-lg {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  color: rgba(255,255,255,0.5);
  margin: 0 auto;
}

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

.position-card {
  border-left: 3px solid var(--primary);
}

.position-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.position-card ul li {
  font-size: 14px;
  color: var(--text-gray);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.position-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.expertise-tag {
  padding: 8px 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-gray);
  transition: var(--transition);
}

.expertise-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(15, 52, 96, 0.05);
}

/* ===== 咨询业务 ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
}

.service-card .service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.process-step h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

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

/* ===== 授课培训 ===== */
.training-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.training-card {
  padding: 32px;
}

.training-card .training-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.training-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.training-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

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

.format-card {
  text-align: center;
  padding: 28px 20px;
}

.format-card .format-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.format-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.format-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ===== 文章专栏 ===== */
.articles-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(15, 52, 96, 0.05);
}

.articles-list .article-card {
  padding: 24px 32px;
  margin-bottom: 16px;
}

.article-card .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.article-card .article-tag {
  display: inline-block;
  padding: 2px 10px;
  background-color: var(--bg-light);
  color: var(--accent);
  font-size: 12px;
  border-radius: 2px;
  font-weight: 500;
}

.article-card .article-date {
  font-size: 13px;
  color: var(--text-light);
}

.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.article-card h3 a {
  color: var(--text-dark);
}

.article-card h3 a:hover {
  color: var(--primary);
}

.article-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.article-card .read-more {
  font-size: 14px;
  font-weight: 500;
}

/* 文章详情页 */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-detail .article-header {
  margin-bottom: 32px;
}

.article-detail .article-header .article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-detail .article-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.article-detail .article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-gray);
}

.article-detail .article-content p {
  margin-bottom: 16px;
}

/* Markdown 内容样式 */
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
}
.markdown-body h1 { font-size: 24px; }
.markdown-body h2 { font-size: 20px; }
.markdown-body h3 { font-size: 18px; }
.markdown-body p { margin-bottom: 16px; }
.markdown-body ul, .markdown-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.markdown-body li { margin-bottom: 6px; }
.markdown-body code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 14px;
  color: #d63384;
}
.markdown-body pre {
  background: #f4f4f4;
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 16px;
}
.markdown-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.markdown-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--bg-light);
  color: var(--text-gray);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.markdown-body th, .markdown-body td {
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  text-align: left;
}
.markdown-body th {
  background: var(--bg-light);
  font-weight: 600;
}
.markdown-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 16px 0;
}

.article-cta {
  margin-top: 40px;
  padding: 32px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  text-align: center;
}

.article-cta p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

/* ===== 工具下载 ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tool-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
}

.tool-card .tool-icon {
  width: 56px;
  height: 56px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.tool-card .tool-body {
  flex: 1;
}

.tool-card .tool-body .tool-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tool-card .tool-body .tool-name h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
}

.tool-card .tool-body .tool-name .free-badge {
  padding: 1px 8px;
  background-color: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  border-radius: 2px;
  font-weight: 500;
}

.tool-card .tool-body .tool-name .paid-badge {
  padding: 1px 8px;
  background-color: #FFF3E0;
  color: #E65100;
  font-size: 11px;
  border-radius: 2px;
  font-weight: 500;
}

.tool-card .tool-body p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 6px;
}

.tool-card .tool-body .tool-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.tool-card .tool-body .tool-actions {
  display: flex;
  gap: 12px;
}

/* ===== 联系我页面 ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item .ci-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.contact-info-item .ci-text p {
  font-size: 14px;
  color: var(--text-gray);
}

.qr-code {
  margin-top: 24px;
  text-align: center;
  padding: 24px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
  display: inline-block;
  width: 100%;
}

.qr-placeholder {
  width: 160px;
  height: 160px;
  background-color: var(--bg-white);
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  margin: 0 auto 12px;
  color: var(--text-light);
}

.qr-code p {
  font-size: 13px;
  color: var(--text-gray);
}

/* 联系表单 */
.contact-form {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

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

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

.form-group label .required {
  color: #D32F2F;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

/* ===== 浮动按钮 ===== */
.float-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  padding: 14px 24px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(15, 52, 96, 0.25);
  color: #fff;
}

/* ===== 404 页面 ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.error-page h1 {
  font-size: 72px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

/* ===== Toast 消息 ===== */
.toast {
  position: fixed;
  top: 90px;
  right: 24px;
  padding: 14px 24px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background-color: #2E7D32;
}

.toast-error {
  background-color: #D32F2F;
}

/* ===== 动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}