

/* 主要内容区 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding:20px 0px 0 0px;
    width: 100%;
    display: flex;
}

/* 双栏布局的主要内容区 */
.main-content-flex {
    display: flex;
}

/* 容器样式 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

/* 工具主内容区 */
.tool-main-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    padding: 0;
}

/* 侧边栏样式 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* 更多推荐样式 */
.more-recommendations {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.more-recommendations h3 {
    margin-bottom: 16px;
    color: #333;
    font-size: 18px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.tool-grid .tool-item {
    padding: 16px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tool-grid .tool-item:hover {
    background-color: #fff;
    border-color: #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
    transform: translateY(-2px);
}

.tool-grid .tool-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-grid .tool-item a i {
    color: #1890ff;
    font-size: 18px;
}

/* 侧边栏区块样式 */
.sidebar-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 16px;
}

.sidebar-section h3 {
    margin-bottom: 16px;
    color: #333;
    font-size: 16px;
}

.sidebar-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-section ul li {
    margin-bottom: 8px;
}

.sidebar-section ul li a {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar-section ul li a:hover {
    background-color: #f0f9ff;
    color: #1890ff;
    border-color: #91d5ff;
}

.sidebar-section ul li a i {
    color: #1890ff;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* 输入输出区域 */
.input-section, .output-section {
    width: 50%;
    min-width: 50%;
    background-color: #fafafa;
    border: 1px solid #e2e8f0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 0 8px;
}

.input-section {
    border-right: 1px solid #e2e8f0;
}

.output-section {
    border-left: 1px solid #e2e8f0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-bottom: 1px solid #e2e8f0;
}

.section-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.section-tools {
    display: flex;
    gap: 4px;
}

.tool-item {
    color: #718096;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-item:hover {
    background-color: #e2e8f0;
    color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.code-container {
    display: flex;
    height: calc(100vh - 320px);
    overflow: hidden;
    width: 100%;
    background-color: #fff;
}


/* 确保输出区域内容可以滚动 */

.line-numbers {
    background-color: #f7fafc;
    padding: 16px 12px;
    text-align: right;
    user-select: none;
    color: #a0aec0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 14px;
    line-height: 1.6;
    border-right: 1px solid #e2e8f0;
    min-width: 60px;
    width: 60px;
}

/* 功能按钮区 */
.function-buttons {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

/* 转换选项区优化 */
.function-buttons .option-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.function-buttons .option-group:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 196, 140, 0.2);
}

.function-buttons .option-group label {
    font-weight: 600;
    font-size: 15px;
    color: #495057;
    white-space: nowrap;
}

/* 变量名输入框优化 */
.function-buttons .option-group input[type="text"] {
    padding: 10px 16px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #343a40;
    transition: all 0.3s ease;
    background-color: #fff;
    min-width: 180px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.function-buttons .option-group input[type="text"]:focus {
    outline: none;
    border-color: #00c48c;
    box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
    transform: translateY(-1px);
}

/* 单选按钮组优化 */
.function-buttons .option-group .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.function-buttons .option-group .radio-label:hover {
    background-color: #fff;
    border-color: rgba(0, 196, 140, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.function-buttons .option-group .radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #00c48c;
    cursor: pointer;
}

/* 复选框组优化 */
.function-buttons .option-group .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.function-buttons .option-group .checkbox-label:hover {
    background-color: #fff;
    border-color: rgba(0, 196, 140, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.function-buttons .option-group .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00c48c;
    cursor: pointer;
}

.btn {
    padding: 10px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    border-color: #1890ff;
    color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

.btn-primary:hover {
    background-color: #40a9ff;
    border-color: #40a9ff;
}

/* 绿色按钮 */
.btn-success {
    background-color: #00c48c;
    color: #fff;
    border-color: #00c48c;
}

.btn-success:hover {
    background-color: #00a877;
    border-color: #00a877;
}

/* 红色按钮 */
.btn-danger {
    background-color: #ff4d4f;
    color: #fff;
    border-color: #ff4d4f;
}

.btn-danger:hover {
    background-color: #ff7875;
    border-color: #ff7875;
}

.green-btn {
    background-color: #00c48c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.green-btn:hover {
    background-color: #00a877;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 196, 140, 0.3);
}


/* 响应式设计 */
@media (max-width: 768px) {

    
    .tool-main-content {
        flex-direction: column;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .input-section, .output-section {
        width: 100%;
        border: 1px solid #e0e0e0;
        margin-bottom: 10px;
    }
    
    .code-container {
        height: 300px;
    }
    
    .function-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .function-buttons .btn {
        flex: 1;
        min-width: 100px;
    }
}

/* 高亮样式 */
.key {
    color: #0066cc;
}

.string {
    color: #009900;
}

.number {
    color: #ff6600;
}

.keyword {
    color: #0000ff;
    font-weight: bold;
}

.comment {
    color: #008000;
    font-style: italic;
}

.tag {
    color: #800080;
}

.attribute {
    color: #ff0000;
}

.boolean {
    color: #cc00cc;
}

.null {
    color: #999;
}

/* 代码高亮通用样式 */
pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
}

code {
    font-family: 'Courier New', Courier, monospace;
}

/* 工具特定样式 */
.tool-intro {
    margin-top: 20px;
}

/* 按钮组样式优化 */
.function-buttons {
    gap: 12px;
    padding: 16px 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 行号样式优化 */
.line-numbers {
    background-color: #f5f5f5;
    padding: 10px 8px;
    text-align: right;
    user-select: none;
    color: #999;
    font-size: 14px;
    line-height: 1.5;
    border-right: 1px solid #e0e0e0;
    min-width: 50px;
    width: 50px;
    overflow: hidden;
}

/* 截图工具样式 */
/* 为各个工具页面专门设置main-content为block布局 */
.main-content:has(.screenshot-container),
.main-content:has(.api-docs-container),
.main-content:has(.help-container),
.main-content:has(.feedback-container) {
    display: block;
}

/* 页面标题和介绍 */
.page-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 30px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf2 100%);
    border-radius: 12px;
    /* margin-top: 30px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-feature-item i {
    font-size: 24px;
    color: #00c48c;
}

.hero-feature-item span {
    font-weight: 500;
    color: #333;
}

.screenshot-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 196, 140, 0.1);
}

.screenshot-container h2,
.api-docs-container h2,
.help-container h2,
.feedback-container h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 32px;
    text-align: center;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* API文档容器样式 */
.api-docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 196, 140, 0.1);
}

/* 帮助中心容器样式 */
.help-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 196, 140, 0.1);
}
.html-result-container {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}
.result-info {
    margin-bottom: 20px;
}
.result-info i {
    font-size: 48px;
    color: #00c48c;
    margin-bottom: 15px;
}
.result-info h3 {
    margin-bottom: 10px;
    color: #333;
}
.result-info p {
    color: #666;
    font-size: 14px;
}
/* 反馈中心容器样式 */
.feedback-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 196, 140, 0.1);
}

/* API文档样式 */
.api-section {
    margin-bottom: 50px;
}

.api-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 196, 140, 0.2);
}

.api-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid #00c48c;
    transition: all 0.3s ease;
}

.api-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.api-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.api-card h4 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #555;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.api-table th,
.api-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.api-table th {
    background-color: #00c48c;
    color: #fff;
    font-weight: 600;
}

.api-table tr:last-child td {
    border-bottom: none;
}

.api-table tr:hover {
    background-color: #f5f7fa;
}

.api-card code {
    background-color: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #e63946;
}

.api-card pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    margin-bottom: 20px;
}

.api-card pre code {
    background-color: transparent;
    color: #e2e8f0;
    padding: 0;
}

/* 帮助中心样式 */
.help-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 196, 140, 0.2);
}

.help-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid #00c48c;
}

.help-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.help-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.help-card ol,
.help-card ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.help-card li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.help-card strong {
    color: #00c48c;
}

/* 反馈表单样式 */
.feedback-form {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-form .form-group {
    margin-bottom: 25px;
}

.feedback-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: #00c48c;
    box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
}

.feedback-form textarea {
    resize: vertical;
    min-height: 150px;
}

.feedback-form button {
    background-color: #00c48c;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.feedback-form button:hover {
    background-color: #00a877;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 196, 140, 0.3);
}

.feedback-notice {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    color: #2e7d32;
}

.feedback-notice h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2e7d32;
}

.feedback-notice ul {
    padding-left: 20px;
}

.feedback-notice li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.screenshot-form {
    max-width: 860px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(0, 196, 140, 0.1);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="datetime-local"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00c48c;
    box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
    /*transform: translateY(-1px);*/
}

/* URL输入组 */
.url-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.url-input-group i {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 16px;
}

.url-input-group input {
    padding-left: 50px !important;
}

/* 设备选项 */
.device-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.device-option {
    flex: 1;
    min-width: 180px;
    padding: 28px 20px;
    border: 2px solid rgba(0, 196, 140, 0.1);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.device-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.device-option:hover {
    border-color: #00c48c;
    box-shadow: 0 8px 24px rgba(0, 196, 140, 0.15);
    transform: translateY(-3px);
}

.device-option:hover::before {
    transform: scaleX(1);
}

.device-option.active {
    border-color: #00c48c;
    background: linear-gradient(135deg, rgba(0, 196, 140, 0.05) 0%, rgba(0, 168, 119, 0.05) 100%);
    box-shadow: 0 8px 24px rgba(0, 196, 140, 0.15);
}

.device-option.active::before {
    transform: scaleX(1);
}

.device-option i {
    font-size: 40px;
    margin-bottom: 12px;
    color: #999;
    transition: all 0.3s ease;
}

.device-option:hover i,
.device-option.active i {
    color: #00c48c;
    transform: scale(1.1);
}

.device-option span {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 16px;
    color: #333;
}

.device-option small {
    color: #999;
    font-size: 14px;
}

/* 单选按钮组 */
.radio-group,
.checkbox-group {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(0, 196, 140, 0.05);
    border: 2px solid transparent;
}

.radio-item:hover,
.checkbox-item:hover {
    background-color: rgba(0, 196, 140, 0.1);
    border-color: rgba(0, 196, 140, 0.2);
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00c48c;
    cursor: pointer;
}

.vip-tag {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 10px;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(108, 92, 231, 0.3);
}

.vip-feature {
    position: relative;
    overflow: hidden;
}

.vip-feature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 50px solid rgba(108, 92, 231, 0.1);
    border-left: 50px solid transparent;
}

.vip-feature:hover::before {
    border-top: 50px solid rgba(108, 92, 231, 0.2);
}

.radio-item label,
.checkbox-item label {
    margin-bottom: 0;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

/* 自定义尺寸输入 */
.custom-size {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.custom-size input {
    width: 140px;
    padding: 14px 20px !important;
}

.custom-size span {
    font-size: 20px;
    font-weight: 700;
    color: #00c48c;
}

/* 高级设置 */
.advanced-settings {
    margin-top: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 196, 140, 0.05) 0%, rgba(0, 168, 119, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(0, 196, 140, 0.1);
}

.timed-settings,
.login-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.timed-settings > div,
.login-settings > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timed-settings label,
.login-settings label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

/* 截图按钮 */
.btn-screenshot {
    display: block;
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 196, 140, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.btn-screenshot:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 196, 140, 0.4);
    background: linear-gradient(135deg, #00b380 0%, #009966 100%);
}

.btn-screenshot:active {
    transform: translateY(-1px);
}

.btn-screenshot i {
    margin-right: 10px;
    font-size: 20px;
}

/* 预览区域 */
.preview-section {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 196, 140, 0.1);
}

.preview-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-title i {
    color: #00c48c;
    font-size: 24px;
}

.preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    border: 3px dashed rgba(0, 196, 140, 0.2);
    border-radius: 12px;
    background-color: rgba(0, 196, 140, 0.02);
    padding: 40px;
}

.preview-container.has-preview {
    border-style: solid;
    background-color: #fff;
    border-color: #00c48c;
    box-shadow: 0 4px 20px rgba(0, 196, 140, 0.1);
}

.preview-placeholder {
    text-align: center;
    color: #999;
}

.preview-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: #00c48c;
}

.preview-placeholder p {
    font-size: 18px;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

.preview-placeholder small {
    font-size: 14px;
    color: #999;
}

.preview-image {
    max-width: 100%;
    max-height: 600px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.preview-image:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* 高级设置表单组 */
.advanced-settings {
    /* 移除动画效果 */
}

.custom-size span {
    color: #666;
}

/* 功能特性、使用流程、常见问题样式 */
.features-section,
.usage-section,
.faq-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.features-section h2,
.usage-section h2,
.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #00c48c;
    font-size: 32px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 196, 140, 0.05) 0%, rgba(0, 168, 119, 0.05) 100%);
    border: 2px solid rgba(0, 196, 140, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 196, 140, 0.15);
    border-color: rgba(0, 196, 140, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 196, 140, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 40px;
    color: #fff;
}

.feature-item h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.usage-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.usage-step {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

/* 添加步骤连接线 */
.usage-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00c48c 0%, #00a877 100%);
    display: block;
}

/* 响应式调整连接线 */
@media (max-width: 992px) {
    .usage-step:not(:last-child)::after {
        display: none;
    }
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 196, 140, 0.3);
    transition: all 0.3s ease;
}

.usage-step:hover .step-icon {
    transform: scale(1.1);
}

.step-icon i {
    font-size: 50px;
    color: #fff;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    border: 4px solid #00c48c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #00c48c;
    box-shadow: 0 4px 12px rgba(0, 196, 140, 0.2);
}

.usage-step h3 {
    margin-bottom: 16px;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.usage-step p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.faq-content {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.faq-item:hover {
    border-color: #00c48c;
    background-color: #f5f5f5;
}

.faq-item h3 {
    margin-bottom: 12px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    color: #00c48c;
    margin-right: 12px;
    font-size: 20px;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

/* URL编解码专用样式 */
.url-encode-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.url-encode-options:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 196, 140, 0.2);
}

.url-encode-options select {
    padding: 10px 16px;
    border: 2px solid rgba(0, 196, 140, 0.1);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #343a40;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.url-encode-options select:hover {
    border-color: rgba(0, 196, 140, 0.4);
}

.url-encode-options select:focus {
    outline: none;
    border-color: #00c48c;
    box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
}

.url-encode-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    color: #495057;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.url-encode-options label:hover {
    background-color: #fff;
    border-color: rgba(0, 196, 140, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.url-encode-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #00c48c;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 备注信息样式 */
.note {
    margin-top: 20px;
    padding: 24px;
    background-color: #f8f9fa;
    border-left: 4px solid #00c48c;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.note p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #495057;
}

.note p:first-child {
    font-weight: 600;
    color: #212529;
    margin-bottom: 16px;
    font-size: 16px;
}

.note p:last-child {
    margin-bottom: 0;
}

.note p code {
    background-color: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 500;
    color: #dc3545;
}

/* 底部样式 */
.footer {
    margin-top: 80px;
    padding: 60px 30px;
    background: linear-gradient(135deg, #00c48c 0%, #00a877 100%);
    color: #fff;
    text-align: center;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}