/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Table ===== */
/* 极简表格:仅 1px 浅灰描边 + 内边距,不设背景色、不设 hover。
   对 .table 类和裸 <table> 都生效,后端编辑器直接输出 <table> 也能有样式。 */
.table,
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #1f2937;
}
.table th,
.table td,
table th,
table td {
  border: 1px solid #e5e7eb;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}

/* ===== Layout ===== */
.container {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px;
}
@media (min-width: 1920px) { .container { max-width: 1440px; } }
@media (max-width: 1439px) { .container { max-width: 1200px; padding: 0 20px; } }
@media (max-width: 1199px) { .container { max-width: 1000px; padding: 0 16px; } }
@media (max-width: 767px) { .container { padding: 0 12px; } }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #303643; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px; padding: 8px 16px;
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.88);
  transition: color 0.2s ease; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #60a5fa; }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; color: rgba(255,255,255,0.6); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.phone { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; color: #60a5fa; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-50%) translateY(-10px);
  background: #fff; border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border: 1px solid #e5e7eb; padding: 24px 28px; min-width: 560px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
.nav-item::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 20px; background: transparent; z-index: 100; display: none; }
.nav-item:hover::after { display: block; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid #fff; }
.dropdown-item { display: block; padding: 10px 16px; font-size: 14px; color: #4b5563; border-radius: 8px; transition: all 0.2s ease; white-space: nowrap; }
.dropdown-item:hover { color: #1e5eff; background: #eff6ff; }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }

/* Mobile Menu */
.mobile-toggle { display: none; padding: 8px; color: #fff; }
.mobile-toggle svg { width: 24px; height: 24px; stroke: #fff; }
.mobile-menu { display: none; }

@media (max-width: 1199px) {
  .nav, .header .phone { display: none; }
  .mobile-toggle { display: block; color: #fff; }
  .mobile-menu { display: block; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #303643; border-top: 1px solid rgba(255,255,255,0.08); }
  .mobile-menu.open { max-height: 80vh; overflow-y: auto; }
  .mobile-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mobile-sub { padding: 0 0 10px 16px; display: none; }
  .mobile-sub.open { display: block; }
  .mobile-sub a { display: block; padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.55); }
  .mobile-sub a:hover { color: #60a5fa; }
  .mobile-phone { display: flex !important; align-items: center; gap: 6px; padding: 14px 0; color: #60a5fa; font-weight: 600; }
}

/* ===== Inner Page Banner ===== */
.inner-banner { position: relative; width: 100%; height: 500px; overflow: hidden; margin-top: 80px; }
.inner-banner img { width: 100%; height: 100%; object-fit: cover; }
.inner-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }
.inner-banner-text { position: absolute; bottom: 60px; left: 0; right: 0; z-index: 2; }
.inner-banner-text h1 { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.inner-banner-text p { font-size: 16px; color: rgba(255,255,255,0.8); }
.inner-banner .breadcrumb { position: absolute; bottom: 20px; left: 0; right: 0; z-index: 2; font-size: 14px; color: rgba(255,255,255,0.6); }
.inner-banner .breadcrumb a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.inner-banner .breadcrumb a:hover { color: #60a5fa; }
.inner-banner .breadcrumb span { margin: 0 8px; }

@media (max-width: 767px) {
  .inner-banner { height: 280px; margin-top: 60px; }
  .inner-banner-text h1 { font-size: 28px; }
  .header-inner { height: 60px; }
  .logo img { height: 38px; }
}

/* ===== Section Common ===== */
.section { padding: 80px 0; }
@media (max-width: 767px) { .section { padding: 50px 0; } }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #1e5eff; }
.section-title { font-size: 36px; font-weight: 700; color: #1f2937; margin-top: 10px; }
.section-subtitle { font-size: 18px; color: #6b7280; margin-top: 10px; }
.section-divider { width: 60px; height: 3px; background: #1e5eff; margin: 16px auto 0; border-radius: 2px; }

/* ===== Buttons ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 32px; background: #1e5eff; color: #fff; font-size: 16px; font-weight: 500; border-radius: 8px; transition: all 0.3s ease; }
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,94,255,0.35); }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 10px 28px; border: 2px solid #1e5eff; color: #1e5eff; font-size: 15px; font-weight: 500; border-radius: 8px; transition: all 0.3s ease; }
.btn-outline:hover { background: #1e5eff; color: #fff; transform: translateY(-2px); }
.btn-white { display: inline-flex; align-items: center; gap: 6px; padding: 10px 28px; border: 2px solid rgba(255,255,255,0.5); color: #fff; font-size: 15px; font-weight: 500; border-radius: 8px; transition: all 0.3s ease; }
.btn-white:hover { background: #fff; color: #1e5eff; }

/* ===== Footer ===== */
.footer { background: #0a1628; color: #fff; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: #1e5eff; }
.footer-contact { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: #1e5eff; flex-shrink: 0; }
.qr-placeholder { width: 110px; height: 110px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #9ca3af; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

@media (max-width: 1199px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* ===== Scroll Reveal ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }
