/* ========== Gindim 全局样式 ========== */
/* 对标 juhe.cn 蓝色数据服务风格 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px; color: #333; background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: #1677ff; text-decoration: none; }
a:hover { color: #4096ff; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

/* ===== 全局容器 ===== */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; padding: 80px 0 48px; }
.section-header h2 { font-size: 32px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: #999; }

/* ===== 头部导航 ===== */
.gindim-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 64px; background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #edf0f5;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.gh-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; gap: 32px;
    padding: 0 24px;
}
.gh-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gh-logo span { font-size: 20px; font-weight: 700; color: #1a1a1a; letter-spacing: 0.5px; }

.gh-nav { display: flex; gap: 4px; flex: 1; }
.gh-nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 16px; font-size: 14px; color: #555; font-weight: 500;
    border-radius: 6px; transition: all 0.15s; white-space: nowrap;
}
.gh-nav-link:hover { color: #1677ff; background: #f0f7ff; }
.gh-nav-link.active { color: #1677ff; background: #f0f7ff; font-weight: 600; }
.gh-nav-link i { font-size: 10px; transition: transform 0.2s; }

/* 下拉菜单 */
.gh-dropdown { position: relative; }
.gh-dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 180px;
    background: #fff; border-radius: 8px; padding: 6px 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12); border: 1px solid #edf0f5;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.2s; z-index: 100;
}
.gh-dropdown:hover .gh-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.gh-dropdown:hover .gh-nav-link i { transform: rotate(180deg); }
.gh-dropdown-menu a {
    display: block; padding: 9px 18px; font-size: 13px; color: #555;
    transition: all 0.15s;
}
.gh-dropdown-menu a:hover { color: #1677ff; background: #f5f7fa; }

/* 头部按钮 */
.gh-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gh-btn-ghost {
    padding: 7px 18px; font-size: 13px; color: #555; font-weight: 500;
    border-radius: 6px; transition: all 0.15s; border: 1px solid transparent;
}
.gh-btn-ghost:hover { color: #1677ff; background: #f0f7ff; }
.gh-btn-primary {
    padding: 8px 20px; font-size: 13px; color: #fff; font-weight: 500;
    background: #1677ff; border-radius: 6px; transition: all 0.15s;
}
.gh-btn-primary:hover { background: #4096ff; color: #fff; box-shadow: 0 2px 8px rgba(22,119,255,0.3); }

/* 用户下拉 */
.gh-user-dropdown { position: relative; cursor: pointer; }
.gh-user-avatar { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; }
.gh-user-avatar img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #edf0f5; }
.gh-user-menu {
    position: absolute; top: 100%; right: 0; min-width: 160px;
    background: #fff; border-radius: 8px; padding: 6px 0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12); border: 1px solid #edf0f5;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.2s; z-index: 100;
}
.gh-user-menu hr { margin: 4px 0; border: none; border-top: 1px solid #f0f0f0; }
.gh-user-menu a { display: block; padding: 8px 18px; font-size: 13px; color: #555; }
.gh-user-menu a:hover { color: #1677ff; background: #f5f7fa; }
.gh-user-dropdown:hover .gh-user-menu { opacity: 1; visibility: visible; transform: translateY(4px); }

/* ===== 页脚 ===== */
.gindim-footer {
    background: #1a1a2e; color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.gf-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gf-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.gf-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.gf-col p { font-size: 13px; line-height: 1.8; margin-bottom: 12px; }
.gf-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); padding: 4px 0; transition: color 0.15s; }
.gf-col a:hover { color: #fff; }
.gf-contact { color: rgba(255,255,255,0.5) !important; font-size: 12px !important; }
.gf-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px; padding: 20px 0;
    font-size: 12px; color: rgba(255,255,255,0.4);
    display: flex; gap: 20px; flex-wrap: wrap;
}
.gf-bottom a { color: rgba(255,255,255,0.4); }
.gf-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ===== 通用间距 ===== */
.main-body { padding-top: 64px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .gf-grid { grid-template-columns: repeat(2, 1fr); }
    .gh-nav { display: none; }
}
@media (max-width: 600px) {
    .gf-grid { grid-template-columns: 1fr; }
}
