﻿/* ============================================
   NDL-SiPM 统一样式表 (Modern Redesign)
   ============================================ */
/* --- CSS 变量 --- */
:root {
  --primary: #07C160;
  --primary-light: #20C770;
  --secondary: #39D07F;
  --accent: #5CDB99;
  --accent-light: #A8EAC4;
  --bg: #f0f4f8;
  --bg-card: #ffffff;
  --text: #1a202c;
  --text-light: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --max-width: 1100px;
  --nav-height: 48px;
  --header-height: 110px;
}
/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff, #F0FFF5);
  background-attachment: scroll;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* --- Layout Wrapper --- */
.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
/* ========== HEADER ========== */
.header {
  width: 100%;
  height: 120px;
  background: url(../images/t3.jpg) center top / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}
/* 顶部背景遮罩 */
.header::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #ffffff, #F0FFF5);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.header .wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.header-logo {
  font-family: "华文彩云", "STCaiyun", cursive;
  font-size: 90px;
  color: #07C160;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}
.header-sub {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.header-sub-zh {
  font-family: "华文行楷", "STXingkai", cursive;
  font-size: 34px;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
}
.header-sub-en {
  font-family: "Comic Sans MS", cursive;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}
/* ========== NAVIGATION ========== */
.nav {
  background: #07C160;
  width: 100%;
  height: 44px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0;
}
/* ========== RESPONSIVE ========== */
/* ===== Nav Items & Dropdowns ===== */
.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  height: 100%;
  flex: 1;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
  height: 100%;
}
.nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover,
.nav-item:hover > .nav-link {
  color: #fff;
  background: #20C770;
}
.nav-link.active {
  color: #fff;
  background: #20C770;
}
.nav-link.has-dropdown::after {
  content: "\25BE";
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.6;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100px;
  background: #07C160;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 200;
  overflow: hidden;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: 8px 14px;
  color: #fff;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.dropdown-link:last-child {
  border-bottom: none;
}
.dropdown-link:hover {
  background: #20C770;
  color: #fff;
  padding-left: 24px;
}
.nav-lang {
  margin-left: auto;
}
.nav-lang .nav-link {
  font-weight: 600;
  color: #fff;
}
.nav-lang .nav-link:hover {
  color: #fff;
  background: #20C770;
}
/* ========== IFRAME CONTAINER ========== */
.content-frame {
  width: 100%;
  background: #fff;
}
.content-frame iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 400px;
}
/* ========== FOOTER ========== */
.footer {
  background: #07C160;
  width: 100%;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px 0;
}
.footer .wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer a { color: var(--accent-light); }
/* ========== CONTENT PAGE COMMON STYLES ========== */
.page-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 30px 24px;
  background: #fff;
  flex: 1 0 auto;
}
.page-container h1 {
  font-size: 24px;
  color: var(--secondary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  text-align: center;
}
.page-container h2 {
  font-size: 18px;
  color: var(--primary-light);
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}
.page-container h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 16px;
}
.page-container p {
  margin-bottom: 16px;
  line-height: 1.8;
}
/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  background: var(--primary-light);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
th, td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid var(--border);
}
tbody tr:nth-child(even) td { background: #f7fafc; }
tbody tr:hover td { background: #e6f7ff; }
/* --- Cards --- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
}
/* --- Inline image pair (Contact page) --- */
.img-pair {
  display: flex;
  gap: 60px;
  margin: 30px 0;
  /* flex-wrap removed — always side by side */
}
.img-pair .img-card {
  flex: 0 1 300px;
  text-align: center;
}
.img-pair img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #f8fafc;
  padding: 8px;
}
.img-pair .img-label {
  margin-top: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}
.img-pair .img-addr {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
/* --- News --- */
.news-item { margin-bottom: 0; }
.news-date {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 4px;
}
/* --- Responsive (smaller breakpoint) --- */
@media (max-width: 600px) {
  .header-sub-en { font-size: 11px; }
  .nav .nav-inner { flex-wrap: wrap; height: auto; padding: 0; }
  .nav-list { flex-wrap: wrap; gap: 0; width: 100%; }
  .nav-item { flex: 1 1 auto; }
  .nav-lang { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }
  .dropdown { min-width: 140px; }
  .dropdown-link { font-size: 13px; padding: 8px 14px; }
  .page-container { padding: 20px 12px; }
  .page-container h1 { font-size: 20px; }
  .page-container h3 { font-size: 17px; }
  table { font-size: 12px; }
  th, td { padding: 6px 4px; }
  .img-pair { flex-direction: column; align-items: center; gap: 30px; }
  .img-pair .img-card { flex: 0 1 240px; }
}
@media (max-width: 480px) {
  .nav-link { font-size: 11px; padding: 0 6px; }
  .page-container h1 { font-size: 18px; }
}
/* --- Solution page: product links --- */
a.prod-link {
  color: #0066cc; font-weight: 600; text-decoration: underline;
  text-decoration-color: transparent; transition: all 0.2s ease;
  border-bottom: 1px dashed #0066cc; padding-bottom: 1px;
}
a.prod-link:hover {
  color: #004499; text-decoration-color: #004499;
  border-bottom-style: solid; background: #e6f7ff; border-radius: 2px;
}
/* --- Home/Content page: internal links --- */
a.inner-link {
  color: #0066cc; font-weight: 600; text-decoration: underline;
  text-decoration-color: transparent; transition: all 0.2s ease;
  border-bottom: 1px dashed #0066cc; padding-bottom: 1px;
}
a.inner-link:hover {
  color: #004499; text-decoration-color: #004499;
  border-bottom-style: solid; background: #e6f7ff; border-radius: 2px;
}
/* --- Contact navigation bar --- */
.contact-bar { text-align: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.btn-contact {
  display: inline-block; padding: 12px 32px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: #fff !important; font-size: 15px; font-weight: 600;
  border-radius: 50px; letter-spacing: 1px; transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,180,216,0.3); text-decoration: none !important;
}
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,180,216,0.4);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
}
.btn-contact:active { transform: translateY(0); }
/* --- Featured PDF card --- */
.pdf-featured {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
  border: 2px solid var(--accent); border-radius: var(--radius-lg);
  padding: 28px 32px; margin: 24px 0 32px;
  display: flex; align-items: center; gap: 24px;
}
.pdf-featured .pdf-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  font-size: 28px; font-weight: 800; color: #fff;
  box-shadow: 0 3px 10px rgba(229,62,62,0.3);
}
.pdf-featured .pdf-info { flex: 1; }
.pdf-featured .pdf-title { font-size: 16px; font-weight: 700; color: var(--text); }
.pdf-featured .pdf-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.pdf-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: #fff !important; font-size: 14px; font-weight: 600;
  border-radius: 50px; transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0,180,216,0.3); text-decoration: none !important; white-space: nowrap;
}
.pdf-download-btn:hover {
  transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,180,216,0.4);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
}
.pdf-download-btn:active { transform: translateY(0); }
.pdf-download-btn .download-icon { font-size: 16px; }
.pdf-section-divider { text-align: center; margin: 36px 0 20px; position: relative; }
.pdf-section-divider::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--border);
}
.pdf-section-divider span {
  background: #07C160;
  position: relative; z-index: 1; color: var(--text-muted);
  font-size: 14px; font-weight: 500; letter-spacing: 1px;
}
@media (max-width: 600px) {
  .pdf-featured { flex-direction: column; text-align: center; padding: 20px; }
}
.pdf-actions { display: flex; gap: 10px; flex-shrink: 0; }
.pdf-action-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; font-size: 13px; font-weight: 600;
  border-radius: 50px; transition: all 0.3s ease;
  text-decoration: none !important; white-space: nowrap;
}
.pdf-action-btn.preview { background: #fff; color: var(--secondary) !important; border: 2px solid var(--accent); }
  background: #07C160;
.pdf-action-btn.download {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: #fff !important; box-shadow: 0 3px 12px rgba(0,180,216,0.3);
}
.pdf-action-btn.download:hover {
  transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,180,216,0.4);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
}
.pdf-action-btn.download:active { transform: translateY(0); }
@media (max-width: 600px) {
}
.na-text { color: #999; font-style: normal; }
#busuanzi_value_site_pv {
  color: var(--accent-light);
  font-weight: 700;
}
/* === About page === */
.about-company { font-size: 15px; line-height: 1.9; color: #2d3748; }
.about-company p { margin-bottom: 16px; }
.keywords-box { margin-top: 32px; padding: 20px 24px; background: #E8F8EE; border-left: 4px solid #39D07F; border-radius: 0 8px 8px 0; }
.keywords-box h3 { font-size: 16px; color: #20C770; margin-bottom: 10px; }
.keywords-box .tag { display: inline-block; padding: 4px 14px; margin: 4px 6px 4px 0; background: #A8EAC4; color: #1B8C4A; border-radius: 20px; font-size: 13px; font-weight: 500; }
/* === News / Timeline page === */
.news-page-title {
  font-size: 28px;
  color: #1B8C4A;
  margin-bottom: 36px;
  padding-bottom: 14px;
  position: relative;
  font-weight: 700;
  text-align: center;
  border: none;
}
.news-page-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #39D07F, #07C160);
  margin: 12px auto 0;
  border-radius: 2px;
}
.news-timeline {
  position: relative;
  padding-left: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.news-timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #39D07F, #A8EAC4, #e2e8f0);
  border-radius: 2px;
}
.news-item {
  position: relative;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}
.news-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border-color: #07C160;
  transform: translateY(-2px);
}
.news-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 26px;
  width: 14px;
  height: 14px;
  background: #07C160;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #39D07F;
}
.news-date {
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(135deg, #1B8C4A 0%, #07C160 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.news-title {
  font-size: 17px;
  font-weight: 700;
  color: #1B8C4A;
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-content {
  font-size: 15px;
  line-height: 1.8;
  color: #2d3748;
}
.news-content p {
  margin-bottom: 10px;
}
.news-content p:last-child {
  margin-bottom: 0;
}
.news-content a {
  color: #0066cc;
  font-weight: 600;
  word-break: break-all;
}
.news-content a:hover {
  color: #07C160;
  text-decoration: underline;
}
.news-empty {
  text-align: center;
  color: #a0aec0;
  padding: 60px 20px;
  font-size: 15px;
}
@media (max-width: 768px) {
  .news-timeline { padding-left: 30px; }
  .news-timeline::before { left: 10px; }
  .news-item { padding: 16px 18px; }
  .news-item::before { left: -24px; width: 12px; height: 12px; }
  .news-date { font-size: 12px; padding: 3px 12px; }
  .news-title { font-size: 15px; }
  .news-content { font-size: 14px; }
  .news-page-title { font-size: 22px; }
}
/* --- Contact page: two-column grid --- */
.contact-grid {
  padding-top: 32px;
  display: flex;
  gap: 32px;
  /* flex-wrap removed — always side by side */
}
.contact-grid .contact-card {
  flex: 1;
  /* max-width removed — use equal flex */
  padding: 24px 32px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: left;
  font-size: 14px;
  color: #4a5568;
  line-height: 2.2;
}
.contact-grid .contact-card strong {
  font-size: 16px;
  color: #1B8C4A;
}
.contact-grid .contact-card a {
  color: #0066cc;
  font-weight: 600;
}
.contact-grid .contact-card a:hover {
  color: #07C160;
}
@media (max-width: 700px) {
  .contact-grid {
    flex-direction: column;
  }
  .contact-grid .contact-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
/* --- Solutions table --- */
.solutions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.solutions-table thead th {
  background: #07C160;
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: none;
}
.solutions-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #4a5568;
  line-height: 1.7;
  vertical-align: middle;
}
.solutions-table tbody tr:nth-child(even) td {
  background: #E8F8EE;
}
.solutions-table tbody tr:hover td {
  background: #A8EAC4;
}
.solutions-table tbody td:first-child {
  font-weight: 400;
  color: #1a202c;
  white-space: nowrap;
  text-align: center;
}
.solutions-table tbody td:last-child {
  font-weight: 400;
  color: #1a202c;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .solutions-table { font-size: 13px; }
  .solutions-table thead th,
  .solutions-table tbody td { padding: 10px 8px; }
}









