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

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: calc(100vh - 150px); /* 减去底部按钮区域的高度 */
}

.swiper-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pain-section {
    background: linear-gradient(to bottom, rgba(255, 245, 245, 1), rgba(255, 245, 245, 0));
}

.solution-section {
    background: linear-gradient(to bottom, rgba(240, 247, 255, 1), rgba(240, 247, 255, 0));
}

.feature-section {
    background: linear-gradient(to bottom, rgba(246, 255, 240, 1), rgba(246, 255, 240, 0));
}

.section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 20px;
}

/* 指示器样式 */
.indicator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 4px 0;
    transition: all 0.3s;
    cursor: pointer;
}

.indicator-dot.active {
    height: 15px;
    width: 8px;
    border-radius: 8px;
    background-color: #007AFF;
}

.action-area {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    z-index: 100; /* 添加较高的z-index值 */
}

.primary-btn {
    width: 80%;
    height: 45px;
    line-height: 45px;
    background-color: #007AFF;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 22.5px;
    margin-bottom: 15px;
    box-shadow: 0 6px 12px rgba(0, 122, 255, 0.2);
    border: none;
    cursor: pointer;
}

.secondary-btn {
    width: 80%;
    height: 45px;
    line-height: 45px;
    background-color: #fff;
    color: #007AFF;
    font-size: 16px;
    border: 2px solid #007AFF;
    border-radius: 22.5px;
    cursor: pointer;
}

/* PC端适配样式 */
@media (min-width: 1024px) {
    .container {
        max-width: 1440px;
        margin: 0 auto;
        position: relative;
    }
    
    .swiper {
        width: 100%;
        height: calc(100vh - 200px); /* PC端按钮区域更高，所以减去更多高度 */
    }
    
    .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10%;
    }
    
    .section-image {
        max-width: 80%;
        height: auto;
        object-fit: contain;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }
    
    /* 指示器样式优化 */
    .indicator {
        right: 5%;
    }
    
    .indicator-dot {
        width: 20px;
        height: 20px;
        margin: 15px 0;
    }
    
    .indicator-dot.active {
        height: 40px;
        width: 20px;
    }
    
    /* 按钮区域优化 */
    .action-area {
        padding: 40px 0 60px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
        z-index: 100; /* 确保在PC端也保持高层级 */
    }
    
    .primary-btn,
    .secondary-btn {
        width: 400px;
        height: 60px;
        line-height: 60px;
        font-size: 20px;
        transition: all 0.3s ease;
    }
    
    .primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(0, 122, 255, 0.3);
    }
    
    .secondary-btn:hover {
        background-color: rgba(0, 122, 255, 0.1);
    }
}

/* 超大屏幕适配 */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
    }
    
    .swiper-slide {
        padding: 0 15%;
    }
    
    .section-image {
        max-width: 70%;
    }
}