/* 页脚样式 */
.promotion-section.footer-section {
    background: #111111;
    padding: 4rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.promotion-left {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8257e6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .promotion-section.footer-section {
        padding: 3rem 0;
    }
    
    .footer-links {
        gap: 1rem;
    }
}


/* 开发文档部分样式 */
.performance-section {
    padding: 4rem 15rem;
    background: #f9f9f9;
}

.performance-content {
    max-width: 1200px;
    margin: 0 auto;
}

.performance-header {
    margin-bottom: 3rem;
}

.performance-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.performance-header p {
    font-size: 1.1rem;
    color: #666;
}

/* API文档样式 */
.api-docs {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.doc-section {
    margin-bottom: 3rem;
}

.doc-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

/* 代码块样式 */
pre {
    background: #2d2d2d;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

code {
    font-family: 'Fira Code', monospace;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 参数表格样式 */
.params-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.params-table th,
.params-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.params-table th {
    background: #8257e6;
    color: #ffffff;
    font-weight: 500;
}

.params-table tr:last-child td {
    border-bottom: none;
}

.params-table tr:hover {
    background: #f5f5f5;
}

/* 代码标签页样式 */
.code-tabs {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.tab-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
    border-right: 1px solid #eee;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn.active {
    background: #8257e6;
    color: #ffffff;
}

.tab-content {
    background: #2d2d2d;
}

/* 注意事项列表样式 */
.doc-section ul {
    list-style: none;
    padding: 0;
}

.doc-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.doc-section li::before {
    content: "•";
    color: #8257e6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 代码高亮 */
.string { color: #a8ff60; }
.number { color: #ff9d00; }
.boolean { color: #ff628c; }
.null { color: #ff628c; }
.key { color: #ffd700; }

/* 响应式设计 */
@media (max-width: 1440px) {
    .performance-section {
        padding: 4rem 8rem;
    }
}

@media (max-width: 1024px) {
    .performance-section {
        padding: 3rem 2rem;
    }
    
    .api-docs {
        padding: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .performance-header h2 {
        font-size: 2rem;
    }
    
    pre {
        padding: 1rem;
    }
    
    code {
        font-size: 0.85rem;
    }
    
    .params-table th,
    .params-table td {
        padding: 0.8rem;
    }
}

/* 滚动条美化 */
pre::-webkit-scrollbar {
    height: 8px;
}

pre::-webkit-scrollbar-track {
    background: #1e1e1e;
    border-radius: 4px;
}

pre::-webkit-scrollbar-thumb {
    background: #8257e6;
    border-radius: 4px;
}

pre::-webkit-scrollbar-thumb:hover {
    background: #9466ff;
}




/* 基础样式 */
:root {
    --primary-color: #8257e6;
    --text-color: #333;
    --border-color: #eee;
    --bg-color: #fff;
    --code-bg: #2d2d2d;
}
/* 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
} */

/* 文档容器布局 */
.doc-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 60px);
    background: var(--bg-color);
}

/* 侧边栏样式 */
.doc-sidebar {
    padding: 2rem;
    border-right: 1px solid var(--border-color);
    background: #f8f9fa;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 0.3rem;
}

.sidebar-section a:hover,
.sidebar-section a.active {
    background: var(--primary-color);
    color: white;
}

/* 主要内容区域 */
.doc-content {
    padding: 3rem 4rem;
    max-width: 1200px;
}

.doc-section {
    margin-bottom: 4rem;
}

.doc-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.doc-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: block;
}

.doc-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* 版本信息 */
.version-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: #666;
}

/* 信息框 */
.info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 4px 4px 0;
}

/* 端点框 */
.endpoint-box {
    position: relative;
    margin-bottom: 2rem;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* 代码标签页 */
.code-tabs {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.tab-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    background: var(--code-bg);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 代码样式 */
pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .doc-container {
        grid-template-columns: 200px 1fr;
    }
    
    .doc-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .doc-container {
        grid-template-columns: 1fr;
    }
    
    .doc-sidebar {
        display: none;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9466ff;
}

pre[class*=language-]{
    margin: 0px !important;
}




/* 错误处理部分样式 */
.error-codes {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.error-codes h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.error-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.error-table th {
    background: #8257e6;
    color: #fff;
    font-weight: 500;
    text-align: left;
    padding: 1rem 1.5rem;
}

.error-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    color: #444;
}

/* 错误码列样式 */
.error-table td:first-child {
    font-family: 'Fira Code', monospace;
    color: #ff6b6b;
    font-weight: 500;
    width: 100px;
}

/* 说明列样式 */
.error-table td:nth-child(2) {
    font-weight: 500;
    color: #333;
}

/* 处理建议列样式 */
.error-table td:last-child {
    color: #666;
    line-height: 1.5;
}

/* 表格行悬停效果 */
.error-table tr:hover td {
    background: #f8f9ff;
}

/* 最后一行去除底部边框 */
.error-table tr:last-child td {
    border-bottom: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .error-codes {
        padding: 1rem;
    }
    
    .error-table th,
    .error-table td {
        padding: 0.8rem 1rem;
    }
    
    .error-table td:first-child {
        width: 80px;
    }
}

/* 在小屏幕上使用横向滚动 */
@media (max-width: 576px) {
    .error-codes {
        overflow-x: auto;
    }
    
    .error-table {
        min-width: 500px;
    }
}











/*提交表单样式*/



/* 新的CSS样式 */
.contact-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    padding-top: 2rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-list {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.service-list h3 {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.service-list ul {
    list-style: none;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.5;
}

.service-list .icon {
    color: #8257e6;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.contact-form-container {
    flex: 1;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group label.required::after {
    content: '*';
    color: #ff4444;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8257e6;
    box-shadow: 0 0 0 3px rgba(130, 87, 230, 0.1);
}

.form-group input:not(:placeholder-shown):invalid,
.form-group select:invalid:not(:focus),
.form-group textarea:not(:placeholder-shown):invalid {
    border-color: #ff4444;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

form button[type="submit"] {
    background-color: #8257e6;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

form button[type="submit"]:hover {
    background-color: #9466ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(130, 87, 230, 0.2);
}

form button[type="submit"]:active {
    transform: translateY(0);
}

/* 提交反馈消息样式 */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

.success-message {
    background-color: #f0f9f0;
    color: #2d862d;
    border: 1px solid #a3e4a3;
}

.error-message {
    background-color: #fff0f0;
    color: #cc0000;
    border: 1px solid #ffb3b3;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}


/* 添加新的CSS样式 */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-group.third {
    flex: 1;
    margin-bottom: 0;
}

/* 确保选择框等宽 */
.form-group.third select {
    width: 100%;
}

/* 调整响应式布局 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group.half,
    .form-group.third {
        width: 100%;
    }
}

/* 美化选择框样式 */
select {
    cursor: pointer;
}

/* 保持其他CSS样式不变 */

.verification-question {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.options-container {
    margin-top: 10px;
}

.option {
    margin: 8px 0;
}

.hint {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}