/* ===== 九鼎官网升级：产品板块 + 联系卡片 ===== */

/* --- 智能密集架 板块 --- */
.jdgy-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 56px 64px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 90% at 78% 50%, rgba(46, 134, 255, 0.22), transparent 65%),
        linear-gradient(115deg, #0a1a30 0%, #0f2c52 55%, #164c94 100%);
}
/* 细网格线（图纸感） */
.jdgy-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(120, 170, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 255, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
/* 四角标尺刻度 */
.jdgy-hero::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(120, 170, 255, 0.14);
    pointer-events: none;
}
.jdgy-hero-l {
    position: relative;
    z-index: 2;
    flex: 1 1 46%;
    color: #fff;
}
.jdgy-hero-en {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 4px;
    color: #7fb3f5;
    margin-bottom: 18px;
}
.jdgy-hero-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 6px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.jdgy-hero-desc {
    font-size: 14px;
    line-height: 1.9;
    color: #b9cbe6;
    margin-bottom: 30px;
    max-width: 420px;
}
.jdgy-hero-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 34px;
}
.jdgy-hero-feats span {
    font-size: 13px;
    color: #d6e6ff;
    padding: 8px 16px;
    border: 1px solid rgba(127, 179, 245, 0.35);
    background: rgba(127, 179, 245, 0.08);
}
.jdgy-hero-feats span i {
    font-style: normal;
    color: #7fb3f5;
    margin-right: 8px;
    font-family: Consolas, monospace;
    font-size: 11px;
}
.jdgy-hero-btn {
    display: inline-block;
    padding: 14px 34px;
    background: #2e86ff;
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s;
}
.jdgy-hero-btn:hover {
    background: #4a9bff;
    transform: translateX(4px);
}
.jdgy-hero-r {
    position: relative;
    z-index: 2;
    flex: 1 1 54%;
}
.jdgy-hero-frame {
    position: relative;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(127, 179, 245, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(46, 134, 255, 0.12);
}
.jdgy-hero-frame img {
    display: block;
    width: 100%;
    height: auto;
}
.jdgy-hero-caption {
    position: absolute;
    right: 22px;
    bottom: -14px;
    background: #0f2c52;
    border: 1px solid rgba(127, 179, 245, 0.35);
    color: #d6e6ff;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 8px 18px;
}
@media (max-width: 900px) {
    .jdgy-hero { flex-direction: column; padding: 32px 24px; gap: 28px; }
    .jdgy-hero-title { font-size: 30px; }
}

/* --- 自动弹出联系卡片 --- */
.jdgy-contact-pop {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(120%);
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 60px rgba(10, 26, 48, 0.25);
    z-index: 99990;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.jdgy-contact-pop.show { transform: translateY(-50%) translateX(0); }
.jdgy-pop-head {
    background: linear-gradient(115deg, #0f2c52, #164c94);
    color: #fff;
    padding: 18px 20px;
    position: relative;
}
.jdgy-pop-head h4 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.jdgy-pop-head p { margin: 0; font-size: 12px; color: #b9cbe6; }
.jdgy-pop-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    line-height: 24px;
    text-align: center;
    color: #b9cbe6;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.jdgy-pop-close:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }
.jdgy-pop-body { padding: 18px 20px 20px; }
.jdgy-pop-hello { font-size: 13px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.jdgy-pop-tel {
    display: block;
    text-align: center;
    padding: 12px 0;
    margin-bottom: 10px;
    background: #f2f7ff;
    border: 1px solid #d8e6fb;
    border-radius: 6px;
    color: #164c94;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s;
}
.jdgy-pop-tel:hover { background: #e2eeff; }
.jdgy-pop-tel small {
    display: block;
    font-size: 11px;
    color: #8a9bb5;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 2px;
}
.jdgy-pop-wx {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e3eaf3;
}
.jdgy-pop-wx img { width: 64px; height: 64px; border-radius: 4px; }
.jdgy-pop-wx p { margin: 0; font-size: 12px; color: #777; line-height: 1.7; }

/* 收起后的右缘把手 */
.jdgy-contact-tab {
    position: fixed;
    right: 0;
    top: 55%;
    z-index: 99989;
    background: #164c94;
    color: #fff;
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    font-size: 13px;
    padding: 16px 8px;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    box-shadow: -4px 4px 20px rgba(10, 26, 48, 0.2);
    display: none;
}
.jdgy-contact-tab:hover { background: #2e86ff; }

/* --- 右侧工具条可收起 --- */
.jdgy-toolbar-toggle {
    position: fixed;
    right: 0;
    bottom: 8%;
    z-index: 99988;
    background: rgba(22, 76, 148, 0.85);
    color: #fff;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    user-select: none;
}
.i_pf_ul { transition: transform 0.3s, opacity 0.3s; }
.i_pf_ul.jdgy-collapsed {
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 900px) {
    .jdgy-contact-pop { width: 260px; right: 12px; }
}
