/* ========== CSS Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; border: 0; vertical-align: middle; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== Top Bar ========== */
.top-bar {
  background: #f5f7fa;
  border-bottom: 1px solid #eaeaea;
  font-size: 13px;
  color: #666;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.top-phone { color: #0061AA; font-weight: 600; }
.top-phone:hover { color: #d81e06; }

/* ========== Header ========== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo { display: flex; align-items: center; }
.logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #0061AA;
  letter-spacing: 1px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  display: block;
  padding: 0 18px;
  line-height: 80px;
  font-size: 15px;
  color: #333;
  position: relative;
  font-weight: 500;
}
.main-nav a:hover { color: #0061AA; }
.main-nav a.nav-cta {
  background: #0061AA;
  color: #fff;
  padding: 8px 20px;
  line-height: 1.4;
  border-radius: 4px;
  margin-left: 10px;
}
.main-nav a.nav-cta:hover { background: #004d88; color: #fff; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: .3s;
}

/* ========== Hero Banner ========== */
.hero-banner { position: relative; overflow: hidden; }
.hero-inner { position: relative; height: 520px; }
.hero-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,40,80,.82) 0%, rgba(0,97,170,.6) 60%, rgba(0,97,170,.2) 100%);
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 680px;
  color: #fff;
}
.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 35px;
  opacity: .95;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  border: 2px solid transparent;
  transition: all .25s;
}
.btn-primary {
  background: #0061AA;
  color: #fff;
  border-color: #0061AA;
}
.btn-primary:hover { background: #004d88; border-color: #004d88; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: #0061AA; }
.btn-phone {
  background: #d81e06;
  color: #fff;
  border-color: #d81e06;
}
.btn-phone:hover { background: #b31804; border-color: #b31804; }
.btn-large { padding: 14px 40px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
.btn-text { color: #0061AA; padding: 12px 0; }
.btn-text:hover { color: #004d88; text-decoration: underline; }

/* ========== Sections ========== */
.section { padding: 70px 0; }
.section-alt { background: #f5f7fa; }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header.align-left { text-align: left; margin-bottom: 25px; }
.section-header.with-more {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}
.section-header h2 {
  font-size: 30px;
  color: #222;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 10px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #0061AA;
}
.section-header.align-left h2::after { left: 0; transform: none; }
.section-sub {
  font-size: 15px;
  color: #777;
}
.more-link {
  font-size: 14px;
  color: #0061AA;
}
.more-link:hover { text-decoration: underline; }

/* ========== Advantages ========== */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.adv-item {
  text-align: center;
  padding: 35px 25px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  transition: all .3s;
}
.adv-item:hover {
  box-shadow: 0 8px 24px rgba(0,97,170,.12);
  border-color: #0061AA;
  transform: translateY(-5px);
}
.adv-icon {
  font-size: 44px;
  margin-bottom: 18px;
}
.adv-item h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 600;
}
.adv-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ========== Platforms ========== */
.section-platforms { background: #f5f7fa; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.platform-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 6px;
  border-left: 4px solid #0061AA;
  transition: all .3s;
}
.platform-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateX(5px);
}
.platform-name {
  font-size: 20px;
  font-weight: 700;
  color: #0061AA;
  margin-bottom: 12px;
}
.platform-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ========== Services ========== */
.services-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}
.service-cat-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  transition: all .3s;
  background: #fff;
}
.service-cat-item:hover {
  box-shadow: 0 8px 24px rgba(0,97,170,.1);
  border-color: #0061AA;
}
.cat-header {
  background: linear-gradient(135deg, #0061AA 0%, #0077CC 100%);
  color: #fff;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-icon { font-size: 28px; }
.cat-header h3 {
  font-size: 18px;
  font-weight: 600;
}
.cat-list {
  padding: 22px 25px;
}
.cat-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.cat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #0061AA;
  border-radius: 50%;
}
.cat-list li:last-child { margin-bottom: 0; }
.cat-btn {
  display: block;
  text-align: center;
  padding: 12px;
  margin: 0 25px 25px;
  border: 1px solid #0061AA;
  color: #0061AA;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}
.cat-btn:hover {
  background: #0061AA;
  color: #fff;
}
.package-note {
  background: #fff8e6;
  border: 1px solid #ffe0a0;
  border-radius: 6px;
  padding: 20px 25px;
  font-size: 13px;
  color: #8a6d00;
  line-height: 1.8;
}
.package-note strong { color: #b38600; }

/* ========== Process ========== */
.section-process { background: #f5f7fa; }
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 15px;
}
.step-item {
  flex: 1;
  background: #fff;
  padding: 35px 25px;
  text-align: center;
  border-radius: 6px;
  position: relative;
  border-top: 4px solid #0061AA;
}
.step-num {
  font-size: 36px;
  font-weight: 700;
  color: #0061AA;
  opacity: .2;
  margin-bottom: 12px;
}
.step-item h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
}
.step-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.step-arrow {
  display: flex;
  align-items: center;
  font-size: 28px;
  color: #0061AA;
  font-weight: 700;
}

/* ========== Guarantee ========== */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gua-item {
  padding: 28px 22px;
  background: #fafafa;
  border-radius: 6px;
  border-left: 3px solid #0061AA;
}
.gua-item h4 {
  font-size: 17px;
  color: #222;
  margin-bottom: 12px;
  font-weight: 600;
}
.gua-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

/* ========== News / Articles ========== */
.section-news { background: #fff; }

/* 资讯列表核心网格规则 - 严格按规范 */
ul.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
ul.article-cards > li.article-card {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  transition: all .3s;
}
ul.article-cards > li.article-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.article-card .card-thumb {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.article-card .card-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.article-card:hover .card-thumb img { transform: scale(1.05); }
.article-card .card-body { padding: 18px 20px; }
.article-card .card-title {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .card-title:hover { color: #0061AA; }
.article-card .card-date {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}
.article-card .card-summary {
  overflow-wrap: anywhere;
  font-size: 13px;
  color: #777;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== FAQ ========== */
.section-faq { background: #f5f7fa; }
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}
.faq-q {
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: background .2s;
}
.faq-q:hover { background: #f8fafc; }
.q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0061AA;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.faq-q h4 {
  font-size: 16px;
  color: #222;
  font-weight: 500;
  flex: 1;
}
.faq-a {
  padding: 0 25px 20px 68px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  display: none;
}
.faq-item.active .faq-a { display: block; }
.faq-item.active .faq-q { background: #f0f7ff; }

/* ========== About ========== */
.about-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
}
.about-text {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 18px;
  text-indent: 2em;
}
.about-contact { margin-top: 30px; display: flex; gap: 15px; }
.about-card {
  background: linear-gradient(135deg, #0061AA 0%, #0077CC 100%);
  color: #fff;
  padding: 35px 30px;
  border-radius: 8px;
}
.about-card h3 {
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.about-info li {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.7;
  opacity: .95;
}
.about-info strong {
  display: inline-block;
  width: 80px;
  opacity: .85;
}
.about-info a { color: #fff; text-decoration: underline; }

/* ========== Apply Form ========== */
.section-apply { background: #f5f7fa; }
.apply-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 45px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}
.form-group { margin-bottom: 25px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}
.req { color: #d81e06; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0061AA;
  box-shadow: 0 0 0 3px rgba(0,97,170,.1);
}
.form-group textarea { resize: vertical; }
.form-submit { text-align: center; }
.form-tip {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
}

/* ========== Article Detail Page ========== */
.page-breadcrumb {
  background: #f5f7fa;
  padding: 15px 0;
  font-size: 13px;
  color: #777;
  border-bottom: 1px solid #eee;
}
.page-breadcrumb a { color: #777; }
.page-breadcrumb a:hover { color: #0061AA; }
.article-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 40px 20px 60px;
}
.article-main {
  background: #fff;
  padding: 40px 45px;
  border-radius: 6px;
  border: 1px solid #eee;
}
.article-header { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 25px; }
.article-title {
  font-size: 28px;
  color: #222;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}
.article-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 18px;
}
.article-date { display: none; }
.article-summary {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  padding: 15px 20px;
  background: #f8f9fa;
  border-left: 4px solid #0061AA;
  border-radius: 0 4px 4px 0;
}
.article-cover {
  margin-bottom: 30px;
  text-align: center;
}
.article-cover img {
  max-width: 100%;
  border-radius: 6px;
}
.article-content {
  font-size: 15px;
  color: #333;
  line-height: 2;
}
.article-content p { margin-bottom: 20px; text-indent: 2em; }
.article-content h2, .article-content h3 {
  font-size: 20px;
  color: #222;
  margin: 30px 0 15px;
  font-weight: 600;
}
.article-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}
.article-footer-cta {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px dashed #ddd;
}
.related-service {
  background: #f0f7ff;
  border: 1px solid #cfe4ff;
  border-radius: 6px;
  padding: 30px;
  text-align: center;
}
.related-service h3 {
  font-size: 20px;
  color: #0061AA;
  margin-bottom: 12px;
}
.related-service p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Sidebar */
.side-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 25px;
  margin-bottom: 20px;
}
.side-box h3 {
  font-size: 17px;
  color: #222;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0061AA;
  font-weight: 600;
}
.side-contact .side-phone {
  font-size: 20px;
  font-weight: 700;
  color: #d81e06;
  margin-bottom: 10px;
}
.side-contact .side-phone a { color: #d81e06; }
.side-contact p {
  font-size: 13px;
  color: #777;
  margin-bottom: 18px;
}
.side-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
  color: #555;
}
.side-list li:last-child { border-bottom: none; }
.side-list li::before {
  content: '>';
  color: #0061AA;
  margin-right: 8px;
  font-weight: 700;
}
.side-list li a:hover { color: #0061AA; }

/* ========== Footer ========== */
.site-footer { background: #1a2733; color: #aabbcc; }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 55px 20px 40px;
}
.footer-logo {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 18px;
  opacity: .85;
}
.footer-contact p {
  font-size: 13px;
  margin-bottom: 8px;
}
.footer-contact a { color: #fff; font-weight: 600; }
.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul li {
  margin-bottom: 12px;
  font-size: 13px;
}
.footer-col ul li a:hover { color: #fff; }
.friend-links {
  font-size: 13px;
  line-height: 2;
}
.friend-links a {
  margin-right: 15px;
  opacity: .8;
}
.friend-links a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  background: #121c25;
  padding: 20px 0;
  font-size: 13px;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-beian a { opacity: .8; }
.footer-beian a:hover { color: #fff; opacity: 1; }
.beian-sep { margin: 0 8px; opacity: .4; }

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  background: #0061AA;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0,97,170,.3);
  transition: background .2s;
}
.back-to-top:hover { background: #004d88; }
.back-to-top.show { display: block; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .services-categories { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { flex-wrap: wrap; }
  .step-item { flex: 0 0 calc(50% - 30px); margin-bottom: 20px; }
  .step-arrow { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .article-container { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .hero-inner { height: 450px; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-inner { height: 60px; }
  .logo-text { font-size: 20px; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }
  .main-nav a {
    line-height: 50px;
    padding: 0 25px;
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav a.nav-cta {
    margin: 10px 25px;
    line-height: 40px;
    text-align: center;
  }
  .hero-inner { height: 380px; }
  .hero-content { padding: 0 10px; }
  .hero-title { font-size: 22px; margin-bottom: 12px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 22px; }
  .hero-cta { gap: 10px; }
  .btn { padding: 10px 18px; font-size: 14px; }
  .section { padding: 45px 0; }
  .section-header { margin-bottom: 30px; }
  .section-header h2 { font-size: 22px; }
  .section-header.with-more { flex-direction: column; align-items: flex-start; gap: 10px; }
  .advantages { grid-template-columns: 1fr; gap: 15px; }
  .platforms-grid { grid-template-columns: 1fr; gap: 15px; }
  .services-categories { grid-template-columns: 1fr; gap: 18px; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 15px; }
  .step-item { flex: 0 0 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .apply-form-wrap { padding: 25px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; padding: 35px 20px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .article-main { padding: 25px 20px; }
  .article-title { font-size: 22px; }
  .back-to-top { right: 15px; bottom: 20px; width: 38px; height: 38px; font-size: 18px; }
}

/* ========== Motion Preference ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
