/* static/css/style.css */
/* 基础样式 */
* { 
    scrollbar-width: thin; 
    scrollbar-color: #c1c1c1 #f1f1f1; 
}
*::selection { 
    color: #fff; 
    background: #37b2fe; 
}
:root { 
    --theme-color: #e62340; 
    --theme-gradient: linear-gradient(135deg, #e62340 0%, #ff6b6b 100%);
    --theme-light: rgba(230, 35, 64, 0.1);
    --text-color: #39485d; 
    --title-color: #0c2243; 
    --border-color: #e6ecf8;
    --bg-light: #f8fafd;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

body { 
    background: #fff; 
    font-size: 16px; 
    color: var(--text-color); 
    font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, 'PingFang SC', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, 'PingFang SC', 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif; 
    margin: 0; 
    padding: 0; 
    font-weight: 600;
}

a { 
    color: #333; 
    text-decoration: none; 
}

a:hover, a:focus { 
    color: #e62340; 
    outline: none; 
    text-decoration: none; 
}

/* 顶部导航栏 - 新设计 */
#header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(93, 56, 198, 0.08);
    height: 70px;
    border-bottom: none;
}

.row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo样式 */
#siteTitle {
    display: flex;
    align-items: center;
}

#siteLogo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

#siteLogo:hover img {
    transform: scale(1.05);
}

/* 导航菜单容器 */
.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 主菜单区域 */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 15px;
    color: var(--title-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--theme-color);
    background: var(--theme-light);
}

.nav-link.active {
    color: var(--theme-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--theme-color);
    border-radius: 1px;
}
/* 导航栏选中状态样式 */
.nav-link.active {
    color: #e62340;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #e62340;
    border-radius: 1px;
}

.mobile-nav-link.active {
    color: #e62340;
    font-weight: 600;
    background: rgba(230, 35, 64, 0.1);
}
/* 右侧功能区 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
/* 表格包装器，用于处理滚动 */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
}

.features-table {
    min-width: 1200px;
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.features-table th {
    background: #f8fafd;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #0c2243;
    text-align: center;
    border: 1px solid #e6ecf8;
    white-space: nowrap;
}

.features-table td {
    padding: 10px 12px;
    border: 1px solid #e6ecf8;
    font-size: 13px;
    color: #39485d;
    text-align: center;
    vertical-align: middle;
    min-width: 50px;
}

.features-table .category {
    background: #f0f7ff;
    font-weight: 600;
    color: #0c2243;
    text-align: left;
    min-width: 120px;
}

/* 功能图标样式 */
.feature-check {
    color: #52c41a;
    font-weight: bold;
    font-size: 16px;
}

.feature-partial {
    color: #fa8c16;
    font-weight: bold;
    font-size: 16px;
}

.feature-none {
    color: #f5222d;
    font-weight: bold;
    font-size: 16px;
}

/* 表格标题样式 */
.features-title {
    font-size: 28px;
    color: #0c2243;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .table-wrapper {
        border: 1px solid #e6ecf8;
        border-radius: 8px;
    }
    
    .features-table th,
    .features-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .features-table .category {
        font-size: 12px;
    }
    
    .features-title {
        font-size: 22px;
    }
}
/* DEMO演示按钮 */
.demo-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--theme-color);
    background: transparent;
    border: 1px solid var(--theme-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.demo-btn:hover {
    background: var(--theme-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 35, 64, 0.2);
}

/* 下载按钮 */
.download-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background: var(--theme-gradient);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 35, 64, 0.3);
}

/* 汉堡菜单按钮（移动端） */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.icon-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--title-color);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* 移动端菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 998;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--title-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--theme-color);
    padding-left: 10px;
}

.mobile-nav-link.active {
    color: var(--theme-color);
    font-weight: 600;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* 页面布局样式 */
.page-wrapper, .page-content { 
    margin-top: 70px; /* 调整为导航栏高度 */
}
.width-wrapper { width: 1280px; margin: 0 auto; }

/* ============================================
   企业级即时通讯解决方案
============================================ */
.solution-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装饰元素 */
.solution-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--theme-light) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    z-index: 0;
}

.solution-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--theme-light) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    z-index: 0;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 主标题区域 */
.hero-header {
    text-align: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--theme-light);
    color: var(--theme-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(230, 35, 64, 0.2);
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--title-color) 0%, var(--theme-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #5a6d88;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* 主内容区域 - 创新的左右布局 */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 左侧：功能展示 */
.hero-features {
    position: relative;
}

/* 功能卡片 - 3D堆叠效果 */
.feature-cards {
    position: relative;
    height: 500px;
}

.feature-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-gradient);
}

.feature-card:nth-child(1) {
    top: 0;
    left: 0;
    width: 85%;
    z-index: 3;
    transform: rotate(-2deg);
}

.feature-card:nth-child(2) {
    top: 40px;
    right: 0;
    width: 85%;
    z-index: 2;
    transform: rotate(3deg);
}

.feature-card:nth-child(3) {
    bottom: 0;
    left: 20px;
    width: 80%;
    z-index: 1;
    transform: rotate(-1deg);
}

.feature-card:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow: var(--shadow-lg);
    z-index: 10 !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--theme-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--theme-color);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--title-color);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* 右侧：演示区域 */
.hero-demo {
    position: relative;
}

.demo-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.demo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--theme-gradient);
}

.demo-header {
    margin-bottom: 30px;
}

.demo-title {
    font-size: 24px;
    color: var(--title-color);
    margin-bottom: 10px;
}

.demo-subtitle {
    color: #5a6d88;
    font-size: 14px;
}

/* 视频演示区域 */
.demo-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: #f8fafd;
}

.demo-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.demo-video:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color);
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--theme-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* 功能亮点网格 */
.demo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--theme-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color);
    font-size: 12px;
}

.demo-feature-text {
    font-size: 13px;
    color: var(--text-color);
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--theme-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 优势标签 */
.advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.advantage-tag {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.advantage-tag:hover {
    background: var(--theme-color);
    color: white;
    border-color: var(--theme-color);
    transform: translateY(-2px);
}

/* 界面赏析模块样式 */
.interface-gallery {
    padding: 100px 0 80px;
    background: var(--bg-light);
    position: relative;
}

.interface-gallery .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.interface-gallery .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.interface-gallery .justify-content-center {
    justify-content: center;
}

.interface-gallery .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.interface-gallery .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-right: 15px;
    padding-left: 15px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title.text-center {
    text-align: center;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-title p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 轮播图容器 */
.gallery-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px; /* 控制每张图片的宽度 */
    margin: 0 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* 导航按钮 */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.gallery-nav:hover {
    background: var(--theme-color);
    color: white;
}

.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }

/* 指示点 */
.gallery-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.gallery-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-dots .dot.active {
    background: var(--theme-color);
}

/* 界面展示区域样式 */
.interface-showcase { padding: 100px 0; background: #fff; }
.interface-showcase h2 { 
    font-size: 42px; 
    line-height: 1.3; 
    margin: 0 0 40px; 
    text-align: center; 
    color: var(--title-color); 
    font-weight: 700;
}
.interface-tabs { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 60px; 
    gap: 20px; 
}
.interface-tab { 
    padding: 12px 24px; 
    border: 1px solid var(--border-color); 
    border-radius: 4px; 
    cursor: pointer; 
    color: var(--text-color); 
    transition: all 0.3s ease;
}
.interface-tab.active { 
    background: var(--theme-color); 
    color: #fff; 
    border-color: var(--theme-color); 
}
.interface-content { display: none; }
.interface-content.active { display: block; }
.interface-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.interface-item { 
    background: var(--bg-light); 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    padding: 30px; 
    transition: all 0.3s ease;
}

.interface-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.interface-item img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 8px; 
    background: var(--border-color); 
}
.interface-item h4 { 
    font-size: 20px; 
    margin: 20px 0 10px; 
    color: var(--title-color); 
}
.interface-item p { 
    color: var(--text-color); 
    line-height: 1.6; 
}

/* IM功能列表样式 */
.function-list-section { 
    background: var(--bg-light); 
    padding: 100px 0; 
}

.function-list-section h2 { 
    font-size: 42px; 
    line-height: 1.3; 
    margin: 0 0 40px; 
    text-align: center; 
    color: var(--title-color); 
    font-weight: 700;
}

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

.function-card { 
    background: #fff; 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    padding: 30px; 
    transition: all 0.3s ease; 
}

.function-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-md); 
}

.function-card img { 
    width: 40px; 
    height: 40px; 
    margin-bottom: 15px; 
}

.function-card h4 { 
    font-size: 18px; 
    margin-bottom: 10px; 
    color: var(--title-color); 
}

.function-card p { 
    color: var(--text-color); 
    font-size: 14px; 
    line-height: 1.5; 
}

/* 底部样式 */
#footer { 
    background: #202024; 
    color: rgba(255,255,255,0.5); 
    padding: 60px 0; 
    border-top: solid 1px rgba(255,255,255,0.1); 
}

.footer-wrapper { 
    max-width: 1280px; 
    margin: auto; 
    padding: 0 20px; 
}

.footer-links { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 20px; 
}

.footer-links a { 
    color: rgba(255,255,255,0.5); 
}

.footer-links a:hover { 
    color: #fff; 
}

.copyright { 
    text-align: center; 
    font-size: 13px; 
}

/* 响应式设计 */
@media (max-width: 1280px) {
    .width-wrapper, .hero-container, .interface-gallery .container { 
        width: 100%; 
        padding-left: 20px; 
        padding-right: 20px; 
    }
}

@media (max-width: 768px) {
    .page-wrapper, .page-content { 
        margin-top: 60px; 
    }
    
    /* 汉堡菜单按钮 */
    .navbar-toggle {
        display: block;
    }
    
    /* 桌面端导航隐藏 */
    .nav-container {
        display: none;
    }
    
    /* 移动端菜单显示 */
    .mobile-nav.open {
        display: block;
    }
    
    /* 企业级即时通讯解决方案移动端适配 */
    .solution-hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-cards {
        height: auto;
        position: relative;
    }
    
    .feature-card {
        position: relative;
        width: 100% !important;
        margin-bottom: 20px;
        transform: none !important;
    }
    
    .feature-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    /* 界面赏析模块移动端适配 */
    .interface-gallery {
        padding: 60px 0 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .gallery-item {
        width: 250px;
        margin: 0 10px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
    
    .interface-tabs { 
        flex-direction: column; 
        align-items: center;
    }
    
    .function-grid { 
        grid-template-columns: 1fr; 
    }
}

@media (min-width: 769px) {
    /* 桌面端隐藏移动菜单 */
    .mobile-nav {
        display: none;
    }
}

/* ============================================
   图片点击预览功能
============================================ */

/* 图片预览模态框 */
.image-preview-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    cursor: zoom-out;
}

/* 模态框内容 */
.preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 预览图片 */
.preview-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease;
    transform-origin: center;
}

/* 关闭按钮 */
.preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.preview-close:hover {
    background: var(--theme-color);
    transform: rotate(90deg);
}

/* 图片信息 */
.preview-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    z-index: 5;
}

.preview-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.9;
}

.preview-desc {
    font-size: 14px;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* 导航按钮 */
.preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.preview-nav:hover {
    background: var(--theme-color);
    transform: translateY(-50%) scale(1.1);
}

.preview-prev {
    left: 20px;
}

.preview-next {
    right: 20px;
}

/* 图片缩放指示器 */
.preview-zoom {
    position: absolute;
    bottom: 100px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-btn:hover {
    background: var(--theme-color);
}

/* 图片列表缩略图 */
.preview-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    overflow-x: auto;
    z-index: 5;
}

.thumbnail-item {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--theme-color);
    transform: scale(1.1);
}

.thumbnail-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

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

/* 为现有图片添加点击效果 */
.gallery-item img,
.interface-item img,
.function-card img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.gallery-item img:hover,
.interface-item img:hover,
.function-card img:hover {
    transform: scale(1.05);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .preview-container {
        padding: 10px;
    }
    
    .preview-image {
        max-width: 95%;
        max-height: 80%;
    }
    
    .preview-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
    
    .preview-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .preview-prev {
        left: 10px;
    }
    
    .preview-next {
        right: 10px;
    }
    
    .preview-zoom {
        bottom: 80px;
        right: 10px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
    
    .preview-title {
        font-size: 16px;
    }
    
    .preview-desc {
        font-size: 12px;
    }
}