/* PDF在线处理工具 - 通用样式文件 */

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #F5F7FA;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #165DFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.nav-menu > a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 12px 16px;
    display: inline-block;
}

.nav-menu > a:hover {
    color: #165DFF;
}

/* 导航下拉菜单 */
.nav-dropdown, .dropdown {
    position: relative;
    display: inline-block;
    padding: 12px 16px;
    cursor: pointer;
}

.dropdown-toggle {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-block;
    padding: 12px 16px;
}

.nav-dropdown:hover .dropdown-toggle,
.dropdown:hover .dropdown-toggle {
    color: #165DFF;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 16px;
    min-width: 300px;
    z-index: 1000;
    display: none;
    margin-top: -12px;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-section {
    margin-bottom: 16px;
}

.dropdown-section:last-child {
    margin-bottom: 0;
}

.dropdown-section h4 {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #E5E7EB;
}

.dropdown-section a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.3s;
}

.dropdown-section a:hover {
    color: #165DFF;
}

.nav-button {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 12px 16px;
    display: inline-block;
}

.nav-button:hover {
    color: #165DFF;
}

.nav-button.primary {
    background-color: #165DFF;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
}

.nav-button.primary:hover {
    background-color: #0F4CD1;
    color: #fff;
}

/* 右侧操作 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.nav-actions .btn {
    font-size: 14px;
    padding: 6px 12px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #165DFF;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0F4CD1;
    box-shadow: 0 2px 4px rgba(22, 93, 255, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: #165DFF;
    border: 1px solid #165DFF;
}

.btn-secondary:hover {
    background-color: #f0f5ff;
}

.btn-disabled {
    background-color: #E5E7EB;
    color: #6B7280;
    cursor: not-allowed;
}

/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 6px 0;
    transition: all 0.3s;
}

/* 首页样式 */
.home {
    padding: 40px 0;
}

.home-hero {
    text-align: center;
    margin-bottom: 60px;
}

.home-hero h1 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.home-hero p {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 所有PDF工具页面样式 */
.all-tools-page {
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px 0;
    background-color: #F8FAFC;
    border-radius: 8px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 16px;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* 工具分类样式 */
.tools-categories {
    margin-bottom: 60px;
}

.tool-category {
    margin-bottom: 15px;
    padding: 24px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
 
}

.tool-category h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #165DFF;
    display: inline-block;
}

.tool-category p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
}

/* 工具网格样式 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tool-card {
    background-color: #f3f5f6;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #E5E7EB;
    height: 180px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .tool-card {
        width: 100%;
        height: 180px;
        padding: 16px;
    }
}

.tool-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #165DFF;
    background-color: #F0F5FF;
}

.tool-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-icon svg {
    width: 48px;
    height: 48px;
}

.tool-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.tool-card p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
    line-height: 1.5;
}

/* 查看所有工具按钮样式 */
.view-all-tools {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background-color: #F8FAFC;
    border-radius: 8px;
    border: 2px dashed #E5E7EB;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
}

.view-all-tools p {
    margin-top: 12px;
    font-size: 14px;
    color: #6B7280;
}

/* 工具展示区标题样式 */
.tools-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.tools-section p {
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 32px;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .tool-category {
        padding: 16px;
    }
    
    .tool-category h2 {
        font-size: 18px;
    }
}



.features-section {
    background-color: #fff;
    padding: 60px 0;
}

.features-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: #6B7280;
}

/* 底部样式 */
.footer {
    background-color: #fff;
    border-top: 1px solid #E5E7EB;
    padding: 32px 0;
    margin-top: 60px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 12px;
    color: #6B7280;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    font-size: 12px;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #165DFF;
}

/* 工具页面样式 */
.tool-page {
    padding: 40px 0;
}



/* 工具布局样式 */
.tool-layout {
    display: flex;
    flex: 1;
    gap: 32px;
    margin-right: 32px;
    min-height: 600px;
}

/* 左侧内容区域 */
.tool-content {
    display: flex;
    gap: 32px;
    width: 100%;
    min-width: 0;
}

/* 左侧内容区域 */
.left-content-area {
    width: 60%;
    min-width: 0;
}

/* 中间操作区域 */
.middle-action-area {
    width: 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* 右侧广告区域 */
.right-action-area {
    display: none;
}

/* 左侧文件上传区域 */
.tool-left {
    flex: 1;
    min-width: 0;
}

/* 右侧操作区域 */
.tool-right {
    flex: 1;
    min-width: 0;
}

/* 右侧操作区域 */
.tool-actions {
    flex: 1;
    min-width: 0px;
    height: 580px;
    margin-top: 150px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
}

/* 处理区域和广告区域的容器 */
.process-ad-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* 处理按钮区域 */
.process-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

/* 广告区域 */
.ad-banner-tool-right {
    position: sticky;
    top: 100px;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 300px;
    display: block;
}

/* 操作区域内的每个部分 */
.action-section {
    margin-bottom: 32px;
}

/* 处理按钮样式 */
.action-section .btn-primary {
    width: 100%;
    padding: 12px 24px;
    font-size: 16px;
}

/* 进度条样式 */
.action-section .progress-section {
    margin-top: 16px;
}

/* 结果区域样式 */
.action-section .result-section {
    margin-top: 16px;
}

.breadcrumb {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #165DFF;
    text-decoration: none;
}

.tool-header {
    margin-bottom: 32px;
}

.tool-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tool-header p {
    font-size: 14px;
    color: #6B7280;
}

.upload-area, .upload-section {
    background-color: #fff;
    border: 2px dashed #E5E7EB;
    border-radius: 8px;
    padding: 60px 24px;
    text-align: center;
    margin-bottom: 32px;
    transition: all 0.2s;
    display: block;
    width: 100%;
}

.upload-area.drag-over, .upload-section.drag-over {
    border-color: #165DFF;
    background-color: #E8F0FF;
}

.upload-area h2, .upload-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.upload-area p, .upload-section p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
}

.upload-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #165DFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-btn:hover {
    background-color: #0F4CD1;
}

.file-list {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.file-list h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
}

.file-item:last-child {
    border-bottom: none;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-name {
    font-size: 14px;
    color: #333;
}

.file-size {
    font-size: 12px;
    color: #6B7280;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

.btn-danger {
    background-color: #DC3545;
    color: #fff;
}

.btn-danger:hover {
    background-color: #c82333;
}

.options-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.options-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.option-group input[type="text"],
.option-group input[type="number"],
.option-group select {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.option-group input[type="text"]:focus,
.option-group input[type="number"]:focus,
.option-group select:focus {
    outline: none;
    border-color: #165DFF;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background-color: #165DFF;
    border-radius: 4px;
    transition: width 0.1s;
}

.progress-text {
    font-size: 14px;
    color: #6B7280;
    text-align: center;
}

.result-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
    width: 100%;
}

.result-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #28A745;
    margin-bottom: 24px;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.result-info {
    font-size: 14px;
    color: #6B7280;
}

.tip-section {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 32px;
}

.tip-section p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 8px;
}

.tip-section a {
    color: #165DFF;
    text-decoration: none;
}

/* 登录/注册页面样式 */
.auth-page {
    padding: 60px 0;
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.auth-container h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #165DFF;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

.password-toggle {
    position: relative;
}

.password-toggle input {
    padding-right: 40px;
}

.toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
}

.auth-footer a {
    color: #165DFF;
    text-decoration: none;
}

/* 帮助中心页面样式 */
.help-page {
    padding: 40px 0;
}

.help-container {
    max-width: 800px;
    margin: 0 auto;
}

.help-container h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
    text-align: center;
}

.faq-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #F8F9FA;
}

.faq-answer {
    padding: 0 24px 16px;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 错误提示样式 */
.error-message {
    background-color: #FEF2F2;
    color: #DC3545;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.success-message {
    background-color: #ECFDF5;
    color: #28A745;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

/* 响应式设计 */
@media (max-width: 1199px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1199px) {
    .nav-actions {
        gap: 8px;
    }
    
    .nav-actions .btn {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s;
        z-index: 99;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu > a,
    .dropdown-toggle {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #E5E7EB;
    }
    
    .nav-menu > a:last-child,
    .dropdown-toggle:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: 1px solid #E5E7EB;
        border-radius: 4px;
        margin-top: 8px;
        min-width: auto;
    }
    
    .nav-actions {
        display: flex;
        margin-left: 0;
        margin-top: 16px;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-actions .btn {
        flex: 1;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
    
    .home-hero h1 {
        font-size: 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .upload-area, .upload-section {
        padding: 40px 16px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .tool-layout {
        flex-direction: column;
    }
    
    .tool-actions {
        min-width: auto;
        width: 100%;
    }
    
    .tool-content {
        flex-direction: column;
    }
    
    .tool-left,
    .tool-right {
        width: 100%;
    }
    
    .auth-container {
        padding: 24px;
    }
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #165DFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 隐藏文件输入 */
.file-input {
    display: none;
}

/* 会员状态样式 */
.vip-status {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 12px;
}

.vip-status.text-primary {
    color: #165DFF;
    background-color: #E8F0FF;
}

.vip-status.text-secondary {
    color: #6B7280;
    background-color: #F3F4F6;
}

/* 广告样式 */
.ad-container {
    margin: 24px 0;
}

.ad-text-home-bottom,
.ad-text-tool-bottom {
    display: none;
}

.ad-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-content p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.ad-link {
    color: #165DFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.ad-link:hover {
    color: #0F4CD1;
    text-decoration: underline;
}

.ad-banner-tool-right {
    position: sticky;
    top: 100px;
    background-color: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: none;
}

.ad-banner-tool-bottom {
    display: none;
}

.ad-banner-link {
    display: block;
    text-decoration: none;
}

.ad-banner-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s;
}

.ad-banner-image:hover {
    transform: scale(1.02);
}

/* 升级弹窗样式 */
.upgrade-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #E5E7EB;
}

.popup-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.popup-body {
    padding: 24px;
}

.popup-body p {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
}

.upgrade-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.upgrade-features li {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.upgrade-features li:before {
    content: '✓';
    color: #28A745;
    font-weight: 600;
    position: absolute;
    left: 0;
}

.popup-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 价格页面样式 */
.price-page {
    padding: 40px 0;
}

.price-header {
    text-align: center;
    margin-bottom: 48px;
}

.price-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.price-header p {
    font-size: 16px;
    color: #6B7280;
}

.price-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.price-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    transition: all 0.3s;
}

.price-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.price-card.featured {
    border: 2px solid #165DFF;
    box-shadow: 0 4px 16px rgba(22, 93, 255, 0.2);
}

.price-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.price-card-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.price-card-header p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

.price {
    font-size: 32px;
    font-weight: 600;
    color: #165DFF;
    margin-bottom: 8px;
}

.price-period {
    font-size: 14px;
    color: #6B7280;
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.price-features li {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.price-features li:before {
    content: '✓';
    color: #28A745;
    font-weight: 600;
    position: absolute;
    left: 0;
}

.price-features li.disabled {
    color: #9CA3AF;
}

.price-features li.disabled:before {
    content: '✗';
    color: #9CA3AF;
}

.price-actions {
    text-align: center;
}

/* 支付页面样式 */
.pay-page {
    padding: 40px 0;
}

.pay-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pay-header {
    text-align: center;
    margin-bottom: 32px;
}

.pay-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.pay-info {
    margin-bottom: 32px;
}

.pay-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #E5E7EB;
}

.pay-info-item:last-child {
    border-bottom: none;
    font-weight: 600;
}

.pay-methods {
    margin-bottom: 32px;
}

.pay-methods h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.pay-method-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.pay-method-option:hover {
    border-color: #165DFF;
    background-color: #F8FAFC;
}

.pay-method-option.selected {
    border-color: #165DFF;
    background-color: #E8F0FF;
}

.pay-method-option input[type="radio"] {
    margin-right: 12px;
}

.pay-method-info {
    flex: 1;
}

.pay-method-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.pay-method-info p {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

.pay-action {
    text-align: center;
}

/* 成功页面样式 */
.success-page {
    padding: 60px 0;
}

.success-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 48px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #28A745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    fill: #fff;
}

.success-container h1 {
    font-size: 24px;
    font-weight: 600;
    color: #28A745;
    margin-bottom: 16px;
}

.success-container p {
    font-size: 16px;
    color: #333;
    margin-bottom: 32px;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .ad-banner-tool-right {
        display: none !important;
    }
    
    .ad-banner-tool-bottom {
        display: none !important;
    }
    
    .price-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .price-card {
        max-width: 100%;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-actions .btn {
        width: 100%;
    }
    
    .ad-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
