/* 节点云计算官网 · 内页顶栏与页脚（从首页 style.css 摘出，类名加 jd- 前缀，避免和工具页样式互相影响） */
.jd-chrome {
    --primary: #165DFF; --primary-dark: #0747CC; --gold: #FFB800; --purple: #722ED1;
    --dark: #1D2129; --gray-900: #4E5969; --gray-600: #86909C; --gray-300: #C9CDD4; --gray-100: #F2F3F5; --white: #FFFFFF;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1); --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6; -webkit-font-smoothing: antialiased;
}
:where(.jd-chrome) *, :where(.jd-chrome) *::before, :where(.jd-chrome) *::after { margin: 0; padding: 0; box-sizing: border-box; }
:where(.jd-chrome) a { text-decoration: none; color: inherit; }
:where(.jd-chrome) img { max-width: 100%; height: auto; }
.jd-chrome h4, .jd-chrome h5, .jd-chrome p { font-family: inherit; letter-spacing: normal; line-height: 1.6; }
.jd-chrome .jd-footer-col h4 { color: var(--white); }
.jd-chrome .jd-nav-links a:hover, .jd-chrome .jd-footer-col a:hover { text-decoration: none; }
/* 写作、排版页的工作区高度按 72px 顶栏计算 */
.cmp-page main { min-height: calc(100vh - 72px); }
.cmp { height: calc(100vh - 72px); }
.lay { height: calc(100vh - 72px); }
.cmp-page .jd-footer, .lay-page .jd-footer { display: none; }
.jd-inner main { min-height: calc(100vh - 72px - 320px); }
.jd-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
/* ========== 导航栏 ========== */
.jd-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
}

.jd-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.jd-logo {
    display: flex;
    align-items: center;
}

.jd-logo-img {
    height: 48px;
    width: auto;
}

.jd-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.jd-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
    transition: var(--transition);
    position: relative;
}

.jd-nav-links a:hover,
.jd-nav-links a.active {
    color: var(--primary);
}

.jd-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.jd-nav-cta .jd-btn {
    padding: 10px 20px;
    border-radius: 50px;
}

.jd-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.jd-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.jd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-lg), 0 4px 14px rgba(22, 93, 255, 0.4);
}

.jd-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 8px 20px rgba(22, 93, 255, 0.5);
}

.jd-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.jd-footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jd-footer-logo {
    height: 56px;
    margin-bottom: 20px;
    background: var(--white);
    padding: 8px 16px;
    border-radius: 12px;
}

.jd-footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.jd-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.jd-footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.jd-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jd-footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.jd-footer-col a:hover {
    color: var(--white);
}

.jd-footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.jd-footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .jd-footer-main { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
    .jd-nav-links, .jd-nav-cta { display: none; }
    .jd-menu-btn { display: flex; }
    .jd-footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .jd-footer-links { grid-template-columns: 1fr; }
}

/* 内页：顶栏右侧的登录 / 头像 */
.jd-nav-right { display: flex; align-items: center; gap: 14px; }
.jd-user { font-size: 14px; font-weight: 500; color: var(--gray-900); }
.jd-user:hover { color: var(--primary); }
.jd-nav-right .menu-btn { width: 36px; height: 36px; }
.jd-nav-right .menu { position: relative; }
.jd-spacer { height: 72px; }
/* 手机端菜单：点右上角按钮展开（首页原版缺这段样式，点了没反应） */
@media (max-width: 768px) {
    .jd-nav-links.active { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-100); box-shadow: 0 10px 20px rgba(0,0,0,.06); padding: 8px 24px 16px; }
    .jd-nav-links.active li a { display: block; padding: 12px 0; }
    .jd-nav-links.active a.active::after { display: none; }
}
/* 工具、登录、个人中心等内页的主色跟官网一致 */
:root { --accent: #165DFF; --accent-2: #0747CC; --accent-soft: rgba(22, 93, 255, .09); }
/* 一键去 AI 味 / 润色相关按钮（本站没有润色引擎） */
#cPolish, #cToWrite, #wDewater, [data-op="polish"], [data-sop="polish"] { display: none !important; }
