
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
    cursor: pointer; /* 全局鼠标指针样式 */
}

/* PC端模拟器样式 */
@media (min-width: 769px) {
    body {
        background: linear-gradient(135deg, #667eea 0%, rgba(7, 193, 96, 0.6) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 5px;
    }
    
    .mobile-simulator {
        width: 420px;
        height: 100vh;
        border-radius: 30px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .mobile-screen {
        width: 100%;
        height: 100%;
        background: #fff;
        border-radius: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
    }
    
    .mobile-screen::-webkit-scrollbar {
        width: 2px;
    }
    
    .mobile-screen::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 1px;
    }
}

/* PC端隐藏移动端内容 */
@media (min-width: 769px) {
    .mobile-content {
        display: none;
    }
}

/* 移动端显示移动端内容，隐藏模拟器 */
@media (max-width: 768px) {
    .mobile-simulator {
        display: none;
    }
    
    .mobile-content {
        display: block;
    }
}

.page-container {
    background: #fff;
    width: 100%;
    position: relative;
}

.content {
    padding: 0 20px 30px 20px;
}

.cta-section {
    text-align: center;
    margin: 20px 0 40px 0;
    padding-top: 10px;
}

.main-button {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.main-button::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;
    z-index: -1;
}

.main-button:hover::before {
    left: 100%;
}

.main-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6);
}

.main-button:active {
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 悬浮按钮样式 */
.floating-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #07C160, #4CAF50);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 90%;
    max-width: 350px;
}

.floating-button:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 35px rgba(7, 193, 96, 0.6);
}

.floating-button:active {
    transform: translateX(-50%) translateY(0);
}

@keyframes float-bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateX(-50%) translateY(0); 
    }
    40% { 
        transform: translateX(-50%) translateY(-8px); 
    }
    60% { 
        transform: translateX(-50%) translateY(-4px); 
    }
}

/* 悬浮按钮呼吸效果 */
.floating-button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #07C160, #4CAF50);
    border-radius: 50px;
    z-index: -1;
    animation: breath 2s infinite;
    opacity: 0.7;
}

@keyframes breath {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* 移动端优化 */
@media (max-width: 480px) {
    .page-container {
        margin-bottom: 90px; /* 为悬浮按钮留出更多空间 */
    }
   
    .content {
        padding: 0 15px 20px 15px;
    }
   
    .floating-button {
       bottom: 15px;
       padding: 15px 25px;
       font-size: 15px;
       min-width: 280px;
       width: 90%;
       max-width: 350px;
   }
}

/* 图片展示区域样式 */
.image-showcase {
    margin: 0 0 30px 0;
}

.image-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.banner-image {
    margin-bottom: 0;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    max-width: 100%;
    object-fit: cover;
}

.dual-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dual-images .image-item {
    margin-bottom: 0;
}

@media (max-width: 480px) {
   .dual-images {
       gap: 10px;
   }
}

/* 顶部固定二维码区块 */
.top-qr-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 20px;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    transition: all 0.3s ease;
}

.qr-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.qr-code-mini {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.qr-text {
    flex: 1;
    line-height: 1.3;
}

.qr-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.qr-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.qr-button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.qr-button:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-1px);
}

/* 顶部导航栏样式 */
.top-header {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4a90e2;
    padding: 5px;
}

.header-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.header-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/* 二维码区块样式 */
.qrcode-section {
    background-image: url('../images/qrcode-box.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 20px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.qrcode-container {
    display: inline-block;
    background: white;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.miniprogram-qr {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.miniprogram-qr:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.qrcode-tip {
    margin-top: 10px;
    color: #e74c3c;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* 页面容器样式 */
.page-container {
    background: white;
    max-width: 100%;
    margin: 0;
}

.content {
    padding: 0;
}
