/* ============================================
   内蒙古职考教育 - 官网样式表
   dz.zhongkejt.com
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #1a5276;
  --primary-dark: #0e2f44;
  --primary-light: #2980b9;
  --secondary: #e67e22;
  --secondary-light: #f39c12;
  --accent: #27ae60;
  --accent-light: #2ecc71;
  --danger: #e74c3c;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #ffffff;
  --bg-gray: #f8f9fa;
  --bg-dark: #1a1a2e;
  --border: #e0e0e0;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --font: 'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, button, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.85); margin-left: 18px; }
.top-bar a:hover { color: var(--secondary-light); }
.top-bar .top-contact span { margin-right: 20px; }
.top-bar .top-contact i { margin-right: 4px; }

/* --- Header / Navigation --- */
header {
  background: var(--bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}
.logo-text h1 { font-size: 20px; font-weight: 700; color: var(--primary-dark); line-height: 1.2; }
.logo-text span { font-size: 12px; color: var(--text-light); }

/* --- Navigation --- */
nav { display: flex; align-items: center; }
nav > ul { display: flex; gap: 0; }
nav > ul > li { position: relative; }
nav > ul > li > a {
  display: block;
  padding: 24px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}
/* nav underline moved to UI enhancement section */
nav > ul > li:hover > a,
nav > ul > li.active > a { color: var(--primary); }

/* --- Dropdown --- */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border-top: 3px solid var(--secondary);
}
nav > ul > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { border-bottom: 1px solid var(--bg-gray); }
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--bg-gray);
  color: var(--primary);
  padding-left: 26px;
}

/* --- Mobile Hamburger --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}
.menu-toggle span {
  width: 26px; height: 3px;
  background: var(--text);
  margin: 3px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; }
.hero-content .badge {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-content h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.hero-content h2 span { color: var(--secondary-light); }
.hero-content p {
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--secondary);
  color: #fff;
}
.btn-primary:hover { background: #d35400; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(230,126,34,0.4); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #1e8449; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(39,174,96,0.4); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.hero-image { flex: 0 0 400px; }
.hero-image .hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 28px; font-weight: 700; color: var(--secondary-light); display: block; }
.hero-stat .label { font-size: 13px; opacity: 0.8; }

/* --- Section Base --- */
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.section-title .title-bar {
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- Features / Advantages --- */
.features { background: var(--bg-gray); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: #fff;
}
.feature-card h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- Policy News (Homepage) --- */
.policy-news { background: var(--bg); }
.policy-news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.policy-main .policy-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-gray);
  margin-bottom: 16px;
  transition: var(--transition);
}
.policy-item:hover { box-shadow: var(--shadow); }
.policy-item .date-tag {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.policy-item .date-tag small { font-size: 11px; font-weight: 400; }
.policy-item .info h5 { font-size: 16px; margin-bottom: 4px; color: var(--primary); }
.policy-item .info p { font-size: 14px; color: var(--text-light); }
.policy-sidebar .sidebar-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h5 { font-size: 16px; margin-bottom: 12px; color: var(--primary-dark); }
.sidebar-card ul li a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.sidebar-card ul li:last-child a { border-bottom: none; }
.sidebar-card ul li a:hover { color: var(--primary); padding-left: 4px; }

/* --- Courses Section --- */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 36px;
}
.course-body { padding: 24px; }
.course-body .tag {
  display: inline-block;
  background: var(--bg-gray);
  color: var(--primary);
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 12px;
  margin-bottom: 8px;
}
.course-body h5 { font-size: 17px; margin-bottom: 8px; color: var(--primary-dark); }
.course-body p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-body .course-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-light); }
.course-body .course-meta span i { margin-right: 4px; }

/* --- Cases Section --- */
.cases { background: var(--bg-gray); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-header {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  padding: 24px;
  color: #fff;
  text-align: center;
}
.case-header .score { font-size: 36px; font-weight: 700; }
.case-header .score span { font-size: 16px; opacity: 0.9; }
.case-body { padding: 20px; }
.case-body h5 { font-size: 15px; margin-bottom: 6px; }
.case-body .student-info { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* --- Materials Preview --- */
.materials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.material-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.material-card:hover { border-color: var(--primary); background: #fff; box-shadow: var(--shadow); }
.material-icon { font-size: 40px; margin-bottom: 12px; }
.material-card h5 { font-size: 17px; margin-bottom: 6px; color: var(--primary-dark); }
.material-card p { font-size: 13px; color: var(--text-light); }

/* --- CTA Section --- */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta h3 { font-size: 30px; margin-bottom: 12px; }
.cta p { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.cta .btn-primary { font-size: 17px; padding: 14px 40px; }

/* --- Footer --- */
footer {
  background: var(--bg-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; margin-bottom: 40px; }
.footer-about h4 { font-size: 20px; margin-bottom: 12px; color: #fff; }
.footer-about p { font-size: 14px; line-height: 1.8; opacity: 0.7; }
.footer-about .footer-contact { margin-top: 16px; }
.footer-about .footer-contact li { font-size: 14px; margin-bottom: 8px; }
.footer-about .footer-contact li i { margin-right: 8px; color: var(--secondary-light); }
footer h5 { font-size: 16px; color: #fff; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
footer h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--secondary); }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 14px; opacity: 0.7; transition: var(--transition); }
footer ul li a:hover { opacity: 1; color: var(--secondary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
}
.footer-bottom a { color: var(--secondary-light); }

/* --- Page Banner (Sub-pages) --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h2 { font-size: 32px; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.85; }
.breadcrumb { margin-top: 12px; font-size: 14px; }
.breadcrumb a { opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.breadcrumb .current { opacity: 0.9; }

/* --- Content Page Layout --- */
.content-page { padding: 50px 0; }
.content-with-sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.sidebar-nav {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.sidebar-nav h5 { font-size: 16px; color: var(--primary-dark); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--secondary); }
.sidebar-nav ul li a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text);
}
.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
  background: var(--primary);
  color: #fff;
}
.main-content h3 { font-size: 24px; color: var(--primary-dark); margin-bottom: 16px; }
.main-content h4 { font-size: 18px; color: var(--primary); margin: 24px 0 12px; }
.main-content p { font-size: 15px; line-height: 1.9; margin-bottom: 16px; color: var(--text); }
.main-content ul, .main-content ol { margin: 12px 0 20px 24px; }
.main-content li { font-size: 15px; line-height: 1.8; margin-bottom: 6px; }
.main-content .info-box {
  background: var(--bg-gray);
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.main-content .info-box strong { color: var(--primary-dark); }
.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.main-content th, .main-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}
.main-content th { background: var(--primary); color: #fff; font-weight: 600; }
.main-content tr:nth-child(even) { background: var(--bg-gray); }

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  background: var(--bg-gray);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: #eef0f2; }
.faq-question .icon { font-size: 18px; transition: var(--transition); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.active .faq-answer {
  padding: 16px 20px;
  max-height: 500px;
}

/* --- Teacher Cards --- */
.teachers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teacher-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.teacher-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 24px auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 36px;
}
.teacher-card h5 { font-size: 16px; color: var(--primary-dark); }
.teacher-card .title { font-size: 13px; color: var(--secondary); margin-bottom: 8px; }
.teacher-card p { font-size: 13px; color: var(--text-light); padding: 0 20px 20px; }

/* --- Student Feedback --- */
.feedback-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--secondary);
}
.feedback-card .stars { color: var(--secondary-light); margin-bottom: 8px; }
.feedback-card p { font-size: 14px; line-height: 1.8; font-style: italic; }
.feedback-card .author { margin-top: 12px; font-weight: 600; color: var(--primary); font-size: 14px; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-info-card .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info-card .info-item .ci-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  flex-shrink: 0;
}
.contact-info-card .info-item h6 { font-size: 14px; color: var(--primary-dark); margin-bottom: 4px; }
.contact-info-card .info-item p { font-size: 14px; color: var(--text-light); }
.contact-form .form-group { margin-bottom: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(41,128,185,0.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
}
.pagination a:hover, .pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero .container { flex-direction: column; }
  .hero-image { flex: none; width: 100%; }
  .hero-content h2 { font-size: 30px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid, .cases-grid, .materials-grid, .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-nav { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav > ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--secondary);
    z-index: 999;
  }
  nav > ul.open { display: flex; }
  nav > ul > li > a { padding: 14px 20px; }
  nav > ul > li > a::after { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--bg-gray);
    display: none;
  }
  nav > ul > li.open .dropdown-menu { display: block; }
  .hero { padding: 50px 0; }
  .hero-content h2 { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .courses-grid, .cases-grid, .materials-grid, .teachers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title h3 { font-size: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .page-banner h2 { font-size: 24px; }
  .top-bar .container { flex-direction: column; gap: 4px; }
  .page-banner { padding: 30px 0; }
  .page-banner h2 { font-size: 20px; }
  /* 手机端多级菜单 */
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: none; background: var(--bg-gray); display: none; width: 100%; }
  .dropdown-menu li > .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-left: none; background: #f0f2f5; display: none; width: 100%; }
  nav > ul > li.open > .dropdown-menu { display: block; }
  .dropdown-menu li.open > .dropdown-menu { display: block; }
  .dropdown-menu li > .dropdown-menu { margin-left: 16px; border-radius: 0; }
  .has-sub > a::after { content: ' \25bc'; float: right; font-size: 10px; opacity: 0.5; }
}

/* ===== UI 优化增强 ===== */

/* 渐变装饰线 */
.section-title .title-bar {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 2px;
}

/* 卡片悬浮增强 */
.feature-card, .course-card, .case-card, .material-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}
.feature-card:hover, .course-card:hover, .case-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,82,118,0.12);
}

/* 导航菜单美化 */
nav > ul > li > a {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.3px;
}
nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
nav > ul > li:hover > a::after,
nav > ul > li.active > a::after {
  transform: scaleX(1);
}

/* 下拉菜单圆角与阴影 */
.dropdown-menu {
  border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.dropdown-menu a {
  padding: 10px 20px;
  font-size: 14px;
}

/* 按钮美化 */
.btn {
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,0.35);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39,174,96,0.35);
}
.btn-outline {
  border-width: 2px;
}

/* Hero 区域美化 */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content h2 {
  font-size: 36px;
  line-height: 1.3;
}
.hero-content .badge {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  padding: 6px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* 特点卡片图标美化 */
.feature-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 26px;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* 案例卡片美化 */
.case-header {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  padding: 24px;
}
.case-header .score {
  font-size: 32px;
  font-weight: 700;
}

/* 文章内容排版 */
.article-content {
  line-height: 2;
  font-size: 15px;
  color: var(--text);
}
.article-content h4 {
  margin: 24px 0 12px;
  font-size: 18px;
  color: var(--primary-dark);
}
.article-content p {
  margin-bottom: 16px;
}
.article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}

/* 底部美化 */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}
.footer-grid h5 {
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
footer ul li a {
  font-size: 13px;
  opacity: 0.7;
  transition: all 0.2s;
}
footer ul li a:hover {
  opacity: 1;
  padding-left: 4px;
  color: var(--secondary-light);
}

/* 页面横幅美化 */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  padding: 50px 0;
}
.page-banner h2 {
  font-size: 28px;
  font-weight: 700;
}
.page-banner p {
  font-size: 15px;
  opacity: 0.85;
}
.breadcrumb {
  font-size: 13px;
  opacity: 0.8;
}

/* CTA 区域美化 */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.cta h3 {
  font-size: 28px;
  position: relative;
  z-index: 1;
}

/* 政策新闻条目美化 */
.policy-item {
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--bg-gray);
  transition: all 0.3s ease;
}
.policy-item:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateX(4px);
}
.policy-item .date-tag {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 8px;
  width: 56px;
  height: 56px;
  font-size: 18px;
}

/* 资料卡片美化 */
.material-card {
  border-radius: 12px;
  padding: 28px 20px;
  transition: all 0.3s ease;
}
.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(26,82,118,0.1);
  border-color: var(--primary-light);
}

/* 页面淡入动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero, .features, .policy-news, .courses-grid, .cases-grid, .materials-grid {
  animation: fadeInUp 0.6s ease both;
}
.features { animation-delay: 0.1s; }
.policy-news { animation-delay: 0.2s; }
.courses-grid { animation-delay: 0.3s; }
.cases-grid { animation-delay: 0.4s; }
.materials-grid { animation-delay: 0.5s; }

/* 多级下拉菜单支持 */
.dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -3px;
  border-radius: 8px;
  border-top: none;
  border-left: 3px solid var(--secondary);
}
nav > ul > li { position: relative; }
.dropdown-menu li { position: relative; }
.dropdown-menu li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li > .dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.3s ease;
  min-width: 200px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: 0 8px 8px 8px;
  border-left: 3px solid var(--secondary);
  z-index: 101;
}
/* 右侧箭头指示 */
.dropdown-menu li.has-sub > a::after {
  content: ' ›';
  float: right;
  opacity: 0.4;
}
