/*-------- AOS css ------*/
@import url('../js/aos-next/dist/aos.css');

/* 全局变量定义 */
:root {
    /* 主题色 */
    --theme-color: var(--tech-blue);
    --theme-color-light: var(--tech-blue-light);
    --theme-color-dark: var(--tech-blue-dark);
    --theme-color-bg: var(--tech-blue-bg);
    --theme-color-linear-bg: var(--tech-blue-linear-bg);
    /* 技术蓝 */
    --tech-blue: #07AAFF;
    --tech-blue-light: #60A5FA;
    --tech-blue-dark: #2EB6FF;
    --tech-blue-bg: linear-gradient(270deg, #06BDFf 0%, #1271EF 100%);
    --tech-blue-linear-bg: linear-gradient(136deg, #60A5FA, #2EB6FF, #07AAFF, #1271EF);
    /* 优雅紫 */
    --tech-purple: #6169FF;
    --tech-purple-light: #7274F9;
    --tech-purple-dark: #4E6EF2;
    --tech-purple-bg: linear-gradient(rgb(97, 105, 255) 0%, rgba(97, 105, 255, 0.85) 100%);
    --tech-purple-linear-bg: linear-gradient(136deg, #286aff, #4e6ef2, #7274f9, #9f66ff);
    /* 数字绿 - 柔和而充满生命力的青绿色 */
    --tech-green: #20C9AD;
    --tech-green-light: #6CE6D4;
    --tech-green-dark: #0D9C86;
    --tech-green-bg: linear-gradient(135deg, #20C9AD 0%, #4AD7C2 100%);
    --tech-green-linear-bg: linear-gradient(135deg, #20C9AD, #1EA3E6, #20C9AD);

    /* 活力橙 - 温润的琥珀橙色，活泼明亮*/
    --tech-orange: #FFA94D;
    --tech-orange-light: #FFD8A8;
    --tech-orange-dark: #F08C00;
    --tech-orange-bg: linear-gradient(135deg, #FFA94D 0%, #FFC078 100%);
    --tech-orange-linear-bg: linear-gradient(135deg, #FFA94D, #FF922B, #FFA94D);

    /* 蔷薇粉 - 降低饱和度的柔粉色，增添温暖感 */
    --tech-pink: #FF6B8B;
    --tech-pink-light: #FFC2D1;
    --tech-pink-dark: #E64980;
    --tech-pink-bg: linear-gradient(135deg, #FF6B8B 0%, #FF8FAB 100%);
    --tech-pink-linear-bg: linear-gradient(135deg, #FF6B8B, #F783AC, #FF6B8B);

    /* 深海绿 - 带有蓝调的深青绿色，沉稳专业 */
    --tech-teal: #15AABF;
    --tech-teal-light: #63E6E6;
    --tech-teal-dark: #0B7285;
    --tech-teal-bg: linear-gradient(135deg, #15AABF 0%, #3BC9DB 100%);
    --tech-teal-linear-bg: linear-gradient(135deg, #15AABF, #22B8CF, #15AABF);

    /* 天青蓝 - 柔和的天青色，清新明亮 */
    --tech-cyan: #38D9A9;
    --tech-cyan-light: #96F2D7;
    --tech-cyan-dark: #20B2AA;
    --tech-cyan-bg: linear-gradient(135deg, #38D9A9 0%, #63E6BE 100%);
    --tech-cyan-linear-bg: linear-gradient(135deg, #38D9A9, #20C997, #38D9A9);

    /* 银石灰 - 现代感的浅灰色主题，冷静专业 */
    --tech-gray: #6C757D;
    --tech-gray-light: #ADB5BD;
    --tech-gray-dark: #495057;
    --tech-gray-bg: linear-gradient(135deg, #6C757D 0%, #868E96 100%);
    --tech-gray-linear-bg: linear-gradient(135deg, #6C757D, #495057, #6C757D);

    /* 石墨灰 - 深灰色主题，稳重有力 */
    --tech-gray-deep: #343A40;
    --tech-gray-deep-light: #495057;
    --tech-gray-deep-dark: #212529;
    --tech-gray-deep-bg: linear-gradient(135deg, #343A40 0%, #495057 100%);
    --tech-gray-deep-linear-bg: linear-gradient(135deg, #343A40, #495057, #343A40);

    /* 辅助混合色 */
    --tech-blue-purple-bg: linear-gradient(135deg, var(--tech-blue) 0%, var(--tech-purple) 100%);
    --tech-red-yellow-bg: linear-gradient(135deg, #FF6B6B 0%, #FFA726 100%);
    --tech-green-blue-bg: linear-gradient(135deg, #00C7B7 0%, #0072FF 100%);
    --tech-yellow-bg: linear-gradient(135deg, #FFD600 0%, #FFEB3B 100%);
    --tech-red-bg: linear-gradient(135deg, #FF5252 0%, #FF1744 100%);
    --tech-orange-bg: linear-gradient(135deg, #FF9800 0%, #FFC107 100%);
    --tech-red-2-bg: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    --tech-blue-2-bg: linear-gradient(135deg, #2196F3 0%, #03A9F4 100%);
    /* 主题扩展色 */
    --tech-gray: #F9FAFB;
    --tech-dark: #1F2937;
    --tech-light: #fcfcfd;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-soft: 16px;
    --radius-medium: 12px;
    --radius-small: 8px;
    --text-muted: var(--bs-gray-700);
    --text-color: var(--tech-dark);
    --card-bg: #fff;
    /* 颜色 */
    --primary: var(--tech-blue);
    --primary-bg: rgba(7, 170, 255, 0.1);
    --success: #52C41A;
    --success-bg: rgba(82, 196, 26, 0.1);
    --warning: #fd7e14;
    --warning-bg: rgba(250, 173, 20, 0.1);
    --error: #F5222D;
    --error-bg: rgba(255, 77, 79, 0.1);
    --danger: #FF5252;
    --danger-bg: rgba(255, 82, 82, 0.1);
    --info: #1677FF;
    --info-bg: rgba(22, 119, 255, 0.1);
    --secondary: var(--bs-gray-600);
    --secondary-bg: rgba(156, 156, 156, 0.1);
    /* 字体大小 */
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-sm: 12px;
    /* 背景图片 */
    --login-bg-image: url('../image/bg/bg2025.jpg');
    --hero-bg-image: url('../image/hero/hero20.jpg');
    --hero-bg-color: var(--bs-light);
    --hero-bg-opacity: 0.3;
    --hero-bg-blur: blur(10px);
}

/* ===== 基于你的主题变量重写 Bootstrap 5 ===== */
.text-theme {
    color: var(--theme-color);
}

a {
    color: var(--theme-color);
}

a:hover {

    color: var(--theme-color-dark);

}

/* 按钮样式重写 */
.btn {
    --bs-btn-border-radius: 6px;
    --bs-btn-font-weight: 500;
    --bs-btn-transition: all 0.2s ease-in-out;
}

/* 默认按钮 */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2EB6FF;
    --bs-btn-hover-border-color: #2EB6FF;
    --bs-btn-focus-shadow-rgb: 0, 125, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2EB6FF;
    --bs-btn-active-border-color: #2EB6FF;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(0, 125, 255, 0.6);
    --bs-btn-disabled-border-color: rgba(0, 125, 255, 0.6);
}

/* 成功按钮 */
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--success);
    --bs-btn-border-color: var(--success);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3da715;
    --bs-btn-hover-border-color: #3da715;
    --bs-btn-focus-shadow-rgb: 82, 196, 26;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3da715;
    --bs-btn-active-border-color: #3da715;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(82, 196, 26, 0.6);
    --bs-btn-disabled-border-color: rgba(82, 196, 26, 0.6);
}

/* 警告按钮 */
.btn-warning {
    --bs-btn-color: #212529;
    --bs-btn-bg: var(--warning);
    --bs-btn-border-color: var(--warning);
    --bs-btn-hover-color: #212529;
    --bs-btn-hover-bg: #e66a0d;
    --bs-btn-hover-border-color: #e66a0d;
    --bs-btn-focus-shadow-rgb: 253, 126, 20;
    --bs-btn-active-color: #212529;
    --bs-btn-active-bg: #e66a0d;
    --bs-btn-active-border-color: #e66a0d;
    --bs-btn-disabled-color: #212529;
    --bs-btn-disabled-bg: rgba(253, 126, 20, 0.6);
    --bs-btn-disabled-border-color: rgba(253, 126, 20, 0.6);
}

/* 危险按钮 */
.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--danger);
    --bs-btn-border-color: var(--danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff3535;
    --bs-btn-hover-border-color: #ff3535;
    --bs-btn-focus-shadow-rgb: 255, 82, 82;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff3535;
    --bs-btn-active-border-color: #ff3535;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(255, 82, 82, 0.6);
    --bs-btn-disabled-border-color: rgba(255, 82, 82, 0.6);
}

/* 错误按钮（作为危险按钮的替代） */
.btn-error {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--error);
    --bs-btn-border-color: var(--error);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #d9363e;
    --bs-btn-hover-border-color: #d9363e;
    --bs-btn-focus-shadow-rgb: 245, 34, 45;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d9363e;
    --bs-btn-active-border-color: #d9363e;
}

/* 信息按钮 */
.btn-info {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--info);
    --bs-btn-border-color: var(--info);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 22, 119, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0d6efd;
    --bs-btn-active-border-color: #0d6efd;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(22, 119, 255, 0.6);
    --bs-btn-disabled-border-color: rgba(22, 119, 255, 0.6);
}

/* 次要按钮 */
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--secondary);
    --bs-btn-border-color: var(--secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5a6268;
    --bs-btn-hover-border-color: #5a6268;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5a6268;
    --bs-btn-active-border-color: #5a6268;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(108, 117, 125, 0.6);
    --bs-btn-disabled-border-color: rgba(108, 117, 125, 0.6);
}

/* 轮廓按钮变体 */
.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
}

.btn-outline-success {
    --bs-btn-color: var(--success);
    --bs-btn-border-color: var(--success);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--success);
    --bs-btn-hover-border-color: var(--success);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--success);
    --bs-btn-active-border-color: var(--success);
}

.btn-outline-warning {
    --bs-btn-color: var(--warning);
    --bs-btn-border-color: var(--warning);
    --bs-btn-hover-color: #212529;
    --bs-btn-hover-bg: var(--warning);
    --bs-btn-hover-border-color: var(--warning);
    --bs-btn-active-color: #212529;
    --bs-btn-active-bg: var(--warning);
    --bs-btn-active-border-color: var(--warning);
}

.btn-outline-danger {
    --bs-btn-color: var(--danger);
    --bs-btn-border-color: var(--danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--danger);
    --bs-btn-hover-border-color: var(--danger);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--danger);
    --bs-btn-active-border-color: var(--danger);
}

.btn-outline-error {
    --bs-btn-color: var(--error);
    --bs-btn-border-color: var(--error);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--error);
    --bs-btn-hover-border-color: var(--error);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--error);
    --bs-btn-active-border-color: var(--error);
}

.btn-outline-info {
    --bs-btn-color: var(--info);
    --bs-btn-border-color: var(--info);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--info);
    --bs-btn-hover-border-color: var(--info);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--info);
    --bs-btn-active-border-color: var(--info);
}

.btn-outline-secondary {
    --bs-btn-color: var(--secondary);
    --bs-btn-border-color: var(--secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary);
    --bs-btn-hover-border-color: var(--secondary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--secondary);
    --bs-btn-active-border-color: var(--secondary);
}

/* ===== 徽章（Badge）样式重写 ===== */
.badge {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 600;
    --bs-badge-border-radius: 6px;
    background-color: var(--bs-badge-bg);
}

.badge-primary {
    --bs-badge-color: var(--primary);
    --bs-badge-bg: var(--primary-bg);
    border: 1px solid rgba(46, 182, 255, 0.2);
}

.badge-success {
    --bs-badge-color: var(--success);
    --bs-badge-bg: var(--success-bg);
    border: 1px solid rgba(82, 196, 26, 0.2);
}

.badge-warning {
    --bs-badge-color: var(--warning);
    --bs-badge-bg: var(--warning-bg);
    border: 1px solid rgba(253, 126, 20, 0.2);
}

.badge-danger {
    --bs-badge-color: var(--danger);
    --bs-badge-bg: var(--danger-bg);
    border: 1px solid rgba(255, 82, 82, 0.2);
}

.badge-error {
    --bs-badge-color: var(--error);
    --bs-badge-bg: var(--error-bg);
    border: 1px solid rgba(245, 34, 45, 0.2);
}

.badge-info {
    --bs-badge-color: var(--info);
    --bs-badge-bg: var(--info-bg);
    border: 1px solid rgba(22, 119, 255, 0.2);
}

.badge-secondary {
    --bs-badge-color: var(--secondary);
    --bs-badge-bg: var(--secondary-bg);
    border: 1px solid rgba(108, 117, 125, 0.2);
}

/* 填充式徽章变体 */

.badge-primary-filled {
    --bs-badge-color: #fff;
    --bs-badge-bg: var(--primary);
    border: none;
}

.badge-success-filled {
    --bs-badge-color: #fff;
    --bs-badge-bg: var(--success);
    border: none;
}

.badge-warning-filled {
    --bs-badge-color: #212529;
    --bs-badge-bg: var(--warning);
    border: none;
}

.badge-danger-filled {
    --bs-badge-color: #fff;
    --bs-badge-bg: var(--danger);
    border: none;
}

.badge-error-filled {
    --bs-badge-color: #fff;
    --bs-badge-bg: var(--error);
    border: none;
}

.badge-info-filled {
    --bs-badge-color: #fff;
    --bs-badge-bg: var(--info);
    border: none;
}

/* ===== 警告框（Alert）样式重写 ===== */
.alert {
    --bs-alert-border-radius: 8px;
    --bs-alert-border-width: 1px;
    --bs-alert-padding-x: 1rem;
    --bs-alert-padding-y: 0.75rem;
    --bs-alert-margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-primary {
    --bs-alert-color: var(--primary);
    --bs-alert-bg: var(--primary-bg);
    --bs-alert-border-color: rgba(108, 117, 125, 0.25);
    --bs-alert-link-color: var(--primary);
}

.alert-success {
    --bs-alert-color: var(--success);
    --bs-alert-bg: var(--success-bg);
    --bs-alert-border-color: rgba(82, 196, 26, 0.25);
    --bs-alert-link-color: var(--success);
}

.alert-warning {
    --bs-alert-color: var(--warning);
    --bs-alert-bg: var(--warning-bg);
    --bs-alert-border-color: rgba(253, 126, 20, 0.25);
    --bs-alert-link-color: var(--warning);
}

.alert-danger {
    --bs-alert-color: var(--danger);
    --bs-alert-bg: var(--danger-bg);
    --bs-alert-border-color: rgba(255, 82, 82, 0.25);
    --bs-alert-link-color: var(--danger);
}

.alert-error {
    --bs-alert-color: var(--error);
    --bs-alert-bg: var(--error-bg);
    --bs-alert-border-color: rgba(245, 34, 45, 0.25);
    --bs-alert-link-color: var(--error);
}

.alert-info {
    --bs-alert-color: var(--info);
    --bs-alert-bg: var(--info-bg);
    --bs-alert-border-color: rgba(22, 119, 255, 0.25);
    --bs-alert-link-color: var(--info);
}

.alert-secondary {
    --bs-alert-color: var(--secondary);
    --bs-alert-bg: var(--secondary-bg);
    --bs-alert-border-color: rgba(108, 117, 125, 0.25);
    --bs-alert-link-color: var(--secondary);
}

/* 带图标的警告框增强样式 */
.alert-icon {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.alert-primary.alert-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236C757D'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.alert-success.alert-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2352C41A'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
}

.alert-warning.alert-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fd7e14'%3E%3Cpath d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.alert-danger.alert-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF5252'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.alert-info.alert-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231677FF'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .btn {
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-padding-x: 1rem;
        --bs-btn-font-size: 0.875rem;
    }

    .alert {
        --bs-alert-padding-x: 0.875rem;
        --bs-alert-padding-y: 0.625rem;
        font-size: 0.8125rem;
    }
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
    color: var(--tech-dark);
    background-color: var(--tech-gray);
    scroll-behavior: smooth;
}

.badge {
    padding: 0.2rem 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1rem;
}


@media (min-width: 1500px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1400px;
    }

}

.logo img {
    max-height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

/* 搜索区域样式 */
.search-section {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-radius: var(--radius-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: -2;
}

.search-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg-color);
    z-index: -1;
    opacity: var(--hero-bg-opacity);
    backdrop-filter: var(--hero-bg-blur);
    border-radius: var(--radius-soft);
}

.search-btn {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1rem 6rem 1rem 1.5rem !important;
    font-size: 1.1rem !important;
    background: rgba(255, 255, 255, 0.75);
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: var(--radius-small);
    width: 65px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: var(--theme-color-dark);
}

.quick-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    min-height: 30px;
}

.search-tag {
    background: var(--theme-color-bg);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-small);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: var(--theme-color-linear-bg);
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-soft);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.5);
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--bs-secondary);
}

.stat-value {
    margin-bottom: 0.5rem;
    color: var(--theme-color-dark);
}

.stat-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #4E5969;
}

/* 热门API区域样式 */
.popular-apis {
    background-color: var(--tech-gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-section {
        margin-top: 2rem;
    }

    .stat-item {
        min-width: 100px;
    }
}

@media (min-width: 992px) {
    .hero .row {
        align-items: center;
    }
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--theme-color);
    background: none;
    font-weight: 600;
}

/* 拟态风格基础样式 */
.neuro {
    background: white;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-soft);
}

.neuro-hover {
    transition: all 0.3s ease;
}

.neuro-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn-tech {
    background: var(--theme-color);
    color: white;
    border-radius: var(--radius-small);
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--theme-color);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.btn-tech:hover {
    background: var(--theme-color-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
}

.btn-tech:active {
    background: white !important;
    border: 2px solid var(--theme-color-dark) !important;
    color: var(--theme-color) !important;
}

.btn-tech-outline {
    background: transparent;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
    border-radius: var(--radius-small);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-tech-outline:hover {
    background: var(--theme-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-tech-outline:active {
    background: white !important;
    border: 2px solid var(--theme-color-dark) !important;
    color: var(--theme-color) !important;
}

/* 图标按钮组 */
.btn-icon-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon-group .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-text {
    display: inline-block;
}

/* 桌面端 */
@media (min-width: 768px) {
    .btn-icon-group {
        gap: 12px;
    }

    .btn-icon-group .btn {
        padding: 8px 16px;
    }
}

/* 平板端 */
@media (max-width: 767px) and (min-width: 576px) {
    .btn-icon-group {
        justify-content: center;
        gap: 12px;
    }

    .btn-icon-group .btn {
        flex: 1;
        padding: 10px 16px;
    }
}

/* 移动端：仅显示图标 */
@media (max-width: 575px) {
    .btn-icon-group {
        gap: 8px;
        justify-content: space-around;
        width: 100%;
        padding: 0 8px;
    }

    .btn-icon-group .btn {
        flex: 1;
        gap: 4px;
        border-radius: 10px;
    }

    .btn-text {
        font-size: 12px;
        line-height: 1.2;
    }

    /* 可选：在超小屏幕上隐藏文字 */
    @media (max-width: 400px) {
        .btn-text {
            display: none;
        }

        .btn-icon-group .btn {
            padding: 12px;
            border-radius: 50%;
            width: 48px;
            height: 48px;
        }
    }
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 0.5rem 0 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#navbarNav .nav-link {
    margin: 0 0.5rem;
    align-self: center;
}

.nav-link {
    color: var(--tech-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0.75rem !important;
}

.nav-link:hover {
    color: var(--theme-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--theme-color);
    transition: width 0.3s ease;
    margin: 0 auto;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: var(--theme-color) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* 隐藏默认的下拉箭头 */
.dropdown-toggle::after {
    display: none !important;
}

/* 使用Font Awesome图标作为下拉箭头 */
.dropdown-toggle i.fa-angle-down {
    margin-left: 0.3rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* 桌面端样式 */
@media (min-width: 992px) {

    /* 修复：默认隐藏所有下拉菜单 */
    .dropdown-menu {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border: none;
        z-index: 1000;
        top: 100%;
        left: 0;
        border-radius: var(--radius-small);
        padding: 0.5rem 0;
    }

    /* 修复：二级菜单悬停显示 */
    .nav-item.dropdown:hover>.dropdown-menu,
    .nav-item.dropdown:focus-within>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-item.dropdown:hover .nav-link,
    .nav-item.dropdown:focus-within .nav-link {
        color: var(--theme-color) !important;
    }

    .nav-item.dropdown:hover .nav-link::after,
    .nav-item.dropdown:focus-within .nav-link::after {
        width: 100%;
    }

    .nav-item.dropdown:hover .dropdown-toggle i.fa-angle-down,
    .nav-item.dropdown:focus-within .dropdown-toggle i.fa-angle-down {
        transform: rotate(180deg);
    }

    /* 修复：三级菜单样式 */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu>.dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -0.5rem;
        margin-left: 0.1rem;
        transform: translateY(10px) translateX(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: block !important;
    }

    .dropdown-submenu:hover>.dropdown-menu,
    .dropdown-submenu:focus-within>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) translateX(0);
    }

    .dropdown-submenu:hover>.dropdown-item.dropdown-toggle i.fa-angle-right,
    .dropdown-submenu:focus-within>.dropdown-item.dropdown-toggle i.fa-angle-right {
        transform: rotate(90deg);
        transition: all 0.3s ease;
    }

    /* 修复：z-index层级 */
    .dropdown-menu .dropdown-menu {
        z-index: 1001;
    }

    .dropdown-menu .dropdown-menu .dropdown-menu {
        z-index: 1002;
    }
}

.dropdown-item {
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    background: none;
    color: var(--theme-color);
    transform: translateX(3px);
}

/* 移动端适配 */
@media (max-width: 991.98px) {
    .navbar-toggler {
        line-height: inherit;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        margin-top: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .nav-item {
        margin: 0.25rem 0;
    }

    .nav-link {
        margin: 0;
        padding: 0.75rem 1rem !important;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background-color: rgba(37, 99, 235, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    /* 修复：移动端下拉菜单 */
    .dropdown-menu {
        background: #f8fafc;
        border: none;
        box-shadow: none;
        border-radius: 6px;
        margin: 0.5rem 0 0.5rem 1rem;
        padding: 0.25rem 0;
        position: static !important;
        display: none;
    }

    /* 修复：Bootstrap移动端显示 */
    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        padding: 0.6rem 1rem;
        border-radius: 4px;
        margin: 0.1rem 0.5rem;
        width: auto;
    }

    /* 修复：移动端下拉箭头 */
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-toggle i.fa-angle-down {
        transition: transform 0.3s ease;
    }

    /* 修复：移动端箭头旋转 */
    .dropdown.show>.dropdown-toggle i.fa-angle-down,
    .dropdown-submenu.show>.dropdown-item.dropdown-toggle i.fa-angle-down {
        transform: rotate(180deg);
    }

    /* 修复：移动端多级菜单 */
    .dropdown-submenu .dropdown-menu {
        margin-left: 2rem;
        background: #f1f5f9;
    }

    .navbar-nav:last-child {
        border-top: 1px solid #e2e8f0;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .navbar-nav:last-child .nav-link {
        text-align: center;
        margin: 0.25rem 0;
    }

    .navbar-nav:last-child .btn {
        width: 100%;
        margin: 0.5rem 0 0 0 !important;
    }
}

/* 表单通用样式 */
.form-check-input:checked {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.search-section .form-control,
.search-box .form-control,
#formmessage .form-control,
.login-section .form-control,
.register-section .form-control,
.forgot-section .form-control {
    border: 1px solid #E5E6EB;
    border-radius: var(--radius-small);
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
}

.form-text {
    color: #86909C;
}

.form-link {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
}

.form-link:hover {
    color: var(--theme-color-dark);
    text-decoration: underline;
}

.form-check {
    display: flex;
    align-items: stretch;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    color: #4E5969;
}

/* 错误提示样式 */
.error-message {
    color: #FF4D4F;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.has-error .form-control {
    border-color: #FF4D4F;
}

.has-error .error-message {
    display: block;
}

/* 成功提示样式 */
.success-message {
    color: #52C41A;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.has-success .form-control {
    border-color: #52C41A;
}

.has-success .success-message {
    display: block;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    border-radius: 2px;
    background-color: #E5E6EB;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-weak {
    background-color: #FF4D4F;
    width: 33%;
}

.strength-medium {
    background-color: #FAAD14;
    width: 66%;
}

.strength-strong {
    background-color: #52C41A;
    width: 100%;
}

.password-strength-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: #86909C;
}

/* 验证码输入样式 */
.verification-code {
    display: flex;
    gap: 1rem;
}

.verification-code .form-control {
    flex: 1;
}

.verification-code .btn {
    white-space: nowrap;
}

.send-code-btn {
    white-space: nowrap;
}

/* 第三方登录样式 */
.social-login,
.social-register {
    padding-top: 2rem;
    border-top: 1px solid #E5E6EB;
}

.social-login-title,
.social-register-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #4E5969;
    font-size: 0.9rem;
}

.social-login-buttons,
.social-register-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 页面容器样式 */
.login-section,
.register-section,
.forgot-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background: var(--login-bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.login-container,
.register-container,
.forgot-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 2.5rem;
}

.login-title,
.register-title,
.forgot-title {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title h2,
.register-title h2,
.forgot-title h2 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--tech-dark);
    margin-bottom: 0.5rem;
}

.login-title p,
.register-title p,
.forgot-title p {
    color: #4E5969;
}

.login-options,
.register-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.login-footer,
.register-footer,
.forgot-footer {
    text-align: center;
    margin-top: 2rem;
}

.login-footer p,
.register-footer p,
.forgot-footer p {
    color: #4E5969;
    margin-bottom: 0.5rem;
}

/* 登录页面特定样式 */
/* 登录页面特定样式 */
.login-tabs .nav-tabs {
    border-bottom: none;
    margin-bottom: 20px;
}

.login-tabs .nav-link {
    font-size: 16px;
    color: #666 !important;
    border: none !important;
    padding: 8px 20px !important;
    position: relative;
    font-weight: 500;
    background: transparent;
}

.login-tabs .nav-link.active {
    color: var(--theme-color) !important;
}

.login-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--theme-color);
    border-radius: 2px;
}

.login-tabs .nav-link:hover {
    color: var(--theme-color) !important;
}

/* 密码输入框样式 */
.password-input .form-control {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 10;
}

/* 社交登录按钮样式 */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-qq:hover {
    color: #12b7f5;
    border-color: #12b7f5;
}

.social-wechat:hover {
    color: #07c160;
    border-color: #07c160;
}

.social-alipay:hover {
    color: #1677ff;
    border-color: #1677ff;
}

/* 帮助链接样式 */
.help-links {
    text-align: center;
}

.help-links a {
    font-size: 13px;
    color: #4b5b76;
}

.help-links a:hover {
    color: var(--theme-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .login-tabs .nav-link {
        padding: 8px 15px !important;
        font-size: 14px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* 微信登录容器 */
.wechat-login-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
#wechat_login_container iframe {
    min-height: 260px;
    display: block;
    width: 100% !important;
    height: 100% !important;
}
/* 表单控件状态 */
.has-success .form-control {
    border-color: #28a745;
}

/* 按钮加载状态 */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-toggle {
    text-align: center;
    margin-top: 1.5rem;
}

.toggle-link {
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.toggle-link:hover {
    color: var(--theme-color-dark);
    text-decoration: underline;
}

/* 找回密码页面特定样式 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #E5E6EB;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #E5E6EB;
    color: #86909C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--theme-color);
    color: white;
}

.step.completed .step-number {
    background-color: #52C41A;
    color: white;
}

.step-text {
    font-size: 0.875rem;
    color: #86909C;
    transition: all 0.3s ease;
}

.step.active .step-text {
    color: var(--theme-color);
    font-weight: 500;
}

.step.completed .step-text {
    color: #52C41A;
}

/* 首页样式 */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--tech-dark);
}

.index-top h1 span {
    color: var(--theme-color);
}

.hero p {
    font-size: 1.1rem;
    color: #4E5969;
}

.index-top p {
    margin-bottom: 2rem;
}

/* 特性区域 */
.features {
    background-color: #fff;
}

.section-title {
    text-align: center;
    padding-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--tech-dark);
}

.section-title p {
    color: #4E5969;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    margin-bottom: 2rem;
}

.feature-card i {
    font-size: 2rem;
    color: var(--theme-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4E5969;
}

/* API分类区域 */
.api-categories {
    background-color: var(--tech-gray);
}

.category-icon {
    color: var(--theme-color);
}

.category-icon svg,
.category-icon img {
    max-width: 42px;
    max-height: 42px;

}

.category-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card i {
    font-size: 1.8rem;
    color: var(--theme-color);
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-card p {
    min-height: 4.2em;
}

.text-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 文章区域 */
.articles {
    background-color: #fff;
}

.blog-article-list-section {
    padding: 1rem 0 2rem;
    background-color: #fff;
}

/* 页脚样式 */
.footer {
    background-color: var(--tech-dark);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-about {
    color: #C9CDD4;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #C9CDD4;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--theme-color);
    transform: translateX(3px);
}

.footer-contact {
    color: #C9CDD4;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.footer-contact:hover {
    color: var(--theme-color);
    transform: translateX(3px);
}

.footer-contact:hover i {
    color: var(--theme-color);
}

/* 微信二维码样式 */
.wechat-qr-container {
    display: flex;
    align-items: center;
    gap: .3rem;
    position: relative;
    cursor: pointer;
}

.wechat-qr-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: white;
    border-radius: var(--radius-medium);
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    min-width: 180px;
}

.wechat-qr-popup img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-small);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.wechat-qr-popup p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--tech-dark);
    text-align: center;
    font-weight: 500;
}

.wechat-qr-container:hover .wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.wechat-qr-container:hover .wechat-qr-popup img {
    transform: scale(1.1);
}

.wechat-qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.copyright {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #86909C;
    font-size: 0.9rem;
}

/* 极简版友情链接样式 */
.footer-links-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.footer-links-section span {
    color: #86909C;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.footer-links-section a,
.footer-bottom-info a {
    color: #86909C;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links-section a {
    font-size: 0.85rem;
    display: inline-block;
}

.footer-links-section a:hover,
.footer-bottom-info a:hover {
    color: var(--theme-color);
    transform: translateX(3px);
}

.footer-bottom-info {
    line-height: 1.6;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom-info img {
    margin-right: 3px;
    width: 16px;
    height: 16px;
}

.copyright-text {
    color: #86909C;
    font-size: 0.85rem;
}

.copyright-text a {
    display: inline-block;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--theme-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--theme-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-content {
        text-align: center;

    }

    .hero-content .d-flex {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .docs-sidebar {
        position: static;
        height: auto;
        margin-bottom: 2rem;
    }

    .docs-content {
        padding: 0;
    }
}

/* API列表页面特定样式 */
.api-list-section {
    padding: 1rem 0;
    background-color: var(--tech-gray);
}

.api-filter-container {
    background: #fff;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    padding-left: 3rem !important;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #86909C;
}

.docs-search-box .clear-btn,
.search-box .clear-btn {
    position: absolute;
    left: initial;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #86909C;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.search-box:hover .clear-btn {
    opacity: 1;
}

.search-box .clear-btn:hover {
    color: #4E5969;
}

.api-list-section .search-box input {
    padding-right: 50px;
}

#search-message {
    display: none;
    padding: 8px 12px;
    margin-top: 5px;
    border-radius: 4px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

.search-no-results {
    background-color: var(--danger-bg);
    border: 1px solid var(--danger-bg);
    color: var(--danger);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-btn {
    background: #fff;
    border: 1px solid #E5E6EB;
    border-radius: var(--radius-small);
    padding: 0.5rem 1rem;
    color: #4E5969;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.api-card {
    background: #fff;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.api-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.api-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.api-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color-bg);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.api-icon i {
    color: white;
    font-size: 1.5rem;
}

.api-title {
    flex: 1;
    min-width: 0;
}

.api-title h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
}

.api-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.api-tag {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.api-tag:hover {
    font-weight: bold;
    box-shadow: var(--shadow-soft);
    transform: translateY(-1px);
}

.tag-m {
    color: #FF7A41;
}

.api-icon svg,
.api-icon img {
    max-width: 42px;
    max-height: 42px;
    color: white;
}

.text-xs {
    font-size: 0.75rem;
}

.api-description {
    color: #4E5969;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.6;
    font-size: 14px;
}

.api-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #F0F0F0;
}

.api-price {
    font-weight: 600;
    color: var(--tech-dark);
}

.api-price.free {
    color: var(--success);
}

.api-bonus {
    font-size: 0.85rem;
    color: #86909C;
}

.api-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-api-detail {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
}

.page-item {
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    border: 1px solid #E5E6EB;
    border-radius: var(--radius-small);
    color: #4E5969;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active,
.active>.page-link,
.page-link.active {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
}

.no-results {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
}

.no-results i {
    font-size: 3rem;
    color: #86909C;
    margin-bottom: 1rem;
}

.no-results h3 {
    color: var(--tech-dark);
    margin-bottom: 1rem;
}

.no-results p {
    color: #4E5969;
    margin-bottom: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .api-grid {
        grid-template-columns: 1fr;
    }

    .category-filter {
        justify-content: center;
    }

    .api-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .api-icon {
        margin-bottom: 1rem;
    }

    .api-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .api-actions {
        width: 100%;
        justify-content: space-between;
    }

    .page-link {
        font-size: small;
    }
}

/* 2行截断 */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 3行截断 */
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4行截断 */
.text-truncate-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spinner-border {
    color: var(--theme-color);
}

.section-icon {
    min-width: 80px;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--theme-color-linear-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
    color: var(--theme-color);
    font-size: 2rem;
}

.section-icon i {
    color: white;
    font-size: 2rem;
}

.section-icon svg,
.section-icon img {
    max-width: 42px;
    max-height: 42px;
}

.api-list-section .section-title h2 {
    font-size: 2rem;
    background: var(--theme-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.api-list-section .section-title p {
    opacity: 0.8;
}

/* 文章分类页面特定样式 */
.blog-category-tags-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: var(--tech-gray);
}

.blog-category-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-category-hero p {
    font-size: 1.2rem;
}

.blog-category-tag {
    background: var(--tech-gray);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    color: var(--tech-dark);
    transition: all 0.2s ease;
    cursor: pointer;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: inline-block;
}

.blog-category-tag:hover,
.blog-category-tag.active {
    background: var(--theme-color);
    color: white;
    text-decoration: none;
}

.blog-article-list-container,
.article-content-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-article-card {
    background: #fff;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: flex;
    min-height: 200px;
    padding: 1.5rem;
}

.blog-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-article-thumbnail-container {
    width: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 240px;
    height: 180px;
    border-radius: 4px;
    margin-right: 24px;
}

.blog-article-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-article-card:hover .blog-article-thumbnail {
    transform: scale(1.1);
}

.blog-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--bs-secondary);
}

.blog-article-category {
    background: var(--theme-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-right: 1rem;
    text-decoration: none;
}

.blog-article-category:hover {
    background: var(--theme-color-dark);
    text-decoration: none;
    color: white;
}

.blog-article-date,
.blog-article-author,
.blog-article-views {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.blog-article-date i,
.blog-article-author i,
.blog-article-views i {
    margin-right: 0.3rem;
}

.blog-article-title {
    font-size: 1.2rem;
    color: var(--tech-dark);
    font-weight: 700;
    line-height: 1.4;
}

.blog-article-title a {
    color: var(--tech-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-article-title a:hover {
    color: var(--theme-color);
}

.blog-article-excerpt {
    color: var(--bs-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.blog-article-excerpt a {
    color: var(--bs-secondary);
    text-decoration: none;
}

.blog-article-excerpt a:hover {
    color: var(--bs-secondary);
}

.blog-read-more {
    color: var(--theme-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.blog-read-more:hover {
    color: var(--theme-color-dark);
    text-decoration: none;
}

.blog-read-more i {
    margin-left: 0.3rem;
    transition: transform 0.2s;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* 侧边栏样式 */
.blog-sidebar {
    position: sticky;
    align-self: flex-start;
    top: 100px;
}

.blog-sidebar-section {
    background: #fff;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-sidebar-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F3F4F6;
    color: var(--tech-dark);
    font-weight: 600;
}

.blog-popular-article {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
    transition: transform 0.2s ease;
}

.blog-popular-article:hover {
    transform: translateX(5px);
}

.blog-popular-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-popular-article-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-small);
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.blog-popular-article:hover .blog-popular-article-img {
    transform: scale(1.05);
}

.blog-popular-article-content {
    flex: 1;
}

.blog-popular-article-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.blog-popular-article-title a {
    color: var(--tech-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.blog-popular-article-title a:hover {
    color: var(--theme-color);
}

.blog-popular-article-meta {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.blog-category-stats {
    margin-bottom: 1rem;
}

.blog-category-stats a {
    color: var(--tech-dark);
    text-decoration: none;
}

.blog-category-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6;
    transition: all 0.2s;
}

.blog-category-stat:hover {
    background-color: var(--tech-gray);
    border-radius: var(--radius-small);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.blog-category-stat:last-child {
    border-bottom: none;
}

.blog-category-stat-name a {
    transition: color 0.2s;
}

.blog-category-stats a:hover {
    color: var(--theme-color);
}

.blog-category-stat-count {
    color: var(--theme-color);
    font-weight: 600;
}

.blog-recommended-article {
    display: block;
    padding: 0.75rem;
    border-radius: var(--radius-small);
    background: var(--tech-gray);
    margin-bottom: 0.75rem;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--tech-dark);
}

.blog-recommended-article:hover {
    background: var(--theme-color);
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.blog-recommended-article:last-child {
    margin-bottom: 0;
}

/* 分页样式 */
.blog-pagination-container {
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 992px) {

    .blog-article-list-container,
    .article-content-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .blog-sidebar,
    .docs-sidebar {
        order: 2;
        position: inherit;
    }

    .blog-article-card {
        flex-direction: column;
    }

    .blog-article-thumbnail-container {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .blog-category-hero h1 {
        font-size: 2rem;
    }

    .blog-article-title,
    .blog-category-hero p {
        font-size: 1rem;
    }

    .blog-article-excerpt {
        font-size: 0.75rem;
    }

    .blog-article-meta {
        flex-wrap: wrap;
    }

    .blog-article-category,
    .blog-article-date,
    .blog-article-author,
    .blog-article-views {
        margin-bottom: 0.3rem;
        font-size: 0.75rem;
    }
}

/* 信息中心样式 */
.info-column {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.info-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: var(--theme-color);
}

.info-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.info-content {
    flex: 1;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-link {
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-link:hover {
    color: var(--theme-color);
}

.info-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.info-date,
.info-category {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.info-category {
    background: rgba(66, 153, 225, 0.1);
    color: var(--theme-color);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    display: inline-block;
    font-size: 0.75rem;
}

.info-footer {
    margin-top: 1.5rem;
    text-align: center;
}

/* 常见问题特殊样式 */
.index-faq-item {
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.index-faq-item:hover {
    transform: translateY(-3px);
}

.index-faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.index-faq-question i {
    color: var(--theme-color);
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.index-faq-answer {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 公告特殊样式 */
.announcement-item {
    display: flex;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    transform: translateX(0);
}

.announcement-item:hover {
    transform: translateX(5px);
}

.announcement-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.announcement-date {
    margin-right: 1rem;
    flex: 0 0 80px;
    height: 80px;
    padding: 16px 0;
    text-align: center;
    color: #8a8a8a;
    background: #eee;
    border-radius: 4px;
}

.announcement-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-color);
    line-height: 1.2;
}

.announcement-month {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    text-transform: uppercase;
}

.announcement-content {
    flex: 1;
}

.announcement-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: var(--text-muted);
    cursor: pointer;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    overflow-wrap: break-word;
}

.announcement-title:hover {
    color: var(--theme-color);
}

.announcement-excerpt {
    font-size: 0.85rem;
    color: var(--bs-secondary);
    line-height: 1.2rem;
}

/* 行业资讯特殊样式 */
.news-item {
    display: flex;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    transform: scale(1);
}

.news-item:hover {
    transform: scale(1.02);
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.news-item:hover .news-thumbnail {
    transform: scale(1.1);
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-content {
    flex: 1;
}

.faq-link {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.news-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    text-decoration: none;
    color: var(--text-muted);
}

.faq-link:hover,
.news-title:hover {
    color: var(--theme-color);
}

.news-meta {
    display: flex;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-meta span {
    margin-right: 0.75rem;
}

.news-meta i {
    margin-right: 0.25rem;
}

.hero {
    overflow: hidden;
    position: relative;
    color: var(--tech-dark);
    padding: 4rem 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -2;
}

.index-top,
.features,
.api-categories,
.articles {
    padding: 6rem 0;
}

.login-section,
.register-section,
.forgot-section,
.contact-section,
.faq-section,
.popular-apis,
.index-bottom {
    padding: 4rem 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg-color);
    z-index: -1;
    opacity: var(--hero-bg-opacity);
    backdrop-filter: var(--hero-bg-blur);
}

.comparison-section {
    padding: 4rem 0 2rem;
}

.pricing-section {
    padding: 4rem 0 6rem;
}

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2rem;
    }

    .index-top,
    .features,
    .api-categories,
    .articles,
    .pricing {
        padding: 4rem 0;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .article-featured-img {
        height: 250px;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-header-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .login-container,
    .register-container,
    .forgot-container {
        padding: 2rem 1.5rem;
    }

    .verification-code .btn {
        margin-top: 10px;
    }

    .verification-code {
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-indicator {
        flex-direction: column;
        gap: 1rem;
    }

    .step-indicator::before {
        display: none;
    }

    .step {
        flex-direction: row;
        gap: 1rem;
    }

    .step-text {
        margin-bottom: 0;
    }

    .navbar-scrolled {
        padding: 0.4rem 0 !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 2rem 1rem;
        margin: 2rem auto;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .login-section,
    .register-section,
    .forgot-section {
        padding: 2rem 0;
    }

    .login-container,
    .register-container,
    .forgot-container {
        padding: 1.5rem 1rem;
    }

    .login-title h2,
    .register-title h2,
    .forgot-title h2 {
        font-size: 1.5rem;
    }

    /* 移动端隐藏返回顶部按钮 */
    .back-to-top {
        display: none;
    }
}

.article-detail-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.article-category-link {
    text-decoration: none;
    color: var(--theme-color);
}

.article-category-link:hover {
    color: var(--theme-color-dark);
}

.article-meta-item:hover {
    transform: translateX(3px);
}

.article-main-content {
    flex: 1;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--theme-color);
    font-weight: 600;
    border-left: 4px solid var(--theme-color);
    padding-left: 1rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--theme-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: rgba(66, 153, 225, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.article-content code {
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--theme-color);
}

.article-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border-left: 4px solid var(--theme-color);
}

.article-share-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.article-share-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    color: white;
}

.share-btn-wechat {
    background: rgba(7, 193, 96, 0.8);
    border: 1px solid rgba(7, 193, 96, 0.3);
}

.share-btn-wechat:hover {
    background: rgba(6, 174, 86, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
}

.share-btn-qq {
    background: rgba(18, 183, 245, 0.8);
    border: 1px solid rgba(18, 183, 245, 0.3);
}

.share-btn-qq:hover {
    background: rgba(15, 165, 222, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 183, 245, 0.3);
}

.share-btn-weibo {
    background: rgba(230, 22, 45, 0.8);
    border: 1px solid rgba(230, 22, 45, 0.3);
}

.share-btn-weibo:hover {
    background: rgba(207, 20, 41, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 22, 45, 0.3);
}

.qrcode-container {
    text-align: center;
}

.qrcode-image {
    max-width: 200px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}



.blog-sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
    padding-bottom: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 992px) {

    .article-detail-hero h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-main-content {
        padding: 1.5rem;
    }

    .blog-article-list-section {
        padding: 1rem 0 0;
    }

    .article-share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }

    .article-meta-info {
        gap: 1rem;
    }
}

tbody,
td,
tfoot,
th,
thead,
tr {

    border-color: var(--bs-gray-200) !important;
    font-weight: 500;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    border-left: 4px solid var(--theme-color);
    padding-left: 0.8rem;
    line-height: 1;
}

.article-content h1,
.article-content h2 {
    font-size: var(--font-size-xl);
}

.article-content h3,
.article-content h4 {
    font-size: var(--font-size-lg);
}

.article-content h5,
.article-content h6 {
    font-size: var(--font-size-base);
}

.article-content img {
    max-width: 100%;
}

/* 接口文档 */
#paydoc h1,
#doc h1,
#errcode h1,
#demo h1,
#debug h1,
#paydoc h2,
#doc h2,
#errcode h2,
#demo h2,
#debug h2,
#paydoc h3,
#doc h3,
#errcode h3,
#demo h3,
#debug h3,
#paydoc h4,
#doc h4,
#errcode h4,
#demo h4,
#debug h4,
#paydoc h5,
#doc h5,
#errcode h5,
#demo h5,
#debug h5,
#paydoc h6,
#doc h6,
#errcode h6,
#demo h6,
#debug h6 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: var(--font-size-lg);
    border-left: 4px solid var(--theme-color);
    padding-left: 0.8rem;
    line-height: 1;
}

.blog-article-list-section {
    font-size: var(--font-size-base);
}

.docs-hero {
    padding: 3rem 0 1.5rem;
}

.docs-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.docs-hero p {
    font-size: 1rem;
}

.docs-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.docs-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.docs-sidebar-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.docs-sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--theme-color);
    border-bottom: 2px solid var(--theme-color);
    padding-bottom: 0.4rem;
}

.docs-main-content {
    flex: 1;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-main-content .badge {
    border-radius: var(--bs-border-radius-pill) !important;
    border: 0;
}

.docs-tab-navigation .badge {

    padding: 0.1rem 0.35rem;
}

.docs-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-category-item {
    margin-bottom: 0.5rem;
}

.docs-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.docs-category-link:hover {
    background: rgba(66, 153, 225, 0.1);
    color: var(--theme-color);
    transform: translateX(5px);
}

.docs-category-link.active {
    background: rgba(66, 153, 225, 0.15);
    color: var(--theme-color);
    font-weight: 600;
}

.docs-apidocs-count {
    background: var(--theme-color);
    color: white;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.docs-apidocs-list,
.docs-apidocs-list-help {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height 0.3s ease;
}

/* 如果要更平滑的动画 */
.docs-apidocs-list[style*="display: none"] {
    max-height: 0 !important;
    opacity: 0;
}

.docs-apidocs-list[style*="display: block"] {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.docs-apidocs-item,
.docs-apidocs-item-help {
    margin-bottom: 0.4rem;
}

.docs-apidocs-link,
.docs-apidocs-link-help {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
    line-height: 1.4;
}

.docs-apidocs-link:hover,
.docs-apidocs-link-help:hover {
    background: rgba(66, 153, 225, 0.1);
    color: var(--theme-color);
    transform: translateX(5px);
}

.docs-apidocs-link.active,
.docs-apidocs-link-help.active {
    background: rgba(66, 153, 225, 0.15);
    color: var(--theme-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

/* 分类折叠/展开指示器 */
.docs-category-link .fa-angle-right {
    transition: all 0.3s ease;
}

.docs-category-link.active .fa-angle-right {
    transform: rotate(270deg);
}

.docs-search-box {
    position: relative;
}

.docs-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem !important;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: var(--font-size-base);
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.docs-search-box input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.1);
}

.docs-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #86909C;
    z-index: 2;
}

/* 文档详情页样式 */
.docs-detail-content {
    margin-bottom: 1.5rem;
}

.apidocs-basic-info {
    margin-bottom: 1rem;
}

.apidocs-icon-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.apidocs-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
}

.apidocs-title-section h1 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

.apidocs-status-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.apidocs-description {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.info-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* 卡片悬停交互 */
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* 信息标题样式 */
.info-title {
    display: flex;
    align-items: center;
    color: #6c757d;
    margin-bottom: 12px;
    font-weight: 500;
}

/* 标题图标样式 */
.info-title i {
    margin-right: 8px;
    color: var(--theme-color);
}

/* 信息值样式 */
.info-value {
    font-size: var(--font-size-lg);
    color: var(--tech-dark);
    font-weight: 600;
    line-height: 1.2;
}

/* 标签页导航样式 */
.docs-tab-navigation {
    margin-top: 1.5rem;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: var(--font-size-lg);
}

.nav-tabs .nav-link.active {
    background: transparent;
    border-bottom: 2px solid var(--theme-color);
}

.tab-content {
    padding: 1.5rem 0;
}


/* 在线调试工具样式 */

.apidocs-debug-tool button {

    padding: 0.4rem 0.8rem;

}

.apidocs-debug-tool {
    margin-bottom: 1.5rem;
}

.debug-controls {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    align-items: center;
}

.method-select {
    width: 100px;
}

.apidocs-url {
    flex: 1;
}

.request-params {
    margin-bottom: 1.2rem;
}

/* 反馈系统样式 */
.apidocs-comments {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#comments img {
    width: 32px;
    height: 32px;
    transition: All 0.3s ease-in-out;
    -webkit-transition: All 0.3s ease-in-out;
    -moz-transition: All 0.3s ease-in-out;
    -o-transition: All 0.3s ease-in-out;
    border-radius: 50% !important;
    display: inline-block;
}

#comments img:hover {
    transform: rotate(360deg) scale(1.2);
    -webkit-transform: rotate(360deg) scale(1.2);
    -moz-transform: rotate(360deg) scale(1.2);
    -o-transform: rotate(360deg) scale(1.2);
    -ms-transform: rotate(360deg) scale(1.2);
}

.vip-icon,
.user-icon,
.admin-icon,
.badge {
    display: inline-block;
    border-radius: 0.25rem !important;
    padding: 0.25rem !important;
    font-size: .875em;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
}

.vip-icon {
    background-color: rgb(249 104 104 / 10%) !important;
    color: #f96868;
}

.user-icon {
    background-color: #15c3771a !important;
    color: #15c377 !important;
}

.admin-icon {
    display: inline-block;
    background-color: rgb(74 178 247 / 10%) !important;
    color: #48b0f7 !important;
}

.comt-box {
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    padding: 4px 0 0 4px;
    background-color: #fff;
    position: relative;
}

#comments #content {
    width: 100%;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
    border: none;
    line-height: 22px;
    outline: 0;
    color: #666;
    height: 68px;
}

.comt-ctrl {
    background-color: #fbfbfb;
    height: auto;
    margin-left: -4px;
    border-top: solid 1px #e8e8e8;
}

#comments .card-header {
    background-color: #fff0;
    border-bottom: 1px solid rgba(77, 82, 89, 0.07);
}

.comment-body .pl-25 {
    padding-left: 2.5rem !important;
}

.comment-body .card {
    border: 0;
}

.commentlist .card-body {
    padding-top: 0.2rem !important;
    padding-bottom: 0.5rem !important;
}

.commentlist a {
    text-decoration: none;
}

.text-gray-600 {
    color: #666;
}

/* 使用流程指引样式 */
.integration-steps {
    padding: 2rem 1.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step-item a {
    text-decoration: none;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.55);
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: var(--radius-soft);
}

.step-item:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.75);

}

.steps-grid .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--theme-color);
}

.step-item h5,
.integration-steps h2 {
    color: var(--tech-dark);
}

.step-item p {
    color: var(--text-muted);
    opacity: 0.9;
    font-size: var(--font-size-base);
}

.request-details .nav-tabs {
    margin-bottom: 0.8rem;
}

/* 新增样式：JSON提交选项 */
.json-submit-options {
    margin-bottom: 1rem;
}

.code-container {
    position: relative;

}

.pre-scrollable {
    max-height: 500px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .docs-container {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
    }

    .docs-hero h1 {
        font-size: 1.7rem;
    }

    .apidocs-basic-info {
        flex-direction: column;
        gap: 0.8rem;
    }

    .debug-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .method-select {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .docs-main-content {
        padding: 1.2rem;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .comment-item {
        flex-direction: column;
    }

    .comment-avatar {
        align-self: flex-start;
    }
}

/* API图标样式 */
.docs-apidocs-icon {
    width: 50px;
    height: 50px;
    background: var(--theme-color-bg);
    border-radius: var(--radius-small);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.docs-apidocs-icon i {
    color: white;
    font-size: 1.3rem;
}

.btn-copy {
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-copy-success {
    background-color: var(--success) !important;
    color: white !important;
    border-color: var(--success) !important;
}

.btn-copy-error {
    background-color: var(--danger) !important;
    color: white !important;
    border-color: var(--danger) !important;
}

.btn-copy:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#doc code[class*="language-"] {
    white-space: pre-wrap;
    /* 保留空白符但允许换行 */
    word-break: break-word;
    /* 允许在单词内换行 */
    overflow-x: auto;
    /* 横向滚动（备用） */
    max-width: 100%;
    /* 最大宽度 */
}

#doc p,
#doc iframe {
    border: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    clear: both;
}

#doc img {
    max-width: 100%;
}

/* 滚动条样式 */

/* 1. Webkit 浏览器 (Chrome, Safari, Edge, Opera) */
.docs-apidocs-list::-webkit-scrollbar,
.pre-scrollable::-webkit-scrollbar,
.form-control::-webkit-scrollbar {
    width: 4px;
    /* 垂直滚动条宽度 */
    height: 4px;
    /* 水平滚动条高度 */
}

.docs-apidocs-list::-webkit-scrollbar-track,
.pre-scrollable::-webkit-scrollbar-track,
.form-control::-webkit-scrollbar-track {
    background: var(--primary-bg);
    /* 轨道背景色 */
    border-radius: 2px;
    /* 轨道圆角 */
}

.docs-apidocs-list::-webkit-scrollbar-thumb,
.pre-scrollable::-webkit-scrollbar-thumb,
.form-control::-webkit-scrollbar-thumb {
    background: var(--theme-color);
    /* 滑块颜色 */
    border-radius: 2px;
    /* 滑块圆角 */
    border: 1px solid var(--primary-bg);
    /* 边框创建内边距效果 */
    background-clip: padding-box;
    /* 确保背景不超过边框 */
}

.docs-apidocs-list::-webkit-scrollbar-thumb:hover,
.pre-scrollable::-webkit-scrollbar-thumb:hover,
.form-control::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--theme-color) 90%, black);
    /* 悬停时变暗 */
}

.docs-apidocs-list::-webkit-scrollbar-thumb:active,
.pre-scrollable::-webkit-scrollbar-thumb:active,
.form-control::-webkit-scrollbar-thumb:active {
    background: color-mix(in srgb, var(--theme-color) 70%, black);
    /* 点击时更暗 */
}

.docs-apidocs-list::-webkit-scrollbar-corner,
.pre-scrollable::-webkit-scrollbar-corner,
.form-control::-webkit-scrollbar-corner {
    background: #fff;
    /* 滚动条角落 */
}

/* 2. Firefox 浏览器 */
.docs-apidocs-list,
.pre-scrollable,
.form-control {
    scrollbar-width: thin;
    /* auto | thin | none */
    scrollbar-color: var(--theme-color) var(--primary-bg);
    /* 滑块颜色 轨道颜色 */
}

/* 3. 微软 Edge (Chromium 版本) - 已包含在 webkit 中 */

/* 4. 旧版 Edge (EdgeHTML) 和 IE */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {

    .docs-apidocs-list,
    .pre-scrollable,
    .form-control {
        /* IE/Edge 旧版不支持自定义滚动条，只能隐藏或使用默认 */
        -ms-overflow-style: -ms-autohiding-scrollbar;
        /* 自动隐藏滚动条 */
    }
}

/* 5. Safari 特定优化 */
@supports (-webkit-overflow-scrolling: touch) {

    .docs-apidocs-list,
    .pre-scrollable,
    .form-control {
        /* iOS Safari 平滑滚动 */
        -webkit-overflow-scrolling: touch;
    }
}

/* 7. 响应式调整 - 触摸设备需要更宽的滚动条 */
@media (hover: none) and (pointer: coarse) {

    .docs-apidocs-list::-webkit-scrollbar,
    .pre-scrollable::-webkit-scrollbar,
    .form-control::-webkit-scrollbar {
        width: 8px;
        /* 触摸设备需要更宽 */
        height: 8px;
    }

    .docs-apidocs-list::-webkit-scrollbar-thumb,
    .pre-scrollable::-webkit-scrollbar-thumb,
    .form-control::-webkit-scrollbar-thumb {
        min-height: 44px;
        /* 满足触摸最小尺寸要求 */
        min-width: 44px;
    }
}

.help-hero h1 {
    margin-bottom: 1rem;
}


/* 卡片样式 */
.help-card {
    background: var(--card-bg);
    border-radius: var(--radius-soft);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.help-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.help-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* 文档内容样式 */
.doc-section {
    padding: 1rem 0 2rem;
    background-color: #fff;
}

.doc-sidebar {
    position: sticky;
    top: 2rem;
    background: white;
    border-radius: var(--radius-soft);
    padding: 1.5rem;
    height: fit-content;
    box-shadow: var(--shadow-soft);
}

.doc-sidebar h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--tech-dark);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.doc-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-nav li {
    margin-bottom: 0.5rem;
}

.doc-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--tech-dark);
    text-decoration: none;
    border-radius: var(--radius-small);
    transition: all 0.2s ease;
}

.doc-nav a:hover,
.doc-nav a.active {
    background-color: var(--primary-bg);
    color: var(--theme-color);
    font-weight: 500;
}

.doc-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-soft);
    box-shadow: var(--shadow-soft);
}

.doc-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--tech-dark);
}

.doc-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tech-dark);
}

.doc-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.doc-content code {
    background: var(--tech-gray);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-small);
    font-family: 'Courier New', monospace;
    color: var(--theme-color);
    font-size: 0.9em;
}

.code-block {
    background: var(--tech-dark);
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: var(--radius-medium);
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* FAQ样式 */
.faq-section {
    background-color: var(--tech-gray);
}

.faq-section .faq-question,
.doc-content .faq-question {
    margin-bottom: 0;

}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius-medium);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--tech-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bs-light);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--theme-color);
    background: rgb(7 170 255 / 10%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .help-hero h1 {
        font-size: 2.2rem;
    }

    .doc-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

}

/* 会员页面 */
.pricing-header h1 {
    margin-bottom: 1rem;
}

.help-hero p,
.pricing-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* 套餐卡片样式 */
.pricing-section {
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.pricing-card.popular {
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--tech-blue-purple-bg);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0 0 var(--radius-small) var(--radius-small);
    z-index: 3;
}

.pricing-card-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.standard .pricing-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-card.member .pricing-card-header {
    background: linear-gradient(135deg, rgba(7, 170, 255, 0.1) 0%, rgba(97, 105, 255, 0.1) 100%);
}

.pricing-card.custom .pricing-card-header {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.highlight-price {
    background: var(--tech-blue-purple-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card-body {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-value {
    font-weight: 600;
}

.feature-value.free {
    color: var(--success);
}

.feature-value.limited {
    color: var(--warning);
}

.feature-value.unlimited {
    color: var(--theme-color);
}

.feature-value.custom {
    color: var(--tech-purple);
    font-style: italic;
}

.feature-value.not-included {
    color: var(--text-muted);
    opacity: 0.6;
}

.pricing-card-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-medium);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-member {
    background: var(--tech-blue-purple-bg);
    color: white;
    border: none;
}

.btn-member:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
    background: var(--theme-color-linear-bg);
}

.btn-standard {
    background: #fff;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
}

.btn-standard:hover {
    background: var(--theme-color-dark);
    color: var(--bs-white);
    transform: translateY(-2px);
}

.btn-custom {
    background: var(--tech-red-yellow-bg);
    color: white;
    border: none;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
    background: var(--tech-orange-bg);
}

/* 功能对比表格 */
.comparison-section {
    background: #fff;
}

.comparison-table {
    background: var(--card-bg);
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.table-header {
    display: flex;
    background: var(--tech-blue-purple-bg);
    color: white;
    padding: 1.5rem;
    font-weight: 600;
}

.feature-column {
    flex: 2;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.plan-column {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.table-body {
    padding: 0;
}

.table-row {
    display: flex;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    align-items: center;
}

.table-row:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background-color: var(--primary-bg);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 2rem 0;
    }

    .pricing-header h1 {
        font-size: 2.2rem;
    }

    .current-price {
        font-size: 2.5rem;
    }

    .table-header,
    .table-row {
        flex-direction: column;
        text-align: center;
    }

    .feature-column,
    .plan-column {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.address-block-two {
    display: block;
}

.address-block-two .icon {
    width: 48px;
    height: 48px;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3em;
}

.address-block-two .title {
    font-size: 16px;
    padding: 20px 0 14px;
    margin-bottom: 0;
    display: block;
    width: 100%;
    font-weight: 700;
    color: #202935;
}

.map-area-one {
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
}

.swal2-icon.swal2-success .placeholder {
    cursor: inherit;
    background-color: transparent;
    opacity: 1;
}

.swal2-modal button,
.swal2-modal {
    border-radius: var(--radius-small) !important;
}

.theme-link {
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.theme-link:hover {
    transform: translateY(-1px);
}

.theme-link i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.theme-link:hover i {
    transform: translateX(3px);
}

.popular-apis,
.features,
.api-categories,
.articles,
.api-list-section,
.blog-article-list-section,
.doc-section,
.pricing-section,
.comparison-section,
.faq-section,
.company-details-section {
    background: url(/tool/css/bg_detail.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 1400px) {

    .pricing-section .container,
    .comparison-section .container {
        max-width: 1320px;
    }

}

#comment_post {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--theme-color);
    --bs-btn-border-color: var(--theme-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--theme-color-dark);
    --bs-btn-hover-border-color: var(--theme-color-dark);
    --bs-btn-focus-shadow-rgb: 0, 125, 255;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--theme-color-dark);
    --bs-btn-active-border-color: var(--theme-color-dark);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(0, 125, 255, 0.6);
    --bs-btn-disabled-border-color: rgba(0, 125, 255, 0.6);
}

.swal2-modal button.styled {
    background-color: var(--theme-color) !important;
    border-left-color: var(--theme-color) !important;
    border-right-color: var(--theme-color) !important;
}

.swal2-modal button.styled:hover,
.swal2-modal button.styled:focus,
.swal2-modal button.styled:active {
    background-color: var(--theme-color-dark) !important;
    border-left-color: var(--theme-color-dark) !important;
    border-right-color: var(--theme-color-dark) !important;
    outline: none !important;
}