/* 万象罗盘网站增强样式 */

/* 截图展示区域 */
.screenshot-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.screenshot-showcase h2,
.screenshot-showcase h3 {
    color: white;
}

.screenshot-showcase .text-gray-600 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 核心功能亮点区域 */
.screenshot-showcase .text-center h3 {
    color: white !important;
}

.screenshot-showcase .feature-highlight {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshot-showcase .feature-highlight h4 {
    color: #333 !important;
}

.screenshot-showcase .feature-highlight p {
    color: #666 !important;
}

.screenshot-main img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-main img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.screenshot-item {
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.feature-highlight {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* 专业罗盘分类样式 */
.compass-categories {
    background: #f8fafc;
}

.compass-categories .bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 功能卡片增强 */
#app-features .bg-white {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#app-features .bg-white:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

/* 下载按钮增强 */
.download-button-container {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .screenshot-showcase .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshot-main img {
        max-width: 280px;
    }
    
    .screenshot-grid .grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .feature-highlight {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .compass-categories .grid {
        grid-template-columns: 1fr;
    }
    
    #app-features .grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-grid .grid {
        grid-template-columns: 1fr;
    }
}

/* 预加载和懒加载优化 */
.screenshot-item img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item img.loaded {
    opacity: 1;
}

/* 图片圆角和阴影统一 */
.screenshot-showcase img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* 功能图标动画 */
.feature-highlight i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-highlight:hover i {
    transform: scale(1.2);
}

/* 导航栏背景增强 */
.navbar-dark {
    backdrop-filter: blur(10px);
    background-color: rgba(17, 24, 39, 0.9);
}

/* 按钮样式增强 */
.btn-download {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* 徽章样式 */
.recommended-badge {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* 下载模态框样式 */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.download-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.download-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    text-align: center;
    padding: 30px 20px 20px;
    border-bottom: 1px solid #eee;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.modal-icon i {
    color: white;
    font-size: 24px;
}

.modal-header h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.modal-header p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.modal-body {
    padding: 20px;
}

.download-options {
    text-align: center;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.download-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.email-subscription {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.email-subscription h4 {
    margin: 0 0 15px;
    color: #333;
    font-size: 18px;
}

.email-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.email-input-group input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.email-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.email-input-group button {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.email-input-group button:hover {
    background: #059669;
}

.subscription-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: #666;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.release-info {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
}

.release-info i {
    margin-right: 5px;
    color: #3b82f6;
}

.social-share p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #666;
}

.share-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.share-btn.wechat:hover {
    border-color: #07c160;
    color: #07c160;
}

.share-btn.weibo:hover {
    border-color: #e6162d;
    color: #e6162d;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: #10b981;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification i {
    margin-right: 10px;
    color: #3b82f6;
}

.notification.success i {
    color: #10b981;
}

.notification.error i {
    color: #ef4444;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* 移动端模态框优化 */
@media (max-width: 640px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        max-height: 90vh;
    }
    
    .email-input-group {
        flex-direction: column;
    }
    
    .email-input-group button {
        margin-top: 10px;
    }
    
    .share-btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* ====================
   视频播放器样式
   ==================== */
.video-section {
    margin: 3rem 0;
    text-align: center;
}

.video-player-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: #000;
}

.demo-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.play-button i {
    font-size: 2rem;
    color: #1e3a8a;
    margin-left: 4px; /* 视觉居中调整 */
}

/* 自定义视频控件 */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.video-player-container:hover .custom-video-controls,
.video-player-container.playing .custom-video-controls {
    opacity: 1;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.progress-container {
    flex: 1;
    position: relative;
    height: 6px;
    cursor: pointer;
    margin: 0 10px;
}

.progress-background {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    left: 0%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-handle {
    opacity: 1;
}

.chapter-markers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.chapter-marker {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    pointer-events: all;
}

.chapter-marker:hover {
    background: rgba(255, 255, 255, 0.9);
}

.time-display {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 60px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.volume-container:hover .volume-slider {
    opacity: 1;
}

.volume-slider input {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    cursor: pointer;
}

/* 章节导航 */
.chapter-navigation {
    background: rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
}

.chapter-navigation h4 {
    margin: 0 0 1rem 0;
    color: #374151;
    font-weight: 600;
}

.chapter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.chapter-item {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.chapter-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.chapter-item.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.chapter-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.chapter-time {
    background: #3b82f6;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 35px;
    text-align: center;
}

.chapter-title {
    font-weight: 600;
    color: #374151;
}

.chapter-description {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    padding-left: calc(35px + 0.8rem);
}

/* 全屏模式样式 */
.video-player-container:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-player-container:fullscreen .demo-video {
    height: 100vh;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-player-container {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .custom-video-controls {
        padding: 15px 10px 10px;
    }
    
    .controls-row {
        gap: 10px;
    }
    
    .control-btn {
        font-size: 1rem;
        padding: 6px;
    }
    
    .time-display {
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .volume-container {
        display: none; /* 移动端隐藏音量控制 */
    }
    
    .chapter-navigation {
        padding: 1rem;
    }
    
    .chapter-item {
        padding: 0.6rem 0.8rem;
    }
    
    .chapter-description {
        padding-left: calc(30px + 0.6rem);
        font-size: 0.8rem;
    }
}

/* ====================
   功能对比表格样式
   ==================== */
.feature-comparison-section {
    background: #f8fafc;
    padding: 4rem 0;
    margin: 3rem 0;
}

.feature-comparison-table {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 表格标题区域 */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.table-title-section {
    flex: 1;
}

.table-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.table-description {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    max-width: 400px;
}

/* 视图切换器 */
.view-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.25rem;
    backdrop-filter: blur(10px);
}

.view-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.view-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 表格容器 */
.comparison-table-container {
    overflow-x: auto;
    position: relative;
    transition: opacity 300ms ease, transform 300ms ease;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* 表头样式 */
.comparison-table thead th {
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    position: sticky;
    top: 0;
    z-index: 10;
}

.feature-column {
    width: 25%;
    min-width: 200px;
}

.competitor-column {
    width: 18.75%;
    min-width: 150px;
    text-align: center;
}

.highlight-column {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    position: relative;
}

.highlight-column::before {
    content: '推荐';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* 竞品头部信息 */
.competitor-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.competitor-icon {
    font-size: 1.5rem;
}

.competitor-info {
    text-align: center;
}

.competitor-name {
    display: block;
    font-weight: 700;
    color: #1f2937;
}

.competitor-desc {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 400;
}

/* 表格行样式 */
.feature-row {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-row.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-row:hover,
.feature-row.hovered {
    background: #fafbfc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-row {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
}

.highlight-row:hover {
    background: linear-gradient(90deg, #fde68a 0%, #fcd34d 100%);
}

/* 表格单元格 */
.comparison-table td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.feature-name {
    border-right: 1px solid #f1f5f9;
}

.feature-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 1rem;
}

.feature-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

/* 功能值样式 */
.feature-value {
    text-align: center;
    position: relative;
}

.value-text {
    display: inline-block;
    font-weight: 500;
    color: #374151;
}

.cncompass-value {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    font-weight: 600;
}

.highlight-value {
    position: relative;
}

.highlight-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #f59e0b;
    font-size: 0.8rem;
}

.competitor-value .value-text {
    color: #6b7280;
}

/* 优势总结区域 */
.advantage-summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    margin-top: 1rem;
}

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

.summary-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 1.5rem 0;
    text-align: center;
    justify-content: center;
}

.summary-title i {
    color: #f59e0b;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advantage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.advantage-text {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .table-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .view-switcher {
        align-self: stretch;
    }
    
    .view-btn {
        flex: 1;
        text-align: center;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .competitor-column {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .feature-comparison-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .feature-comparison-table {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .table-header {
        padding: 1rem;
    }
    
    .table-title {
        font-size: 1.5rem;
    }
    
    .table-description {
        font-size: 0.9rem;
    }
    
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
    
    .feature-column {
        min-width: 160px;
    }
    
    .competitor-column {
        min-width: 100px;
    }
    
    .competitor-header {
        gap: 0.25rem;
    }
    
    .competitor-icon {
        font-size: 1.2rem;
    }
    
    .competitor-name {
        font-size: 0.85rem;
    }
    
    .competitor-desc {
        font-size: 0.7rem;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
    
    .advantage-summary {
        padding: 1.5rem 1rem;
    }
    
    .summary-title {
        font-size: 1.25rem;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantage-item {
        padding: 0.75rem 1rem;
    }
    
    .advantage-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .advantage-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-column {
        min-width: 140px;
    }
    
    .competitor-column {
        min-width: 80px;
    }
    
    .competitor-icon {
        font-size: 1rem;
    }
    
    .competitor-name {
        font-size: 0.75rem;
    }
    
    .feature-title {
        font-size: 0.85rem;
    }
}

/* ====================
   交互式截图查看器样式
   ==================== */
#screenshotViewerContainer {
    min-height: 600px;
    margin: 2rem 0;
}

.screenshot-viewer {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
}

/* 缩略图导航 */
.thumbnail-navigation {
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.thumbnail-container {
    display: flex;
    gap: 1rem;
    padding: 0 3rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-container::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-title {
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-prev {
    left: 1rem;
}

.nav-next {
    right: 1rem;
}

/* 主图显示区域 */
.main-image-container {
    position: relative;
    background: #000;
    height: 500px;
    overflow: hidden;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.image-wrapper:active {
    cursor: grabbing;
}

#mainImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    user-select: none;
}

/* 图片控制工具栏 */
.image-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 0.5rem;
}

.control-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.zoom-level {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

/* 图片导航箭头 */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    font-size: 1.2rem;
    color: #374151;
}

.main-image-container:hover .image-nav-btn {
    opacity: 1;
}

.image-nav-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.image-prev {
    left: 1rem;
}

.image-next {
    right: 1rem;
}

/* 加载指示器 */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* 图片信息面板 */
.image-info-panel {
    background: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.image-meta {
    flex: 1;
}

.image-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.image-description {
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.image-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

.image-counter {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

/* 全屏模式 */
.screenshot-viewer:fullscreen {
    background: black;
}

.screenshot-viewer:fullscreen .main-image-container {
    height: calc(100vh - 200px);
}

.screenshot-viewer:fullscreen .thumbnail-navigation {
    background: rgba(0, 0, 0, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.screenshot-viewer:fullscreen .image-info-panel {
    background: rgba(0, 0, 0, 0.9);
    color: white;
}

.screenshot-viewer:fullscreen .image-title {
    color: white;
}

.screenshot-viewer:fullscreen .image-description {
    color: rgba(255, 255, 255, 0.8);
}

.screenshot-viewer:fullscreen .image-counter {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .screenshot-viewer {
        border-radius: 0;
        margin: 0 -1rem;
    }
    
    .thumbnail-container {
        padding: 0 2rem;
        gap: 0.8rem;
    }
    
    .thumbnail {
        width: 100px;
        height: 66px;
    }
    
    .nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .nav-prev {
        left: 0.5rem;
    }
    
    .nav-next {
        right: 0.5rem;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .image-controls {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.3rem;
        padding: 0.4rem;
    }
    
    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .image-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-prev {
        left: 0.5rem;
    }
    
    .image-next {
        right: 0.5rem;
    }
    
    .image-info-panel {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .image-title {
        font-size: 1.25rem;
    }
    
    .image-description {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .thumbnail {
        width: 80px;
        height: 53px;
    }
    
    .main-image-container {
        height: 250px;
    }
    
    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .zoom-level {
        font-size: 0.75rem;
        min-width: 35px;
    }
}
