/* 全局重置：从根源解决横向溢出 */
* {
    margin: 0;
    padding: 0;
    font-family: "Inter", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    scroll-behavior: smooth;
    max-width: 100%;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
}

:root {
    --blue: #0052cc;
    --blue-dark: #003366;
    --blue-light: #eef3ff;
    --gray-bg: #f8fafc;
    --gray-100: #f1f5f9;
    --shadow-sm: 0 8px 20px rgba(0, 82, 204, 0.06);
    --shadow-md: 0 20px 35px -12px rgba(0, 82, 204, 0.15);
    --shadow-hover: 0 25px 40px -12px rgba(0, 82, 204, 0.25);
    --transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
    background: var(--gray-bg);
    color: #1a2c3e;
    padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}

/* ========= 各模块容器样式开始 ========= */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 32px;
}

/* ========= 各模块容器样式结束 ========= */

a {
    text-decoration: none;
}

/* ========= 各模块样式开始 ========= */
.section {
    padding: 30px 0;
    width: 100% !important;
    overflow: hidden !important;
}

/* ========= 各模块样式结束 ========= */

/* ========= 各模块标题样式开始 ========= */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

/* ========= 各模块标题样式结束 ========= */

/* ========= 各模块副标题样式开始 ========= */
.section-sub {
    text-align: center;
    max-width: 720px;
    margin: 12px auto 0;
    color: #4a627a;
    font-size: 1rem;
}

/* ========= 各模块副标题样式结束 ========= */

/* ========= banner 文字逐行淡入动画开始 ========= */
@keyframes lineFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========= banner 文字逐行淡入动画结束 ========= */

/* ========= 各模块淡入动画开始 ========= */
.fade-scrolled-in {
    opacity: 0;
    transform: translateY(36px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fade-scrolled-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========= 各模块淡入动画结束 ========= */

/* ========= 右侧53固定窗口开始 ========= */
.st-float-window {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 5px;
    width: 500px;
    max-height: 500px;
    background: #ffffff;
    color: #333;
    border-radius: 16px;
    padding: 0; /* 改为0 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    border: 1px solid #f0f2f5;
    transition: box-shadow 0.3s ease;
    flex-direction: column;
    overflow: hidden; /* 外部隐藏滚动条 */
}

.st-float-window:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.st-float-window p {
    margin: 10px 0 10px 0;
    font-size: 14px;
    color: #555;
}

.st-float-window strong {
    color: #1a2b48;
    font-weight: 500;
}

.st-float-window .st-highlight {
    color: #007bff;
    font-weight: 500;
}

.st-float-window .st-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.st-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    /*background: #0052cc;*/
    background: linear-gradient(135deg, #1a4a7a 0%, #0e3a60 100%);
    border-bottom: 1px solid #2d5a88;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    /*border-radius: 16px 16px 16px 16px; !* 只保留顶部圆角 *!*/
    flex-shrink: 0; /* 防止被压缩 */
}

.st-scroll-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 20px 20px;
}

.st-dialog-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.st-dialog-title-icon {
    height: 30px;
}

/* 关闭按钮 - 白色，悬停效果 */
.st-dialog-close {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
}

.st-dialog-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.st-scroll-content p {
    color: black;
    font-weight: 500;
    font-size: 15px;
}

.st-scroll-content a {
    color: blue;
    text-decoration: underline;
}

.st-scroll-content a:hover {
    cursor: pointer;
}

/* ========= 右侧53固定窗口结束 ========= */