:root {
    --primary: #0f4c81;
    --primary-dark: #0a3a62;
    --primary-light: #0066CC;
    --secondary: #00A8E8;
    --accent: #00c3ff;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-soft: #f1f5f9;
    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --gradient-1: linear-gradient(135deg, #0f4c81 0%, #0066CC 50%, #00A8E8 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Loader */
.loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 10000; transition: opacity 0.6s ease, visibility 0.6s ease; }
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring { width: 60px; height: 60px; border: 3px solid var(--border-light); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; width: 100%; padding: 0 40px; z-index: 1000; transition: all 0.4s ease; background: transparent; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); box-shadow: var(--shadow); height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text { height: 42px; width: auto; display: block; transition: opacity 0.3s ease; }
.logo-text-white { display: block; }
.logo-text-color { display: none; }
.nav.scrolled .logo-text-white { display: none; }
.nav.scrolled .logo-text-color { display: block; }
.nav-center { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-center > li { position: relative; }
.nav-center a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 25px; transition: all 0.3s ease; display: flex; align-items: center; gap: 4px; border-radius: 8px; }
.nav.scrolled .nav-center a { color: var(--text); }
.nav-center a .arrow { width: 10px; height: 10px; transition: transform 0.3s ease; fill: currentColor; }
.nav-center > li:hover > a { color: var(--accent); background: rgba(255,255,255,0.12); }
.nav.scrolled .nav-center > li:hover > a { color: var(--primary); background: rgba(0,102,204,0.08); }
.nav-center > li:hover > a .arrow { transform: rotate(180deg); }
.sub-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 180px; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 14px; padding: 8px 0; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; box-shadow: var(--shadow-xl); z-index: 100; list-style: none; }
.nav-center > li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.nav-center > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu a { padding: 10px 20px; color: var(--text-secondary) !important; font-size: 14px; white-space: nowrap; margin: 0 8px; border-radius: 8px; }
.sub-menu a:hover { color: var(--primary) !important; background: var(--bg-alt); }
.sub-menu li { position: relative; }
.sub-menu .sub-menu { position: absolute; top: 0; left: 100%; margin-left: 4px; min-width: 160px; transform: translateX(10px); }
.sub-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-menu .has-more > a { position: relative; padding-right: 30px; }
.sub-menu .has-more > a::after { content: ''; position: absolute; right: 14px; top: 50%; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid var(--text-muted); transform: translateY(-50%); transition: all 0.3s ease; }
.sub-menu .has-more:hover > a::after { border-left-color: var(--primary); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); color: #fff; padding: 9px 20px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.nav-cta:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.nav-cta .tel-icon { width: 16px; height: 16px; fill: currentColor; }
.nav.scrolled .nav-cta { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: 0 4px 15px rgba(15,76,129,0.3); }
.nav.scrolled .nav-cta:hover { box-shadow: 0 8px 25px rgba(15,76,129,0.4); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: none; }
.menu-toggle span { width: 26px; height: 2px; background: var(--text); transition: all 0.3s ease; display: block; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Section styles */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; padding: 6px 20px; background: rgba(0,102,204,0.08); border: 1px solid rgba(0,102,204,0.12); border-radius: 30px; font-size: 13px; color: var(--primary-light); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-weight: 500; }
.section-title { font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 42px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 620px; margin: 0 auto; line-height: 1.7; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--gradient-1); color: #fff; padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(15,76,129,0.3); border: none; cursor: pointer; position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.6s ease; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(15,76,129,0.4); }
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.8); color: var(--text); padding: 16px 36px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid var(--border); transition: all 0.3s ease; backdrop-filter: blur(10px); cursor: pointer; }
.btn-secondary:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(255,255,255,0.95); }

/* Page Header */
.page-header { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 40px 80px; }
.page-header-bg { position: absolute; inset: 0; z-index: 0; }
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-header-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,60,0.55) 0%, rgba(15,30,60,0.25) 40%, rgba(15,30,60,0.6) 100%); }
.page-header-content { position: relative; z-index: 2; text-align: center; max-width: 700px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; font-size: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.55); }
.breadcrumb-current { color: var(--accent); font-weight: 500; }
.page-title { font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 52px; font-weight: 700; color: #fff; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.page-desc { font-size: 17px; color: rgba(255,255,255,0.9); line-height: 1.7; text-shadow: 0 1px 6px rgba(0,0,0,0.25); }

/* Footer */
.footer { padding: 70px 60px 30px; background: #0b1220; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 50px; max-width: 1200px; margin: 0 auto; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-text { height: 46px; width: auto; display: block; }
.footer-desc { font-size: 14px; color: #94a3b8; line-height: 1.7; }
.footer-title { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: all 0.3s ease; display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: #94a3b8; font-size: 14px; list-style: none; padding-right: 10px; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--secondary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding-top: 20px; font-size: 13px; color: #64748b; }
.footer-bottom a { color: #64748b; text-decoration: none; transition: color 0.3s ease; }
.footer-bottom a:hover { color: #fff; }

/* Content Detail */
.content-detail { padding: 80px 40px; max-width: 1280px; margin: 0 auto; }
.content-detail-title { font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 20px; line-height: 1.4; width: 100%;  text-align: center; margin-left: auto; margin-right: auto; }
.content-detail-meta { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-secondary); max-width: 900px; margin-left: auto; margin-right: auto; }
.content-detail-body { font-size: 16px; line-height: 1.8; color: var(--text); word-break: break-word; overflow-wrap: break-word; max-width: 900px; margin-left: auto; margin-right: auto; }
.content-detail-body img { max-width: 100% !important; height: auto !important; border-radius: 8px; margin: 20px 0; }
.content-detail-body p { margin-bottom: 16px; }
.content-detail-body svg { max-width: 20px; max-height: 20px; }
.content-detail-body * { max-width: 100% !important; }
.content-detail-body table { width: 100% !important; overflow-x: auto; display: block; }
.content-detail-body table td, .content-detail-body table th { word-break: break-word; }
.content-back { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; margin-top: 40px; margin-left: auto; margin-right: auto; }
.content-back:hover { color: var(--primary-dark); }
.content-back svg { width: 16px; height: 16px; fill: currentColor; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 60px; }
.pagination-btn { width: 44px; height: 44px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; }
.pagination-btn:hover { border-color: var(--primary-light); color: var(--primary-light); background: var(--bg-alt); }
.pagination-btn.active { background: var(--gradient-1); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(15,76,129,0.25); }
.pagination-btn svg { width: 18px; height: 18px; fill: currentColor; }
.pagination-ellipsis { color: var(--text-muted); padding: 0 10px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state svg { width: 80px; height: 80px; fill: var(--border); margin-bottom: 20px; }
.empty-state h3 { font-size: 20px; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1400px) {
    .nav-center a { padding: 8px 16px; }
}
@media (max-width: 1200px) {
    .page-title { font-size: 44px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-center a { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 768px) {
    .nav { padding: 0 16px; height: 70px; }
    .nav-center { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 12px 16px; gap: 0; border-top: 1px solid var(--border); box-shadow: var(--shadow-lg); max-height: 70vh; overflow-y: auto; }
    .nav-center.active { display: flex; }
    .nav-center a { padding: 12px 8px; font-size: 14px; border-bottom: 1px solid var(--border-light); color: var(--text) !important; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg-alt); display: none; }
    .nav-center > li.sub-open > .sub-menu { display: block; }
    .menu-toggle { display: flex; }
    .menu-toggle span { background: #fff; }
    .nav.scrolled .menu-toggle span { background: var(--text); }
    .page-header { min-height: 400px; padding: 100px 20px 60px; }
    .page-title { font-size: 34px; }
    .section-title { font-size: 28px; }
    .section-desc { font-size: 14px; }
    .content-detail { padding: 40px 20px; }
    .content-detail-title { font-size: 24px; }
    .footer { padding: 50px 20px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; font-size: 13px; }
}
