/* 重置与基础 */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}
a { color: #1890ff; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font-family: inherit; font-size: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; gap: 32px; }
.nav-link {
  color: #333;
  font-size: 15px;
  padding: 8px 0;
}
.nav-link:hover { color: #1890ff; text-decoration: none; }
.nav-link.active { color: #1890ff; font-weight: 500; }
.header-actions { display: flex; gap: 16px; }
.btn-text {
  color: #1890ff;
  font-size: 14px;
  padding: 6px 12px;
}
.btn-text:hover { text-decoration: none; opacity: .85; }

/* 主按钮 */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #1890ff, #096dd9);
  color: #fff !important;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
}
.btn-primary:hover { opacity: .9; text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  padding: 10px 24px;
  background: #f5f5f5;
  color: #333;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
}
.btn-secondary:hover { background: #e8e8e8; }
.btn-block { width: 100%; text-align: center; }

/* 首屏 Hero */
.hero {
  min-height: 520px;
  background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 50%, #91caff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.hero-left {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}
.hero-right {
  flex: 0 0 360px;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}
.hero-person {
  max-width: 360px;
  display: block;
}
/* 人物图外层：与下方 .container 同宽（max-width: 1200px），保持与页面内容区一致 */
.hero-person-wrap {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 20px;
}
/* 人物图与下方容器同宽，水平居中 */
.hero-person-below {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
}
.hero-form-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.hero-form-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  text-align: left;
}
.hero-form input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}
.hero-form .form-agree {
  font-size: 12px;
  color: #999;
  margin: 4px 0 0;
}
.hero-form .form-agree a {
  font-size: 12px;
}
.hero-form .form-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.hero-form .form-actions .btn-primary {
  flex: 1;
}

/* Hero 文案区域 */
.hero-copy {
  padding: 40px 0 24px;
  background: #fff;
  text-align: center;
}
.hero-copy-title {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
}
.hero-copy-subtitle {
  margin: 0;
  font-size: 16px;
  color: #555;
}
.tech-title-img { max-width: 100%; height: auto; margin: 0 auto 16px; display: block; }
.learning-mode-img { max-width: 100%; height: auto; margin-bottom: 16px; display: block; }
.modal-success .success-img { width: 80px; height: auto; display: block; margin: 0 auto 16px; }
.modal-success .success-qrcode {
  width: 220px;
  height: 220px;
  display: block;
  margin: 24px auto 0;
}

/* 通用区块 */
.section { padding: 64px 0; }
.section:nth-of-type(even) { background: #fafafa; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
  color: #1a1a1a;
}
.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin: 0 0 40px;
}
.section-cta { text-align: center; margin-top: 40px; }

/* 六大优势 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.advantage-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.advantage-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.advantage-card .card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #f0f0f0;
}
.advantage-card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.advantage-card .card-tagline {
  font-size: 14px;
  color: #1890ff;
  margin: 0 0 12px;
}
.advantage-card .card-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.card-placeholder {
  height: 120px;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 18px;
}

/* 科技 / 学习模式 区块 */
.section.tech,
.section.learning-mode {
  text-align: center;
  background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
}
.section.tech .section-subtitle,
.section.learning-mode .section-subtitle { margin-bottom: 24px; }

/* 荣誉区 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.honor-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 28px 24px 24px;
  text-align: center;
  font-size: 14px;
  color: #666;
}
.honor-item .honor-logo {
  width: 260px;
  height: 130px;
  margin: 0 auto 16px;
  object-fit: contain;
  display: block;
}

/* 页脚 */
.site-footer {
  background: #2c2c2c;
  color: #b0b0b0;
  padding: 48px 0 24px;
  margin-top: 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-inner > .footer-col:not(.footer-bottom) {
  display: inline-block;
  vertical-align: top;
  width: 22%;
  margin-right: 2%;
  margin-bottom: 24px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col p, .footer-col li { margin: 8px 0; font-size: 14px; }
.footer-col .tel { font-size: 18px; color: #fff; font-weight: 500; }
.footer-col a { color: #b0b0b0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 24px;
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #888;
  width: 100%;
}
.footer-bottom p { margin: 6px 0; }
.footer-bottom a { color: #888; }

/* 弹窗 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: visibility .2s, opacity .2s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  cursor: pointer;
}
.modal-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.modal-close:hover { background: #eee; color: #333; }
.modal-login-tabs { margin-bottom: 16px; }
.modal-login-tabs .tab {
  background: none;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #666;
  font-size: 15px;
}
.modal-login-tabs .tab.active { color: #1890ff; font-weight: 600; }
.tab-divider { color: #ddd; margin: 0 4px; }
.link-forgot { font-size: 13px; margin-bottom: 16px; display: inline-block; }
.form-login input,
.form-trial input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}
.input-row { display: flex; gap: 12px; margin-bottom: 12px; }
.input-row input { flex: 1; margin-bottom: 0; }
.btn-captcha {
  padding: 12px 16px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 14px;
}
.form-login .btn-primary { margin-top: 8px; margin-bottom: 16px; }
.form-agree { font-size: 12px; color: #999; margin: 12px 0; }
.form-agree a { font-size: 12px; }
.form-trial h3 { margin: 0 0 20px; font-size: 18px; }
.form-actions { display: flex; gap: 12px; margin-top: 20px; }
.form-actions .btn-primary { flex: 1; }
.modal-success h2 { margin: 0 0 16px; font-size: 20px; }
.modal-success h3 { margin: 24px 0 12px; font-size: 16px; }
.modal-success ul { padding-left: 20px; margin: 0 0 16px; }
.modal-success li { margin: 6px 0; }

/* 内页通用 */
.page-header {
  padding: 40px 0 24px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.page-header h1 {
  margin: 0;
  font-size: 28px;
  text-align: center;
  color: #1a1a1a;
}
.page-header .subtitle {
  text-align: center;
  color: #666;
  margin: 8px 0 0;
  font-size: 16px;
}
.page-content { padding: 48px 0; max-width: 800px; margin: 0 auto; }
.page-content .form-group { margin-bottom: 20px; }
.page-content label { display: block; margin-bottom: 8px; font-weight: 500; }
.page-content input[type="text"],
.page-content input[type="tel"],
.page-content input[type="email"],
.page-content textarea {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}
.page-content textarea { min-height: 100px; resize: vertical; }
.page-content .note { font-size: 14px; color: #666; margin-top: 24px; }
.page-content .note a { color: #1890ff; }

/* 关于我们引用 */
.about-quote {
  font-size: 20px;
  line-height: 1.8;
  color: #555;
  text-align: center;
  margin: 40px 0 24px;
  padding: 0 20px;
}
.about-author { text-align: center; color: #888; font-size: 14px; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 1px;
}
.page-content .form-group .input-row { display: flex; gap: 12px; margin-top: 8px; }
.page-content .form-group .input-row input { flex: 1; margin-bottom: 0; }
.page-content .form-group .btn-captcha { padding: 12px 16px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 8px; white-space: nowrap; cursor: pointer; }

/* 响应式 */
@media (max-width: 768px) {
  .header-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid #eee;
  }
  .main-nav.is-open { display: flex; }
  .main-nav .nav-link { padding: 12px; width: 100%; text-align: center; }
  .hero { min-height: auto; padding: 32px 0; }
  .hero-inner {
    flex-direction: column;
    gap: 24px;
  }
  .hero-person { max-width: 260px; }
  .hero-right { width: 100%; flex: 1; }
  .hero-form-card { max-width: 100%; }
  .hero-copy { padding: 32px 0 16px; }
  .hero-copy-title { font-size: 22px; }
  .hero-copy-subtitle { font-size: 14px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .advantage-grid { grid-template-columns: 1fr; gap: 24px; }
  .honor-grid { grid-template-columns: 1fr; }
  .honor-item .honor-logo { margin-bottom: 8px; }
  .footer-inner > .footer-col:not(.footer-bottom) { width: 100%; margin-right: 0; }
  .modal-box { margin: 16px; padding: 24px; max-height: 85vh; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-primary { width: 100%; }
}

/* 资讯板块样式 */
.news-preview {
  padding: 60px 0;
  background: #f5f5f5;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Tab导航 */
.news-tabs {
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 0;
}

.news-tab {
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: #666;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 400;
}

.news-tab:hover {
  color: #1890ff;
  background: #fafafa;
}

.news-tab.active {
  color: #1890ff;
  background: transparent;
  font-weight: 500;
  border-bottom-color: #1890ff;
}

.news-more {
  margin-left: auto;
  color: #999;
  font-size: 14px;
  text-decoration: none;
  padding: 16px 0;
  transition: color 0.3s ease;
}

.news-more:hover {
  color: #1890ff;
  text-decoration: none;
}

/* 内容区域 */
.news-content {
  position: relative;
  min-height: 400px;
}

.news-category-panel {
  display: none;
  padding: 24px;
}

.news-category-panel.active {
  display: block;
}

.news-layout {
  display: flex;
  gap: 24px;
}

/* 左侧特色新闻 */
.news-featured {
  flex: 0 0 45%;
}

.featured-banner-link {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-banner-link:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

.featured-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.featured-banner-link:hover .featured-banner {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 右侧新闻列表 */
.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.news-list-item:last-child {
  border-bottom: none;
}

.news-list-item:hover {
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
  border-radius: 6px;
  background: #fafafa;
}

.news-list-title {
  flex: 1;
  color: #333;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 20px;
  transition: color 0.3s ease;
}

.news-list-title:hover {
  color: #1890ff;
  text-decoration: none;
}

.news-list-date {
  color: #999;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 400;
}

.news-list-empty {
  padding: 40px 0;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* 响应式 */
@media (max-width: 968px) {
  .news-layout {
    flex-direction: column;
  }
  
  .news-featured {
    flex: 1;
  }
  
  .featured-banner {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .news-preview {
    padding: 40px 0;
  }
  
  .news-card {
    border-radius: 12px;
  }
  
  .news-tabs {
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .news-tab {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .news-category-panel {
    padding: 16px;
  }
  
  .news-layout {
    gap: 16px;
  }
  
  .news-list-item {
    padding: 12px 0;
  }
  
  .news-list-title {
    font-size: 14px;
  }
  
  .news-list-date {
    font-size: 12px;
  }
}

/* 资讯列表页：企业资讯风格 */
.news-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  background: #f5f5f5;
  min-height: 60vh;
}
.news-breadcrumb {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}
.news-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.news-breadcrumb a:hover { color: #1890ff; }
.news-breadcrumb span { margin: 0 6px; color: #ccc; }
.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  overflow: hidden;
  padding: 0 0 24px;
}
.news-card-title-wrap {
  display: flex;
  align-items: center;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.news-card-title-bar {
  width: 4px;
  height: 22px;
  background: #1890ff;
  border-radius: 2px;
  margin-right: 12px;
  flex-shrink: 0;
}
.news-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}
.news-category-tabs {
  padding: 16px 28px 0;
  margin-bottom: 8px;
}
.news-category-tabs .btn { margin-right: 10px; margin-bottom: 8px; }
.news-list-vertical {
  list-style: none;
  margin: 0;
  padding: 0 28px;
}
.news-list-vertical .news-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}
.news-list-vertical .news-list-item:last-child { border-bottom: none; }
.news-list-vertical .news-list-item:hover .news-list-item-title { color: #1890ff; }
.news-list-item-thumb {
  width: 160px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f5f5;
}
.news-list-item-body { flex: 1; min-width: 0; }
.news-list-item-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 0 28px;
  flex-wrap: wrap;
}
.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #333;
  text-decoration: none;
  box-sizing: border-box;
}
.news-pagination a:hover {
  border-color: #1890ff;
  color: #1890ff;
}
.news-pagination .pagination-active {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
  pointer-events: none;
}
.news-pagination .pagination-disabled {
  background: #f5f5f5;
  color: #999;
  pointer-events: none;
}
@media (max-width: 768px) {
  .news-list-vertical .news-list-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-list-item-thumb { width: 100%; height: 160px; }
}
