/* 白皮书下载页面样式 */
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0366FF;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --accent-color: #0366FF;
    --border-color: #e9e9e9;
    --error-color: #FF3B30;
    --success-color: #34C759;
}

body {
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.contact-phone img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* 面包屑导航 */
.breadcrumb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.breadcrumb a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333333;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

/* 首页图标 */
.home-icon {
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.home-icon img {
    width: 100%;
    height: 100%;
}

/* 白皮书详情内容区 */
.white-paper-detail-wrapper {
    padding: 40px 0;
}

/* 标题 */
.white-paper-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
    color: #333;
    text-align: center;
}

/* 富文本内容区域 */
.white-paper-richtext {
    margin-bottom: 40px;
}

.richtext-placeholder {
    padding: 20px;
    border-radius: 4px;
    margin: 0 auto;
}

.richtext-box {
    color: #666;
    line-height: 1.8;
}

/* 分隔线 */
.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 40px 0;
}

.form-container{
    width: 100%;
    height: auto;
    background: linear-gradient( 180deg, #D5E6FF 0%, rgba(255,255,255,0) 100%);

}

/* 下载表单 */
.white-paper-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.form-group  label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    min-width: 120px;
    text-align: right;
    margin-right: 10px;
}

.form-group  .checkbox-label,
.form-group  .radio-label{
    text-align: left;
}

.form-group .required {
    color: var(--error-color);
    margin-left: 4px;
}

.form-group input[type="text"] {
    width: calc(100% - 130px);
    height: 40px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: 0 15px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group input[type="text"]::placeholder {
    color: #999;
}

/* 单选框和复选框样式 */
.form-options {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    width: calc(100% - 130px);
    vertical-align: top;
}

.radio-options, .checkbox-options {
    margin-top: 0;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    margin-right: 15px;
    margin-bottom: 10px;
}

.radio-label input, .checkbox-label input {
    margin-right: 6px;
}

/* 验证码区域 */
.form-group-captcha .captcha-row {
    display: inline-flex;
    gap: 10px;
    width: calc(100% - 130px);
    vertical-align: top;
}

.form-group-captcha input {
    width: 60%;
}

.captcha-container {
    position: relative;
    width: 132px;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
}

.captcha-img {
    width: calc(100% - 40px);
    height: 100%;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    border-radius: 4px 0 0 4px;
}

.captcha-refresh {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.captcha-refresh img {
    width: 24px;
    height: 24px;
}

/* 提交按钮 */
.form-btn {
    width: 240px;
    height: 46px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 23px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 30px auto 0;
}

.form-btn:hover {
    background-color: #0052cc;
}

/* 表单错误提示 */
.form-error {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    margin-left: 130px;
    width: 100%;
}

/* 表单验证样式 */
.input-error {
    border-color: var(--error-color) !important;
}

.input-success {
    border-color: var(--success-color) !important;
}

/* 移动端底部联系方式 */
.mobile-contact {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-contact .contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: #333;
}

.mobile-contact .contact-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.mobile-contact .contact-icon img {
    width: 100%;
    height: 100%;
}

.mobile-contact .contact-text {
    font-size: 12px;
}

.phone-contact {
    background-color: #fff;
}

.chat-contact {
    background-color: #f8f8f8;
}

.wechat-contact {
    background-color: #4CD964;
    color: #fff;
}

/* 页脚 */
.footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 15px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: #666;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: #999;
    font-size: 12px;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .captcha-container{
        width: 200px;
    }
    .breadcrumb-container{
        display: none;
    }
    .header-content {
        height: 60px;
    }

    .logo img {
        height: 30px;
    }

    .contact-phone {
        font-size: 14px;
    }



    .breadcrumb {
        flex-wrap: wrap;
        line-height: 2;
        padding: 15px 0;
    }

    .white-paper-detail-wrapper {
        padding: 20px 0 0px; /* 为移动端底部联系栏留出空间 */
    }

    .white-paper-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .divider {
        margin: 20px 0;
    }

    .white-paper-form-wrapper {
        padding: 20px;
        box-shadow: none;
    }

    .form-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-group label {
        display: block;
        text-align: left;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .form-group input[type="text"],
    .form-options,
    .form-group-captcha .captcha-row {
        width: 100%;
    }
    
    .form-error {
        margin-left: 0;
    }

    .mobile-contact {
        display: flex;
    }

    .footer {
        margin-bottom: 50px; /* 为移动端底部联系栏留出空间 */
        padding: 20px 0;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-links li {
        margin: 5px 10px;
    }
}

/* 添加下载弹框样式 */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.download-modal.active {
    display: flex;
}

/* PC端下载弹框样式 */
.download-modal-content {
    position: relative;
    width: 560px;
    height: 261px;
}

.download-modal-bg {
    position: absolute;
    top: 53px;
    left: 0;
    width: 560px;
    height: 208px;
    background-color: #F3F8FF;
    border-radius: 24px;
    box-shadow: 0px 0px 16px 8px rgba(3, 102, 255, 0.2);
}

.download-book-img {
    position: absolute;
    top: 0;
    left: 37px;
    width: 211px;
    height: 186px;
    z-index: 2;
}

.download-title {
    position: absolute;
    top: 106px;
    left: 256px;
    width: 285px;
    font-family: 'Noto Sans S Chinese', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.5em;
    text-align: center;
    color: #000000;
    z-index: 2;
}

/* 上下跳动动画 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 动画容器 */
.download-animation-container {
    position: absolute;
    top: 25px;
    left: 212px;
    width: 68px;
    height: 78px;
    z-index: 2;
    animation: bounce 1.5s ease-in-out infinite;
}

.download-icon-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 16px 8px rgba(3, 102, 255, 0.2);
    z-index: 2;
}

.download-arrow {
    position: absolute;
    top: 11px;
    left: 16.68px;
    width: 34.64px;
    height: 48px;
    z-index: 3;
}

.download-btn {
    position: absolute;
    top: 186px;
    left: 180px;
    width: 200px;
    height: 48px;
    background-color: #0366FF;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.download-btn-icon {
    width: 28px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.download-btn-icon img{
    width: 100%;
    height: 100%;
}

.download-btn-text {
    font-family: 'Noto Sans S Chinese', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.5em;
    color: #FFFFFF;
}

/* 移动端下载弹框样式 */
@media screen and (max-width: 768px) {
    .download-modal-content {
        width: 400px;
        height: 349px;
    }
    
    .download-modal-bg {
        top: 53px;
        width: 400px;
        height: 296px;
    }
    
    .download-book-img {
        left: 81px;
    }
    
    .download-title {
        top: 201px;
        left: 57px;
    }
    
    .download-animation-container {
        top: 25px;
        left: 252px;
    }
    
    .download-btn {
        top: 261px;
        left: 100px;
    }
}

/* 关闭按钮样式 */
.download-close {
    position: absolute;
    top: 60px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3;
}

.download-close::before,
.download-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #0366FF;
    top: 50%;
    left: 50%;
}

.download-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.download-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}




