/* =========================================================
   品传GEO 全站公共样式（与首页 index.htm 统一的深色科技风）
   供所有内页模板引用，自带对旧版类名(.ndbox/.w1200等)的深色适配
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #05050A;
    color: #EFF1F5;
    line-height: 1.5;
}
body { scroll-behavior: smooth; }

/* 渐变背景层 */
.gradient-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 10% 20%, rgba(10, 20, 40, 0.95), #010101);
}
.gradient-bg::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, rgba(0, 255, 255, 0.02) 0px, rgba(0, 255, 255, 0.02) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}

/* 布局容器（兼容旧版 .w1200） */
.container, .w1200 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 超链接 */
a { text-decoration: none; color: #C9D4E3; transition: 0.2s; }
a:hover { color: #3CCBFF; text-shadow: 0 0 6px rgba(60,203,255,0.5); }

/* 标题 */
h1, h2, h3, h4, h5 { color: #FFFFFF; font-weight: 700; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin: 60px 0 40px;
}

/* ---------- 吸顶导航 ---------- */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 10, 0.92);
    border-bottom: 1px solid rgba(60, 203, 255, 0.3);
    transition: all 0.2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    flex-wrap: nowrap;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #3CCBFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}
.logo span {
    font-size: 1rem;
    background: none;
    color: #3CCBFF;
    font-weight: 500;
    -webkit-text-fill-color: #3CCBFF;
}
.logo a { color: transparent; }
.logo img { height: 46px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(120,140,180,0.35)); }
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
    white-space: nowrap;
}
.nav-links ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.nav-links ul li { list-style: none; }
.nav-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover {
    color: #3CCBFF;
    text-shadow: 0 0 6px rgba(60,203,255,0.5);
}
/* 当前栏目（易优 currentstyle 加在 li 上）与鼠标悬停项：明显高亮 */
.nav-links li.current > a,
.nav-links li:hover > a,
.nav-links a.current {
    color: #3CCBFF !important;
    text-shadow: 0 0 8px rgba(60,203,255,0.6) !important;
    background: rgba(60, 203, 255, 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(60,203,255,0.45), 0 0 12px rgba(60,203,255,0.18) !important;
}
.nav-links li.current > a {
    background: rgba(60, 203, 255, 0.2) !important;
    border-bottom-color: #3CCBFF !important;
}
.nav-cta {
    background: rgba(60, 203, 255, 0.12);
    border: 1px solid #3CCBFF;
    padding: 8px 20px;
    border-radius: 40px;
    color: #3CCBFF !important;
}
/* 导航搜索 */
.nav-search input[type="text"] {
    background: #0F1622;
    border: 1px solid #2D3A4E;
    border-radius: 40px;
    padding: 6px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    width: 160px;
}
.nav-search input[type="text"]:focus { border-color: #3CCBFF; }
.nav-search button {
    background: transparent;
    border: none;
    color: #3CCBFF;
    cursor: pointer;
    font-size: 1rem;
    margin-left: -34px;
}
/* 下拉子菜单 */
.nav-links li { position: relative; list-style: none; }
.nav-links ul { list-style: none; }
.nav-links li .sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(8, 14, 24, 0.97);
    border: 1px solid rgba(60,203,255,0.25);
    border-radius: 16px;
    padding: 10px 0;
    min-width: 180px;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.nav-links li:hover .sub-nav:has(li) { display: block; }
.nav-links li .sub-nav:not(:empty):not(:has(li)) { display: none !important; }
.nav-links li .sub-nav li a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
    color: #CBD5E1;
}
.nav-links li .sub-nav li a:hover { background: rgba(60,203,255,0.08); color: #3CCBFF; }

/* ---------- 按钮 ---------- */
.btn-primary {
    background: linear-gradient(95deg, #0D99FF, #5F2CFF);
    border: none;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(13, 153, 255, 0.3);
    display: inline-block;
    text-align: center;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(13, 153, 255, 0.4);
    color: #fff;
    text-shadow: none;
}
.btn-outline {
    background: transparent;
    border: 1px solid #3CCBFF;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 500;
    color: #3CCBFF;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    text-align: center;
}
.btn-outline:hover {
    background: rgba(60,203,255,0.06);
    box-shadow: 0 0 10px rgba(60,203,255,0.6);
}

/* ---------- 通用卡片 ---------- */
.geo-card, .step-card, .case-card {
    background: rgba(255,255,255,0.03);
    border-radius: 28px;
    padding: 28px 20px;
    border: 1px solid rgba(60,203,255,0.2);
    transition: 0.2s;
}
.geo-card:hover, .step-card:hover, .case-card:hover {
    border-color: rgba(60,203,255,0.5);
    box-shadow: 0 8px 24px rgba(13,153,255,0.15);
}
.geo-badge {
    background: rgba(13,153,255,0.125);
    color: #0D99FF;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    display: inline-block;
}
/* 卡片自适应网格（内页通用） */
.case-grid, .geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

/* ---------- 页面主区（兼容旧版 .ndbox 白盒子） ---------- */
.ndbox {
    background: rgba(12, 20, 30, 0.6) !important;
    border: 1px solid rgba(60, 203, 255, 0.2);
    border-radius: 32px;
    margin: 50px auto !important;
    padding: 50px 35px !important;
    color: #C9D4E3;
}
.ndbox h1 { color: #3CCBFF !important; font-size: 2rem; padding: 0 0 20px !important; }
.ndbox h2 { color: #3CCBFF !important; padding: 0 !important; }
.ndbox h3 { color: #FFFFFF !important; font-size: 1.4rem; padding: 14px 0 8px !important; }
.ndbox p { color: #C9D4E3 !important; font-size: 1rem !important; padding: 8px 0 !important; }
.ndbox p a, .ndbox h3 a { color: #C9D4E3; }
.ndbox p a:hover, .ndbox h3 a:hover { color: #3CCBFF; }
.ndbox br { line-height: 1.8; }

/* 页面主区通用 main */
main { display: block; }
.page-main { padding: 50px 0 30px; min-height: 50vh; }

/* ---------- 表格 ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.compare-grid, .table-card {
    background: rgba(12, 20, 30, 0.6);
    border-radius: 32px;
    border: 1px solid rgba(60, 203, 255, 0.2);
    overflow-x: auto;
}
th, td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(60, 203, 255, 0.15);
    color: #C9D4E3;
}
th { color: #3CCBFF; font-weight: 600; }
tr:hover td { background: rgba(60,203,255,0.04); }

/* ---------- 分页 ---------- */
.pagination-wrapper { text-align: center; margin: 40px 0; }
.pagination ul { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pagination li, .pagination ul li { display: inline-block; }
.pagination a, .pagination span, .pagination-wrapper a, .pagination-wrapper span {
    display: inline-block;
    min-width: 38px;
    padding: 8px 14px;
    border-radius: 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(60,203,255,0.2);
    color: #C9D4E3;
    font-size: 0.9rem;
}
.pagination a:hover, .pagination-wrapper a:hover {
    border-color: #3CCBFF;
    color: #3CCBFF;
}
.pagination .active a, .pagination span.current, .pagination-wrapper span.current {
    background: linear-gradient(95deg, #0D99FF, #5F2CFF);
    color: #fff;
    border-color: transparent;
}

/* ---------- 文章正文 ---------- */
.article-content, .newdec {
    color: #C9D4E3;
    font-size: 1.05rem;
    line-height: 1.9;
    word-break: break-word;
}
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5,
.newdec h1, .newdec h2, .newdec h3, .newdec h4, .newdec h5 {
    color: #FFFFFF;
    margin: 1.4em 0 0.6em;
}
.article-content h2, .newdec h2 { color: #3CCBFF; }
.article-content p, .newdec p { margin: 0.8em 0; color: #C9D4E3; }
.article-content a, .newdec a { color: #3CCBFF; }
.article-content img, .newdec img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 12px 0;
}
.article-content table, .newdec table {
    border: 1px solid rgba(60,203,255,0.2);
    border-radius: 8px;
    overflow: hidden;
}
.article-content td, .article-content th, .newdec td, .newdec th {
    border: 1px solid rgba(60,203,255,0.15);
    padding: 10px 14px;
}
.article-content blockquote, .newdec blockquote {
    border-left: 3px solid #3CCBFF;
    background: rgba(60,203,255,0.05);
    padding: 12px 20px;
    border-radius: 0 12px 12px 0;
    margin: 16px 0;
    color: #AAB8CC;
}
.article-content pre, .article-content code,
.newdec pre, .newdec code {
    background: #0F1622;
    border-radius: 8px;
    color: #8BE9FD;
    padding: 2px 8px;
}
.article-content pre, .newdec pre { padding: 16px; overflow-x: auto; }
.article-content ul, .article-content ol, .newdec ul, .newdec ol {
    padding-left: 1.6em;
    margin: 0.8em 0;
}
.article-content ul li::marker, .newdec ul li::marker { color: #3CCBFF; }
.article-content iframe, .newdec iframe, .article-content video, .newdec video { max-width: 100%; }

/* 文章 meta 信息条 */
.article-meta {
    color: #7A8DAE;
    font-size: 0.9rem;
    padding: 10px 0 20px;
    border-bottom: 1px solid rgba(60,203,255,0.15);
    margin-bottom: 24px;
}
.article-meta a { color: #3CCBFF; margin: 0 2px; }

/* ---------- 表单 ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="date"], select, textarea {
    background: #0F1622;
    border: 1px solid #2D3A4E;
    border-radius: 48px;
    color: #FFFFFF;
    font-size: 1rem;
    padding: 12px 18px;
    outline: none;
    font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: #3CCBFF; }
textarea { border-radius: 20px; min-height: 120px; width: 100%; }
select option { background: #0F1622; color: #fff; }
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0;
}
.form-group input, .form-group select { flex: 1; min-width: 200px; }

/* ---------- 页脚 ---------- */
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid rgba(60,203,255,0.2);
    padding: 32px 0;
    margin-top: 70px;
}
.footer-flex a { color: #C9D4E3; }
.footer-flex a:hover { color: #3CCBFF; text-shadow: none; }
.copyright { color: #5F6C84; font-size: 0.85rem; line-height: 2; }
.copyright a { color: #8E9AAC; }
.copyright a:hover { color: #3CCBFF; }
.qrcode img {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    object-fit: contain;
}
.qrcode { text-align: center; color: #8E9AAC; font-size: 12px; }
.qrcode img.big { width: 135px; height: 135px; }

/* ---------- 回到顶部 ---------- */
.go-top, .scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0D99FF;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.2s;
    border: 1px solid rgba(255,255,255,0.2);
}
.go-top:hover, .scroll-top:hover { background: #3CCBFF; transform: translateY(-3px); }
.go-top.show { opacity: 1; visibility: visible; }

/* ---------- Toast ---------- */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #0D99FF;
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    z-index: 999;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-width: 90%;
}

/* ---------- 数据统计条 ---------- */
.insight-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    background: rgba(13,153,255,0.05);
    border-radius: 48px;
    padding: 32px;
    margin: 20px 0;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #3CCBFF;
}

/* =========================================================
   旧版遗留类名的深色兼容层（未彻底改版页面也能变深色）
   ========================================================= */
.header, .head { background: rgba(5,5,10,0.92) !important; border-bottom: 1px solid rgba(60,203,255,0.3); }
.header .nav a, .head .nav a, .head .nav ul li a { color: #CBD5E1 !important; }
.header .nav a:hover, .head .nav a:hover { color: #3CCBFF !important; }
.header .current a, .head .current a { color: #3CCBFF !important; }
.search-bg { background: rgba(8,14,24,0.95) !important; border-bottom: 1px solid rgba(60,203,255,0.15); }
.search-bg .s, .search-form input.s {
    background: #0F1622 !important;
    border: 1px solid #2D3A4E !important;
    color: #fff !important;
    border-radius: 40px !important;
}
.tagscloud, .search-bg span { color: #7A8DAE !important; }
.tagscloud a { color: #C9D4E3 !important; }
.idxfooter { background: rgba(5,5,10,0.95) !important; border-top: 1px solid rgba(60,203,255,0.2); color: #8E9AAC; }
.idxfooter h1, .idxfooter h2 { color: #C9D4E3 !important; }
.idxfooter a { color: #8E9AAC !important; }
.idxfooter a:hover { color: #3CCBFF !important; }
.top_section, .news_sectionbg { background: transparent !important; height: 0 !important; margin: 0 !important; }
body { padding-bottom: 0 !important; }

/* 移动端 */
@media (max-width: 680px) {
    .nav-links { gap: 1rem; margin-top: 8px; justify-content: center; }
    .section-title { font-size: 1.7rem; }
    .ndbox { padding: 30px 18px !important; border-radius: 20px; }
}
@media (max-width: 560px) {
    .container, .w1200 { padding: 0 16px; }
    .btn-primary, .btn-outline { padding: 10px 18px; font-size: 0.9rem; }
}

/* ==================== 手机端导航（≤860px） ==================== */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(60, 203, 255, 0.08);
    border: 1px solid rgba(60, 203, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #3CCBFF;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    display: none;
    background: rgba(5, 8, 14, 0.98);
    border-top: 1px solid rgba(60, 203, 255, 0.15);
    padding: 6px 20px 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(60, 203, 255, 0.08); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 4px;
    color: #C9D4E3;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    background: none;
    box-shadow: none;
}
.mobile-menu li a::after { content: '\203A'; color: #3CCBFF; font-weight: 700; font-size: 1.2rem; }
.mobile-menu li a.mm-cta {
    justify-content: center;
    margin-top: 14px;
    color: #04121E !important;
    background: linear-gradient(135deg, #3CCBFF, #0D99FF);
    border-radius: 999px;
    font-weight: 700;
}
.mobile-menu li a.mm-cta::after { content: none; }
.mm-search { display: flex; margin-top: 14px; }
.mm-search input {
    flex: 1;
    min-width: 0;
    background: rgba(60, 203, 255, 0.06);
    border: 1px solid rgba(60, 203, 255, 0.3);
    border-right: none;
    border-radius: 999px 0 0 999px;
    padding: 10px 16px;
    color: #E6F1FF;
    outline: none;
    font-size: 0.95rem;
}
.mm-search input::placeholder { color: #7A8DAE; }
.mm-search button {
    background: linear-gradient(135deg, #3CCBFF, #0D99FF);
    border: none;
    border-radius: 0 999px 999px 0;
    padding: 0 18px;
    color: #04121E;
    cursor: pointer;
    font-size: 1rem;
}
@media (max-width: 860px) {
    .navbar { padding: 10px 0; }
    .logo img { height: 38px; }
    .nav-links { display: none !important; }
    .nav-toggle { display: flex; }
}
