/* 电商产品图片设计页面样式 */

/* 页面标题区域样式 */
.page-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 70%, #6366f1 100%);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.page-hero-bg-2 {
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.page-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 40px rgba(0, 212, 255, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(99, 102, 241, 0.3));
}

.page-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.feature-tag {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature-tag:hover::before {
    left: 100%;
}

.feature-tag:hover {
    transform: translateY(-3px) scale(1.02);
}

.feature-tag-1 {
    background: linear-gradient(135deg, #00d4ff 0%, #06b6d4 50%, #0891b2 100%);
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.5), 0 8px 32px rgba(0, 212, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-tag-2 {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0ea5e9 100%);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5), 0 8px 32px rgba(34, 211, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-tag-3 {
    background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 50%, #06b6d4 100%);
    box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.5), 0 8px 32px rgba(103, 232, 249, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 主内容区域 */
.main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 用户信息卡片 */
.user-info-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.user-info-bg {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.user-info-bg-2 {
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.user-info-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.user-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(168, 85, 247, 0.3) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.user-details p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* 卡片样式 */
.cp-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 28px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cp-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 功能特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-icon.cover {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #00d4ff;
}

.feature-icon.main {
    background: linear-gradient(135deg, #bae6fd, #7dd3fc);
    color: #06b6d4;
}

.feature-icon.detail {
    background: linear-gradient(135deg, #67e8f9, #22d3ee);
    color: #0891b2;
}

.feature-icon.ai {
    background: linear-gradient(135deg, #a5f3fc, #67e8f9);
    color: #0ea5e9;
}

.feature-icon.batch {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #00d4ff;
}

.feature-icon.cutout {
    background: linear-gradient(135deg, #bae6fd, #7dd3fc);
    color: #06b6d4;
}

.feature-icon.style {
    background: linear-gradient(135deg, #67e8f9, #22d3ee);
    color: #0891b2;
}

.feature-icon.hd {
    background: linear-gradient(135deg, #a5f3fc, #67e8f9);
    color: #0ea5e9;
}

.feature-icon.scene {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: #00d4ff;
}

.feature-icon.text {
    background: linear-gradient(135deg, #bae6fd, #7dd3fc);
    color: #06b6d4;
}

.feature-icon.spec {
    background: linear-gradient(135deg, #67e8f9, #22d3ee);
    color: #0891b2;
}

.feature-icon.brand {
    background: linear-gradient(135deg, #a5f3fc, #67e8f9);
    color: #0ea5e9;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .cp-card {
        padding: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: stretch;
    }

    .feature-tag {
        text-align: center;
    }
}

/* 设计容器布局 */
.design-container {
    display: flex;
    gap: 24px;
    min-height: 600px;
}

/* 左侧边栏 */
.design-sidebar {
    width: 360px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    flex-shrink: 0;
    overflow-y: auto;
}

/* 右侧主区域 */
.design-main {
    flex: 1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    overflow-y: auto;
}

/* 面板头部 */
.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.panel-header svg {
    width: 20px;
    height: 20px;
    color: #00d4ff;
}

/* 标签切换 */
.tab-switch {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.tab-btn.active {
    background: linear-gradient(135deg, #00d4ff, #06b6d4);
    color: #fff;
    border-color: #00d4ff;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #f1f5f9;
}

/* 区块 */
.section {
    margin-bottom: 20px;
}

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
}

/* 复选框网格 */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    color: #475569;
}

.checkbox-item:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* 参数行 */
.params-row {
    display: flex;
    gap: 12px;
}

.param-item {
    flex: 1;
}

.param-item label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
}

.param-item input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    background: #fff;
}

.param-item input[readonly] {
    background: #f1f5f9;
    color: #64748b;
}

/* LOGO输入行 */
.logo-input-row {
    display: flex;
    gap: 8px;
}

.logo-input-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
}

/* URL输入行 */
.url-input-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.url-input-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn svg {
    width: 14px;
    height: 14px;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(6, 182, 212, 0.1));
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(6, 182, 212, 0.2));
}

/* 主按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #06b6d4);
    color: #fff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary.btn-small {
    padding: 8px 12px;
    font-size: 12px;
}

.btn.full-width {
    width: 100%;
}

/* 登录链接样式 */
.login-link21 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, #00d4ff, #06b6d4);
    color: #fff;
    border: 1px solid rgba(0, 212, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
    text-decoration: none;
    width: 100%;
}

.login-link21:hover {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

.login-link21:active {
    transform: translateY(0);
}

/* 动画 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 上传预览区域 */
.upload-preview {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 生成图片预览区域 - 居中显示，每行最多两个缩略图 */
#finalPreview {
    justify-content: center;
    align-items: center;
    min-height: 200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 220px;
    margin: 12px auto 0;
}

.upload-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 上传区域样式 */
.upload-section {
    margin-top: 12px;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.upload-area:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.03);
}

.upload-area.dragover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.01);
}

.upload-area svg {
    width: 48px;
    height: 48px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.upload-area p {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.upload-area span {
    font-size: 12px;
    color: #94a3b8;
}

/* 上传进度样式 */
.upload-progress {
    margin-top: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #06b6d4);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #64748b;
}

/* 输入框和文本域 */
.section input[type="text"],
.section textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    background: #fff;
    transition: all 0.2s ease;
}

.section input[type="text"]:focus,
.section textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.section input[type="text"]::placeholder,
.section textarea::placeholder {
    color: #94a3b8;
}

.section textarea {
    min-height: 200px;
    resize: vertical;
    padding: 12px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .design-container {
        flex-direction: column;
    }

    .design-sidebar {
        width: 100%;
        max-height: 400px;
    }

    .design-main {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .design-container {
        flex-direction: column;
    }

    .design-sidebar {
        width: 100%;
        max-height: none;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .params-row {
        flex-direction: column;
    }

    .logo-input-row {
        flex-direction: column;
    }
}

/* 预览容器布局 */
.preview-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.preview-left {
    width: 50%;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

.preview-right {
    width: 50%;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e2e8f0;
}

/* 进度信息样式 */
.progress-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
}

.info-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #475569;
    flex-shrink: 0;
}

.info-value {
    color: #1e293b;
    word-break: break-all;
}

.status-value {
    color: #06b6d4;
    font-weight: 500;
}

.status-value.success {
    color: #10b981;
}

.status-value.processing {
    color: #f59e0b;
}

.task-id {
    font-family: monospace;
    font-size: 12px;
    color: #6366f1;
}

.progress-value {
    color: #06b6d4;
    font-weight: 600;
}

.url-value {
    font-size: 11px;
    color: #0ea5e9;
    font-family: monospace;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .preview-container {
        flex-direction: column;
    }
    
    .preview-left,
    .preview-right {
        width: 100%;
    }
}

/* 案例展示区域样式 */
.case-showcase {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.case-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.case-header p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 220px;
}

.scroll-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scroll-items {
    display: flex;
    animation: scrollLeft 30s linear infinite;
    white-space: nowrap;
    margin-top: 8px;
}

.scroll-items:hover {
    animation-play-state: paused;
}

.scroll-item {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    margin-right: 16px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .scroll-item {
        width: 120px;
        height: 120px;
        margin-right: 12px;
    }
    
    .case-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* 图片预览弹窗样式 */
.image-preview-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.image-preview-popup .popup-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.image-preview-popup .popup-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-preview-popup .popup-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-preview-popup .popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-preview-popup .popup-close-btn svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.image-preview-popup .popup-prev-btn,
.image-preview-popup .popup-next-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
}

.image-preview-popup .popup-prev-btn {
    left: 20%;
}

.image-preview-popup .popup-next-btn {
    right: 20%;
}

.image-preview-popup .popup-prev-btn:hover,
.image-preview-popup .popup-next-btn:hover {
    background: rgba(0, 212, 255, 0.8);
    border-color: rgba(0, 212, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.image-preview-popup .popup-prev-btn svg,
.image-preview-popup .popup-next-btn svg {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke-width: 2.5;
}

.image-preview-popup img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
}

.image-preview-popup .popup-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    text-align: center;
}

.image-preview-popup .popup-info #imageIndex {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* 软件著作权证书区域样式 */
.copyright-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.copyright-header {
    text-align: center;
    margin-bottom: 28px;
}

.copyright-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e1b4b;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}

.copyright-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.copyright-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.certificate-card {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.certificate-frame {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image {
    transform: scale(1.02);
}

.certificate-info {
    text-align: center;
    margin-top: 12px;
}

.certificate-label {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .copyright-section {
        padding: 24px 16px;
    }

    .copyright-header h3 {
        font-size: 20px;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certificate-card {
        padding: 12px;
    }

    .certificate-frame {
        padding: 8px;
    }
}