
/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;color: white;
}

.hero-content p {
    font-size: 1.625rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.98;
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;color: white;
}

/* 英雄区域图片 */
.hero-image {
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.hero-preview {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 20px;
}

/* 概述部分 */
.overview {
    padding: 100px 0;
    text-align: center;
}

.overview h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.overview-content p {
    font-size: 1.375rem;
    color: #86868b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* 版本部分 */
.version {
    padding: 120px 0;
    
    width: 100%;
}

/* 单会员结算版背景色 */
.version-single {
    background: linear-gradient(135deg, #f7f7f7 0%, #f8f8f8 100%);
}

/* 内置商城版背景色 */
.version-mall {
    background: linear-gradient(135deg, #e9e9e9 0%, #eeeff0 100%);
}

.version-content {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.version-info {
    flex: 1.5;
    text-align: left;
}

.version-screenshot {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    width: 400px;
    height: 600px;
}

/* 第二个版本交换顺序 */
.version-mall .version-content {
    flex-direction: row-reverse;
}

/* 版本卡片容器 */
.version-card {
    display: flex;
    background: white;
    border-radius: 16px;
    padding: 40px;
    gap: 40px;
    width: 100%;
}

/* 确保卡片内的内容区域正确对齐 */
.version-card .version-info {
    flex: 1;
    min-width: 0;
}

.version-card .version-screenshot {
    flex-shrink: 0;
}

/* 版本标题容器 */
.version-title-container {
    margin-bottom: 25px;
    position: relative;
}

.version-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    color: #1d1d1f;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 版本定价区域 - 重新设计 */
.version-pricing {
    margin-bottom: 45px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 价格展示区域 - 整合限时优惠 */
.price-display {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 235, 238, 0.9) 0%, rgba(255, 224, 229, 0.7) 100%);
    border-radius: 8px;
    overflow: hidden;
}

.price-display::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

/* 限时优惠标签 - 无背景色 */
.discount-badge {
    display: inline-block;
    color: #ff6b6b;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1;
    align-self: flex-start;
}

/* 价格数字区域 */
.price-numbers {
    display: flex;
    align-items: baseline;
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* 当前价格 - 调整大小和粗细 */
.current-price {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ff6b6b;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1;
}

/* 原价 - 弱化处理 */
.original-price {
    font-size: 1.25rem;
    color: #a0aec0;
    text-decoration: line-through;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* 版本描述 */
.version-desc {
    margin-bottom: 30px;
}

/* 演示登录信息 */
.demo-credentials {
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.credentials-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.credentials-text {
    color: #34495e;
    margin: 0;
    font-size: 0.9rem;
}

.version-desc p {
    font-size: 1.25rem;
    color: #86868b;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* 功能列表 */
.version-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.0625rem;
    color: #3d3d42;
    padding: 12px 0;
}


/* 操作按钮 */
.version-actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 20px 0;
}
.version-actions a{ width:100px;}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 120px;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    padding: 14px 24px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
	 color:#fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #6b7280;
    border: 1px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #3b82f6;
    border-color: #93c5fd;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.btn-secondary:last-child {
    margin-right: 0;
}

.btn-secondary:hover {
    background: #f5f7fa;
    color: #2c3e50;
    border-color: #95a5a6;
}

/* 截图区域 */
.version-screenshot {
    text-align: center;
}

/* 轮播容器 - 苹果窗口样式 */
.carousel {
    position: relative;
    width: 400px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

/* 窗口顶部栏 */
.carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    z-index: 5;
    border-radius: 12px 12px 0 0;
}

/* 窗口控制按钮 */
.carousel::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: #ff5f57;
    border-radius: 50%;
    box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #28ca42;
    z-index: 6;
}

/* 轮播图片容器 */
.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

/* 轮播图片项 */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* 活动的轮播项 */
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* 图片容器 */
.carousel-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaed 100%);
}

/* 图片占位符 */
.placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.placeholder span {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
}



/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.carousel-dot.active {
    background-color: white;
    width: 32px;
    border-radius: 6px;
    transform: scale(1.1);
}

/* 当用户添加实际图片时，确保图片正确显示 */
.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* 截图占位符 */
.screenshot-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 0;
    width: 400px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

/* 当用户添加实际图片时，确保图片正确显示 */
.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* 占位符提示文字 */
.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
    border-radius: 12px;
}

/* 简化的占位符提示 - 用户添加图片后会自动覆盖 */
.screenshot-placeholder::after {
    content: '点击此处替换为实际截图';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



/* 左侧版本导航 */
.version-nav-container {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.version-nav-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    border: 1px solid #e1e8ed;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 140px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.version-nav-btn:hover {
    
    
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 5px 18px rgba(59, 130, 246, 0.35);
    border-color: transparent;
}

.version-nav-btn.active {
   
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 5px 18px rgba(59, 130, 246, 0.35);
    border-color: transparent;
}

.nav-btn-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}




    line-height: 1;
    display: inline-block;
    width: auto;
    height: auto;
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(100, 100, 100, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(100, 100, 100, 0.03) 0%, transparent 50%);
}

.screenshot-content {
    position: relative;
    z-index: 2;
}

.screenshot-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.screenshot-desc {
    font-size: 1.125rem;
    color: #86868b;
    letter-spacing: 0.01em;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .version-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .version-mall .version-content {
        flex-direction: column;
    }
    
    .version-info h2 {
        font-size: 2.2rem;
    }
    
    .version-price {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .overview h2 {
        font-size: 2rem;
    }
    
    .overview-content p {
        font-size: 1rem;
    }
    
    .version {
        padding: 60px 0;
    }
    
    .version-info h2 {
        font-size: 1.8rem;
    }
    
    .version-price {
        font-size: 2rem;
    }
    
    .version-features {
        grid-template-columns: 1fr;
    }
    
    .secondary-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary {
        margin-right: 0;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-info,
.version-screenshot {
    animation: fadeInUp 0.8s ease-out;
}

.version-screenshot {
    animation-delay: 0.2s;
}

/* 二维码容器样式 */
.qr-code-container {
    position: relative;
    display: inline-block;
}

/* 二维码弹出层 */
.qr-code-popup {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* 二维码内容 */
.qr-code-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 200px;
}

/* 二维码图片容器 */
.qr-code-image {
    margin-bottom: 10px;
}

/* 二维码占位符 */
.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

/* 二维码文字 */
.qr-code-text {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.qr-code-text a{ color:#666;}
.qr-code-text a:hover{ color:#333;}

/* 鼠标悬停时显示二维码 */
.qr-code-container:hover .qr-code-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 为二维码弹出层添加小箭头 */
.qr-code-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}